+ moments -> populationBalanceMoments + sizeDistribution -> populationBalanceSizeDistribution
35 lines
1.6 KiB
C++
35 lines
1.6 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
-------------------------------------------------------------------------------
|
|
Description
|
|
Calculates and writes out integral (integer moments) or mean properties
|
|
(mean, variance, standard deviation) of a size distribution computed with
|
|
multiphaseEulerFoam. Requires solver post-processing.
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
type populationBalanceMoments;
|
|
libs ("libmultiphaseEulerFoamFunctionObjects.so");
|
|
|
|
populationBalance <populationBalance>;
|
|
momentType <moment>; // integerMoment, mean, variance,
|
|
// stdDev
|
|
coordinateType <coordinate>; // volume, area, diameter
|
|
weightType numberConcentration; // volumeConcentration,
|
|
// areaConcentration
|
|
// defaults to numberConcentration
|
|
order 0; // relevant for integer moments only
|
|
meanType arithmetic; // geometric
|
|
// relevant for non-integer moments,
|
|
// defaults to arithmetic
|
|
|
|
executeControl timeStep;
|
|
writeControl writeTime;
|
|
|
|
|
|
// ************************************************************************* //
|