FreeFOAM The Cross-Platform CFD Toolkit
laminar Class Reference

Turbulence model for laminar compressible flow. More...

#include <compressibleTurbulenceModel/laminar.H>


Detailed Description

+ Inheritance diagram for laminar:
+ Collaboration diagram for laminar:

List of all members.

Public Member Functions

 TypeName ("laminar")
 Runtime type information.
 laminar (const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const basicThermo &thermophysicalModel)
 Construct from components.
virtual ~laminar ()
 Destructor.
virtual tmp< volScalarFieldmut () const
 Return the turbulence viscosity, i.e. 0 for laminar flow.
virtual tmp< volScalarFieldmuEff () const
 Return the effective viscosity, i.e. the laminar viscosity.
virtual tmp< volScalarFieldalphaEff () const
 Return the effective turbulent thermal diffusivity,.
virtual tmp< volScalarFieldk () const
 Return the turbulence kinetic energy, i.e. 0 for laminar flow.
virtual tmp< volScalarFieldepsilon () const
 Return the turbulence kinetic energy dissipation rate,.
virtual tmp< volSymmTensorFieldR () const
 Return the Reynolds stress tensor, i.e. 0 for laminar flow.
virtual tmp< volSymmTensorFielddevRhoReff () const
 Return the effective stress tensor, i.e. the laminar stress.
virtual tmp< fvVectorMatrixdivDevRhoReff (volVectorField &U) const
 Return the source term for the momentum equation.
virtual void correct ()
 Correct the laminar viscosity.
virtual bool read ()
 Read turbulenceProperties dictionary.
- Public Member Functions inherited from turbulenceModel
 TypeName ("turbulenceModel")
 Runtime type information.
 declareRunTimeNewSelectionTable (autoPtr, turbulenceModel, turbulenceModel,(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const basicThermo &thermoPhysicalModel),(rho, U, phi, thermoPhysicalModel))
 turbulenceModel (const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const basicThermo &thermoPhysicalModel)
 Construct from components.
virtual ~turbulenceModel ()
 Destructor.
const volScalarFieldrho () const
 Access function to density field.
const volVectorFieldU () const
 Access function to velocity field.
const surfaceScalarFieldphi () const
 Access function to flux field.
const basicThermothermo () const
 Access function to thermophysical model.
const volScalarFieldmu () const
 Return the laminar viscosity.
const volScalarFieldalpha () const
 Return the laminar thermal conductivity.
virtual tmp< fvVectorMatrixdivDevRhoReff (volVectorField &U) const =0
 Return the source term for the momentum equation.

Static Public Member Functions

static autoPtr< laminarNew (const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const basicThermo &thermophysicalModel)
 Return a reference to the selected turbulence model.
- Static Public Member Functions inherited from turbulenceModel
static autoPtr< turbulenceModelNew (const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const basicThermo &thermoPhysicalModel)
 Return a reference to the selected turbulence model.

Additional Inherited Members

- Protected Attributes inherited from turbulenceModel
const TimerunTime_
const fvMeshmesh_
const volScalarFieldrho_
const volVectorFieldU_
const surfaceScalarFieldphi_
const basicThermothermophysicalModel_

Constructor & Destructor Documentation

laminar ( const volScalarField rho,
const volVectorField U,
const surfaceScalarField phi,
const basicThermo thermophysicalModel 
)

Construct from components.

Definition at line 50 of file laminar.C.

virtual ~laminar ( )
inlinevirtual

Destructor.

Definition at line 86 of file laminar.H.


Member Function Documentation

TypeName ( "laminar"  )

Runtime type information.

autoPtr< laminar > New ( const volScalarField rho,
const volVectorField U,
const surfaceScalarField phi,
const basicThermo thermophysicalModel 
)
static

Return a reference to the selected turbulence model.

Definition at line 64 of file laminar.C.

tmp< volScalarField > mut ( ) const
virtual

Return the turbulence viscosity, i.e. 0 for laminar flow.

Implements turbulenceModel.

Definition at line 77 of file laminar.C.

References mu, IOobject::NO_READ, and IOobject::NO_WRITE.

virtual tmp<volScalarField> muEff ( ) const
inlinevirtual

Return the effective viscosity, i.e. the laminar viscosity.

Implements turbulenceModel.

Definition at line 96 of file laminar.H.

References mu.

virtual tmp<volScalarField> alphaEff ( ) const
inlinevirtual

Return the effective turbulent thermal diffusivity,.

i.e. the laminar thermal diffusivity

Implements turbulenceModel.

Definition at line 103 of file laminar.H.

References turbulenceModel::alpha(), and laminar::alphaEff().

Referenced by laminar::alphaEff().

tmp< volScalarField > k ( ) const
virtual

Return the turbulence kinetic energy, i.e. 0 for laminar flow.

Implements turbulenceModel.

Definition at line 98 of file laminar.C.

References IOobject::NO_READ, IOobject::NO_WRITE, and Foam::sqr().

tmp< volScalarField > epsilon ( ) const
virtual

Return the turbulence kinetic energy dissipation rate,.

i.e. 0 for laminar flow

Implements turbulenceModel.

Definition at line 119 of file laminar.C.

References Foam::dimTime, IOobject::NO_READ, IOobject::NO_WRITE, and Foam::sqr().

tmp< volSymmTensorField > R ( ) const
virtual

Return the Reynolds stress tensor, i.e. 0 for laminar flow.

Implements turbulenceModel.

Definition at line 143 of file laminar.C.

References IOobject::NO_READ, IOobject::NO_WRITE, Foam::sqr(), and SymmTensor< Cmpt >::zero.

tmp< volSymmTensorField > devRhoReff ( ) const
virtual

Return the effective stress tensor, i.e. the laminar stress.

Implements turbulenceModel.

Definition at line 167 of file laminar.C.

References Foam::dev(), Foam::fvc::grad(), mu, IOobject::NO_READ, IOobject::NO_WRITE, and Foam::twoSymm().

tmp< fvVectorMatrix > divDevRhoReff ( volVectorField U) const
virtual

Return the source term for the momentum equation.

Definition at line 187 of file laminar.C.

References Foam::dev2(), Foam::fvc::div(), Foam::fvc::grad(), Foam::fvm::laplacian(), muEff(), and Foam::T().

void correct ( )
virtual

Correct the laminar viscosity.

Implements turbulenceModel.

Definition at line 203 of file laminar.C.

References correct().

bool read ( )
virtual

Read turbulenceProperties dictionary.

Implements turbulenceModel.

Definition at line 197 of file laminar.C.


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