34 namespace diameterModels
49 const populationBalanceModel& popBal,
50 const dictionary&
dict 53 driftModel(popBal, dict),
74 forAll(popBal_.sizeGroups(), i)
76 const sizeGroup& fi = *popBal_.sizeGroups()[i];
78 N_ += fi*fi.phase()/fi.x();
89 const sizeGroup& fi = *popBal_.sizeGroups()[i];
90 phaseModel& phase =
const_cast<phaseModel&
>(fi.phase());
93 driftRate += (popBal_.fluid().fvOptions()(phase,
rho)&rho)/(N_*
rho);
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
virtual void correct()
Correct diameter independent expressions.
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
virtual void addToDriftRate(volScalarField &driftRate, const label i)
Add to driftRate.
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionSet dimVolume(pow3(dimLength))
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
constantDrift(const populationBalanceModel &popBal, const dictionary &dict)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.