Basic second-order convection using face-gradients and Gauss' theorem. More...
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... | |
gaussConvectionScheme (const gaussConvectionScheme &)=delete | |
Disallow default bitwise copy construction. 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 |
void | operator= (const gaussConvectionScheme &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from convectionScheme< Type > | |
virtual const word & | type () 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 fvMesh & | mesh () const |
Return mesh reference. More... | |
void | operator= (const convectionScheme< Type > &) |
Public Member Functions inherited from refCount | |
int | count () const |
Return the current reference count. More... | |
bool | unique () const |
Return true if the reference count is 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... | |
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... | |
Protected Member Functions inherited from refCount | |
refCount () | |
Construct null initialising count to 0. More... | |
Basic second-order convection using face-gradients and Gauss' theorem.
Definition at line 54 of file gaussConvectionScheme.H.
|
inline |
Construct from flux and interpolation scheme.
Definition at line 73 of file gaussConvectionScheme.H.
Referenced by gaussConvectionScheme< Type >::gaussConvectionScheme().
|
inline |
Construct from flux and Istream.
Definition at line 85 of file gaussConvectionScheme.H.
References gaussConvectionScheme< Type >::flux(), gaussConvectionScheme< Type >::fvcDiv(), gaussConvectionScheme< Type >::fvmDiv(), gaussConvectionScheme< Type >::gaussConvectionScheme(), gaussConvectionScheme< Type >::interpolate(), gaussConvectionScheme< Type >::interpScheme(), and gaussConvectionScheme< Type >::operator=().
|
delete |
Disallow default bitwise copy construction.
TypeName | ( | "Gauss" | ) |
Runtime type information.
const surfaceInterpolationScheme< Type > & interpScheme | ( | ) | const |
Definition at line 44 of file gaussConvectionScheme.C.
References gaussConvectionScheme< Type >::interpolate().
Referenced by gaussConvectionScheme< Type >::gaussConvectionScheme().
|
virtual |
Implements convectionScheme< Type >.
Definition at line 53 of file gaussConvectionScheme.C.
References gaussConvectionScheme< Type >::flux().
Referenced by gaussConvectionScheme< Type >::gaussConvectionScheme(), multivariateGaussConvectionScheme< Type >::interpolate(), and gaussConvectionScheme< Type >::interpScheme().
|
virtual |
Implements convectionScheme< Type >.
Definition at line 65 of file gaussConvectionScheme.C.
References gaussConvectionScheme< Type >::fvmDiv(), and Foam::interpolate().
Referenced by multivariateGaussConvectionScheme< Type >::flux(), gaussConvectionScheme< Type >::gaussConvectionScheme(), and gaussConvectionScheme< Type >::interpolate().
|
virtual |
Implements convectionScheme< Type >.
Definition at line 77 of file gaussConvectionScheme.C.
References fvMatrix< Type >::boundaryCoeffs(), GeometricField< Type, PatchField, GeoMesh >::boundaryField(), Foam::correction(), DimensionedField< Type, GeoMesh >::dimensions(), forAll, gaussConvectionScheme< Type >::fvcDiv(), fvMatrix< Type >::internalCoeffs(), lduMatrix::lower(), lduMatrix::negSumDiag(), patchi, GeometricField< Type, PatchField, GeoMesh >::primitiveField(), tmp< T >::ref(), Foam::fvc::surfaceIntegrate(), lduMatrix::upper(), fvPatchField< Type >::valueBoundaryCoeffs(), and fvPatchField< Type >::valueInternalCoeffs().
Referenced by gaussConvectionScheme< Type >::flux(), multivariateGaussConvectionScheme< Type >::fvmDiv(), and gaussConvectionScheme< Type >::gaussConvectionScheme().
|
virtual |
Implements convectionScheme< Type >.
Definition at line 121 of file gaussConvectionScheme.C.
References Foam::fvc::flux(), IOobject::name(), tmp< T >::ref(), and Foam::fvc::surfaceIntegrate().
Referenced by multivariateGaussConvectionScheme< Type >::fvcDiv(), gaussConvectionScheme< Type >::fvmDiv(), and gaussConvectionScheme< Type >::gaussConvectionScheme().
|
delete |
Disallow default bitwise assignment.
Referenced by gaussConvectionScheme< Type >::gaussConvectionScheme().