cellMDLimitedGrad gradient scheme applied to a runTime selected base gradient scheme. More...
Public Member Functions | |
TypeName ("cellMDLimited") | |
cellMDLimitedGrad (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 |
void | limitFace (vector &g, const scalar &maxDelta, const scalar &minDelta, const vector &dcf) |
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 &vsf, 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 |
Static Public Member Functions | |
static void | limitFace (typename outerProduct< vector, Type >::type &g, const Type &maxDelta, const Type &minDelta, const vector &dcf) |
![]() | |
static tmp< gradScheme< Type > > | New (const fvMesh &mesh, Istream &schemeData) |
cellMDLimitedGrad gradient scheme applied to a runTime selected base gradient scheme.
The scalar limiter based on limiting the extrapolated face values between the maximum and minimum cell and cell neighbour values and is applied to the gradient in each face direction separately.
Definition at line 61 of file cellMDLimitedGrad.H.
|
inline |
Definition at line 92 of file cellMDLimitedGrad.H.
References Foam::exit(), Foam::FatalIOError, and FatalIOErrorInFunction.
TypeName | ( | "cellMDLimited" | ) |
|
inlinestatic |
Definition at line 158 of file cellMDLimitedGrad.H.
References VectorSpace::component(), g, Vector< Cmpt >::x(), Vector< Cmpt >::y(), and Vector< Cmpt >::z().
|
virtual |
Implements gradScheme< Type >.
|
inline |
Definition at line 136 of file cellMDLimitedGrad.H.
References g, and Foam::magSqr().
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 & | vsf, |
const word & | name | ||
) | const |
Definition at line 182 of file cellMDLimitedGrads.C.
References GeometricField::boundaryField(), correctBoundaryConditions(), fvPatchField::coupled(), forAll, g, Foam::max(), mesh, Foam::min(), Foam::name(), fvPatchField::patchNeighbourField(), GeometricField::primitiveField(), and tmp::ref().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.