coalescenceModel Class Referenceabstract

Base class for coalescence models. More...

Inheritance diagram for coalescenceModel:
Collaboration diagram for coalescenceModel:

Public Member Functions

 TypeName ("coalescenceModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, coalescenceModel, dictionary,(const populationBalanceModel &popBal, const dictionary &dict),(popBal, dict))
 
 coalescenceModel (const populationBalanceModel &popBal, const dictionary &dict)
 Construct from a population balance and its dictionary. More...
 
virtual ~coalescenceModel ()
 Destructor. More...
 
virtual bool coalesces () const
 Does this model coalesce? More...
 
virtual void precompute ()
 Pre-compute diameter independent expressions. More...
 
virtual tmp< volScalarField::Internalrate (const label i, const label j) const =0
 Return the coalescence rate between two groups. More...
 

Static Public Member Functions

static autoPtr< coalescenceModelNew (const populationBalanceModel &popBal, const dictionary &dict)
 Selector. More...
 

Protected Attributes

const populationBalanceModelpopBal_
 Reference to the populationBalanceModel. More...
 

Detailed Description

Base class for coalescence models.

See also
Foam::populationBalanceModel
Source files

Definition at line 53 of file coalescenceModel.H.

Constructor & Destructor Documentation

◆ coalescenceModel()

coalescenceModel ( const populationBalanceModel popBal,
const dictionary dict 
)

Construct from a population balance and its dictionary.

Definition at line 88 of file coalescenceModel.C.

◆ ~coalescenceModel()

virtual ~coalescenceModel ( )
inlinevirtual

Destructor.

Definition at line 103 of file coalescenceModel.H.

Member Function Documentation

◆ TypeName()

TypeName ( "coalescenceModel"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
coalescenceModel  ,
dictionary  ,
(const populationBalanceModel &popBal, const dictionary &dict ,
(popBal, dict  
)

◆ New()

Foam::autoPtr< Foam::populationBalance::coalescenceModel > New ( const populationBalanceModel popBal,
const dictionary dict 
)
static

Selector.

Definition at line 43 of file coalescenceModel.C.

References dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::indentOrNl(), Foam::Info, dictionary::lookup(), and Foam::typeName().

Here is the call graph for this function:

◆ coalesces()

bool coalesces ( ) const
virtual

Does this model coalesce?

Reimplemented in noCoalescence.

Definition at line 104 of file coalescenceModel.C.

◆ precompute()

void precompute ( )
virtual

Pre-compute diameter independent expressions.

Reimplemented in PrinceBlanch, LiaoCoalescence, DahnekeInterpolation, and BrownianCollisions.

Definition at line 100 of file coalescenceModel.C.

◆ rate()

Member Data Documentation

◆ popBal_

const populationBalanceModel& popBal_
protected

Reference to the populationBalanceModel.

Definition at line 60 of file coalescenceModel.H.

Referenced by PrinceBlanch::PrinceBlanch().


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