Loading...
Searching...
No Matches
gaussConvectionScheme< Type > Class Template Reference

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

#include <gaussFaConvectionScheme.H>

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

Public Member Functions

 TypeName ("Gauss")
 Runtime type information.
 gaussConvectionScheme (const gaussConvectionScheme &)=delete
 No copy construct.
void operator= (const gaussConvectionScheme &)=delete
 No copy assignment.
 gaussConvectionScheme (const faMesh &mesh, const edgeScalarField &faceFlux, const tmp< edgeInterpolationScheme< Type > > &scheme)
 Construct from flux and interpolation scheme.
 gaussConvectionScheme (const faMesh &mesh, const edgeScalarField &faceFlux, Istream &is)
 Construct from flux and Istream.
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 convectionScheme &)=delete
 No copy construct.
void operator= (const convectionScheme &)=delete
 No copy assignment.
 convectionScheme (const faMesh &mesh, const edgeScalarField &faceFlux)
 Construct from mesh, flux and Istream.
virtual ~convectionScheme ()
 Destructor.
const faMeshmesh () const noexcept
 Return mesh reference.
Public Member Functions inherited from refCount
constexpr refCount () noexcept
 Default construct, initializing count to 0.
int use_count () const noexcept
 Return the current reference count.
bool unique () const noexcept
 Return true if the reference count is zero.
void operator++ () noexcept
 Increment the reference count.
void operator++ (int) noexcept
 Increment the reference count.
void operator-- () noexcept
 Decrement the reference count.
void operator-- (int) noexcept
 Decrement the reference count.

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.

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/3]

template<class Type>
gaussConvectionScheme ( const gaussConvectionScheme< Type > & )
delete

No copy construct.

References gaussConvectionScheme().

Referenced by gaussConvectionScheme(), and operator=().

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

◆ gaussConvectionScheme() [2/3]

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

Construct from flux and interpolation scheme.

Definition at line 92 of file gaussFaConvectionScheme.H.

References convectionScheme< Type >::convectionScheme(), and convectionScheme< Type >::mesh().

Here is the call graph for this function:

◆ gaussConvectionScheme() [3/3]

template<class Type>
gaussConvectionScheme ( const faMesh & mesh,
const edgeScalarField & faceFlux,
Istream & is )
inline

Construct from flux and Istream.

Definition at line 106 of file gaussFaConvectionScheme.H.

References convectionScheme< Type >::convectionScheme(), convectionScheme< Type >::mesh(), and convectionScheme< Type >::New().

Here is the call graph for this function:

Member Function Documentation

◆ TypeName()

template<class Type>
TypeName ( "Gauss" )

Runtime type information.

◆ operator=()

template<class Type>
void operator= ( const gaussConvectionScheme< Type > & )
delete

No copy assignment.

References gaussConvectionScheme().

Here is the call graph for this function:

◆ flux()

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

Implements convectionScheme< Type >.

Definition at line 39 of file gaussFaConvectionScheme.C.

Referenced by facDiv(), and famDiv().

Here is the caller graph for this function:

◆ famDiv()

◆ facDiv()

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

Implements convectionScheme< Type >.

Definition at line 104 of file gaussFaConvectionScheme.C.

References Foam::fac::edgeIntegrate(), 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: