Go to the documentation of this file.
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();
104 surfaceScalarField::Boundary& bLimiter =
105 Limiter.boundaryFieldRef();
111 if (bLimiter[patchi].coupled())
120 phi.boundaryField()[patchi].patchInternalField()
124 phi.boundaryField()[patchi].patchNeighbourField()
Defines the attributes of an object for which implicit objectRegistry management is supported,...
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
Dimensionless.
A class for managing temporary objects.
const dimensionSet dimVelocity
const dimensionSet dimDensity
#define forAll(list, i)
Loop across all elements in list.
const dimensionSet dimArea(sqr(dimLength))
virtual tmp< surfaceScalarField > limiter(const GeometricField< Type, fvPatchField, volMesh > &) const
Return the interpolation weighting factors.
Mesh data needed to do the Finite Volume discretisation.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Internal & ref(const bool updateAccessTime=true)
Return a reference to the dimensioned internal field.
Calculate the gradient of the given field.
A face is a list of labels corresponding to mesh vertices.
tmp< areaScalarField > limiter(const areaScalarField &phi)
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.
const Boundary & boundaryField() const
Return const-reference to the boundary field.