mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
25
tutorials/mesh/createPatch/multiRegionHeater_autoPatch/Allrun.pre
Executable file
25
tutorials/mesh/createPatch/multiRegionHeater_autoPatch/Allrun.pre
Executable file
@ -0,0 +1,25 @@
|
||||
#!/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
|
||||
|
||||
restore0Dir
|
||||
|
||||
echo
|
||||
echo "Use paraFoam -touch-all to create files for paraview post-processing"
|
||||
echo
|
||||
echo "End"
|
||||
|
||||
#------------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user