LESThermophysicalTransportModel< BasicThermophysicalTransportModel > Class Template Referenceabstract

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

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

Public Types

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

Public Member Functions

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

Static Public Member Functions

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

Protected Member Functions

virtual void printCoeffs (const word &type)
 Print model coefficients. More...
 

Protected Attributes

dictionary LESDict_
 LES coefficients dictionary. More...
 
Switch printCoeffs_
 Flag to print the model coeffs at run-time. More...
 
dictionary coeffDict_
 Model coefficients dictionary. More...
 

Detailed Description

template<class BasicThermophysicalTransportModel>
class Foam::LESThermophysicalTransportModel< BasicThermophysicalTransportModel >

Templated abstract base class for LES thermophysical transport models.

Source files

Definition at line 49 of file LESThermophysicalTransportModel.H.

Member Typedef Documentation

◆ alphaField

typedef BasicThermophysicalTransportModel::alphaField alphaField

Definition at line 77 of file LESThermophysicalTransportModel.H.

◆ momentumTransportModel

typedef BasicThermophysicalTransportModel::momentumTransportModel momentumTransportModel

Definition at line 80 of file LESThermophysicalTransportModel.H.

◆ thermoModel

typedef BasicThermophysicalTransportModel::thermoModel thermoModel

Definition at line 83 of file LESThermophysicalTransportModel.H.

Constructor & Destructor Documentation

◆ LESThermophysicalTransportModel() [1/2]

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

Construct from components.

Definition at line 52 of file LESThermophysicalTransportModel.C.

◆ LESThermophysicalTransportModel() [2/2]

LESThermophysicalTransportModel ( const LESThermophysicalTransportModel< BasicThermophysicalTransportModel > &  )
delete

Disallow default bitwise copy construction.

◆ ~LESThermophysicalTransportModel()

virtual ~LESThermophysicalTransportModel ( )
inlinevirtual

Destructor.

Definition at line 133 of file LESThermophysicalTransportModel.H.

Member Function Documentation

◆ printCoeffs()

void printCoeffs ( const word type)
protectedvirtual

Print model coefficients.

Definition at line 35 of file LESThermophysicalTransportModel.C.

References Foam::endl(), and Foam::Info.

Here is the call graph for this function:

◆ TypeName()

TypeName ( "LES"  )

Runtime type information.

◆ declareRunTimeSelectionTable()

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

◆ New()

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

Return a reference to the selected LES model.

◆ read()

bool read
virtual

Read model coefficients if they have changed.

Definition at line 160 of file LESThermophysicalTransportModel.C.

References Foam::blockMeshTools::read(), and Foam::type().

Here is the call graph for this function:

◆ coeffDict()

virtual const dictionary& coeffDict ( ) const
inlinevirtual

Const access to the coefficients dictionary.

Definition at line 143 of file LESThermophysicalTransportModel.H.

References LESThermophysicalTransportModel< BasicThermophysicalTransportModel >::coeffDict_.

◆ kappaEff() [1/2]

virtual tmp<volScalarField> kappaEff ( ) const
pure virtual

Effective thermal turbulent conductivity.

of mixture [W/m/K]

◆ kappaEff() [2/2]

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

Effective thermal turbulent conductivity.

of mixture for patch [W/m/K]

◆ predict()

void predict
virtual

Predict the LES transport coefficients if possible.

without solving thermophysical transport model equations

Definition at line 178 of file LESThermophysicalTransportModel.C.

◆ correct()

void correct
virtual

Solve the thermophysical transport model equations.

and correct the LES transport coefficients

Definition at line 186 of file LESThermophysicalTransportModel.C.

References Foam::MULES::correct().

Here is the call graph for this function:

◆ operator=()

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

Disallow default bitwise assignment.

Member Data Documentation

◆ LESDict_

dictionary LESDict_
protected

LES coefficients dictionary.

Definition at line 59 of file LESThermophysicalTransportModel.H.

◆ printCoeffs_

Switch printCoeffs_
protected

Flag to print the model coeffs at run-time.

Definition at line 62 of file LESThermophysicalTransportModel.H.

◆ coeffDict_

dictionary coeffDict_
protected

Model coefficients dictionary.

Definition at line 65 of file LESThermophysicalTransportModel.H.

Referenced by LESThermophysicalTransportModel< BasicThermophysicalTransportModel >::coeffDict().


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