Simple central-difference snGrad scheme with non-orthogonal correction. More...
#include <finiteVolume/correctedSnGrad.H>
Simple central-difference snGrad scheme with non-orthogonal correction.
Definition at line 55 of file correctedSnGrad.H.
Inheritance diagram for correctedSnGrad< Type >:
Collaboration diagram for correctedSnGrad< Type >:Public Member Functions | |
| TypeName ("corrected") | |
| Runtime type information. | |
| correctedSnGrad (const fvMesh &mesh) | |
| Construct from mesh. | |
| correctedSnGrad (const fvMesh &mesh, Istream &) | |
| Construct from mesh and data stream. | |
| virtual | ~correctedSnGrad () |
| virtual tmp< surfaceScalarField > | deltaCoeffs (const GeometricField< Type, fvPatchField, volMesh > &) const |
| Return the interpolation weighting factors for the given field. | |
| virtual bool | corrected () const |
| Return true if this scheme uses an explicit correction. | |
| virtual tmp< GeometricField < Type, fvsPatchField, surfaceMesh > > | correction (const GeometricField< Type, fvPatchField, volMesh > &) const |
| Return the explicit correction to the correctedSnGrad. | |
Public Member Functions inherited from snGradScheme< Type > | |
| virtual const word & | type () const =0 |
| Runtime type information. | |
| declareRunTimeSelectionTable (tmp, snGradScheme, Mesh,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData)) | |
| snGradScheme (const fvMesh &mesh) | |
| Construct from mesh. | |
| virtual | ~snGradScheme () |
| const fvMesh & | mesh () const |
| Return mesh reference. | |
| virtual tmp< GeometricField < Type, fvsPatchField, surfaceMesh > > | snGrad (const GeometricField< Type, fvPatchField, volMesh > &) const |
| Return the snGrad of the given cell field. | |
| tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | snGrad (const tmp< GeometricField< Type, fvPatchField, volMesh > > &) const |
| Return the snGrad of the given tmp cell field. | |
Public Member Functions inherited from refCount | |
| refCount () | |
| Construct null with zero count. | |
| int | count () const |
| Return the reference count. | |
| bool | okToDelete () const |
| Return true if the reference count is zero. | |
| void | resetRefCount () |
| Reset the reference count to zero. | |
| void | operator++ () |
| Increment the reference count. | |
| void | operator++ (int) |
| Increment the reference count. | |
| void | operator-- () |
| Decrement the reference count. | |
| void | operator-- (int) |
| Decrement the reference count. | |
Additional Inherited Members | |
Static Public Member Functions inherited from snGradScheme< Type > | |
| static tmp< snGradScheme< Type > > | New (const fvMesh &mesh, Istream &schemeData) |
| Return new tmp interpolation scheme. | |
| static tmp< GeometricField < Type, fvsPatchField, surfaceMesh > > | snGrad (const GeometricField< Type, fvPatchField, volMesh > &, const tmp< surfaceScalarField > &, const word &snGradName="snGrad") |
| Return the snGrad of the given cell field with the given deltaCoeffs. | |
|
inline |
Construct from mesh.
Definition at line 74 of file correctedSnGrad.H.
|
inline |
Construct from mesh and data stream.
Definition at line 81 of file correctedSnGrad.H.
|
virtual |
Definition at line 49 of file correctedSnGrad.C.
| TypeName | ( | "corrected" | ) |
Runtime type information.
|
inlinevirtual |
Return the interpolation weighting factors for the given field.
Implements snGradScheme< Type >.
Definition at line 96 of file correctedSnGrad.H.
References surfaceInterpolation::deltaCoeffs(), and snGradScheme< Type >::mesh().
|
inlinevirtual |
Return true if this scheme uses an explicit correction.
Reimplemented from snGradScheme< Type >.
Definition at line 104 of file correctedSnGrad.H.
References snGradScheme< Type >::mesh(), and surfaceInterpolation::orthogonal().
|
virtual |
Return the explicit correction to the correctedSnGrad.
for the given field
Reimplemented from snGradScheme< Type >.
Definition at line 58 of file correctedSnGrad.C.
References GeometricField< Type, PatchField, GeoMesh >::component(), surfaceInterpolation::correctionVectors(), surfaceInterpolation::deltaCoeffs(), DimensionedField< Type, GeoMesh >::dimensions(), Foam::fvc::grad(), fvSchemes::gradScheme(), IOobject::instance(), Foam::interpolate(), mesh, IOobject::name(), IOobject::NO_READ, IOobject::NO_WRITE, GeometricField< Type, PatchField, GeoMesh >::replace(), and Foam::type().