faceMDLimitedGrad gradient scheme applied to a runTime selected base gradient scheme. More...
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< volVectorField > | calcGrad (const volScalarField &vsf, const word &name) const |
tmp< volTensorField > | calcGrad (const volVectorField &vsf, const word &name) const |
Foam::tmp< Foam::volTensorField > | calcGrad (const volVectorField &vvf, const word &name) const |
![]() | |
virtual const word & | type () const =0 |
declareRunTimeSelectionTable (tmp, gradScheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData)) | |
gradScheme (const fvMesh &mesh) | |
virtual | ~gradScheme ()=default |
const fvMesh & | mesh () 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 |
![]() | |
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 tmp< gradScheme< Type > > | New (const fvMesh &mesh, Istream &schemeData) |
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.
Definition at line 61 of file faceMDLimitedGrad.H.
|
inline |
Definition at line 101 of file faceMDLimitedGrad.H.
References Foam::exit(), Foam::FatalIOError, and FatalIOErrorInFunction.
TypeName | ( | "faceMDLimited" | ) |
|
virtual |
Implements gradScheme< Type >.
tmp< volVectorField > calcGrad | ( | const volScalarField & | vsf, |
const word & | name | ||
) | const |
tmp< volTensorField > calcGrad | ( | const volVectorField & | vsf, |
const word & | name | ||
) | const |
Foam::tmp< Foam::volTensorField > calcGrad | ( | const volVectorField & | vvf, |
const word & | name | ||
) | const |
Definition at line 180 of file faceMDLimitedGrads.C.
References GeometricField::boundaryField(), correctBoundaryConditions(), fvPatchField::coupled(), fvPatchField::fixesValue(), forAll, g, Foam::max(), mesh, Foam::min(), Foam::name(), fvPatchField::patchNeighbourField(), and tmp::ref().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.