eddyDiffusivity< TurbulenceThermophysicalTransportModel > Class Template Reference

Eddy-diffusivity based gradient heat flux model for RAS or LES of turbulent flow. Specie fluxes are computed assuming a unity turbulent Lewis number. More...

Inheritance diagram for eddyDiffusivity< TurbulenceThermophysicalTransportModel >:
Collaboration diagram for eddyDiffusivity< TurbulenceThermophysicalTransportModel >:

Public Types

typedef TurbulenceThermophysicalTransportModel::alphaField alphaField
 
typedef TurbulenceThermophysicalTransportModel::momentumTransportModel momentumTransportModel
 
typedef TurbulenceThermophysicalTransportModel::thermoModel thermoModel
 

Public Member Functions

 TypeName ("eddyDiffusivity")
 Runtime type information. More...
 
 eddyDiffusivity (const momentumTransportModel &momentumTransport, const thermoModel &thermo)
 Construct from a momentum transport model and a thermo model. More...
 
 eddyDiffusivity (const word &type, const momentumTransportModel &momentumTransport, const thermoModel &thermo, const bool allowDefaultPrt)
 Construct from a type name, a momentum transport model and a thermo. More...
 
virtual ~eddyDiffusivity ()
 Destructor. More...
 
virtual bool read ()
 Read thermophysicalTransport dictionary. More...
 
virtual tmp< volScalarFieldalphat () const
 Turbulent thermal diffusivity for enthalpy [kg/m/s]. More...
 
virtual tmp< scalarFieldalphat (const label patchi) const
 Turbulent thermal diffusivity for enthalpy for a patch [kg/m/s]. More...
 
virtual tmp< volScalarFieldkappaEff () const
 Effective thermal turbulent diffusivity for temperature. More...
 
virtual tmp< scalarFieldkappaEff (const label patchi) const
 Effective thermal turbulent diffusivity for temperature. More...
 
virtual tmp< volScalarFieldalphaEff () const
 Effective thermal turbulent diffusivity of mixture [kg/m/s]. More...
 
virtual tmp< scalarFieldalphaEff (const label patchi) const
 Effective thermal turbulent diffusivity of mixture. More...
 
virtual tmp< volScalarFieldDEff (const volScalarField &Yi) const
 Effective mass diffusivity for a given specie mass-fraction [kg/m/s]. More...
 
virtual tmp< scalarFieldDEff (const volScalarField &Yi, const label patchi) const
 Effective mass diffusivity for a given specie mass-fraction. More...
 
virtual tmp< volVectorFieldq () const
 Return the heat flux. More...
 
virtual tmp< fvScalarMatrixdivq (volScalarField &he) const
 Return the source term for the energy equation. More...
 
virtual tmp< volVectorFieldj (const volScalarField &Yi) const
 Return the specie flux for the given specie mass-fraction. More...
 
virtual tmp< fvScalarMatrixdivj (volScalarField &Yi) const
 Return the source term for the given specie mass-fraction equation. More...
 
virtual void correct ()
 Correct the eddyDiffusivity viscosity. More...
 

Protected Member Functions

virtual void correctAlphat ()
 

Protected Attributes

dimensionedScalar Prt_
 Turbulent Prandtl number []. More...
 
volScalarField alphat_
 Turbulent thermal diffusivity of enthalpy [kg/m/s]. More...
 

Detailed Description

template<class TurbulenceThermophysicalTransportModel>
class Foam::turbulenceThermophysicalTransportModels::eddyDiffusivity< TurbulenceThermophysicalTransportModel >

Eddy-diffusivity based gradient heat flux model for RAS or LES of turbulent flow. Specie fluxes are computed assuming a unity turbulent Lewis number.

Usage
LES
{
    model           eddyDiffusivity;
    Prt             0.85;
}
Source files

Definition at line 60 of file eddyDiffusivity.H.

Member Typedef Documentation

◆ alphaField

typedef TurbulenceThermophysicalTransportModel::alphaField alphaField

Definition at line 88 of file eddyDiffusivity.H.

◆ momentumTransportModel

typedef TurbulenceThermophysicalTransportModel::momentumTransportModel momentumTransportModel

Definition at line 92 of file eddyDiffusivity.H.

◆ thermoModel

typedef TurbulenceThermophysicalTransportModel::thermoModel thermoModel

Definition at line 95 of file eddyDiffusivity.H.

Constructor & Destructor Documentation

◆ eddyDiffusivity() [1/2]

eddyDiffusivity ( const momentumTransportModel momentumTransport,
const thermoModel thermo 
)

Construct from a momentum transport model and a thermo model.

Definition at line 52 of file eddyDiffusivity.C.

Referenced by eddyDiffusivity< TurbulenceThermophysicalTransportModel >::correctAlphat().

Here is the caller graph for this function:

◆ eddyDiffusivity() [2/2]

eddyDiffusivity ( const word type,
const momentumTransportModel momentumTransport,
const thermoModel thermo,
const bool  allowDefaultPrt 
)

Construct from a type name, a momentum transport model and a thermo.

model, and whether to default the turbulent Prandtl number to one if it is not specified

Definition at line 69 of file eddyDiffusivity.C.

◆ ~eddyDiffusivity()

virtual ~eddyDiffusivity ( )
inlinevirtual

Destructor.

Definition at line 124 of file eddyDiffusivity.H.

References eddyDiffusivity< TurbulenceThermophysicalTransportModel >::read().

Here is the call graph for this function:

Member Function Documentation

◆ correctAlphat()

void correctAlphat ( )
protectedvirtual

Definition at line 39 of file eddyDiffusivity.C.

References eddyDiffusivity< TurbulenceThermophysicalTransportModel >::eddyDiffusivity().

Here is the call graph for this function:

◆ TypeName()

TypeName ( "eddyDiffusivity< TurbulenceThermophysicalTransportModel >"  )

Runtime type information.

◆ read()

bool read ( )
virtual

Read thermophysicalTransport dictionary.

Reimplemented in nonUnityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >.

Definition at line 122 of file eddyDiffusivity.C.

References Foam::blockMeshTools::read().

Referenced by eddyDiffusivity< TurbulenceThermophysicalTransportModel >::~eddyDiffusivity().

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

◆ alphat() [1/2]

◆ alphat() [2/2]

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

Turbulent thermal diffusivity for enthalpy for a patch [kg/m/s].

Definition at line 140 of file eddyDiffusivity.H.

References eddyDiffusivity< TurbulenceThermophysicalTransportModel >::alphat(), eddyDiffusivity< TurbulenceThermophysicalTransportModel >::kappaEff(), patchi, and thermo.

Here is the call graph for this function:

◆ kappaEff() [1/2]

virtual tmp<volScalarField> kappaEff ( ) const
inlinevirtual

Effective thermal turbulent diffusivity for temperature.

of mixture [W/m/K]

Definition at line 147 of file eddyDiffusivity.H.

Referenced by eddyDiffusivity< TurbulenceThermophysicalTransportModel >::alphat().

Here is the caller graph for this function:

◆ kappaEff() [2/2]

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

Effective thermal turbulent diffusivity for temperature.

of mixture for patch [W/m/K]

Definition at line 154 of file eddyDiffusivity.H.

◆ alphaEff() [1/2]

virtual tmp<volScalarField> alphaEff ( ) const
inlinevirtual

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

Definition at line 164 of file eddyDiffusivity.H.

References eddyDiffusivity< TurbulenceThermophysicalTransportModel >::alphat(), and thermo.

Referenced by nonUnityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::DEff(), and eddyDiffusivity< TurbulenceThermophysicalTransportModel >::DEff().

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

◆ alphaEff() [2/2]

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

Effective thermal turbulent diffusivity of mixture.

for patch [kg/m/s]

Definition at line 171 of file eddyDiffusivity.H.

◆ DEff() [1/2]

virtual tmp<volScalarField> DEff ( const volScalarField Yi) const
inlinevirtual

Effective mass diffusivity for a given specie mass-fraction [kg/m/s].

Reimplemented in nonUnityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >.

Definition at line 181 of file eddyDiffusivity.H.

References eddyDiffusivity< TurbulenceThermophysicalTransportModel >::alphaEff(), and GeometricField< scalar, fvPatchField, volMesh >::New().

Here is the call graph for this function:

◆ DEff() [2/2]

◆ q()

◆ divq()

◆ j()

tmp< volVectorField > j ( const volScalarField Yi) const
virtual

Return the specie flux for the given specie mass-fraction.

Definition at line 167 of file eddyDiffusivity.C.

References alpha(), eddyDiffusivity< TurbulenceThermophysicalTransportModel >::divj(), Foam::fvc::grad(), IOobject::groupName(), IOobject::name(), and GeometricField< vector, fvPatchField, volMesh >::New().

Referenced by eddyDiffusivity< TurbulenceThermophysicalTransportModel >::DEff(), and eddyDiffusivity< TurbulenceThermophysicalTransportModel >::divq().

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

◆ divj()

tmp< fvScalarMatrix > divj ( volScalarField Yi) const
virtual

Return the source term for the given specie mass-fraction equation.

Definition at line 186 of file eddyDiffusivity.C.

References alpha(), and Foam::fvm::laplacian().

Referenced by eddyDiffusivity< TurbulenceThermophysicalTransportModel >::DEff(), and eddyDiffusivity< TurbulenceThermophysicalTransportModel >::j().

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

◆ correct()

void correct ( )
virtual

Correct the eddyDiffusivity viscosity.

Definition at line 195 of file eddyDiffusivity.C.

References correct.

Referenced by eddyDiffusivity< TurbulenceThermophysicalTransportModel >::DEff().

Here is the caller graph for this function:

Member Data Documentation

◆ Prt_

dimensionedScalar Prt_
protected

Turbulent Prandtl number [].

Definition at line 72 of file eddyDiffusivity.H.

Referenced by nonUnityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::DEff().

◆ alphat_

volScalarField alphat_
protected

Turbulent thermal diffusivity of enthalpy [kg/m/s].

Definition at line 77 of file eddyDiffusivity.H.

Referenced by eddyDiffusivity< TurbulenceThermophysicalTransportModel >::alphat().


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