growthGroupFractionFvScalarFieldSource Class Referenceabstract

Base class for source conditions that create a growth source terms in the group fraction equations of a population balance model. More...

Inheritance diagram for growthGroupFractionFvScalarFieldSource:
Collaboration diagram for growthGroupFractionFvScalarFieldSource:

Public Member Functions

 growthGroupFractionFvScalarFieldSource (const DimensionedField< scalar, fvMesh > &, const dictionary &dict)
 Construct from internal field and dictionary. More...
 
 growthGroupFractionFvScalarFieldSource (const growthGroupFractionFvScalarFieldSource &, const DimensionedField< scalar, fvMesh > &)
 Copy constructor setting internal field reference. More...
 
virtual tmp< DimensionedField< scalar, fvMesh > > internalCoeff (const fvSource &model, const DimensionedField< scalar, fvMesh > &source) const
 Return the internal coefficient. More...
 
virtual Pair< tmp< DimensionedField< scalar, fvMesh > > > sourceCoeffs (const fvSource &model) const
 Return the source coefficients for exchange with the groups below. More...
 
virtual tmp< DimensionedField< scalar, fvMesh > > sourceCoeff (const fvSource &model, const DimensionedField< scalar, fvMesh > &source) const
 Return the combined source coefficient. More...
 
- Public Member Functions inherited from growthFvScalarFieldSource
virtual tmp< DimensionedField< scalar, fvMesh > > sourceValue (const fvSource &model, const DimensionedField< scalar, fvMesh > &source) const
 Return the source value. Not Implemented. More...
 
- Public Member Functions inherited from groupPropertyFvScalarField
 groupPropertyFvScalarField (const DimensionedField< scalar, fvMesh > &)
 Construct from internal field. More...
 
const populationBalanceModelpopBal () const
 Return the population balance. More...
 
label i () const
 Return the index of this group. More...
 

Detailed Description

Base class for source conditions that create a growth source terms in the group fraction equations of a population balance model.

Source files

Definition at line 50 of file growthGroupFractionFvScalarFieldSource.H.

Constructor & Destructor Documentation

◆ growthGroupFractionFvScalarFieldSource() [1/2]

growthGroupFractionFvScalarFieldSource ( const DimensionedField< scalar, fvMesh > &  iF,
const dictionary dict 
)

Construct from internal field and dictionary.

Definition at line 104 of file growthGroupFractionFvScalarFieldSource.C.

◆ growthGroupFractionFvScalarFieldSource() [2/2]

Copy constructor setting internal field reference.

Definition at line 116 of file growthGroupFractionFvScalarFieldSource.C.

Member Function Documentation

◆ internalCoeff()

Foam::tmp< Foam::DimensionedField< Foam::scalar, Foam::fvMesh > > internalCoeff ( const fvSource model,
const DimensionedField< scalar, fvMesh > &  source 
) const
virtual

Return the internal coefficient.

Definition at line 131 of file growthGroupFractionFvScalarFieldSource.C.

References Foam::neg(), populationBalanceModel::nGroups(), Foam::pos(), tmp< T >::ref(), and populationBalanceModel::v().

Here is the call graph for this function:

◆ sourceCoeffs()

Foam::Pair< Foam::tmp< Foam::DimensionedField< Foam::scalar, Foam::fvMesh > > > sourceCoeffs ( const fvSource model) const
virtual

Return the source coefficients for exchange with the groups below.

and above this group

Implements growthFvScalarFieldSource.

Definition at line 170 of file growthGroupFractionFvScalarFieldSource.C.

References populationBalanceModel::f(), Pair< Type >::first(), populationBalanceModel::nGroups(), Pair< Type >::second(), and populationBalanceModel::v().

Here is the call graph for this function:

◆ sourceCoeff()

Foam::tmp< Foam::DimensionedField< Foam::scalar, Foam::fvMesh > > sourceCoeff ( const fvSource model,
const DimensionedField< scalar, fvMesh > &  source 
) const
virtual

Return the combined source coefficient.

Definition at line 203 of file growthGroupFractionFvScalarFieldSource.C.

References populationBalanceModel::diameters(), Pair< Type >::first(), Foam::neg(), Foam::pos(), and Pair< Type >::second().

Here is the call graph for this function:

The documentation for this class was generated from the following files: