30 #include "surfaceInterpolate.H" 34 template<
class Type,
class PhiLimiter>
72 phi.
db().objectRegistry::template lookupObject<volScalarField>
80 <<
"dimensions of faceFlux are not correct" 86 scalarField& pLimiter = Limiter.primitiveFieldRef();
102 surfaceScalarField::Boundary& bLimiter =
103 Limiter.boundaryFieldRef();
109 if (bLimiter[
patchi].coupled())
#define forAll(list, i)
Loop across all elements in list.
const surfaceVectorField & Sf() const
Return cell face area vectors.
void limiter(scalarField &allLambda, const RdeltaTType &rDeltaT, const RhoType &rho, const volScalarField &psi, const surfaceScalarField &phiBD, const surfaceScalarField &phiCorr, const SpType &Sp, const SuType &Su, const scalar psiMax, const scalar psiMin)
const objectRegistry & db() const
Return the local objectRegistry.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A face is a list of labels corresponding to mesh vertices.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
Generic GeometricField class.
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
tmp< surfaceScalarField > interpolate(const RhoType &rho)
const Boundary & boundaryField() const
Return const-reference to the boundary field.
const labelUList & neighbour() const
Internal face neighbour.
Calculate the gradient of the given field.
const surfaceScalarField & magSf() const
Return cell face area magnitudes.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
const dimensionSet dimDensity
Internal & ref()
Return a reference to the dimensioned internal field.
virtual tmp< surfaceScalarField > limiter(const GeometricField< Type, fvPatchField, volMesh > &) const
Return the interpolation weighting factors.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
Mesh data needed to do the Finite Volume discretisation.
const labelUList & owner() const
Internal face owner.
A class for managing temporary objects.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const dimensionSet dimArea(sqr(dimLength))
const Time & time() const
Return the top-level database.
const dimensionSet dimVelocity