growthSecondaryPropertyFvScalarFieldSource Class Referenceabstract

Base class for source conditions which create a growth source terms for secondary properties of the groups of a population balance model. More...

Inheritance diagram for growthSecondaryPropertyFvScalarFieldSource:
Collaboration diagram for growthSecondaryPropertyFvScalarFieldSource:

Public Member Functions

 growthSecondaryPropertyFvScalarFieldSource (const DimensionedField< scalar, fvMesh > &, const dictionary &dict)
 Construct from internal field and dictionary. More...
 
 growthSecondaryPropertyFvScalarFieldSource (const growthSecondaryPropertyFvScalarFieldSource &, const DimensionedField< scalar, fvMesh > &)
 Copy constructor setting internal field reference. More...
 
virtual tmp< DimensionedField< scalar, fvMesh > > value (const label j, const fvSource &model) const =0
 Return the value transported from an adjacent group. 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 which create a growth source terms for secondary properties of the groups of a population balance model.

Source files

Definition at line 50 of file growthSecondaryPropertyFvScalarFieldSource.H.

Constructor & Destructor Documentation

◆ growthSecondaryPropertyFvScalarFieldSource() [1/2]

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

Construct from internal field and dictionary.

Definition at line 31 of file growthSecondaryPropertyFvScalarFieldSource.C.

◆ growthSecondaryPropertyFvScalarFieldSource() [2/2]

Copy constructor setting internal field reference.

Definition at line 43 of file growthSecondaryPropertyFvScalarFieldSource.C.

Member Function Documentation

◆ value()

virtual tmp<DimensionedField<scalar, fvMesh> > value ( const label  j,
const fvSource model 
) const
pure virtual

◆ 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 58 of file growthSecondaryPropertyFvScalarFieldSource.C.

References populationBalanceModel::f(), fvModel::name(), and GeometricField< Type, GeoMesh, PrimitiveField >::sources().

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 73 of file growthSecondaryPropertyFvScalarFieldSource.C.

References populationBalanceModel::f(), Pair< Type >::first(), fvModel::name(), populationBalanceModel::nGroups(), Pair< Type >::second(), and GeometricField< Type, GeoMesh, PrimitiveField >::sources().

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 105 of file growthSecondaryPropertyFvScalarFieldSource.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: