32 #include "surfaceInterpolate.H" 36 template<
class Type,
class PhiLimiter>
52 mesh.time().timeName(),
74 phi.db().objectRegistry::template lookupObject<volScalarField>
82 <<
"dimensions of faceFlux are not correct" 88 scalarField& pLimiter = Limiter.primitiveFieldRef();
105 Limiter.boundaryFieldRef();
111 if (bLimiter[patchi].
coupled())
120 phi.boundaryField()[patchi].patchInternalField()
124 phi.boundaryField()[patchi].patchNeighbourField()
errorManipArg< error, int > exit(error &err, const int errNo=1)
A face is a list of labels corresponding to mesh vertices.
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
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.
Generic GeometricField class.
const dimensionSet dimless
Dimensionless.
tmp< areaScalarField > limiter(const areaScalarField &phi)
virtual tmp< surfaceScalarField > limiter(const GeometricField< Type, fvPatchField, volMesh > &) const
Return the interpolation weighting factors.
#define forAll(list, i)
Loop across all elements in list.
const dimensionSet dimVolume(pow3(dimLength))
Calculate the gradient of the given field.
Mesh data needed to do the Finite Volume discretisation.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
Internal & ref(const bool updateAccessTime=true)
Same as internalFieldRef()
const dimensionSet dimMass(1, 0, 0, 0, 0, 0, 0)
A class for managing temporary objects.
Defines the attributes of an object for which implicit objectRegistry management is supported...
const Boundary & boundaryField() const noexcept
Return const-reference to the boundary field.