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

faceMDLimitedGrad< Type > Class Template Reference

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

#include <finiteVolume/faceMDLimitedGrad.H>


Detailed Description

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

faceMDLimitedGrad 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 the gradient in each face direction separately.

Source files

Definition at line 60 of file faceMDLimitedGrad.H.

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

List of all members.

Public Member Functions

 TypeName ("faceMDLimited")
 RunTime type information.
 faceMDLimitedGrad (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< volTensorField >  grad (const volVectorField &vvf) const

Constructor & Destructor Documentation

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

Construct from mesh and schemeData.

Definition at line 99 of file faceMDLimitedGrad.H.

References Foam::exit(), Foam::FatalIOError, and FatalIOErrorIn.


Member Function Documentation

TypeName ( "faceMDLimited"    )

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


The documentation for this class was generated from the following file:
  • src/finiteVolume/finiteVolume/gradSchemes/limitedGradSchemes/faceMDLimitedGrad/faceMDLimitedGrad.H