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

◆ momentumTransportModel

typedef TurbulenceThermophysicalTransportModel::momentumTransportModel momentumTransportModel

Definition at line 95 of file eddyDiffusivity.H.

◆ thermoModel

typedef TurbulenceThermophysicalTransportModel::thermoModel thermoModel

Definition at line 98 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 53 of file eddyDiffusivity.C.

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

Here is the caller graph for this function:

◆ ~eddyDiffusivity()

virtual ~eddyDiffusivity ( )
inlinevirtual

Destructor.

Definition at line 116 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 40 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.

Definition at line 89 of file eddyDiffusivity.C.

References eddyDiffusivity< TurbulenceThermophysicalTransportModel >::DEff(), and 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]

virtual tmp<volScalarField> alphat ( ) const
inlinevirtual

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

Definition at line 126 of file eddyDiffusivity.H.

References eddyDiffusivity< TurbulenceThermophysicalTransportModel >::alphat_.

Referenced by eddyDiffusivity< TurbulenceThermophysicalTransportModel >::alphaEff(), and 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 132 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 139 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 146 of file eddyDiffusivity.H.

◆ alphaEff() [1/2]

◆ 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 163 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 107 of file eddyDiffusivity.C.

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

Referenced by eddyDiffusivity< TurbulenceThermophysicalTransportModel >::alphaEff(), and eddyDiffusivity< TurbulenceThermophysicalTransportModel >::read().

Here is the call graph for this function:
Here is the caller 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 124 of file eddyDiffusivity.C.

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

Here is the call graph for this function:

◆ q()

◆ divq()

tmp< fvScalarMatrix > divq ( volScalarField he) const
virtual

Return the source term for the energy equation.

Definition at line 159 of file eddyDiffusivity.C.

References alpha(), Foam::correction(), eddyDiffusivity< TurbulenceThermophysicalTransportModel >::j(), Foam::fvc::laplacian(), Foam::fvm::laplacian(), Foam::T(), and thermo.

Referenced by eddyDiffusivity< TurbulenceThermophysicalTransportModel >::alphaEff(), and eddyDiffusivity< TurbulenceThermophysicalTransportModel >::q().

Here is the call graph for this function:
Here is the caller 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 174 of file eddyDiffusivity.C.

References eddyDiffusivity< TurbulenceThermophysicalTransportModel >::divj(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, Foam::nl, and Foam::type().

Referenced by eddyDiffusivity< TurbulenceThermophysicalTransportModel >::alphaEff(), 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 191 of file eddyDiffusivity.C.

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

Referenced by eddyDiffusivity< TurbulenceThermophysicalTransportModel >::alphaEff(), 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 206 of file eddyDiffusivity.C.

References correct.

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

Here is the caller graph for this function:

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: