linearUpwind interpolation scheme class derived from upwind and returns upwind weighting factors but also applies an explicit correction. More...
#include <finiteVolume/linearUpwind.H>
linearUpwind interpolation scheme class derived from upwind and returns upwind weighting factors but also applies an explicit correction.
Definition at line 52 of file linearUpwind.H.
Public Member Functions | |
TypeName ("linearUpwind") | |
Runtime type information.
| |
linearUpwind (const fvMesh &mesh, const surfaceScalarField &faceFlux) | |
Construct from faceFlux.
| |
linearUpwind (const fvMesh &mesh, Istream &schemeData) | |
Construct from Istream.
| |
linearUpwind (const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData) | |
Construct from faceFlux and Istream.
| |
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 face-interpolate.
|
linearUpwind | ( | const fvMesh & | mesh, |
const surfaceScalarField & | faceFlux | ||
) | [inline]
|
Construct from faceFlux.
Definition at line 80 of file linearUpwind.H.
linearUpwind | ( | const fvMesh & | mesh, |
Istream & | schemeData | ||
) | [inline]
|
Construct from Istream.
The name of the flux field is read from the Istream and looked-up from the mesh objectRegistry
Definition at line 96 of file linearUpwind.H.
linearUpwind | ( | const fvMesh & | mesh, |
const surfaceScalarField & | faceFlux, | ||
Istream & | schemeData | ||
) | [inline]
|
Construct from faceFlux and Istream.
Definition at line 114 of file linearUpwind.H.
TypeName | ( | "linearUpwind< Type >" | ) |
Runtime type information.
virtual bool corrected | ( | ) | const [inline, virtual]
|
Return true if this scheme uses an explicit correction.
Reimplemented from surfaceInterpolationScheme< Type >.
Definition at line 135 of file linearUpwind.H.
Foam::tmp< Foam::GeometricField< Type, Foam::fvsPatchField, Foam::surfaceMesh > > correction | ( | const GeometricField< Type, fvPatchField, volMesh > & | vf ) | const [virtual]
|
Return the explicit correction to the face-interpolate.
Reimplemented from surfaceInterpolationScheme< Type >.
Definition at line 35 of file linearUpwind.C.
References fvMesh::boundary(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), fvMesh::C(), fvMesh::Cf(), surfaceInterpolation::correctionVectors(), fvsPatchField< Type >::coupled(), surfaceInterpolation::deltaCoeffs(), DimensionedField< Type, GeoMesh >::dimensions(), forAll, fvMesh::magSf(), mesh, IOobject::name(), fvMesh::neighbour(), surfaceInterpolation::orthogonal(), fvMesh::owner(), fvMesh::Sf(), fvMesh::time(), and Time::timeName().