openfoam/tutorials/verificationAndValidation/atmosphericModels/HargreavesWright_2007/Allrun-parallel
Kutalmis Bercin 1bc2ffad99 BUG: atm wall functions: fix double "value" entry issue (#1900)
STYLE: atm wall functions: use auto and bool types wherever possible
  TUT: atmosphericModels: changes for style consistency
2020-12-08 09:33:44 +00:00

24 lines
688 B
Bash
Executable File

#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
restore0Dir
rasModel="kEpsilon" # Tested options="kOmegaSST","kEpsilon"
sed "s|RAS_MODEL|$rasModel|g" constant/turbulenceProperties.template > \
constant/turbulenceProperties
runApplication blockMesh
runApplication decomposePar
runParallel renumberMesh -overwrite
runParallel $(getApplication)
runParallel redistributePar -reconstruct -latestTime
#------------------------------------------------------------------------------