35 #ifndef gaussConvectionScheme_H 36 #define gaussConvectionScheme_H 118 && bounded !=
"bounded" 124 <<
"Unbounded 'Gauss' div scheme used in " 125 "steady-state solver, use 'bounded Gauss' " 126 "to ensure boundedness.\n" 127 <<
" To remove this warning switch off " 128 <<
"'warnUnboundedGauss' in " 129 << controlDictFiles[controlDictFiles.
size()-1]
fileNameList findEtcFiles(const fileName &, bool mandatory=false, bool findFirst=false)
Search for files from user/group/shipped directories.
Mesh data needed to do the Finite Volume discretisation.
int warnUnboundedGauss
Temporary debug switch to provide warning about backward-compatibility.
const surfaceInterpolationScheme< Type > & interpScheme() const
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
A class for handling words, derived from string.
void size(const label)
Override size to be inconsistent with allocated storage.
const fvMesh & mesh() const
Return mesh reference.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > flux(const surfaceScalarField &, const GeometricField< Type, fvPatchField, volMesh > &) const
#define IOWarningIn(functionName, ios)
Report an IO warning using Foam::Warning.
ITstream & ddtScheme(const word &name) const
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
static tmp< convectionScheme< Type > > New(const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &schemeData)
Return a pointer to a new convectionScheme created on freestore.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Abstract base class for surface interpolation schemes.
Basic second-order convection using face-gradients and Gauss' theorem.
tmp< fvMatrix< Type > > fvmDiv(const surfaceScalarField &, const GeometricField< Type, fvPatchField, volMesh > &) const
virtual Istream & rewind()=0
Rewind and return the stream so that it may be read again.
TypeName("Gauss")
Runtime type information.
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const surfaceScalarField &, const GeometricField< Type, fvPatchField, volMesh > &) const
Abstract base class for convection schemes.
tmp< GeometricField< Type, fvPatchField, volMesh > > fvcDiv(const surfaceScalarField &, const GeometricField< Type, fvPatchField, volMesh > &) const
A class for managing temporary objects.
tmp< surfaceInterpolationScheme< Type > > scheme(const surfaceScalarField &faceFlux, Istream &streamData)