constantNucleation Class Reference

Constant nucleation rate within all classes. Used for verification and validation of the nucleation formulation implemented in the populationBalanceModel class. Rate is calculated from fvOptions mass source. More...

Inheritance diagram for constantNucleation:
[legend]
Collaboration diagram for constantNucleation:
[legend]

Public Member Functions

 TypeName ("constant")
 Runtime type information. More...
 
 constantNucleation (const populationBalanceModel &popBal, const dictionary &dict)
 
virtual ~constantNucleation ()=default
 Destructor. More...
 
virtual void correct ()
 Correct diameter independent expressions. More...
 
virtual void addToNucleationRate (volScalarField &nucleationRate, const label i)
 Add to nucleationRate. More...
 
- Public Member Functions inherited from nucleationModel
 TypeName ("nucleationModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, nucleationModel, dictionary,(const populationBalanceModel &popBal, const dictionary &dict),(popBal, dict))
 
 nucleationModel (const populationBalanceModel &popBal, const dictionary &dict)
 
autoPtr< nucleationModelclone () const
 
virtual ~nucleationModel ()=default
 Destructor. More...
 
const populationBalanceModelpopBal () const
 Return reference to the populationBalanceModel. More...
 
virtual void correct ()
 Correct diameter independent expressions. More...
 
virtual void addToNucleationRate (volScalarField &nucleationRate, const label i)=0
 Add to nucleationRate. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from nucleationModel
static autoPtr< nucleationModelNew (const word &type, const populationBalanceModel &popBal, const dictionary &dict)
 
- Protected Attributes inherited from nucleationModel
const populationBalanceModelpopBal_
 Reference to the populationBalanceModel. More...
 

Detailed Description

Constant nucleation rate within all classes. Used for verification and validation of the nucleation formulation implemented in the populationBalanceModel class. Rate is calculated from fvOptions mass source.

Source files

Definition at line 56 of file constantNucleation.H.

Constructor & Destructor Documentation

◆ constantNucleation()

constantNucleation ( const populationBalanceModel popBal,
const dictionary dict 
)

Definition at line 54 of file constantNucleation.C.

References Foam::dimLength, and Foam::refCast().

Here is the call graph for this function:

◆ ~constantNucleation()

virtual ~constantNucleation ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "constant"  )

Runtime type information.

◆ correct()

void correct ( )
virtual

Correct diameter independent expressions.

Reimplemented from nucleationModel.

Definition at line 82 of file constantNucleation.C.

References Foam::endl(), and WarningInFunction.

Here is the call graph for this function:

◆ addToNucleationRate()

void addToNucleationRate ( volScalarField nucleationRate,
const label  i 
)
virtual

Add to nucleationRate.

Implements nucleationModel.

Definition at line 103 of file constantNucleation.C.

References sizeGroup::phase(), Foam::pow3(), rho, phase::rho(), and sizeGroup::x().

Here is the call graph for this function:

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