openfoam/tutorials/mesh/createPatch/multiRegionHeater_autoPatch/Allrun.pre
Mark Olesen 343854ab31 TUT: avoid redundant -finite-area option for foamToEnsight, foamToVTK
TUT: remove paraFoam hints from tutorials (mostly only need paraview now)

STYLE: remove reference to paraview _SM plugins (OpenFOAM-v1912 and earlier)
2022-06-15 12:52:20 +02:00

26 lines
861 B
Bash
Executable File

#!/bin/sh
cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
for region in $(foamListRegions)
do
runApplication -s $region blockMesh -region $region
done
#- createPatch creates patchFields out of dictionary only but only then
# moves faces to it. Hence most of its state (refValue, valueFraction etc)
# will not be sized. Make sure to not to fail construction so disable
# floating point error checking
#unset FOAM_SIGFPE
runApplication createPatch -allRegions -overwrite
# Output weights on AMI mapped patches
runApplication checkMesh -allRegions -allGeometry
restore0Dir
echo "End"
#------------------------------------------------------------------------------