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

cellLimitedGrad< Type > Class Template Reference

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

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

List of all members.


Public Member Functions

 TypeName ("cellLimited")
 RunTime type information.
 cellLimitedGrad (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<>
tmp< volVectorField > grad (const volScalarField &vsf) const
template<>
tmp< volTensorField > grad (const volVectorField &vsf) const

Static Public Member Functions

static void limitFace (Type &limiter, const Type &maxDelta, const Type &minDelta, const Type &extrapolate)

Detailed Description

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

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

The scalar limiter based on limiting the extrapolated face values between the maximum and minumum cell and cell neighbour values and is applied to all components of the gradient.

Source files

Definition at line 55 of file cellLimitedGrad.H.


Constructor & Destructor Documentation

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

Construct from mesh and schemeData.

Definition at line 85 of file cellLimitedGrad.H.


Member Function Documentation

TypeName ( "cellLimited"   ) 

RunTime type information.

void limitFace ( Type &  limiter,
const Type &  maxDelta,
const Type &  minDelta,
const Type &  extrapolate 
) [inline, static]

Definition at line 63 of file cellLimitedGrads.C.

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

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

Definition at line 87 of file cellLimitedGrads.C.

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

Definition at line 239 of file cellLimitedGrads.C.


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