Public Member Functions | Static Public Member Functions | List of all members
convectionScheme< Type > Class Template Referenceabstract

Abstract base class for convection schemes. More...

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

Public Member Functions

virtual const wordtype () const =0
 
 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 &)
 
 convectionScheme (const fvMesh &mesh, const surfaceScalarField &)
 
virtual ~convectionScheme ()
 
const fvMeshmesh () const
 
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate (const surfaceScalarField &, const GeometricField< Type, fvPatchField, volMesh > &) const =0
 
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > flux (const surfaceScalarField &, const GeometricField< Type, fvPatchField, volMesh > &) const =0
 
virtual tmp< fvMatrix< Type > > fvmDiv (const surfaceScalarField &, const GeometricField< Type, fvPatchField, volMesh > &) const =0
 
virtual tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDiv (const surfaceScalarField &, const GeometricField< Type, fvPatchField, volMesh > &) const =0
 
void operator= (const convectionScheme< Type > &)
 
- 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
 

Static Public Member Functions

static tmp< convectionScheme< Type > > New (const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData)
 
static tmp< convectionScheme< Type > > New (const fvMesh &mesh, const typename multivariateSurfaceInterpolationScheme< Type >::fieldTable &fields, const surfaceScalarField &faceFlux, Istream &schemeData)
 

Detailed Description

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

Abstract base class for convection schemes.

Source files

Definition at line 65 of file convectionScheme.H.

Constructor & Destructor Documentation

◆ convectionScheme() [1/2]

convectionScheme ( const convectionScheme< Type > &  cs)

Definition at line 44 of file convectionScheme.C.

◆ convectionScheme() [2/2]

convectionScheme ( const fvMesh mesh,
const surfaceScalarField  
)
inline

Definition at line 118 of file convectionScheme.H.

◆ ~convectionScheme()

~convectionScheme
virtual

Definition at line 145 of file convectionScheme.C.

Member Function Documentation

◆ type()

virtual const word& type ( ) const
pure virtual

◆ declareRunTimeSelectionTable() [1/2]

declareRunTimeSelectionTable ( tmp  ,
convectionScheme< Type >  ,
Istream  ,
(const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData)  ,
(mesh, faceFlux, schemeData)   
)

◆ declareRunTimeSelectionTable() [2/2]

declareRunTimeSelectionTable ( tmp  ,
convectionScheme< Type >  ,
Multivariate  ,
(const fvMesh &mesh, const typename multivariateSurfaceInterpolationScheme< Type >::fieldTable &fields, const surfaceScalarField &faceFlux, Istream &schemeData)  ,
(mesh, fields, faceFlux, schemeData)   
)

◆ New() [1/2]

tmp< convectionScheme< Type > > New ( const fvMesh mesh,
const surfaceScalarField faceFlux,
Istream schemeData 
)
static

Definition at line 55 of file convectionScheme.C.

References Foam::expressions::patchExpr::debug, Foam::endl(), IOstream::eof(), Foam::exit(), Foam::FatalIOError, FatalIOErrorInFunction, FatalIOErrorInLookup, InfoInFunction, and mesh.

Referenced by Foam::fvm::div(), Foam::fvc::div(), and Foam::fvc::flux().

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

◆ New() [2/2]

tmp< convectionScheme< Type > > New ( const fvMesh mesh,
const typename multivariateSurfaceInterpolationScheme< Type >::fieldTable &  fields,
const surfaceScalarField faceFlux,
Istream schemeData 
)
static

◆ mesh()

const fvMesh& mesh ( ) const
inline

Definition at line 157 of file convectionScheme.H.

◆ interpolate()

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

◆ flux()

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

◆ fvmDiv()

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

◆ fvcDiv()

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

◆ operator=()

void operator= ( const convectionScheme< Type > &  cs)

Definition at line 152 of file convectionScheme.C.


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