These tutorials now make make use of the phaseTurbulenceStabilisation fvModel and the wallBoilingProperties functionObject. Patch contributed by Juho Peltola, VTT.
47 lines
1.4 KiB
Bash
Executable File
47 lines
1.4 KiB
Bash
Executable File
#!/bin/sh
|
|
cd ${0%/*} || exit 1 # run from this directory
|
|
|
|
# Source tutorial run functions
|
|
. $WM_PROJECT_DIR/bin/tools/RunFunctions
|
|
|
|
runApplication blockMesh
|
|
runApplication extrudeMesh
|
|
runApplication decomposePar
|
|
|
|
runParallel $(getApplication)
|
|
|
|
if ! isTest "$@"
|
|
then
|
|
runApplication -a foamDictionary system/controlDict -entry endTime -set 4
|
|
runApplication -a foamDictionary system/controlDict -entry startTime -set 0.5
|
|
runParallel -a foamDictionary 0.5/T.liquid -entry boundaryField/wall/q -set "uniform 73890"
|
|
runParallel -a foamDictionary 0.5/U.liquid -entry boundaryField/inlet/type -set "fixedValue"
|
|
runParallel -a $(getApplication)
|
|
fi
|
|
|
|
runApplication reconstructPar -latestTime
|
|
runApplication foamPostProcess -latestTime -func "
|
|
graphCell
|
|
(
|
|
funcName=graph,
|
|
start=(3.4901 0 0),
|
|
end=(3.4901 0.0096 0),
|
|
fields=(alpha.gas T.liquid T.gas)
|
|
)"
|
|
|
|
./validation/createGraphs
|
|
|
|
runApplication -append foamPostProcess -latestTime -func "
|
|
patchSurface
|
|
(
|
|
funcName=patchWallBoilingProperties,
|
|
patch=wall,
|
|
surfaceFormat=raw,
|
|
interpolate=false,
|
|
fields=(dDeparture.liquid fDeparture.liquid nucleationSiteDensity.liquid fLiquid.liquid quenchingHeatFlux.liquid evaporativeHeatFlux.liquid)
|
|
)"
|
|
|
|
./validation/createWallBoilingPropertiesGraphs
|
|
|
|
#------------------------------------------------------------------------------
|