diff --git a/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allrun b/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allrun index bd8bb08a35..b3ed4930f8 100755 --- a/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allrun +++ b/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allrun @@ -4,25 +4,18 @@ cd ${0%/*} || exit 1 # run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions -# Set application name application=`getApplication` -\rm -rf 0 -# Meshing -runApplication blockMesh -runApplication surfaceFeatureExtract -runApplication snappyHexMesh -overwrite -runApplication createBaffles -overwrite -runApplication mergeOrSplitBaffles -split -overwrite +./Allrun.pre -# Get rid of zero faced patches -runApplication createPatch -overwrite +# Decompose +runApplication decomposePar -force -# Copy fields after meshing to avoind the generation of unnecessary patch fields -\cp -r 0.org 0 +# Run +runParallel $application 6 -# Initialize alpha -runApplication setFields +# Reconstruct +runApplication reconstructPar -noFunctionObjects # ----------------------------------------------------------------- end-of-file diff --git a/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allrun.pre b/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allrun.pre index b3ed4930f8..bd8bb08a35 100755 --- a/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allrun.pre +++ b/tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allrun.pre @@ -4,18 +4,25 @@ cd ${0%/*} || exit 1 # run from this directory # Source tutorial run functions . $WM_PROJECT_DIR/bin/tools/RunFunctions +# Set application name application=`getApplication` +\rm -rf 0 -./Allrun.pre +# Meshing +runApplication blockMesh +runApplication surfaceFeatureExtract +runApplication snappyHexMesh -overwrite +runApplication createBaffles -overwrite +runApplication mergeOrSplitBaffles -split -overwrite -# Decompose -runApplication decomposePar -force +# Get rid of zero faced patches +runApplication createPatch -overwrite -# Run -runParallel $application 6 +# Copy fields after meshing to avoind the generation of unnecessary patch fields +\cp -r 0.org 0 -# Reconstruct -runApplication reconstructPar -noFunctionObjects +# Initialize alpha +runApplication setFields # ----------------------------------------------------------------- end-of-file