66 return fi.
sources()[model.
name()].internalCoeff(model, source)*fi;
81 refCast<const growthFvScalarFieldSource>
84 ).sourceCoeffs(model);
90 tsourceCoeffs.
first() = fiSourceCoeffs.
first()*value(-1, model);
93 if (fi.
i() != popBalFis.
size() - 1)
95 tsourceCoeffs.
second() = fiSourceCoeffs.
second()*value(+1, model);
117 fi.
i() == velGrpFis.
first().i()
119 : fi.
i() == velGrpFis.
last().i()
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
const Sources & sources() const
Return const-reference to the sources.
An ordered pair of two objects of type <Type> with first() and second() elements.
const Type & second() const
Return second.
const Type & first() const
Return first.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
T & first()
Return reference to the first element of the list.
label size() const
Return the number of elements in the UPtrList.
T & last()
Return reference to the last element of the list.
const UPtrList< sizeGroup > & sizeGroups() const
Return the size groups belonging to this populationBalance.
Single size class fraction field representing a fixed particle volume as defined by the user through ...
const velocityGroup & group() const
Return const-reference to the velocityGroup.
label i() const
Return index of the size group within the population balance.
const populationBalanceModel & popBal() const
Return the populationBalance this velocityGroup belongs to.
const PtrList< sizeGroup > & sizeGroups() const
Return sizeGroups belonging to this velocityGroup.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
const word & name() const
Return const access to the source name.
Base class for finite volume sources.
Base class for source conditions which create a growth source terms in the size group equations or re...
Base class for source conditions which create a growth source terms for secondary properties of the s...
virtual tmp< DimensionedField< scalar, volMesh > > sourceCoeff(const fvSource &model, const DimensionedField< scalar, volMesh > &source) const
Return the combined source coefficient.
growthSecondaryPropertyFvScalarFieldSource(const DimensionedField< scalar, volMesh > &, const dictionary &dict)
Construct from internal field and dictionary.
virtual tmp< DimensionedField< scalar, volMesh > > internalCoeff(const fvSource &model, const DimensionedField< scalar, volMesh > &source) const
Return the internal coefficient.
virtual Pair< tmp< DimensionedField< scalar, volMesh > > > sourceCoeffs(const fvSource &model) const
Return the source coefficients for exchange with the groups below.
Base class for source conditions of secondary properties of the size-groups of a population balance m...
A class for managing temporary objects.
dimensionedScalar pos(const dimensionedScalar &ds)
dimensionedScalar neg(const dimensionedScalar &ds)