tutorials: Rationalized the naming of the meshing script when it is separated from Allrun to Allmesh

This commit is contained in:
Henry Weller
2018-06-10 16:08:36 +01:00
parent e38bfba89e
commit 4e0f49a858
26 changed files with 39 additions and 367 deletions

View File

@ -6,8 +6,10 @@ cd ${0%/*} || exit 1 # Run from this directory
application=$(getApplication)
./Allmesh
./Allrun.pre
# Initialize alpha
runApplication setFields
# Decompose
runApplication decomposePar -force

View File

@ -1,20 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Set application name
application=$(getApplication)
# Meshing
runApplication blockMesh
runApplication surfaceFeatures
runApplication snappyHexMesh -overwrite
runApplication createBaffles -overwrite
runApplication mergeOrSplitBaffles -split -overwrite
# Initialize alpha
runApplication setFields
#------------------------------------------------------------------------------

View File

@ -4,7 +4,7 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
./Allrun.pre
./Allmesh
runApplication decomposePar

View File

@ -1,25 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Copy propeller surface from resources directory
cp $FOAM_TUTORIALS/resources/geometry/propellerTip.obj.gz constant/triSurface/
runApplication blockMesh
runApplication surfaceFeatures
runApplication snappyHexMesh -overwrite
# Generate face/cell sets and zones
runApplication topoSet -dict system/createInletOutletSets.topoSetDict
# Create the inlet/outlet and AMI patches
runApplication createPatch -overwrite
runApplication renumberMesh -noFields -overwrite
# Test by running moveDynamicMesh
#runApplication moveDynamicMesh -checkAMI
#------------------------------------------------------------------------------