Basic second-order gradient scheme using face-interpolation and Gauss' theorem. More...
#include <finiteVolume/gaussGrad.H>
Basic second-order gradient scheme using face-interpolation and Gauss' theorem.
Definition at line 58 of file gaussGrad.H.
Public Member Functions | |
TypeName ("Gauss") | |
Runtime type information.
| |
gaussGrad (const fvMesh &mesh) | |
Construct from mesh.
| |
gaussGrad (const fvMesh &mesh, Istream &is) | |
Construct from Istream.
| |
tmp< GeometricField< typename outerProduct< vector, Type > ::type, fvPatchField, volMesh > > | grad (const GeometricField< Type, fvPatchField, volMesh > &) const |
Return the gradient of the given field calculated.
| |
Static Public Member Functions | |
static tmp< GeometricField < typename outerProduct < vector, Type >::type, fvPatchField, volMesh > > | grad (const GeometricField< Type, fvsPatchField, surfaceMesh > &) |
Return the gradient of the given field.
| |
static void | correctBoundaryConditions (const GeometricField< Type, fvPatchField, volMesh > &, GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > &) |
Correct the boundary values of the gradient using the patchField.
|
Construct from mesh.
Definition at line 85 of file gaussGrad.H.
Construct from Istream.
Definition at line 92 of file gaussGrad.H.
References IOstream::eof(), gradScheme< Type >::mesh(), and gradScheme< Type >::New().
TypeName | ( | "Gauss" | ) |
Runtime type information.
static tmp< GeometricField <typename outerProduct<vector, Type>::type, fvPatchField, volMesh> > grad | ( | const GeometricField< Type, fvsPatchField, surfaceMesh > & | ) | [static]
|
Return the gradient of the given field.
calculated using Gauss' theorem on the given surface field
tmp< GeometricField <typename outerProduct<vector, Type>::type, fvPatchField, volMesh> > grad | ( | const GeometricField< Type, fvPatchField, volMesh > & | ) | const [virtual]
|
Return the gradient of the given field calculated.
using Gauss' theorem on the interpolated field
Implements gradScheme< Type >.
void correctBoundaryConditions | ( | const GeometricField< Type, fvPatchField, volMesh > & | vsf, |
GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > & | gGrad | ||
) | [static]
|
Correct the boundary values of the gradient using the patchField.
snGrad functions
Definition at line 150 of file gaussGrad.C.
References GeometricField< Type, PatchField, GeoMesh >::boundaryField(), forAll, and DimensionedField< Type, GeoMesh >::mesh().
Referenced by faceMDLimitedGrad< Type >::grad(), faceLimitedGrad< Type >::grad(), cellMDLimitedGrad< Type >::grad(), cellLimitedGrad< Type >::grad(), and Foam::fv::makeFvGradScheme().