Files
openfoam/tutorials/incompressible/icoFoam/cavityMappingTest/Allrun-parallel
2019-11-13 13:19:16 +01:00

24 lines
770 B
Bash
Executable File

#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
runApplication -s coarseMesh blockMesh -dict system/blockMeshDict.coarse
mkdir constant/coarseMesh
mv constant/polyMesh constant/coarseMesh
runApplication -s fine blockMesh -dict system/blockMeshDict.fine
runApplication -s fine decomposePar
runApplication -s coarseMesh decomposePar -region coarseMesh
runParallel $(getApplication)
#runApplication -s fine reconstructPar
#
#runApplication -s coarseMesh reconstructPar -region coarseMesh
#------------------------------------------------------------------------------