gaussConvectionScheme< Type > Class Template Reference

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

Inheritance diagram for gaussConvectionScheme< Type >:
Collaboration diagram for gaussConvectionScheme< Type >:

Public Member Functions

 TypeName ("Gauss")
 Runtime type information. More...
 
 gaussConvectionScheme (const faMesh &mesh, const edgeScalarField &faceFlux, const tmp< edgeInterpolationScheme< Type >> &scheme)
 Construct from flux and interpolation scheme. More...
 
 gaussConvectionScheme (const faMesh &mesh, const edgeScalarField &faceFlux, Istream &is)
 Construct from flux and Istream. More...
 
tmp< GeometricField< Type, faePatchField, edgeMesh > > flux (const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &) const
 
tmp< faMatrix< Type > > famDiv (const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &) const
 
tmp< GeometricField< Type, faPatchField, areaMesh > > facDiv (const edgeScalarField &, const GeometricField< Type, faPatchField, areaMesh > &) const
 
- Public Member Functions inherited from convectionScheme< Type >
 declareRunTimeSelectionTable (tmp, convectionScheme, Istream,(const faMesh &mesh, const edgeScalarField &faceFlux, Istream &schemeData),(mesh, faceFlux, schemeData))
 
 convectionScheme (const faMesh &mesh, const edgeScalarField &faceFlux)
 Construct from mesh, flux and Istream. More...
 
virtual ~convectionScheme ()
 Destructor. More...
 
const faMeshmesh () const
 Return mesh reference. More...
 
- Public Member Functions inherited from refCount
constexpr refCount () noexcept
 Default construct, initializing count to 0. More...
 
int use_count () const noexcept
 Return the current reference count. More...
 
bool unique () const noexcept
 Return true if the reference count is zero. More...
 
void operator++ () noexcept
 Increment the reference count. More...
 
void operator++ (int) noexcept
 Increment the reference count. More...
 
void operator-- () noexcept
 Decrement the reference count. More...
 
void operator-- (int) noexcept
 Decrement the reference count. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from convectionScheme< Type >
static tmp< convectionScheme< Type > > New (const faMesh &mesh, const edgeScalarField &faceFlux, Istream &schemeData)
 Return a pointer to a new convectionScheme created on freestore. More...
 

Detailed Description

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

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

Source files

Definition at line 54 of file gaussFaConvectionScheme.H.

Constructor & Destructor Documentation

◆ gaussConvectionScheme() [1/2]

gaussConvectionScheme ( const faMesh mesh,
const edgeScalarField faceFlux,
const tmp< edgeInterpolationScheme< Type >> &  scheme 
)
inline

Construct from flux and interpolation scheme.

Definition at line 90 of file gaussFaConvectionScheme.H.

◆ gaussConvectionScheme() [2/2]

gaussConvectionScheme ( const faMesh mesh,
const edgeScalarField faceFlux,
Istream is 
)
inline

Construct from flux and Istream.

Definition at line 104 of file gaussFaConvectionScheme.H.

Member Function Documentation

◆ TypeName()

TypeName ( "Gauss"  )

Runtime type information.

◆ flux()

tmp< GeometricField< Type, faePatchField, edgeMesh > > flux ( const edgeScalarField faceFlux,
const GeometricField< Type, faPatchField, areaMesh > &  vf 
) const
virtual

Implements convectionScheme< Type >.

Definition at line 40 of file gaussFaConvectionScheme.C.

◆ famDiv()

◆ facDiv()

tmp< GeometricField< Type, faPatchField, areaMesh > > facDiv ( const edgeScalarField faceFlux,
const GeometricField< Type, faPatchField, areaMesh > &  vf 
) const
virtual

Implements convectionScheme< Type >.

Definition at line 105 of file gaussFaConvectionScheme.C.

References Foam::fac::edgeIntegrate(), Foam::fvc::flux(), IOobject::name(), and tmp< T >::ref().

Here is the call graph for this function:

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