A second-order gradient scheme using face-interpolation, Gauss' theorem and iterative skew correction. More...
Public Member Functions | |
TypeName ("iterativeGauss") | |
iterativeGaussGrad (const fvMesh &mesh) | |
iterativeGaussGrad (const fvMesh &mesh, Istream &schemeData) | |
virtual tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > | calcGrad (const GeometricField< Type, fvPatchField, volMesh > &vsf, const word &name) const |
![]() | |
TypeName ("Gauss") | |
gaussGrad (const fvMesh &mesh) | |
gaussGrad (const fvMesh &mesh, Istream &is) | |
![]() | |
virtual const word & | type () const =0 |
declareRunTimeSelectionTable (tmp, gradScheme, Istream,(const fvMesh &mesh, Istream &schemeData),(mesh, schemeData)) | |
gradScheme (const fvMesh &mesh) | |
virtual | ~gradScheme ()=default |
const fvMesh & | mesh () const |
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > | grad (const GeometricField< Type, fvPatchField, volMesh > &, const word &name) const |
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > | grad (const GeometricField< Type, fvPatchField, volMesh > &) const |
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > | grad (const tmp< GeometricField< Type, fvPatchField, volMesh >> &) const |
![]() | |
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 |
Additional Inherited Members | |
![]() | |
static tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > > | gradf (const GeometricField< Type, fvsPatchField, surfaceMesh > &, const word &name) |
static void | correctBoundaryConditions (const GeometricField< Type, fvPatchField, volMesh > &, GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh > &) |
![]() | |
static tmp< gradScheme< Type > > | New (const fvMesh &mesh, Istream &schemeData) |
A second-order gradient scheme using face-interpolation, Gauss' theorem and iterative skew correction.
system/fvSchemes
: gradSchemes { grad(<term>) iterativeGauss <interpolation scheme> <number of iters>; }
and by using system/fvSolution
:
relaxationFactors { fields { grad(<term>) <relaxation factor>; } }
Definition at line 73 of file iterativeGaussGrad.H.
|
inline |
Definition at line 101 of file iterativeGaussGrad.H.
|
inline |
Definition at line 108 of file iterativeGaussGrad.H.
References Foam::exit(), Foam::FatalIOError, and FatalIOErrorInFunction.
TypeName | ( | "iterativeGauss" | ) |
|
virtual |
Reimplemented from gaussGrad< Type >.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.