Based on a patch contributed by Francesco Contino, Tommaso Lucchini, Gianluca D’Errico, Hervé Jeanmart, Nicolas Bourgeois and Stéphane Backaert.
18 lines
491 B
Bash
Executable file
18 lines
491 B
Bash
Executable file
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
# Set application name
|
|
application=`getApplication`
|
|
|
|
runApplication chemkinToFoam \
|
|
chemkin/chem.inp chemkin/therm.dat chemkin/transportProperties \
|
|
constant/reactions constant/thermo
|
|
|
|
runApplication $application
|
|
|
|
(cd validation && ./Allrun $*)
|
|
|
|
#------------------------------------------------------------------------------
|