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

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

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,14 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
runApplication blockMesh
runApplication topoSet -constant
# Split the mesh to generate the ACMI coupled patches
runApplication createBaffles -overwrite
#------------------------------------------------------------------------------

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
runParallel $(getApplication)

View File

@ -1,26 +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/
# Meshing
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 moveDynamicMes
#runApplication moveDynamicMesh -checkAMI
#------------------------------------------------------------------------------

View File

@ -6,7 +6,7 @@ cd ${0%/*} || exit 1 # Run from this directory
if [ -n "$FOAMY_HEX_MESH" ]
then
./Allrun.pre
./Allmesh
runApplication $(getApplication)
fi

View File

@ -1,30 +0,0 @@
#!/bin/sh
cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
runApplication surfaceFeatures
runApplication foamyHexMesh
# Collapse only patch faces from incomplete conformation
runApplication -s indirectPatchFaces \
collapseEdges -collapseFaceSet indirectPatchFaces -latestTime -overwrite
# Collapse small edges and sliver faces
runApplication -s collapseFaces \
collapseEdges -collapseFaces -latestTime -overwrite
runApplication checkMesh -allTopology -allGeometry -latestTime
latestTime=`foamListTimes -latestTime`
# Move the mesh into polyMesh
rm -rf constant/polyMesh
mv "${latestTime}"/polyMesh constant
# Clean up intermediate meshes
rm -r [1-9]*
#------------------------------------------------------------------------------