Bounded form of the selected convection scheme. More...
Public Member Functions | |
TypeName ("bounded") | |
Runtime type information. More... | |
boundedConvectionScheme (const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &is) | |
Construct from flux and Istream. More... | |
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 |
![]() | |
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 > &) |
![]() | |
refCount () | |
Construct null with zero count. More... | |
int | count () const |
Return the reference count. More... | |
bool | okToDelete () const |
Return true if the reference count is zero. More... | |
void | resetRefCount () |
Reset the reference count to 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... | |
Private Member Functions | |
boundedConvectionScheme (const boundedConvectionScheme &) | |
Disallow default bitwise copy construct. More... | |
void | operator= (const boundedConvectionScheme &) |
Disallow default bitwise assignment. More... | |
Private Attributes | |
tmp< fv::convectionScheme< Type > > | scheme_ |
Additional Inherited Members | |
![]() | |
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... | |
Bounded form of the selected convection scheme.
Boundedness is achieved by subtracting div(phi)*vf or Sp(div(phi), vf) which is non-conservative if div(phi) != 0 but conservative otherwise.
Can be used for convection of bounded scalar properties in steady-state solvers to improve stability if insufficient convergence of the pressure equation causes temporary divergence of the flux field.
Definition at line 61 of file boundedConvectionScheme.H.
|
private |
Disallow default bitwise copy construct.
|
inline |
Construct from flux and Istream.
Definition at line 89 of file boundedConvectionScheme.H.
|
private |
Disallow default bitwise assignment.
TypeName | ( | "bounded" | ) |
Runtime type information.
|
virtual |
Implements convectionScheme< Type >.
Definition at line 46 of file boundedConvectionScheme.C.
References phi.
|
virtual |
Implements convectionScheme< Type >.
Definition at line 58 of file boundedConvectionScheme.C.
|
virtual |
Implements convectionScheme< Type >.
Definition at line 70 of file boundedConvectionScheme.C.
References Foam::fvm::Sp(), and Foam::fvc::surfaceIntegrate().
|
virtual |
Implements convectionScheme< Type >.
Definition at line 84 of file boundedConvectionScheme.C.
References Foam::fvc::surfaceIntegrate().
|
private |
Definition at line 67 of file boundedConvectionScheme.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.