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

faceLimitedGrad< Type > Class Template Reference

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

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

List of all members.


Public Member Functions

 TypeName ("faceLimited")
 RunTime type information.
 faceLimitedGrad (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 &vvf) const

Detailed Description

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

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

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

Source files

Definition at line 55 of file faceLimitedGrad.H.


Constructor & Destructor Documentation

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

Construct from mesh and schemeData.

Definition at line 94 of file faceLimitedGrad.H.


Member Function Documentation

TypeName ( "faceLimited"   ) 

RunTime type information.

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 66 of file faceLimitedGrads.C.

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

Definition at line 200 of file faceLimitedGrads.C.


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