diameterModel Class Referenceabstract

Abstract base-class for dispersed-phase particle diameter models. More...

Inheritance diagram for diameterModel:

Public Member Functions

 TypeName ("diameterModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, diameterModel, dictionary,(const dictionary &diameterProperties, const phaseModel &phase),(diameterProperties, phase))
 
 diameterModel (const dictionary &diameterProperties, const phaseModel &phase)
 Construct from dictionary and phase. More...
 
virtual ~diameterModel ()
 Destructor. More...
 
const phaseModelphase () const
 Return the phase. More...
 
virtual tmp< volScalarFieldd () const =0
 Return the diameter. More...
 
virtual tmp< volScalarFieldAv () const =0
 Return the surface area per unit volume. More...
 
virtual void correct ()
 Correct the model. More...
 
virtual bool read ()
 Read diameter properties dictionary. More...
 
virtual bool read (const dictionary &diameterProperties)=0
 Read diameter properties dictionary. More...
 

Static Public Member Functions

static autoPtr< diameterModelNew (const dictionary &diameterProperties, const phaseModel &phase)
 Select from dictionary and phase. More...
 

Detailed Description

Abstract base-class for dispersed-phase particle diameter models.

Source files

Definition at line 51 of file diameterModel.H.

Constructor & Destructor Documentation

◆ diameterModel()

diameterModel ( const dictionary diameterProperties,
const phaseModel phase 
)

Construct from dictionary and phase.

Definition at line 40 of file diameterModel.C.

◆ ~diameterModel()

~diameterModel ( )
virtual

Destructor.

Definition at line 52 of file diameterModel.C.

Member Function Documentation

◆ TypeName()

TypeName ( "diameterModel"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
diameterModel  ,
dictionary  ,
(const dictionary &diameterProperties, const phaseModel &phase ,
(diameterProperties, phase  
)

◆ New()

Foam::autoPtr< Foam::diameterModel > New ( const dictionary diameterProperties,
const phaseModel phase 
)
static

Select from dictionary and phase.

Definition at line 30 of file diameterModelNew.C.

References dict, Foam::endl(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, Foam::indentOrNl(), Foam::Info, dictionary::lookup(), diameterModel::phase(), and Foam::typeName().

Referenced by phaseModel::phaseModel().

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

◆ phase()

const phaseModel& phase ( ) const
inline

Return the phase.

Definition at line 107 of file diameterModel.H.

Referenced by IATEsource::fluid(), diameterModel::New(), IATEsource::phase(), and populationBalanceModel::solve().

Here is the caller graph for this function:

◆ d()

virtual tmp<volScalarField> d ( ) const
pure virtual

◆ Av()

virtual tmp<volScalarField> Av ( ) const
pure virtual

Return the surface area per unit volume.

Implemented in populationBalance, spherical, noDiameter, IATE, and fixedInterfacialArea.

Referenced by phaseSurfaceArrheniusReactionRate::preEvaluate().

Here is the caller graph for this function:

◆ correct()

void correct ( )
virtual

Correct the model.

Reimplemented in populationBalance, linearTsub, isothermal, and IATE.

Definition at line 58 of file diameterModel.C.

◆ read() [1/2]

bool read ( )
virtual

Read diameter properties dictionary.

Definition at line 62 of file diameterModel.C.

References dictionary::isDict(), dictionary::optionalTypeDict(), Foam::read(), dictionary::subDict(), and Foam::type().

Referenced by fixedInterfacialArea::fixedInterfacialArea().

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

◆ read() [2/2]

virtual bool read ( const dictionary diameterProperties)
pure virtual

Read diameter properties dictionary.

Implemented in populationBalance, residualDiameter, noDiameter, linearTsub, isothermal, IATE, fixedInterfacialArea, and constant.


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