26 #include "phaseChange.H" 29 #include "phasePairKey.H" 35 namespace diameterModels
50 const populationBalanceModel& popBal,
51 const dictionary&
dict 54 driftModel(popBal, dict),
55 pairNames_(dict.
lookup(
"pairNames")),
90 const word& pairName = pairNames_[i];
105 N_ += fi*
max(fi.phase(), small)/fi.x();
118 driftRate += iDmdt_/(N_*fi.phase().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 addToDriftRate(volScalarField &driftRate, const label i)
Add to driftRate.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
virtual void correct()
Correct diameter independent expressions.
const populationBalanceModel & popBal_
Reference to the populationBalanceModel.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
Macros for easy insertion into run-time selection tables.
phaseChange(const populationBalanceModel &popBal, const dictionary &dict)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionSet dimVolume(pow3(dimLength))
stressControl lookup("compactNormalStress") >> compactNormalStress
static word groupName(Name name, const word &group)
const List< sizeGroup * > & sizeGroups() const
Return the sizeGroups belonging to this populationBalance.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
const dimensionSet dimDensity
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
const fvMesh & mesh() const
Return reference to the mesh.