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 dictionarydiameterProperties () const
 Return the phase diameter properties dictionary. 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 (const dictionary &phaseProperties)
 Read phaseProperties 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 39 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::FatalError, FatalErrorInFunction, Foam::Info, phaseModel::name(), and diameterModel::phase().

Referenced by phaseModel::phaseModel().

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

◆ diameterProperties()

const dictionary& diameterProperties ( ) const
inline

Return the phase diameter properties dictionary.

Definition at line 110 of file diameterModel.H.

Referenced by fixedInterfacialArea::fixedInterfacialArea(), and sizeGroup::sizeGroup().

Here is the caller graph for this function:

◆ phase()

const phaseModel& phase ( ) const
inline

Return the phase.

Definition at line 116 of file diameterModel.H.

Referenced by phaseChange::addToDriftRate(), IATEsource::fluid(), diameterModel::New(), IATEsource::phase(), phaseChange::precompute(), and dummy::R().

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 velocityGroup, spherical, noDiameter, IATE, and fixedInterfacialArea.

◆ correct()

void correct ( )
virtual

Correct the model.

Reimplemented in velocityGroup, linearTsub, isothermal, and IATE.

Definition at line 58 of file diameterModel.C.

◆ read()

bool read ( const dictionary phaseProperties)
virtual

Read phaseProperties dictionary.

Reimplemented in linearTsub, isothermal, IATE, velocityGroup, residualDiameter, fixedInterfacialArea, and constant.

Definition at line 62 of file diameterModel.C.

References Foam::type().

Referenced by constant::read(), fixedInterfacialArea::read(), residualDiameter::read(), velocityGroup::read(), IATE::read(), isothermal::read(), and linearTsub::read().

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

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