Public Member Functions | List of all members
faceMDLimitedGrad< Type > Class Template Reference

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

Inheritance diagram for faceMDLimitedGrad< Type >:
Inheritance graph
[legend]
Collaboration diagram for faceMDLimitedGrad< Type >:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("faceMDLimited")
 
 faceMDLimitedGrad (const fvMesh &mesh, Istream &schemeData)
 
virtual tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > calcGrad (const GeometricField< Type, fvPatchField, volMesh > &vsf, const word &name) const
 
tmp< volVectorFieldcalcGrad (const volScalarField &vsf, const word &name) const
 
tmp< volTensorFieldcalcGrad (const volVectorField &vsf, const word &name) const
 
Foam::tmp< Foam::volTensorFieldcalcGrad (const volVectorField &vvf, const word &name) const
 
- Public Member Functions inherited from gradScheme< Type >
virtual const wordtype () const =0
 
 declareRunTimeSelectionTable (tmp, gradScheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData))
 
 gradScheme (const fvMesh &mesh)
 
virtual ~gradScheme ()=default
 
const fvMeshmesh () const
 
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > grad (const GeometricField< Type, fvPatchField, volMesh > &, const word &name) const
 
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > grad (const GeometricField< Type, fvPatchField, volMesh > &) const
 
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > grad (const tmp< GeometricField< Type, fvPatchField, volMesh >> &) const
 
- Public Member Functions inherited from refCount
constexpr refCount () noexcept
 
int count () const noexcept
 
bool unique () const noexcept
 
void operator++ () noexcept
 
void operator++ (int) noexcept
 
void operator-- () noexcept
 
void operator-- (int) noexcept
 

Additional Inherited Members

- Static Public Member Functions inherited from gradScheme< Type >
static tmp< gradScheme< Type > > New (const fvMesh &mesh, Istream &schemeData)
 

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 61 of file faceMDLimitedGrad.H.

Constructor & Destructor Documentation

◆ faceMDLimitedGrad()

faceMDLimitedGrad ( const fvMesh mesh,
Istream schemeData 
)
inline

Definition at line 101 of file faceMDLimitedGrad.H.

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

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

TypeName ( "faceMDLimited"  )

◆ calcGrad() [1/4]

virtual tmp< GeometricField <typename outerProduct<vector, Type>::type, fvPatchField, volMesh> > calcGrad ( const GeometricField< Type, fvPatchField, volMesh > &  vsf,
const word name 
) const
virtual

Implements gradScheme< Type >.

◆ calcGrad() [2/4]

tmp< volVectorField > calcGrad ( const volScalarField vsf,
const word name 
) const

◆ calcGrad() [3/4]

tmp< volTensorField > calcGrad ( const volVectorField vsf,
const word name 
) const

◆ calcGrad() [4/4]

Foam::tmp< Foam::volTensorField > calcGrad ( const volVectorField vvf,
const word name 
) const

The documentation for this class was generated from the following file: