The keyword which selects how the subset over which the function operates is generated has been renamed to "selectionMode", to make it more consistent with other parts of the OpenFOAM (e.g., fvOptions). It can still take the value "all" or "cellZone". A cell zone is now specified with a "cellZone", again for consistency. Error messaging has also been overhauled. Patch contributed by Institute of Fluid Dynamics, Helmholtz-Zentrum Dresden - Rossendorf (HZDR)
73 lines
1.5 KiB
C++
73 lines
1.5 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "system";
|
|
object controlDict;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
application reactingMultiphaseEulerFoam;
|
|
|
|
startFrom startTime;
|
|
|
|
startTime 0;
|
|
|
|
stopAt endTime;
|
|
|
|
endTime 10;
|
|
|
|
deltaT 0.1;
|
|
|
|
writeControl runTime;
|
|
|
|
writeInterval 10;
|
|
|
|
purgeWrite 0;
|
|
|
|
writeFormat ascii;
|
|
|
|
writePrecision 6;
|
|
|
|
writeCompression uncompressed;
|
|
|
|
timeFormat general;
|
|
|
|
timePrecision 6;
|
|
|
|
runTimeModifiable yes;
|
|
|
|
adjustTimeStep no;
|
|
|
|
maxCo 0.5;
|
|
|
|
maxDeltaT 1;
|
|
|
|
functions
|
|
{
|
|
numberDensity
|
|
{
|
|
type sizeDistribution;
|
|
functionObjectLibs ("libreactingEulerFoamFunctionObjects.so");
|
|
|
|
writeControl outputTime;
|
|
writeInterval 1;
|
|
log yes;
|
|
|
|
functionType numberDensity;
|
|
abszissaType volume;
|
|
selectionMode all;
|
|
populationBalance bubbles;
|
|
}
|
|
}
|
|
|
|
// ************************************************************************* //
|