Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ReynoldsStress< BasicTurbulenceModel > Class Template Referenceabstract

Reynolds-stress turbulence model base class. More...

Inheritance diagram for ReynoldsStress< BasicTurbulenceModel >:
Inheritance graph
[legend]
Collaboration diagram for ReynoldsStress< BasicTurbulenceModel >:
Collaboration graph
[legend]

Public Types

typedef BasicTurbulenceModel::alphaField alphaField
 
typedef BasicTurbulenceModel::rhoField rhoField
 
typedef BasicTurbulenceModel::transportModel transportModel
 

Public Member Functions

 ReynoldsStress (const word &modelName, const alphaField &alpha, const rhoField &rho, const volVectorField &U, const surfaceScalarField &alphaRhoPhi, const surfaceScalarField &phi, const transportModel &transport, const word &propertiesName)
 
virtual ~ReynoldsStress ()=default
 
virtual bool read ()=0
 
virtual tmp< volScalarFieldnut () const
 
virtual tmp< scalarFieldnut (const label patchi) const
 
virtual tmp< volScalarFieldk () const
 
virtual tmp< volSymmTensorFieldR () const
 
virtual tmp< volSymmTensorFielddevRhoReff () const
 
virtual tmp< volSymmTensorFielddevRhoReff (const volVectorField &U) const
 
virtual tmp< fvVectorMatrixdivDevRhoReff (volVectorField &U) const
 
virtual tmp< fvVectorMatrixdivDevRhoReff (const volScalarField &rho, volVectorField &U) const
 
virtual void validate ()
 
virtual void correct ()=0
 
template<class RhoFieldType >
Foam::tmp< Foam::fvVectorMatrixDivDevRhoReff (const RhoFieldType &rho, volVectorField &U) const
 

Protected Member Functions

void boundNormalStress (volSymmTensorField &R) const
 
void correctWallShearStress (volSymmTensorField &R) const
 
virtual void correctNut ()=0
 
template<class RhoFieldType >
tmp< fvVectorMatrixDivDevRhoReff (const RhoFieldType &rho, volVectorField &U) const
 

Protected Attributes

dimensionedScalar couplingFactor_
 
volSymmTensorField R_
 
volScalarField nut_
 

Detailed Description

template<class BasicTurbulenceModel>
class Foam::ReynoldsStress< BasicTurbulenceModel >

Reynolds-stress turbulence model base class.

Source files

Definition at line 49 of file ReynoldsStress.H.

Member Typedef Documentation

◆ alphaField

typedef BasicTurbulenceModel::alphaField alphaField

Definition at line 87 of file ReynoldsStress.H.

◆ rhoField

typedef BasicTurbulenceModel::rhoField rhoField

Definition at line 88 of file ReynoldsStress.H.

◆ transportModel

typedef BasicTurbulenceModel::transportModel transportModel

Definition at line 89 of file ReynoldsStress.H.

Constructor & Destructor Documentation

◆ ReynoldsStress()

ReynoldsStress ( const word modelName,
const alphaField alpha,
const rhoField rho,
const volVectorField U,
const surfaceScalarField alphaRhoPhi,
const surfaceScalarField phi,
const transportModel transport,
const word propertiesName 
)

Definition at line 105 of file ReynoldsStress.C.

◆ ~ReynoldsStress()

virtual ~ReynoldsStress ( )
virtualdefault

Member Function Documentation

◆ boundNormalStress()

void boundNormalStress ( volSymmTensorField R) const
protected

Definition at line 31 of file ReynoldsStress.C.

◆ correctWallShearStress()

void correctWallShearStress ( volSymmTensorField R) const
protected

Definition at line 56 of file ReynoldsStress.C.

◆ correctNut()

virtual void correctNut ( )
protectedpure virtual

◆ DivDevRhoReff() [1/2]

tmp<fvVectorMatrix> DivDevRhoReff ( const RhoFieldType &  rho,
volVectorField U 
) const
protected

◆ read()

bool read
pure virtual

◆ nut() [1/2]

virtual tmp<volScalarField> nut ( ) const
inlinevirtual

Definition at line 118 of file ReynoldsStress.H.

◆ nut() [2/2]

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

Definition at line 124 of file ReynoldsStress.H.

◆ k()

Definition at line 193 of file ReynoldsStress.C.

◆ R()

Definition at line 185 of file ReynoldsStress.C.

◆ devRhoReff() [1/2]

Foam::tmp< Foam::volSymmTensorField > devRhoReff
virtual

Definition at line 203 of file ReynoldsStress.C.

◆ devRhoReff() [2/2]

Foam::tmp< Foam::volSymmTensorField > devRhoReff ( const volVectorField U) const
virtual

Definition at line 212 of file ReynoldsStress.C.

◆ divDevRhoReff() [1/2]

Foam::tmp< Foam::fvVectorMatrix > divDevRhoReff ( volVectorField U) const
virtual

Definition at line 287 of file ReynoldsStress.C.

◆ divDevRhoReff() [2/2]

Foam::tmp< Foam::fvVectorMatrix > divDevRhoReff ( const volScalarField rho,
volVectorField U 
) const
virtual

Definition at line 298 of file ReynoldsStress.C.

◆ validate()

void validate
virtual

Definition at line 308 of file ReynoldsStress.C.

◆ correct()

void correct
pure virtual

◆ DivDevRhoReff() [2/2]

Foam::tmp<Foam::fvVectorMatrix> DivDevRhoReff ( const RhoFieldType &  rho,
volVectorField U 
) const

Definition at line 240 of file ReynoldsStress.C.

Member Data Documentation

◆ couplingFactor_

dimensionedScalar couplingFactor_
protected

Definition at line 60 of file ReynoldsStress.H.

◆ R_

volSymmTensorField R_
protected

Definition at line 64 of file ReynoldsStress.H.

◆ nut_

volScalarField nut_
protected

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