FreeFOAM The Cross-Platform CFD Toolkit
gaussConvectionScheme< Type > Class Template Reference

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

#include <finiteVolume/gaussConvectionScheme.H>


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 55 of file gaussConvectionScheme.H.

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

List of all members.

Public Member Functions

 TypeName ("Gauss")
 Runtime type information.
 gaussConvectionScheme (const fvMesh &mesh, const surfaceScalarField &faceFlux, const tmp< surfaceInterpolationScheme< Type > > &scheme)
 Construct from flux and interpolation scheme.
 gaussConvectionScheme (const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &is)
 Construct from flux and Istream.
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 &, 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.
 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.
 convectionScheme (const fvMesh &mesh, const surfaceScalarField &)
 Construct from mesh, flux and Istream.
virtual ~convectionScheme ()
const fvMeshmesh () const
 Return mesh reference.
void operator= (const convectionScheme< Type > &)
- Public Member Functions inherited from refCount
 refCount ()
 Construct null with zero count.
int count () const
 Return the reference count.
bool okToDelete () const
 Return true if the reference count is zero.
void resetRefCount ()
 Reset the reference count to zero.
void operator++ ()
 Increment the reference count.
void operator++ (int)
 Increment the reference count.
void operator-- ()
 Decrement the reference count.
void operator-- (int)
 Decrement the reference count.

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.
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.

Constructor & Destructor Documentation

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

Construct from flux and interpolation scheme.

Definition at line 83 of file gaussConvectionScheme.H.

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

Construct from flux and Istream.

Definition at line 95 of file gaussConvectionScheme.H.


Member Function Documentation

TypeName ( "Gauss"  )

Runtime type information.

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

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