FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

Turbulence model for laminar compressible flow. More...

#include <compressibleTurbulenceModel/laminar.H>


Detailed Description

Turbulence model for laminar compressible flow.

Source files

Definition at line 51 of file laminar.H.

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< volScalarField >  mut () const
 Return the turbulence viscosity, i.e. 0 for laminar flow.
virtual tmp< volScalarField >  muEff () const
 Return the effective viscosity, i.e. the laminar viscosity.
virtual tmp< volScalarField >  alphaEff () const
 Return the effective turbulent thermal diffusivity,.
virtual tmp< volScalarField >  k () const
 Return the turbulence kinetic energy, i.e. 0 for laminar flow.
virtual tmp< volScalarField >  epsilon () const
 Return the turbulence kinetic energy dissipation rate,.
virtual tmp< volSymmTensorField >  R () const
 Return the Reynolds stress tensor, i.e. 0 for laminar flow.
virtual tmp< volSymmTensorField >  devRhoReff () const
 Return the effective stress tensor, i.e. the laminar stress.
virtual tmp< fvVectorMatrix >  divDevRhoReff (volVectorField &U) const
 Return the source term for the momentum equation.
virtual void  correct ()
 Correct the laminar viscosity.
virtual bool  read ()
 Read turbulenceProperties dictionary.

Static Public Member Functions

static autoPtr< laminar >  New (const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const basicThermo &thermophysicalModel)
 Return a reference to the selected turbulence model.

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 (  ) [inline, virtual]

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 DimensionedField< Type, GeoMesh >::dimensions(), mu, IOobject::NO_READ, and IOobject::NO_WRITE.

virtual tmp<volScalarField> muEff (  ) const [inline, virtual]

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 [inline, virtual]

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:
  • src/turbulenceModels/compressible/turbulenceModel/laminar/laminar.H
  • src/turbulenceModels/compressible/turbulenceModel/laminar/laminar.C