mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: Allrun: incorrect naming
This commit is contained in:
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user