snGrad scheme with phase-fraction limited non-orthogonal correction. More...
Public Member Functions | |
TypeName ("phaseStabilised") | |
Runtime type information. More... | |
phaseStabilisedSnGrad (const fvMesh &mesh, Istream &schemeData) | |
Construct from mesh and data stream. More... | |
virtual | ~phaseStabilisedSnGrad () |
Destructor. More... | |
virtual tmp< surfaceScalarField > | deltaCoeffs (const GeometricField< Type, fvPatchField, volMesh > &vf) const |
Return the interpolation weighting factors for the given field. More... | |
virtual bool | corrected () const |
Return true if this scheme uses an explicit correction. More... | |
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | correction (const GeometricField< Type, fvPatchField, volMesh > &) const |
Return the explicit correction to the phaseStabilisedSnGrad. More... | |
void | operator= (const phaseStabilisedSnGrad &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from snGradScheme< Type > | |
virtual const word & | type () const =0 |
Runtime type information. More... | |
declareRunTimeSelectionTable (tmp, snGradScheme, Mesh,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData)) | |
snGradScheme (const fvMesh &mesh) | |
Construct from mesh. More... | |
snGradScheme (const snGradScheme &) | |
Disallow default bitwise copy construction. More... | |
virtual | ~snGradScheme () |
Destructor. More... | |
const fvMesh & | mesh () const |
Return mesh reference. More... | |
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | snGrad (const GeometricField< Type, fvPatchField, volMesh > &) const |
Return the snGrad of the given cell field. More... | |
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | snGrad (const tmp< GeometricField< Type, fvPatchField, volMesh >> &) const |
Return the snGrad of the given tmp cell field. More... | |
void | operator= (const snGradScheme &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from refCount | |
int | count () const |
Return the current reference count. More... | |
bool | unique () const |
Return true if the reference count is zero. More... | |
void | operator++ () |
Increment the reference count. More... | |
void | operator++ (int) |
Increment the reference count. More... | |
void | operator-- () |
Decrement the reference count. More... | |
void | operator-- (int) |
Decrement the reference count. More... | |
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. More... | |
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. More... | |
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > | sndGrad (const GeometricField< Type, fvPatchField, volMesh > &, const word &snGradName="sndGrad") |
Return the sndGrad of the given cell field. More... | |
Protected Member Functions inherited from refCount | |
refCount () | |
Construct null initialising count to 0. More... | |
snGrad scheme with phase-fraction limited non-orthogonal correction.
When the phase-fraction is less than 1e-3 the non-orthogonal correction is set to 0.
Definition at line 57 of file phaseStabilisedSnGrad.H.
phaseStabilisedSnGrad | ( | const fvMesh & | mesh, |
Istream & | schemeData | ||
) |
Construct from mesh and data stream.
Definition at line 45 of file phaseStabilisedSnGrad.C.
|
virtual |
Destructor.
Definition at line 61 of file phaseStabilisedSnGrad.C.
References phaseStabilisedSnGrad< Type >::deltaCoeffs().
TypeName | ( | "phaseStabilised" | ) |
Runtime type information.
|
virtual |
Return the interpolation weighting factors for the given field.
Implements snGradScheme< Type >.
Definition at line 69 of file phaseStabilisedSnGrad.C.
References phaseStabilisedSnGrad< Type >::correction().
Referenced by phaseStabilisedSnGrad< Type >::~phaseStabilisedSnGrad().
|
inlinevirtual |
Return true if this scheme uses an explicit correction.
Reimplemented from snGradScheme< Type >.
Definition at line 91 of file phaseStabilisedSnGrad.H.
References phaseStabilisedSnGrad< Type >::correction(), and phaseStabilisedSnGrad< Type >::operator=().
|
virtual |
Return the explicit correction to the phaseStabilisedSnGrad.
for the given field
Reimplemented from snGradScheme< Type >.
Definition at line 80 of file phaseStabilisedSnGrad.C.
References alpha(), Foam::average(), Foam::correction(), IOobject::db(), Foam::e, Foam::endl(), IOobject::group(), IOobject::groupName(), InfoInFunction, Foam::interpolate(), Foam::MULES::limiter(), Foam::max(), DimensionedField< Type, GeoMesh >::mesh(), Foam::min(), and Foam::pos().
Referenced by phaseStabilisedSnGrad< Type >::corrected(), and phaseStabilisedSnGrad< Type >::deltaCoeffs().
|
delete |
Disallow default bitwise assignment.
Referenced by phaseStabilisedSnGrad< Type >::corrected().