linearUpwindV interpolation scheme class derived from upwind and returns upwind weighting factors but also applies an explicit correction. More...
#include <finiteVolume/linearUpwindV.H>
linearUpwindV interpolation scheme class derived from upwind and returns upwind weighting factors but also applies an explicit correction.
Definition at line 52 of file linearUpwindV.H.
Public Member Functions | |
TypeName ("linearUpwindV") | |
Runtime type information.
| |
linearUpwindV (const fvMesh &mesh, const surfaceScalarField &faceFlux) | |
Construct from faceFlux.
| |
linearUpwindV (const fvMesh &mesh, Istream &schemeData) | |
Construct from Istream.
| |
linearUpwindV (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.
|
linearUpwindV | ( | const fvMesh & | mesh, |
const surfaceScalarField & | faceFlux | ||
) | [inline]
|
Construct from faceFlux.
Definition at line 80 of file linearUpwindV.H.
linearUpwindV | ( | 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 linearUpwindV.H.
linearUpwindV | ( | const fvMesh & | mesh, |
const surfaceScalarField & | faceFlux, | ||
Istream & | schemeData | ||
) | [inline]
|
Construct from faceFlux and Istream.
Definition at line 114 of file linearUpwindV.H.
TypeName | ( | "linearUpwindV< 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 linearUpwindV.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 36 of file linearUpwindV.C.
References fvMesh::C(), fvMesh::Cf(), DimensionedField< Type, GeoMesh >::dimensions(), forAll, magSqr(), mesh, IOobject::name(), fvMesh::neighbour(), fvMesh::owner(), fvMesh::time(), Time::timeName(), and surfaceInterpolation::weights().