Files
OpenFOAM-12/tutorials/modules/shockFluid/movingCone/Allrun-parallel
Will Bainbridge d1cb329706 tutorials: movingCone: Corrected and simplified
The '-region' option has been leveraged to significantly simplify the
meshing and decomposition in the movingCone cases. These cases have also
been corrected to restore the variation in decomposition between the
different meshes, which is important for thoroughly testing the patch
field mapping. The shockFluid case has also had its duration extended a
little in order to span the final mesh mapping time.
2023-02-07 16:14:30 +00:00

22 lines
632 B
Bash
Executable File

#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
runApplication blockMesh
runApplication decomposePar -cellProc
for mapTime in 1e-05 2e-05
do
runApplication -s $mapTime blockMesh -region meshToMesh_$mapTime
ln -s meshToMesh_$mapTime/decomposeParDict system/decomposeParDict
runApplication -s $mapTime decomposePar -region meshToMesh_$mapTime
rm -f system/decomposeParDict
done
runParallel $(getApplication)
runApplication reconstructPar -cellProc
#------------------------------------------------------------------------------