This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/tutorials/overset/simpleTests/cylinderInChannelPotentialScalarTransport/Allrun

22 lines
613 B
Text
Raw Normal View History

#!/bin/sh
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Get application name
application1="potentialOversetFoam"
application2="scalarTransportFoam"
\cp -f blockMeshDict constant/polyMesh/blockMeshDict
runApplication blockMesh
\cp -f boundary constant/polyMesh/boundary
runApplication setSet -batch setBatch.batch
\rm -f constant/polyMesh/sets/*_old constant/polyMesh/sets/*_old.gz
#runApplication $application1
#runApplication $application2
runApplication decomposePar -cellDist
runApplication decomposeSets -writeEmptySets
runParallel $application1 3
runParallel $application2 3