35 namespace diameterModels
37 namespace nucleationModels
58 const populationBalanceModel& popBal,
59 const dictionary& dict
62 nucleationModel(popBal, dict),
63 dNuc_(
"nucleationDiameter",
dimLength, dict),
68 popBal.
mesh().lookupObject<phaseModel>
73 dict.
lookup(
"velocityGroup")
81 dNuc_.value() < velGroup_.sizeGroups().first().dSph().value()
82 || dNuc_.value() > velGroup_.sizeGroups().last().dSph().value()
86 <<
"Nucleation diameter " << dNuc_.value() <<
"m outside of range [" 87 << velGroup_.sizeGroups().first().dSph().value() <<
", " 88 << velGroup_.sizeGroups().last().dSph().value() <<
"]." <<
nl 104 phaseModel& phase =
const_cast<phaseModel&
>(fi.phase());
fv::options & fvOptions() const
Access the fvOptions.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
errorManipArg< error, int > exit(error &err, const int errNo=1)
To & refCast(From &r)
Reference type cast template function.
const populationBalanceModel & popBal_
Reference to the populationBalanceModel.
Macros for easy insertion into run-time selection tables.
const dimensionedScalar eta(const label i, const dimensionedScalar &v) const
Return allocation coefficient.
virtual void addToNucleationRate(volScalarField &nucleationRate, const label i)
Add to nucleationRate.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
stressControl lookup("compactNormalStress") >> compactNormalStress
const phaseSystem & fluid() const
Return reference to the phaseSystem.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
const UPtrList< sizeGroup > & sizeGroups() const
Return the sizeGroups belonging to this populationBalance.
dimensionedScalar pow3(const dimensionedScalar &ds)
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
constantNucleation(const populationBalanceModel &popBal, const dictionary &dict)