faceMDLimitedGrad gradient scheme applied to a runTime selected base gradient scheme. More...
#include <finiteVolume/faceMDLimitedGrad.H>
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 60 of file faceMDLimitedGrad.H.
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 |
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.
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 >.
tmp< volTensorField > grad | ( | const volVectorField & | vvf ) | const |
Definition at line 192 of file faceMDLimitedGrads.C.
References fvMesh::boundary(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), fvMesh::C(), fvMesh::Cf(), gaussGrad< Type >::correctBoundaryConditions(), GeometricField< Type, PatchField, GeoMesh >::correctBoundaryConditions(), fvPatchField< Type >::coupled(), fvPatchField< Type >::fixesValue(), forAll, cellMDLimitedGrad< Type >::limitFace(), Foam::max(), DimensionedField< Type, GeoMesh >::mesh(), mesh, Foam::min(), fvMesh::neighbour(), fvMesh::owner(), and fvPatchField< Type >::patchNeighbourField().