tutorials/incompressible/pimpleFoam/RAS/propeller: Updated scripts

This commit is contained in:
Henry Weller
2018-02-16 12:17:10 +00:00
parent 1d38ceb900
commit 5c152e2eb4
2 changed files with 5 additions and 15 deletions

View File

@ -7,9 +7,7 @@ cd ${0%/*} || exit 1 # Run from this directory
./Allrun.pre
runApplication decomposePar
runParallel `getApplication`
runApplication reconstructPar
#------------------------------------------------------------------------------

View File

@ -4,30 +4,22 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# copy propeller surface from resources directory
# Copy propeller surface from resources directory
cp $FOAM_TUTORIALS/resources/geometry/propellerTip.obj.gz constant/triSurface/
# - meshing
# Meshing
runApplication blockMesh
runApplication surfaceFeatureExtract
runApplication snappyHexMesh -overwrite
runApplication renumberMesh -overwrite
# force removal of fields generated by snappy
rm -rf 0
# - generate face/cell sets and zones
# Generate face/cell sets and zones
runApplication topoSet -dict system/createInletOutletSets.topoSetDict
# - create the inlet/outlet and AMI patches
# Create the inlet/outlet and AMI patches
runApplication createPatch -overwrite
# - test by running moveDynamicMes
# Test by running moveDynamicMes
#runApplication moveDynamicMesh -checkAMI
#------------------------------------------------------------------------------