22 lines
640 B
Bash
Executable File
22 lines
640 B
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions # Tutorial run functions
|
|
|
|
# Application name
|
|
application=$(getApplication)
|
|
|
|
rm -f 0/T
|
|
cp 0/T.orig 0/T
|
|
|
|
runApplication chemkinToFoam \
|
|
chemkin/grimech30.dat chemkin/thermo30.dat chemkin/transportProperties \
|
|
constant/reactionsGRI constant/thermo.compressibleGasGRI
|
|
|
|
runApplication blockMesh
|
|
runApplication setFields
|
|
runApplication decomposePar -force
|
|
runParallel $application
|
|
runApplication reconstructPar
|
|
|
|
#------------------------------------------------------------------------------
|