diameterModel Class Referenceabstract

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

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

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)
 
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 phase mean diameter field. More...
 
virtual void correct ()
 Correct the diameter field. More...
 
virtual bool read (const dictionary &phaseProperties)=0
 Read phaseProperties dictionary. More...
 
 TypeName ("diameterModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, diameterModel, dictionary,(const dictionary &dict, const phaseModel &phase),(dict, phase))
 
 diameterModel (const dictionary &dict, const phaseModel &phase)
 
virtual ~diameterModel ()
 Destructor. More...
 
virtual tmp< volScalarFieldd () const =0
 Return the phase mean diameter field. More...
 
 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)
 
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 phase mean diameter field. More...
 
virtual void correct ()
 Correct the diameter field. More...
 
virtual bool read (const dictionary &phaseProperties)=0
 Read phaseProperties dictionary. More...
 

Static Public Member Functions

static autoPtr< diameterModelNew (const dictionary &diameterProperties, const phaseModel &phase)
 
static autoPtr< diameterModelNew (const dictionary &dict, const phaseModel &phase)
 
static autoPtr< diameterModelNew (const dictionary &diameterProperties, const phaseModel &phase)
 

Protected Attributes

dictionary diameterProperties_
 
const phaseModelphase_
 
const dictionarydict_
 

Detailed Description

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

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

Source files

Source files

Source files

Definition at line 53 of file diameterModel.H.

Constructor & Destructor Documentation

◆ diameterModel() [1/3]

diameterModel ( const dictionary diameterProperties,
const phaseModel phase 
)

Definition at line 42 of file diameterModel.C.

◆ ~diameterModel() [1/3]

~diameterModel ( )
virtual

Destructor.

Definition at line 54 of file diameterModel.C.

◆ diameterModel() [2/3]

diameterModel ( const dictionary dict,
const phaseModel phase 
)

◆ ~diameterModel() [2/3]

virtual ~diameterModel ( )
virtual

Destructor.

◆ diameterModel() [3/3]

diameterModel ( const dictionary diameterProperties,
const phaseModel phase 
)

◆ ~diameterModel() [3/3]

virtual ~diameterModel ( )
virtual

Destructor.

Member Function Documentation

◆ TypeName() [1/3]

TypeName ( "diameterModel"  )

Runtime type information.

◆ declareRunTimeSelectionTable() [1/3]

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

◆ New() [1/3]

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

Definition at line 34 of file newDiameterModel.C.

References Foam::abort(), dict, Foam::endl(), Foam::FatalIOError, FatalIOErrorInLookup, Foam::Info, and phase::name().

Here is the call graph for this function:

◆ diameterProperties() [1/2]

const dictionary& diameterProperties ( ) const
inline

Return the phase diameter properties dictionary.

Definition at line 110 of file diameterModel.H.

References diameterModel::diameterProperties_.

◆ phase() [1/2]

const phaseModel& phase ( ) const
inline

Return the phase.

Definition at line 116 of file diameterModel.H.

References diameterModel::phase_.

Referenced by phaseChange::addToDriftRate(), phaseChange::correct(), IATEsource::fluid(), and IATEsource::phase().

Here is the caller graph for this function:

◆ d() [1/3]

virtual tmp<volScalarField> d ( ) const
pure virtual

Return the phase mean diameter field.

Implemented in velocityGroup, IATE, IATE, linearTsub, isothermal, isothermal, isothermal, constant, constant, and constant.

◆ correct() [1/2]

void correct ( )
virtual

Correct the diameter field.

Reimplemented in IATE, IATE, linearTsub, and isothermal.

Definition at line 60 of file diameterModel.C.

◆ read() [1/2]

bool read ( const dictionary phaseProperties)
pure virtual

Read phaseProperties dictionary.

Implemented in IATE, IATE, linearTsub, isothermal, isothermal, velocityGroup, constant, and constant.

Definition at line 64 of file diameterModel.C.

References Foam::type().

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

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

◆ TypeName() [2/3]

TypeName ( "diameterModel"  )

Runtime type information.

◆ declareRunTimeSelectionTable() [2/3]

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

◆ New() [2/3]

static autoPtr<diameterModel> New ( const dictionary dict,
const phaseModel phase 
)
static

◆ d() [2/3]

virtual tmp<volScalarField> d ( ) const
pure virtual

Return the phase mean diameter field.

Implemented in velocityGroup, IATE, IATE, linearTsub, isothermal, isothermal, isothermal, constant, constant, and constant.

◆ TypeName() [3/3]

TypeName ( "diameterModel"  )

Runtime type information.

◆ declareRunTimeSelectionTable() [3/3]

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

◆ New() [3/3]

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

◆ diameterProperties() [2/2]

const dictionary& diameterProperties ( ) const
inline

Return the phase diameter properties dictionary.

Definition at line 110 of file diameterModel.H.

References diameterModel::diameterProperties_.

◆ phase() [2/2]

const phaseModel& phase ( ) const
inline

Return the phase.

Definition at line 116 of file diameterModel.H.

References diameterModel::phase_.

◆ d() [3/3]

virtual tmp<volScalarField> d ( ) const
pure virtual

Return the phase mean diameter field.

Implemented in velocityGroup, IATE, IATE, linearTsub, isothermal, isothermal, isothermal, constant, constant, and constant.

◆ correct() [2/2]

virtual void correct ( )
virtual

Correct the diameter field.

Reimplemented in IATE, IATE, linearTsub, and isothermal.

◆ read() [2/2]

virtual bool read ( const dictionary phaseProperties)
pure virtual

Member Data Documentation

◆ diameterProperties_

dictionary diameterProperties_
protected

Definition at line 60 of file diameterModel.H.

Referenced by diameterModel::diameterProperties().

◆ phase_

const phaseModel & phase_
protected

Definition at line 61 of file diameterModel.H.

Referenced by IATE::a(), and diameterModel::phase().

◆ dict_

const dictionary& dict_
protected

Definition at line 59 of file diameterModel.H.


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