TUT: mesh: clean up tutorials

This commit is contained in:
Kutalmis Bercin
2021-06-04 10:19:30 +01:00
committed by Andrew Heather
parent 6120e13d29
commit 3a858ac682
413 changed files with 623 additions and 1608672 deletions

View File

@ -3,10 +3,29 @@ cd "${0%/*}" || exit # Run from this directory
. ${WM_PROJECT_DIR:?}/bin/tools/RunFunctions # Tutorial run functions
#------------------------------------------------------------------------------
# Generate mesh
./Allrun-pre
./Allrun.pre
# Run simulation
./Allrun-simulation
cp -f system/controlDict.flow system/controlDict
rm -rf 0
runApplication createBaffles -overwrite
runApplication mergeOrSplitBaffles -split -overwrite
# Get rid of zero faced patches
runApplication createPatch -overwrite
# Copy fields after meshing to avoid the generation of unnecessary patch fields
restore0Dir
# Initialize alpha
runApplication setFields
runApplication -s main decomposePar -force
runParallel $(getApplication)
runApplication reconstructPar -noFunctionObjects
#------------------------------------------------------------------------------