growthSizeGroupFvScalarFieldSource Class Referenceabstract

Base class for source conditions which create a growth source terms in the size group equations of a population balance. More...

Inheritance diagram for growthSizeGroupFvScalarFieldSource:
Collaboration diagram for growthSizeGroupFvScalarFieldSource:

Public Member Functions

virtual tmp< DimensionedField< scalar, volMesh > > internalCoeff (const fvSource &model, const DimensionedField< scalar, volMesh > &source) const
 Return the internal coefficient. More...
 
virtual Pair< tmp< DimensionedField< scalar, volMesh > > > sourceCoeffs (const fvSource &model) const
 Return the source coefficients for exchange with the groups below. More...
 
virtual tmp< DimensionedField< scalar, volMesh > > sourceCoeff (const fvSource &model, const DimensionedField< scalar, volMesh > &source) const
 Return the combined source coefficient. More...
 
- Public Member Functions inherited from growthFvScalarFieldSource
virtual tmp< DimensionedField< scalar, volMesh > > sourceValue (const fvSource &model, const DimensionedField< scalar, volMesh > &source) const
 Return the source value. Not Implemented. More...
 

Detailed Description

Base class for source conditions which create a growth source terms in the size group equations of a population balance.

Source files

Definition at line 55 of file growthSizeGroupFvScalarFieldSource.H.

Member Function Documentation

◆ internalCoeff()

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

Return the internal coefficient.

Definition at line 95 of file growthSizeGroupFvScalarFieldSource.C.

References sizeGroup::group(), sizeGroup::i(), Foam::neg(), velocityGroup::popBal(), Foam::pos(), tmp< T >::ref(), UPtrList< T >::size(), populationBalanceModel::sizeGroups(), and sizeGroup::x().

Here is the call graph for this function:

◆ sourceCoeffs()

Foam::Pair< Foam::tmp< Foam::DimensionedField< Foam::scalar, Foam::volMesh > > > 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 136 of file growthSizeGroupFvScalarFieldSource.C.

References Pair< Type >::first(), sizeGroup::group(), sizeGroup::i(), velocityGroup::popBal(), Pair< Type >::second(), UPtrList< T >::size(), populationBalanceModel::sizeGroups(), and sizeGroup::x().

Here is the call graph for this function:

◆ sourceCoeff()

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

Return the combined source coefficient.

Definition at line 171 of file growthSizeGroupFvScalarFieldSource.C.

References UPtrList< T >::first(), Pair< Type >::first(), sizeGroup::group(), sizeGroup::i(), UPtrList< T >::last(), Foam::neg(), Foam::pos(), Pair< Type >::second(), and velocityGroup::sizeGroups().

Here is the call graph for this function:

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