BUG: Allrun: incorrect naming

This commit is contained in:
mattijs
2013-09-13 10:01:00 +01:00
parent 121e4346a4
commit e9bfae1ac8
2 changed files with 21 additions and 21 deletions

View File

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

View File

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