eddyDiffusivity< TurbulenceThermophysicalTransportModel > Class Template Reference

Eddy-diffusivity based temperature gradient heat flux model for single specie RAS or LES of turbulent flow. 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...
 
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 conductivity. More...
 
virtual tmp< scalarFieldkappaEff (const label patchi) const
 Effective thermal turbulent conductivity. More...
 
virtual tmp< volScalarFieldDEff (const volScalarField &Yi) const
 Effective mass diffusion coefficient. More...
 
virtual tmp< scalarFieldDEff (const volScalarField &Yi, const label patchi) const
 Effective mass diffusion coefficient. More...
 
virtual tmp< surfaceScalarFieldq () const
 Return the heat flux [W/m^2]. More...
 
virtual tmp< fvScalarMatrixdivq (volScalarField &he) const
 Return the source term for the energy equation. More...
 
virtual tmp< surfaceScalarFieldj (const volScalarField &Yi) const
 Return the specie flux for the given specie mass-fraction [kg/m^2/s]. More...
 
virtual tmp< fvScalarMatrixdivj (volScalarField &Yi) const
 Return the source term for the given specie mass-fraction equation. More...
 
virtual void predict ()
 Correct the eddyDiffusivity viscosity. More...
 

Protected Member Functions

virtual void correctAlphat ()
 
virtual tmp< volScalarFieldalphaEff () const
 Effective thermal turbulent diffusivity of mixture [kg/m/s]. More...
 

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 temperature gradient heat flux model for single specie RAS or LES of turbulent flow.

The heat flux source is implemented as an implicit energy correction to the temperature gradient based flux source. At convergence the energy correction is 0.

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

Definition at line 63 of file eddyDiffusivity.H.

Member Typedef Documentation

◆ alphaField

typedef TurbulenceThermophysicalTransportModel::alphaField alphaField

Definition at line 98 of file eddyDiffusivity.H.

◆ momentumTransportModel

typedef TurbulenceThermophysicalTransportModel::momentumTransportModel momentumTransportModel

Definition at line 102 of file eddyDiffusivity.H.

◆ thermoModel

typedef TurbulenceThermophysicalTransportModel::thermoModel thermoModel

Definition at line 105 of file eddyDiffusivity.H.

Constructor & Destructor Documentation

◆ eddyDiffusivity()

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.

◆ ~eddyDiffusivity()

virtual ~eddyDiffusivity ( )
inlinevirtual

Destructor.

Definition at line 123 of file eddyDiffusivity.H.

Member Function Documentation

◆ correctAlphat()

void correctAlphat
protectedvirtual

Definition at line 40 of file eddyDiffusivity.C.

◆ alphaEff()

virtual tmp<volScalarField> alphaEff ( ) const
inlineprotectedvirtual

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

Used for the implicit energy correction on the temperature laplacian

Definition at line 89 of file eddyDiffusivity.H.

◆ TypeName()

TypeName ( "eddyDiffusivity< TurbulenceThermophysicalTransportModel >"  )

Runtime type information.

◆ read()

bool read
virtual

Read thermophysicalTransport dictionary.

Definition at line 89 of file eddyDiffusivity.C.

References Foam::blockMeshTools::read().

Here is the call graph for this function:

◆ alphat() [1/2]

virtual tmp<volScalarField> alphat ( ) const
inlinevirtual

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

Definition at line 133 of file eddyDiffusivity.H.

References eddyDiffusivity< TurbulenceThermophysicalTransportModel >::alphat_.

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

Here is the caller graph for this function:

◆ 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 139 of file eddyDiffusivity.H.

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

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 eddyDiffusivity.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 153 of file eddyDiffusivity.H.

◆ DEff() [1/2]

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

Effective mass diffusion coefficient.

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

Definition at line 106 of file eddyDiffusivity.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::nl, and Foam::type().

Here is the call graph for this function:

◆ DEff() [2/2]

tmp< scalarField > DEff ( const volScalarField Yi,
const label  patchi 
) const
virtual

Effective mass diffusion coefficient.

for a given specie mass-fraction for patch [kg/m/s]

Definition at line 123 of file eddyDiffusivity.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::nl, and Foam::type().

Here is the call graph for this function:

◆ q()

tmp< surfaceScalarField > q
virtual

Return the heat flux [W/m^2].

Definition at line 141 of file eddyDiffusivity.C.

References alpha(), Foam::constant::atomic::group, IOobject::groupName(), Foam::fvc::interpolate(), GeometricField< Type, PatchField, GeoMesh >::New(), Foam::fvc::snGrad(), Foam::T(), and thermo.

Here is the call graph for this function:

◆ divq()

tmp< fvScalarMatrix > divq ( volScalarField he) const
virtual

Return the source term for the energy equation.

Definition at line 158 of file eddyDiffusivity.C.

References alpha(), he(), Foam::fvc::laplacian(), Foam::fvm::laplacianCorrection(), Foam::T(), and thermo.

Here is the call graph for this function:

◆ j()

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

Return the specie flux for the given specie mass-fraction [kg/m^2/s].

Definition at line 173 of file eddyDiffusivity.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::nl, and Foam::type().

Here is the call 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 190 of file eddyDiffusivity.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::nl, and Foam::type().

Here is the call graph for this function:

◆ predict()

void predict
virtual

Correct the eddyDiffusivity viscosity.

Definition at line 206 of file eddyDiffusivity.C.

Member Data Documentation

◆ Prt_

dimensionedScalar Prt_
protected

Turbulent Prandtl number [].

Definition at line 75 of file eddyDiffusivity.H.

◆ alphat_

volScalarField alphat_
protected

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

Definition at line 80 of file eddyDiffusivity.H.

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


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