Public Member Functions | List of all members
orthogonalSnGrad< Type > Class Template Reference

Surface gradient scheme with no non-orthogonal correction. More...

Inheritance diagram for orthogonalSnGrad< Type >:
Inheritance graph
[legend]
Collaboration diagram for orthogonalSnGrad< Type >:
Collaboration graph
[legend]

Public Member Functions

 TypeName ("orthogonal")
 
 orthogonalSnGrad (const fvMesh &mesh)
 
 orthogonalSnGrad (const fvMesh &mesh, Istream &)
 
virtual ~orthogonalSnGrad ()=default
 
virtual tmp< surfaceScalarFielddeltaCoeffs (const GeometricField< Type, fvPatchField, volMesh > &) const
 
virtual bool corrected () const noexcept
 
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction (const GeometricField< Type, fvPatchField, volMesh > &) const
 
- Public Member Functions inherited from snGradScheme< Type >
virtual const wordtype () const =0
 
 declareRunTimeSelectionTable (tmp, snGradScheme, Mesh,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData))
 
 snGradScheme (const fvMesh &mesh)
 
virtual ~snGradScheme ()=default
 
const fvMeshmesh () const
 
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad (const GeometricField< Type, fvPatchField, volMesh > &) const
 
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad (const tmp< GeometricField< Type, fvPatchField, volMesh >> &) const
 
- Public Member Functions inherited from refCount
constexpr refCount () noexcept
 
int count () const noexcept
 
bool unique () const noexcept
 
void operator++ () noexcept
 
void operator++ (int) noexcept
 
void operator-- () noexcept
 
void operator-- (int) noexcept
 

Additional Inherited Members

- Static Public Member Functions inherited from snGradScheme< Type >
static tmp< snGradScheme< Type > > New (const fvMesh &mesh, Istream &schemeData)
 
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad (const GeometricField< Type, fvPatchField, volMesh > &, const tmp< surfaceScalarField > &, const word &snGradName="snGrad")
 
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > sndGrad (const GeometricField< Type, fvPatchField, volMesh > &, const word &snGradName="sndGrad")
 

Detailed Description

template<class Type>
class Foam::fv::orthogonalSnGrad< Type >

Surface gradient scheme with no non-orthogonal correction.

Usage
Minimal example by using system/fvSchemes:
snGradSchemes
{
    snGrad(<term>)       orthogonal;
}
Note
  • Interpolation weighting factors (i.e. delta coefficients) are based on the deltaCoeffs function rather than the nonOrthDeltaCoeffs function, which is used by the uncorrected scheme.
Source files

Definition at line 70 of file orthogonalSnGrad.H.

Constructor & Destructor Documentation

◆ orthogonalSnGrad() [1/2]

orthogonalSnGrad ( const fvMesh mesh)
inline

Definition at line 89 of file orthogonalSnGrad.H.

◆ orthogonalSnGrad() [2/2]

orthogonalSnGrad ( const fvMesh mesh,
Istream  
)
inline

Definition at line 95 of file orthogonalSnGrad.H.

◆ ~orthogonalSnGrad()

virtual ~orthogonalSnGrad ( )
virtualdefault

Member Function Documentation

◆ TypeName()

TypeName ( "orthogonal"  )

◆ deltaCoeffs()

virtual tmp<surfaceScalarField> deltaCoeffs ( const GeometricField< Type, fvPatchField, volMesh > &  ) const
inlinevirtual

Implements snGradScheme< Type >.

Definition at line 109 of file orthogonalSnGrad.H.

References surfaceInterpolation::deltaCoeffs(), and snGradScheme< Type >::mesh().

Here is the call graph for this function:

◆ corrected()

virtual bool corrected ( ) const
inlinevirtualnoexcept

Reimplemented from snGradScheme< Type >.

Definition at line 117 of file orthogonalSnGrad.H.

◆ correction()

tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction ( const GeometricField< Type, fvPatchField, volMesh > &  ) const
virtual

Reimplemented from snGradScheme< Type >.

Definition at line 41 of file orthogonalSnGrad.C.

References NotImplemented.


The documentation for this class was generated from the following files: