openfoam/tutorials/preProcessing/createZeroDirectory/motorBike/Allrun
mattijs a67be71938 ENH: Added new ceeateZeroDirectory utility
Uses a system/caseProperties file to select templates from
etc/caseDicts/createZeroDirectoryTemplates to enable high-level setup
of a case.
See
- etc/caseDicts/createZeroDirectoryTemplates
- tutorials/preProcessing/createZeroDirectory
2015-11-30 15:52:40 +00:00

26 lines
699 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# copy motorbike surface from resources folder
cp $FOAM_TUTORIALS/resources/geometry/motorBike.obj.gz constant/triSurface/
runApplication surfaceFeatureExtract
runApplication blockMesh
runApplication decomposePar
runParallel snappyHexMesh 6 -overwrite
runParallel createZeroDirectory 6
runParallel patchSummary 6
runParallel potentialFoam 6 -noFunctionObjects
runParallel $(getApplication) 6
runApplication reconstructParMesh -constant
runApplication reconstructPar -latestTime
# ----------------------------------------------------------------- end-of-file