unityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel > Class Template Reference

Eddy-diffusivity based energy 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 unityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >:
Collaboration diagram for unityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >:

Public Types

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

Public Member Functions

 TypeName ("unityLewisEddyDiffusivity")
 Runtime type information. More...
 
 unityLewisEddyDiffusivity (const momentumTransportModel &momentumTransport, const thermoModel &thermo)
 Construct from a momentum transport model and a thermo model. More...
 
 unityLewisEddyDiffusivity (const word &type, const momentumTransportModel &momentumTransport, const thermoModel &thermo, const bool allowDefaultPrt=false)
 Construct from a type name, a momentum transport model and a thermo. More...
 
virtual ~unityLewisEddyDiffusivity ()
 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 unityLewisEddyDiffusivity 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::unityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >

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

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

Definition at line 60 of file unityLewisEddyDiffusivity.H.

Member Typedef Documentation

◆ alphaField

typedef TurbulenceThermophysicalTransportModel::alphaField alphaField

Definition at line 88 of file unityLewisEddyDiffusivity.H.

◆ momentumTransportModel

typedef TurbulenceThermophysicalTransportModel::momentumTransportModel momentumTransportModel

Definition at line 92 of file unityLewisEddyDiffusivity.H.

◆ thermoModel

typedef TurbulenceThermophysicalTransportModel::thermoModel thermoModel

Definition at line 95 of file unityLewisEddyDiffusivity.H.

Constructor & Destructor Documentation

◆ unityLewisEddyDiffusivity() [1/2]

unityLewisEddyDiffusivity ( const momentumTransportModel momentumTransport,
const thermoModel thermo 
)

Construct from a momentum transport model and a thermo model.

Definition at line 54 of file unityLewisEddyDiffusivity.C.

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

Here is the caller graph for this function:

◆ unityLewisEddyDiffusivity() [2/2]

unityLewisEddyDiffusivity ( const word type,
const momentumTransportModel momentumTransport,
const thermoModel thermo,
const bool  allowDefaultPrt = false 
)

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 72 of file unityLewisEddyDiffusivity.C.

◆ ~unityLewisEddyDiffusivity()

virtual ~unityLewisEddyDiffusivity ( )
inlinevirtual

Destructor.

Definition at line 124 of file unityLewisEddyDiffusivity.H.

References unityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::read().

Here is the call graph for this function:

Member Function Documentation

◆ correctAlphat()

void correctAlphat ( )
protectedvirtual

Definition at line 40 of file unityLewisEddyDiffusivity.C.

References unityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::unityLewisEddyDiffusivity().

Here is the call graph for this function:

◆ TypeName()

TypeName ( "unityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >"  )

Runtime type information.

◆ read()

bool read ( )
virtual

Read thermophysicalTransport dictionary.

Reimplemented in nonUnityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >.

Definition at line 125 of file unityLewisEddyDiffusivity.C.

References Foam::blockMeshTools::read().

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

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 unityLewisEddyDiffusivity.H.

References unityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::alphat(), unityLewisEddyDiffusivity< 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 unityLewisEddyDiffusivity.H.

Referenced by unityLewisEddyDiffusivity< 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 unityLewisEddyDiffusivity.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 171 of file unityLewisEddyDiffusivity.H.

◆ DEff() [1/2]

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

Effective mass diffusion coefficient.

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

Reimplemented in nonUnityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >.

Definition at line 182 of file unityLewisEddyDiffusivity.H.

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

Here is the caller graph for this function:

◆ DEff() [2/2]

◆ q()

◆ divq()

tmp< fvScalarMatrix > divq ( volScalarField he) const
virtual

◆ j()

◆ 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 unityLewisEddyDiffusivity.C.

References alpha(), unityLewisEddyDiffusivity< TurbulenceThermophysicalTransportModel >::correct(), and Foam::fvm::laplacian().

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

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

◆ correct()

void correct ( )
virtual

Member Data Documentation

◆ Prt_

◆ alphat_

volScalarField alphat_
protected

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

Definition at line 77 of file unityLewisEddyDiffusivity.H.

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


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