openfoam/tutorials/incompressible/pimpleFoam/LES/vortexShed/Allrun
2021-06-08 20:15:47 +00:00

25 lines
670 B
Bash
Executable File

#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
restore0Dir
m4 system/blockMeshDict.m4 > system/blockMeshDict
runApplication blockMesh
runApplication decomposePar
runParallel $(getApplication)
# Run noise tool for both point and surface
if notTest "$@"
then
runParallel -s point noise -dict system/noiseDict-point
runParallel -s surface noise -dict system/noiseDict-surface
fi
#------------------------------------------------------------------------------