Tutorials have been updated to use the new consistent names within the wall boiling system. The changes are backwards compatible so all tutorials should run both before and after this change.
87 lines
1.7 KiB
C++
87 lines
1.7 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object controlDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
application foamRun;
|
|
|
|
solver multiphaseEuler;
|
|
|
|
startFrom startTime;
|
|
|
|
startTime 0;
|
|
|
|
stopAt endTime;
|
|
|
|
endTime 10;
|
|
|
|
deltaT 1e-4;
|
|
|
|
writeControl adjustableRunTime;
|
|
|
|
writeInterval 1;
|
|
|
|
purgeWrite 0;
|
|
|
|
writeFormat ascii;
|
|
|
|
writePrecision 9;
|
|
|
|
writeCompression off;
|
|
|
|
timeFormat general;
|
|
|
|
timePrecision 8;
|
|
|
|
runTimeModifiable yes;
|
|
|
|
adjustTimeStep yes;
|
|
|
|
maxCo 0.8;
|
|
|
|
maxDeltaT 1e-3;
|
|
|
|
functions
|
|
{
|
|
#includeFunc graphCell
|
|
(
|
|
funcName=graph,
|
|
start=(0 0 1e-3),
|
|
end=(0.44 0 1e-3),
|
|
fields=(TiCl4.vapour O2.vapour Cl2.vapour alpha.particles)
|
|
)
|
|
|
|
#includeFunc populationBalanceSizeDistribution
|
|
(
|
|
populationBalance=aggregates,
|
|
regionType=cellZone,
|
|
name=outlet,
|
|
functionType=numberDensity,
|
|
coordinateType=projectedAreaDiameter,
|
|
allCoordinates=yes,
|
|
normalise=yes,
|
|
logTransform=yes,
|
|
funcName=numberDensity
|
|
)
|
|
|
|
#includeFunc writeObjects
|
|
(
|
|
d.particles,
|
|
phaseTransfer:dmidtf.TiO2.particlesAndVapor
|
|
)
|
|
}
|
|
|
|
|
|
// ************************************************************************* //
|