OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

cellMDLimitedGrad< Type > Class Template Reference

cellMDLimitedGrad gradient scheme applied to a runTime selected base gradient scheme. More...

Inheritance diagram for cellMDLimitedGrad< Type >:
Collaboration diagram for cellMDLimitedGrad< Type >:

List of all members.


Public Member Functions

 TypeName ("cellMDLimited")
 RunTime type information.
 cellMDLimitedGrad (const fvMesh &mesh, Istream &schemeData)
 Construct from mesh and schemeData.
tmp< GeometricField< typename
outerProduct< vector, Type >
::type, fvPatchField, volMesh > > 
grad (const GeometricField< Type, fvPatchField, volMesh > &) const
 Calculate and return the grad of the given field.
template<>
void limitFace (vector &g, const scalar &maxDelta, const scalar &minDelta, const vector &dcf)
template<>
tmp< volTensorField > grad (const volVectorField &vsf) const

Static Public Member Functions

static void limitFace (typename outerProduct< vector, Type >::type &g, const Type &maxDelta, const Type &minDelta, const vector &dcf)

Detailed Description

template<class Type>
class Foam::fv::cellMDLimitedGrad< Type >

cellMDLimitedGrad gradient scheme applied to a runTime selected base gradient scheme.

The scalar limiter based on limiting the extrapolated face values between the maximum and minimum cell and cell neighbour values and is applied to the gradient in each face direction separately.

Source files

Definition at line 55 of file cellMDLimitedGrad.H.


Constructor & Destructor Documentation

cellMDLimitedGrad ( const fvMesh &  mesh,
Istream &  schemeData 
) [inline]

Construct from mesh and schemeData.

Definition at line 85 of file cellMDLimitedGrad.H.


Member Function Documentation

TypeName ( "cellMDLimited"   ) 

RunTime type information.

void limitFace ( typename outerProduct< vector, Type >::type &  g,
const Type &  maxDelta,
const Type &  minDelta,
const vector &  dcf 
) [inline, static]

Definition at line 151 of file cellMDLimitedGrad.H.

Referenced by Foam::fv::makeFvGradScheme().

Here is the caller graph for this function:

tmp< GeometricField <typename outerProduct<vector, Type>::type, fvPatchField, volMesh> > grad ( const GeometricField< Type, fvPatchField, volMesh > &   )  const [virtual]

Calculate and return the grad of the given field.

Implements gradScheme< Type >.

Referenced by Foam::fv::makeFvGradScheme().

Here is the caller graph for this function:

void limitFace ( vector &  g,
const scalar &  maxDelta,
const scalar &  minDelta,
const vector &  dcf 
) [inline]

Definition at line 129 of file cellMDLimitedGrad.H.

References Foam::magSqr().

Here is the call graph for this function:

tmp< volTensorField > grad ( const volVectorField &  vsf  )  const [inline]

Definition at line 185 of file cellMDLimitedGrads.C.


The documentation for this class was generated from the following file:
  • src/finiteVolume/finiteVolume/gradSchemes/limitedGradSchemes/cellMDLimitedGrad/cellMDLimitedGrad.H
Copyright © 2000-2009 OpenCFD Ltd