mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: mixerVesselAMI: split into Allrun and Allrun.pre
This commit is contained in:
@ -25,13 +25,4 @@ runApplication createPatch -overwrite
|
||||
# Initialize alpha
|
||||
runApplication setFields
|
||||
|
||||
# Decompose
|
||||
runApplication decomposePar -force
|
||||
|
||||
# Run
|
||||
runParallel $application 6
|
||||
|
||||
# Reconstruct
|
||||
runApplication reconstructPar -noFunctionObjects
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
|
||||
21
tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allrun.pre
Executable file
21
tutorials/multiphase/interDyMFoam/ras/mixerVesselAMI/Allrun.pre
Executable file
@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
application=`getApplication`
|
||||
|
||||
|
||||
./Allrun.pre
|
||||
|
||||
# Decompose
|
||||
runApplication decomposePar -force
|
||||
|
||||
# Run
|
||||
runParallel $application 6
|
||||
|
||||
# Reconstruct
|
||||
runApplication reconstructPar -noFunctionObjects
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
Reference in New Issue
Block a user