Public Member Functions | Private Member Functions | Private Attributes
gaussConvectionScheme< Type > Class Template Reference

Basic second-order convection using face-gradients and Gauss' theorem. More...

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

Public Member Functions

 TypeName ("Gauss")
 Runtime type information. More...
 
 gaussConvectionScheme (const fvMesh &mesh, const surfaceScalarField &faceFlux, const tmp< surfaceInterpolationScheme< Type > > &scheme)
 Construct from flux and interpolation scheme. More...
 
 gaussConvectionScheme (const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &is)
 Construct from flux and Istream. More...
 
const surfaceInterpolationScheme< Type > & interpScheme () const
 
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate (const surfaceScalarField &, const GeometricField< Type, fvPatchField, volMesh > &) const
 
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > flux (const surfaceScalarField &, const GeometricField< Type, fvPatchField, volMesh > &) const
 
tmp< fvMatrix< Type > > fvmDiv (const surfaceScalarField &, const GeometricField< Type, fvPatchField, volMesh > &) const
 
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDiv (const surfaceScalarField &, const GeometricField< Type, fvPatchField, volMesh > &) const
 
- Public Member Functions inherited from convectionScheme< Type >
virtual const wordtype () const =0
 Runtime type information. More...
 
 declareRunTimeSelectionTable (tmp, convectionScheme, Istream,(const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData),(mesh, faceFlux, schemeData))
 
 declareRunTimeSelectionTable (tmp, convectionScheme, Multivariate,(const fvMesh &mesh, const typename multivariateSurfaceInterpolationScheme< Type >::fieldTable &fields, const surfaceScalarField &faceFlux, Istream &schemeData),(mesh, fields, faceFlux, schemeData))
 
 convectionScheme (const convectionScheme &)
 Copy construct. More...
 
 convectionScheme (const fvMesh &mesh, const surfaceScalarField &)
 Construct from mesh, flux and Istream. More...
 
virtual ~convectionScheme ()
 Destructor. More...
 
const fvMeshmesh () const
 Return mesh reference. More...
 
void operator= (const convectionScheme< Type > &)
 
- Public Member Functions inherited from refCount
 refCount ()
 Construct null with zero count. More...
 
int count () const
 Return the reference count. More...
 
bool okToDelete () const
 Return true if the reference count is zero. More...
 
void resetRefCount ()
 Reset the reference count to 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...
 

Private Member Functions

 gaussConvectionScheme (const gaussConvectionScheme &)
 Disallow default bitwise copy construct. More...
 
void operator= (const gaussConvectionScheme &)
 Disallow default bitwise assignment. More...
 

Private Attributes

tmp< surfaceInterpolationScheme< Type > > tinterpScheme_
 

Additional Inherited Members

- Static Public Member Functions inherited from convectionScheme< Type >
static tmp< convectionScheme< Type > > New (const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData)
 Return a pointer to a new convectionScheme created on freestore. More...
 
static tmp< convectionScheme< Type > > New (const fvMesh &mesh, const typename multivariateSurfaceInterpolationScheme< Type >::fieldTable &fields, const surfaceScalarField &faceFlux, Istream &schemeData)
 Return a pointer to a new multivariate convectionScheme. More...
 

Detailed Description

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

Basic second-order convection using face-gradients and Gauss' theorem.

Source files

Definition at line 58 of file gaussConvectionScheme.H.

Constructor & Destructor Documentation

◆ gaussConvectionScheme() [1/3]

gaussConvectionScheme ( const gaussConvectionScheme< Type > &  )
private

Disallow default bitwise copy construct.

◆ gaussConvectionScheme() [2/3]

gaussConvectionScheme ( const fvMesh mesh,
const surfaceScalarField faceFlux,
const tmp< surfaceInterpolationScheme< Type > > &  scheme 
)
inline

Construct from flux and interpolation scheme.

Definition at line 86 of file gaussConvectionScheme.H.

◆ gaussConvectionScheme() [3/3]

gaussConvectionScheme ( const fvMesh mesh,
const surfaceScalarField faceFlux,
Istream is 
)
inline

Construct from flux and Istream.

Definition at line 98 of file gaussConvectionScheme.H.

References fvSchemes::ddtScheme(), Foam::endl(), Foam::findEtcFiles(), IOWarningInFunction, convectionScheme< Type >::mesh(), Istream::rewind(), List::size(), and Foam::fv::warnUnboundedGauss.

Here is the call graph for this function:

Member Function Documentation

◆ operator=()

void operator= ( const gaussConvectionScheme< Type > &  )
private

Disallow default bitwise assignment.

◆ TypeName()

TypeName ( "Gauss"  )

Runtime type information.

◆ interpScheme()

const surfaceInterpolationScheme< Type > & interpScheme

Definition at line 44 of file gaussConvectionScheme.C.

Referenced by blendingFactor::calc().

Here is the caller graph for this function:

◆ interpolate()

tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate ( const surfaceScalarField ,
const GeometricField< Type, fvPatchField, volMesh > &  vf 
) const
virtual

Implements convectionScheme< Type >.

Definition at line 53 of file gaussConvectionScheme.C.

Referenced by multivariateGaussConvectionScheme< Type >::interpolate().

Here is the caller graph for this function:

◆ flux()

tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > flux ( const surfaceScalarField faceFlux,
const GeometricField< Type, fvPatchField, volMesh > &  vf 
) const
virtual

Implements convectionScheme< Type >.

Definition at line 65 of file gaussConvectionScheme.C.

References Foam::interpolate().

Referenced by multivariateGaussConvectionScheme< Type >::flux().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ fvmDiv()

tmp< fvMatrix< Type > > fvmDiv ( const surfaceScalarField faceFlux,
const GeometricField< Type, fvPatchField, volMesh > &  vf 
) const
virtual

◆ fvcDiv()

tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDiv ( const surfaceScalarField faceFlux,
const GeometricField< Type, fvPatchField, volMesh > &  vf 
) const
virtual

Implements convectionScheme< Type >.

Definition at line 121 of file gaussConvectionScheme.C.

References Foam::fvc::flux(), and Foam::fvc::surfaceIntegrate().

Referenced by multivariateGaussConvectionScheme< Type >::fvcDiv().

Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ tinterpScheme_

tmp<surfaceInterpolationScheme<Type> > tinterpScheme_
private

Definition at line 64 of file gaussConvectionScheme.H.


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