- Thermal phase change and wall boiling functionality has been generalized to support two- and multi- phase simulations. - Thermal phase change now also allows purePhaseModel, which simplifies case setup. - The phaseSystem templates have been restructured in preparation of multiple simultaneous mass transfer mechanisms. For example, combination of thermal phase and inhomogeneous population balance models. Patch contributed by VTT Technical Research Centre of Finland Ltd and Institute of Fluid Dynamics, Helmholtz-Zentrum Dresden - Rossendorf (HZDR).
24 lines
605 B
Bash
24 lines
605 B
Bash
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # Run from this directory
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
application=`getApplication`
|
|
|
|
\rm -rf 0
|
|
cp -r 0.org 0
|
|
|
|
runApplication blockMesh
|
|
runApplication $application
|
|
|
|
if ! isTest $@
|
|
then
|
|
foamDictionary system/controlDict -entry endTime -set 5
|
|
foamDictionary 2/T.liquid -entry boundaryField.wall2.q -set 'uniform 500000'
|
|
foamDictionary 2/T.liquid -entry boundaryField.wall1.q -set 'uniform 500000'
|
|
runApplication -a $application
|
|
fi
|
|
|
|
#------------------------------------------------------------------------------
|