38 IOobject::groupName(
"alpha", faceFlux.group())
47 return pos(upwind_.interpolate(alpha_) - 1
e-3);
72 upwind_(mesh, faceFlux_),
73 alpha_(lookupAlpha(faceFlux_))
91 upwind_(mesh, faceFlux_),
92 alpha_(lookupAlpha(faceFlux_))
105 return lambdaf*tScheme_().weights(vf) + (1 - lambdaf)*upwind_.weights();
116 if (tScheme_().corrected())
118 return lambdaf()*tScheme_().correction(vf);
Phase-stabilised interpolation scheme.
phaseStabilised(const fvMesh &mesh, Istream &is)
Construct from mesh and Istream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the explicit correction to the face-interpolate.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensionedScalar pos(const dimensionedScalar &ds)
A class for handling words, derived from string.
Mesh data needed to do the Finite Volume discretisation.
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
Abstract base class for surface interpolation schemes.
const dimensionedScalar e
Elementary charge.
tmp< surfaceScalarField > weights(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the interpolation weighting factors.