From 5c152e2eb4970947acb2149c911381433a16de14 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Fri, 16 Feb 2018 12:17:10 +0000 Subject: [PATCH] tutorials/incompressible/pimpleFoam/RAS/propeller: Updated scripts --- .../pimpleFoam/RAS/propeller/Allrun | 2 -- .../pimpleFoam/RAS/propeller/Allrun.pre | 18 +++++------------- 2 files changed, 5 insertions(+), 15 deletions(-) diff --git a/tutorials/incompressible/pimpleFoam/RAS/propeller/Allrun b/tutorials/incompressible/pimpleFoam/RAS/propeller/Allrun index 4b68478f8..d0c8ddb05 100755 --- a/tutorials/incompressible/pimpleFoam/RAS/propeller/Allrun +++ b/tutorials/incompressible/pimpleFoam/RAS/propeller/Allrun @@ -7,9 +7,7 @@ cd ${0%/*} || exit 1 # Run from this directory ./Allrun.pre runApplication decomposePar - runParallel `getApplication` - runApplication reconstructPar #------------------------------------------------------------------------------ diff --git a/tutorials/incompressible/pimpleFoam/RAS/propeller/Allrun.pre b/tutorials/incompressible/pimpleFoam/RAS/propeller/Allrun.pre index d583cd7e9..ce63052e8 100755 --- a/tutorials/incompressible/pimpleFoam/RAS/propeller/Allrun.pre +++ b/tutorials/incompressible/pimpleFoam/RAS/propeller/Allrun.pre @@ -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 #------------------------------------------------------------------------------