mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
Introduced thermalPhaseChangePopulationBalanceTwo- and MultiphaseSystem as
user-selectable phaseSystems which are the first to actually use multiple mass
transfer mechanisms enabled by
commit d3a237f560.
The functionality is demonstrated using the reactingTwoPhaseEulerFoam
wallBoilingPolydisperse tutorial.
Patch contributed by VTT Technical Research Centre of Finland Ltd and Institute
of Fluid Dynamics, Helmholtz-Zentrum Dresden - Rossendorf (HZDR).
22 lines
638 B
Bash
22 lines
638 B
Bash
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
application=`getApplication`
|
|
|
|
runApplication blockMesh
|
|
runApplication $application
|
|
|
|
if ! isTest $@
|
|
then
|
|
foamDictionary system/controlDict -entry endTime -set 5
|
|
foamDictionary system/controlDict -entry startTime -set 2
|
|
foamDictionary 2/T.liquid -entry boundaryField.wall2.q -set 'uniform 1e5'
|
|
foamDictionary 2/U.liquid -entry boundaryField.inlet.type -set 'fixedValue'
|
|
runApplication -a $application
|
|
fi
|
|
|
|
#------------------------------------------------------------------------------
|