daughterSizeDistributionModel Class Referenceabstract

Base class for daughter size distribution models. Currently only supports field-independent formulations. More...

Inheritance diagram for daughterSizeDistributionModel:
Collaboration diagram for daughterSizeDistributionModel:

Public Member Functions

 TypeName ("daughterSizeDistributionModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, daughterSizeDistributionModel, dictionary,(const breakupModel &breakup, const dictionary &dict),(breakup, dict))
 
 daughterSizeDistributionModel (const breakupModel &breakup, const dictionary &dict)
 
virtual ~daughterSizeDistributionModel ()
 Destructor. More...
 
const dimensionedScalarnik (const label i, const label k) const
 Return contribution to sizeGroup i due to breakup in sizeGroup k. More...
 
void precompute ()
 Precompute field independent expressions. More...
 
virtual dimensionedScalar calcNik (const label i, const label k) const =0
 Calculate contribution to sizeGroup i due to breakup in sizeGroup k. More...
 

Static Public Member Functions

static autoPtr< daughterSizeDistributionModelNew (const breakupModel &breakup, const dictionary &dict)
 

Protected Attributes

const breakupModelbreakup_
 Reference to the breakupModel. More...
 
PtrList< PtrList< dimensionedScalar > > nik_
 Contribution to sizeGroup i due to breakup in sizeGroup k. More...
 

Detailed Description

Base class for daughter size distribution models. Currently only supports field-independent formulations.

See also
Foam::diameterModels::breakupModel Foam::diameterModels::populationBalanceModel
Source files

Definition at line 58 of file daughterSizeDistributionModel.H.

Constructor & Destructor Documentation

◆ daughterSizeDistributionModel()

daughterSizeDistributionModel ( const breakupModel breakup,
const dictionary dict 
)

Definition at line 79 of file daughterSizeDistributionModel.C.

◆ ~daughterSizeDistributionModel()

Destructor.

Definition at line 93 of file daughterSizeDistributionModel.C.

Member Function Documentation

◆ TypeName()

TypeName ( "daughterSizeDistributionModel"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
daughterSizeDistributionModel  ,
dictionary  ,
(const breakupModel &breakup, const dictionary &dict ,
(breakup, dict  
)

◆ New()

Foam::autoPtr< Foam::diameterModels::daughterSizeDistributionModel > New ( const breakupModel breakup,
const dictionary dict 
)
static

Definition at line 44 of file daughterSizeDistributionModel.C.

References dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::Info, IOobject::name(), and breakupModel::popBal().

Referenced by breakupModel::breakupModel().

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

◆ nik()

const Foam::dimensionedScalar & nik ( const label  i,
const label  k 
) const

Return contribution to sizeGroup i due to breakup in sizeGroup k.

Definition at line 101 of file daughterSizeDistributionModel.C.

References k.

◆ precompute()

void precompute ( )

Precompute field independent expressions.

Definition at line 111 of file daughterSizeDistributionModel.C.

References forAll, and k.

◆ calcNik()

virtual dimensionedScalar calcNik ( const label  i,
const label  k 
) const
pure virtual

Calculate contribution to sizeGroup i due to breakup in sizeGroup k.

Implemented in uniformBinary, and LaakkonenDaughterSizeDistribution.

Member Data Documentation

◆ breakup_

const breakupModel& breakup_
protected

Reference to the breakupModel.

Definition at line 65 of file daughterSizeDistributionModel.H.

◆ nik_

PtrList<PtrList<dimensionedScalar> > nik_
protected

Contribution to sizeGroup i due to breakup in sizeGroup k.

Definition at line 68 of file daughterSizeDistributionModel.H.


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