73 return correctedScheme_->deltaCoeffs(vf);
91 vf.
db().template lookupObject<volScalarField>
105 <<
"limiter min: " <<
min(
limiter.primitiveField())
const Mesh & mesh() const
Return mesh.
Generic GeometricField class.
const objectRegistry & db() const
Return the local objectRegistry.
static word group(const word &name)
Return group (extension part of name)
static word groupName(Name name, const word &group)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
Mesh data needed to do the Finite Volume discretisation.
virtual ~phaseStabilisedSnGrad()
Destructor.
virtual tmp< SurfaceField< Type > > correction(const VolField< Type > &) const
Return the explicit correction to the phaseStabilisedSnGrad.
virtual tmp< surfaceScalarField > deltaCoeffs(const VolField< Type > &vf) const
Return the interpolation weighting factors for the given field.
phaseStabilisedSnGrad(const fvMesh &mesh, Istream &schemeData)
Construct from mesh and data stream.
Abstract base class for snGrad schemes.
Local minimum interpolation scheme in which the face value is set to the minimum of the two neighbour...
virtual tmp< SurfaceField< Type > > interpolate(const VolField< Type > &vf) const
Return the face-interpolate of the given cell field.
A class for managing temporary objects.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
#define InfoInFunction
Report an information message using Foam::Info.
void limiter(surfaceScalarField &lambda, const RdeltaTType &rDeltaT, const RhoType &rho, const volScalarField &psi, const surfaceScalarField &phiBD, const surfaceScalarField &phiCorr, const SpType &Sp, const SuType &Su, const PsiMaxType &psiMax, const PsiMinType &psiMin)
dimensionedScalar pos(const dimensionedScalar &ds)
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensioned< Type > average(const DimensionedField< Type, GeoMesh > &df)
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
tmp< fvMatrix< Type > > correction(const fvMatrix< Type > &)
Return the correction form of the given matrix.