diameterModel Class Referenceabstract

Abstract 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 &dict, const phaseModel &phase),(dict, phase))
 
 diameterModel (const dictionary &dict, const phaseModel &phase)
 
virtual ~diameterModel ()=default
 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 &dict, const phaseModel &phase),(dict, phase))
 
 diameterModel (const dictionary &dict, const phaseModel &phase)
 
virtual ~diameterModel ()=default
 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 ()=default
 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 &dict)=0
 Read phaseProperties dictionary. More...
 

Static Public Member Functions

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

Protected Attributes

const dictionarydict_
 
const phaseModelphase_
 
dictionary diameterProperties_
 

Detailed Description

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 dict,
const phaseModel phase 
)

Definition at line 43 of file diameterModel.C.

◆ ~diameterModel() [1/3]

virtual ~diameterModel ( )
virtualdefault

Destructor.

◆ diameterModel() [2/3]

diameterModel ( const dictionary dict,
const phaseModel phase 
)

◆ ~diameterModel() [2/3]

virtual ~diameterModel ( )
virtualdefault

Destructor.

◆ diameterModel() [3/3]

diameterModel ( const dictionary dict,
const phaseModel phase 
)

◆ ~diameterModel() [3/3]

virtual ~diameterModel ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName() [1/3]

TypeName ( "diameterModel"  )

Runtime type information.

◆ declareRunTimeSelectionTable() [1/3]

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

◆ New() [1/3]

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

Definition at line 56 of file diameterModel.C.

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

Here is the call 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.

◆ 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 diameterProperties,
const phaseModel phase 
)
static

◆ 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(), IATEsource::phase(), dummy::R(), and sizeDistribution::write().

Here is the caller graph for this function:

◆ 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.

◆ correct() [1/2]

void correct ( )
virtual

Correct the diameter field.

Reimplemented in IATE, IATE, linearTsub, and isothermal.

Definition at line 92 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 96 of file diameterModel.C.

References dict, dictionary::optionalSubDict(), and 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() [3/3]

TypeName ( "diameterModel"  )

Runtime type information.

◆ declareRunTimeSelectionTable() [3/3]

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

◆ New() [3/3]

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

◆ diameterProperties() [2/2]

const dictionary& diameterProperties ( ) const
inline

Return the phase diameter properties dictionary.

Definition at line 109 of file diameterModel.H.

References diameterModel::diameterProperties_.

◆ phase() [2/2]

const phaseModel& phase ( ) const
inline

Return the phase.

Definition at line 115 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 dict)
pure virtual

Member Data Documentation

◆ dict_

const dictionary& dict_
protected

Definition at line 59 of file diameterModel.H.

◆ phase_

const phaseModel & phase_
protected

Definition at line 61 of file diameterModel.H.

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

◆ diameterProperties_

dictionary diameterProperties_
protected

Definition at line 59 of file diameterModel.H.

Referenced by diameterModel::diameterProperties().


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