laminarThermophysicalTransportModel< BasicThermophysicalTransportModel > Class Template Reference

Templated abstract base class for laminar thermophysical transport models. More...

Inheritance diagram for laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >:
Collaboration diagram for laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >:

Public Types

typedef BasicThermophysicalTransportModel::alphaField alphaField
 
typedef BasicThermophysicalTransportModel::momentumTransportModel momentumTransportModel
 
typedef BasicThermophysicalTransportModel::thermoModel thermoModel
 

Public Member Functions

 TypeName ("laminar")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, laminarThermophysicalTransportModel, dictionary,(const momentumTransportModel &momentumTransport, const thermoModel &thermo),(momentumTransport, thermo))
 
 laminarThermophysicalTransportModel (const word &type, const momentumTransportModel &momentumTransport, const thermoModel &thermo)
 Construct from components. More...
 
 laminarThermophysicalTransportModel (const laminarThermophysicalTransportModel &)=delete
 Disallow default bitwise copy construction. More...
 
virtual ~laminarThermophysicalTransportModel ()
 Destructor. More...
 
virtual bool read ()
 Read model coefficients if they have changed. More...
 
virtual tmp< volScalarFieldkappaEff () const
 Effective thermal turbulent conductivity. More...
 
virtual tmp< scalarFieldkappaEff (const label patchi) const
 Effective thermal turbulent conductivity. More...
 
virtual tmp< scalarFieldalphaEff (const label patchi) const
 Effective thermal turbulent diffusivity. More...
 
virtual void predict ()
 Predict the laminar transport coefficients if possible. More...
 
virtual void correct ()
 Solve the thermophysical transport model equations. More...
 
void operator= (const laminarThermophysicalTransportModel &)=delete
 Disallow default bitwise assignment. More...
 

Static Public Member Functions

static autoPtr< laminarThermophysicalTransportModelNew (const momentumTransportModel &momentumTransport, const thermoModel &thermo)
 Return a reference to the selected laminar model. More...
 

Protected Member Functions

const dictionarytypeDict () const
 Const access to the coefficients dictionary. More...
 
const dictionarytypeDict (const word &) const
 Const access to the coefficients dictionary. More...
 
tmp< volScalarFieldalphaEff () const
 Effective thermal turbulent diffusivity of mixture [kg/m/s]. More...
 

Detailed Description

template<class BasicThermophysicalTransportModel>
class Foam::laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >

Templated abstract base class for laminar thermophysical transport models.

Source files

Definition at line 49 of file laminarThermophysicalTransportModel.H.

Member Typedef Documentation

◆ alphaField

typedef BasicThermophysicalTransportModel::alphaField alphaField

Definition at line 79 of file laminarThermophysicalTransportModel.H.

◆ momentumTransportModel

typedef BasicThermophysicalTransportModel::momentumTransportModel momentumTransportModel

Definition at line 82 of file laminarThermophysicalTransportModel.H.

◆ thermoModel

typedef BasicThermophysicalTransportModel::thermoModel thermoModel

Definition at line 85 of file laminarThermophysicalTransportModel.H.

Constructor & Destructor Documentation

◆ laminarThermophysicalTransportModel() [1/2]

laminarThermophysicalTransportModel ( const word type,
const momentumTransportModel momentumTransport,
const thermoModel thermo 
)

Construct from components.

Definition at line 35 of file laminarThermophysicalTransportModel.C.

◆ laminarThermophysicalTransportModel() [2/2]

laminarThermophysicalTransportModel ( const laminarThermophysicalTransportModel< BasicThermophysicalTransportModel > &  )
delete

Disallow default bitwise copy construction.

◆ ~laminarThermophysicalTransportModel()

virtual ~laminarThermophysicalTransportModel ( )
inlinevirtual

Destructor.

Definition at line 135 of file laminarThermophysicalTransportModel.H.

Member Function Documentation

◆ typeDict() [1/2]

const Foam::dictionary & typeDict
protected

Const access to the coefficients dictionary.

Definition at line 138 of file laminarThermophysicalTransportModel.C.

References Foam::type().

Here is the call graph for this function:

◆ typeDict() [2/2]

const Foam::dictionary & typeDict ( const word type) const
protected

Const access to the coefficients dictionary.

Definition at line 148 of file laminarThermophysicalTransportModel.C.

References Foam::type().

Here is the call graph for this function:

◆ alphaEff() [1/2]

tmp<volScalarField> alphaEff ( ) const
inlineprotected

Effective thermal turbulent diffusivity of mixture [kg/m/s].

Used for the implicit energy correction on the temperature laplacian

Definition at line 66 of file laminarThermophysicalTransportModel.H.

◆ TypeName()

TypeName ( "laminar"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

declareRunTimeSelectionTable ( autoPtr  ,
laminarThermophysicalTransportModel< BasicThermophysicalTransportModel >  ,
dictionary  ,
(const momentumTransportModel &momentumTransport, const thermoModel &thermo ,
(momentumTransport, thermo  
)

◆ New()

static autoPtr<laminarThermophysicalTransportModel> New ( const momentumTransportModel momentumTransport,
const thermoModel thermo 
)
static

Return a reference to the selected laminar model.

◆ read()

bool read
virtual

Read model coefficients if they have changed.

Reimplemented in unityLewisFourier< BasicThermophysicalTransportModel >, and Fourier< BasicThermophysicalTransportModel >.

Definition at line 158 of file laminarThermophysicalTransportModel.C.

References Foam::blockMeshTools::read().

Here is the call graph for this function:

◆ kappaEff() [1/2]

virtual tmp<volScalarField> kappaEff ( ) const
inlinevirtual

Effective thermal turbulent conductivity.

of mixture [W/m/K]

Definition at line 146 of file laminarThermophysicalTransportModel.H.

◆ kappaEff() [2/2]

virtual tmp<scalarField> kappaEff ( const label  patchi) const
inlinevirtual

Effective thermal turbulent conductivity.

of mixture for patch [W/m/K]

Definition at line 157 of file laminarThermophysicalTransportModel.H.

◆ alphaEff() [2/2]

virtual tmp<scalarField> alphaEff ( const label  patchi) const
inlinevirtual

Effective thermal turbulent diffusivity.

of mixture for a patch [kg/m/s]

Definition at line 164 of file laminarThermophysicalTransportModel.H.

◆ predict()

void predict
virtual

Predict the laminar transport coefficients if possible.

without solving thermophysical transport model equations

Reimplemented in unityLewisFourier< BasicThermophysicalTransportModel >, and Fourier< BasicThermophysicalTransportModel >.

Definition at line 168 of file laminarThermophysicalTransportModel.C.

◆ correct()

void correct
virtual

Solve the thermophysical transport model equations.

and correct the laminar transport coefficients

Definition at line 178 of file laminarThermophysicalTransportModel.C.

References Foam::MULES::correct().

Here is the call graph for this function:

◆ operator=()

void operator= ( const laminarThermophysicalTransportModel< BasicThermophysicalTransportModel > &  )
delete

Disallow default bitwise assignment.


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