34 template<
class Type,
class PhiLimiter>
72 phi.
db().objectRegistry::template lookupObject<volScalarField>
81 "PhiScheme<PhiLimiter>::limiter" 82 "(const GeometricField<Type, fvPatchField, volMesh>& phi)" 83 ) <<
"dimensions of faceFlux are not correct" 105 surfaceScalarField::GeometricBoundaryField& bLimiter =
106 Limiter.boundaryField();
112 if (bLimiter[patchI].coupled())
Mesh data needed to do the Finite Volume discretisation.
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
const surfaceVectorField & Sf() const
Return cell face area vectors.
const dimensionSet dimArea(sqr(dimLength))
static word timeName(const scalar, const int precision=precision_)
Return time name of given scalar time.
virtual tmp< surfaceScalarField > limiter(const GeometricField< Type, fvPatchField, volMesh > &) const
Return the interpolation weighting factors.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const labelUList & owner() const
Internal face owner.
tmp< surfaceScalarField > interpolate(const RhoType &rho)
const dimensionSet dimDensity
Calculate the gradient of the given field.
const Time & time() const
Return the top-level database.
A face is a list of labels corresponding to mesh vertices.
const surfaceScalarField & magSf() const
Return cell face area magnitudes.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
#define FatalErrorIn(functionName)
Report an error message using Foam::FatalError.
Generic GeometricField class.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
const labelUList & neighbour() const
Internal face neighbour.
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.
const dimensionSet dimVelocity
A class for managing temporary objects.