Go to the documentation of this file.
33 template<
class Type,
class Limiter,
template<
class>
class LimitFunc>
43 tlPhi = LimitFunc<Type>()(
phi);
70 this->faceFlux_[
face],
86 if (bLim[
patchi].coupled())
90 this->faceFlux_.boundaryField()[
patchi];
136 template<
class Type,
class Limiter,
template<
class>
class LimitFunc>
145 const word limiterFieldName(
type() +
"Limiter(" +
phi.name() +
')');
147 if (this->
mesh().cache(
"limiter"))
158 mesh.time().timeName(),
168 mesh.objectRegistry::store(limiterField);
180 calcLimiter(
phi, limiterField);
193 mesh.time().timeName(),
201 calcLimiter(
phi, tlimiterField());
203 return tlimiterField;
void calcLimiter(const GeometricField< Type, fvPatchField, volMesh > &phi, surfaceScalarField &limiterField) const
Calculate the limiter.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
A class for handling words, derived from string.
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
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)
virtual tmp< surfaceScalarField > limiter(const GeometricField< Type, fvPatchField, volMesh > &) const
Return the interpolation weighting factors.
GeometricBoundaryField & boundaryField()
Return reference to GeometricBoundaryField.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
InternalField & internalField()
Return internal field.
Mesh data needed to do the Finite Volume discretisation.
Calculate the gradient of the given field.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
A face is a list of labels corresponding to mesh vertices.
Graphite solid properties.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
Generic GeometricField class.