mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
MPPICInterFoam and tutorial
This commit is contained in:
32
tutorials/multiphase/MPPICInterFoam/twoPhasePachuka/Allrun
Executable file
32
tutorials/multiphase/MPPICInterFoam/twoPhasePachuka/Allrun
Executable file
@ -0,0 +1,32 @@
|
||||
#!/bin/sh
|
||||
cd ${0%/*} || exit 1 # Run from this directory
|
||||
|
||||
# Source tutorial run functions
|
||||
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
||||
|
||||
# create the underlying block mesh
|
||||
m4 system/pachuka.m4 > system/blockMeshDict
|
||||
|
||||
runApplication blockMesh
|
||||
|
||||
cp 0/alpha.water.org 0/alpha.water
|
||||
|
||||
# create faceSet for burner inlet and faceZone for coupled wall
|
||||
runApplication topoSet
|
||||
|
||||
# create burner inlet
|
||||
runApplication createPatch -overwrite
|
||||
|
||||
# Set alpha.water
|
||||
runApplication setFields
|
||||
|
||||
# Decompose mesh
|
||||
decomposePar > log.decomposePar 2>&1
|
||||
|
||||
# Run
|
||||
runParallel `getApplication` 4
|
||||
|
||||
# Reconstruct case
|
||||
runApplication reconstructPar -newTimes
|
||||
|
||||
# ----------------------------------------------------------------- end-of-file
|
||||
Reference in New Issue
Block a user