Files
OpenFOAM-12/tutorials/multiphase/interPhaseChangeDyMFoam/propeller/Allrun.pre
Henry Weller 9221dd0d0f tutorials: Removed 0.orig directories in favor of <field>.orig
The new automated <field>.orig reading has made 0.orig directories and
associated scripting redundant.
2018-02-15 20:14:27 +00:00

28 lines
755 B
Bash
Executable File

#!/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 surfaceFeatureExtract
runApplication snappyHexMesh -overwrite
runApplication renumberMesh -overwrite
# Generate face/cell sets and zones
runApplication topoSet -dict system/createInletOutletSets.topoSetDict
# Create the inlet/outlet and AMI patches
runApplication createPatch -overwrite
# Test by running moveDynamicMesh
#runApplication moveDynamicMesh -checkAMI
#------------------------------------------------------------------------------