openfoam/tutorials/combustion/fireFoam/LES/compartmentFire/Allrun
Mark Olesen fe140cd6c5 TUT: test mode not respected (closes #710)
- now replaced 'if ! isTest' with 'if notTest' for most cases.
2018-02-20 12:54:44 +01:00

30 lines
713 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
. $WM_PROJECT_DIR/bin/tools/RunFunctions # Tutorial run functions
# create the blockMesh file with the parametric one
m4 system/blockMeshDict.m4 > system/blockMeshDict
runApplication blockMesh
runApplication topoSet
runApplication snappyHexMesh -overwrite
runApplication extrudeToRegionMesh -overwrite
runApplication decomposePar
rm log.decomposePar
runApplication decomposePar -region panelRegion
runParallel $(getApplication)
paraFoam -touch
paraFoam -touch -region panelRegion
if notTest $@
then
(cd validation && ./createGraphs)
fi
#------------------------------------------------------------------------------