3 # Source tutorial run functions
4 . @FF_DATA_DIR@
/shellFunctions
/RunFunctions
6 # Alltest changes this to yes...
7 export FREEFOAM_TEST_MODE
=no
8 if [ "$FREEFOAM_TEST_MODE" == "yes" ]; then
9 # Alltest changes this to the top test directory...
10 export FREEFOAM_CONFIG_DIR
='${TEST_CONFIG_DIR}'
13 application
="cavitatingFoam"
19 echo "creating cell set for primary zone - $1"
20 cp system
/cellSetDict.
$1 system
/cellSetDict
21 runApplication
-l log.cellSet.
$1 cellSet
23 echo "refining primary zone - $1"
24 runApplication
-l log.refineMesh.
$1 refineMesh
-dict -overwrite
30 runApplication blockMesh
31 refineMeshByCellSet
1 2 3
32 runApplication
$application
38 runApplication blockMesh
39 refineMeshByCellSet
1 2 3
41 echo "mapping fields from 2D throttle case"
42 runApplication mapFields ..
/throttle
-sourceTime latestTime
44 runApplication decomposePar
45 runParallel
$application 4
46 runApplication reconstructPar