47 <<
"Constructing limitedSurfaceInterpolationScheme<Type>" <<
endl;
53 <<
"Discretisation scheme not specified" 55 <<
"Valid schemes are :" <<
endl 56 << MeshConstructorTablePtr_->sortedToc()
60 const word schemeName(schemeData);
62 auto* ctorPtr = MeshConstructorTable(schemeName);
71 *MeshConstructorTablePtr_
75 return ctorPtr(
mesh, schemeData);
91 <<
"Constructing limitedSurfaceInterpolationScheme<Type>" 98 <<
"Discretisation scheme not specified" 100 <<
"Valid schemes are :" <<
endl 101 << MeshConstructorTablePtr_->sortedToc()
105 const word schemeName(schemeData);
107 auto* ctorPtr = MeshFluxConstructorTable(schemeName);
116 *MeshFluxConstructorTablePtr_
120 return ctorPtr(
mesh, faceFlux, schemeData);
164 const scalarField& pFaceFlux = faceFlux_.boundaryField()[patchi];
187 this->
mesh().surfaceInterpolation::weights(),
errorManipArg< error, int > exit(error &err, const int errNo=1)
A face is a list of labels corresponding to mesh vertices.
T & ref() const
Return non-const reference to the contents of a non-null managed pointer.
static tmp< GeometricField< Type, faePatchField, edgeMesh > > interpolate(const GeometricField< Type, faPatchField, areaMesh > &tvf, const edgeScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< areaScalarField > limiter(const areaScalarField &phi)
#define forAll(list, i)
Loop across all elements in list.
static tmp< limitedSurfaceInterpolationScheme< Type > > New(const fvMesh &mesh, Istream &schemeData)
Return new tmp interpolation scheme.
A class for handling words, derived from Foam::string.
dimensionedScalar pos0(const dimensionedScalar &ds)
tmp< surfaceScalarField > weights(const GeometricField< Type, fvPatchField, volMesh > &, const surfaceScalarField &CDweights, tmp< surfaceScalarField > tLimiter) const
Return the interpolation weighting factors for the given field,.
int debug
Static debugging option.
Internal::FieldType & primitiveFieldRef(const bool updateAccessTime=true)
Return a reference to the internal field values.
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > flux(const GeometricField< Type, fvPatchField, volMesh > &) const
Return the interpolation weighting factors.
#define FatalIOErrorInFunction(ios)
Report an error message using Foam::FatalIOError.
Mesh data needed to do the Finite Volume discretisation.
Boundary & boundaryFieldRef(const bool updateAccessTime=true)
Return a reference to the boundary field.
A class for managing temporary objects.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
const Boundary & boundaryField() const noexcept
Return const-reference to the boundary field.
bool eof() const noexcept
True if end of input seen.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
#define InfoInFunction
Report an information message using Foam::Info.
virtual ~limitedSurfaceInterpolationScheme()
Destructor.