secondaryPropertyFvScalarFieldSource Class Reference

Base class for source conditions of secondary properties of the size-groups of a population balance model. More...

Inheritance diagram for secondaryPropertyFvScalarFieldSource:

Public Member Functions

 secondaryPropertyFvScalarFieldSource (const DimensionedField< scalar, volMesh > &)
 Construct from internal field. More...
 
const UPtrList< diameterModels::sizeGroup > & fis () const
 Return the list of size-groups. More...
 
label i () const
 Return the index of this group. More...
 
const diameterModels::sizeGroupfi (const label deltai=0) const
 Return a size-group. More...
 
template<class ModelType >
const volScalarFieldfld (const label deltai=0) const
 Return a secondary property field. More...
 
template<class ModelType >
const ModelType & model (const label deltai=0) const
 Return a secondary property model. More...
 
template<class ModelType >
const Foam::volScalarFieldfld (const label deltai) const
 

Detailed Description

Base class for source conditions of secondary properties of the size-groups of a population balance model.

Source files

Definition at line 55 of file secondaryPropertyFvScalarFieldSource.H.

Constructor & Destructor Documentation

◆ secondaryPropertyFvScalarFieldSource()

Construct from internal field.

Definition at line 31 of file secondaryPropertyFvScalarFieldSource.C.

Member Function Documentation

◆ fis()

Return the list of size-groups.

Definition at line 45 of file secondaryPropertyFvScalarFieldSource.C.

References phaseSystem::propertiesName.

◆ i()

Foam::label i ( ) const

Return the index of this group.

Definition at line 59 of file secondaryPropertyFvScalarFieldSource.C.

References Foam::exit(), Foam::FatalError, and FatalErrorInFunction.

Here is the call graph for this function:

◆ fi()

const Foam::diameterModels::sizeGroup & fi ( const label  deltai = 0) const

Return a size-group.

Definition at line 100 of file secondaryPropertyFvScalarFieldSource.C.

References UPtrList< T >::size().

Referenced by secondaryPropertyFvScalarFieldSource::fld(), hardSphereSurfaceAreaVolumeRatioFvScalarFieldSource::value(), and ParkRogakSurfaceAreaVolumeRatioFvScalarFieldSource::value().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fld() [1/2]

const volScalarField& fld ( const label  deltai = 0) const

Return a secondary property field.

◆ model()

const ModelType & model ( const label  deltai = 0) const

Return a secondary property model.

Definition at line 51 of file secondaryPropertyFvScalarFieldSourceTemplates.C.

References Foam::isNull().

Here is the call graph for this function:

◆ fld() [2/2]

const Foam::volScalarField& fld ( const label  deltai) const

Definition at line 31 of file secondaryPropertyFvScalarFieldSourceTemplates.C.

References secondaryPropertyFvScalarFieldSource::fi(), and Foam::isNull().

Here is the call graph for this function:

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