40 #ifndef outletStabilised_H 41 #define outletStabilised_H 155 forAll(pFaceCells, pFacei)
157 const cell& pFaceCell = cells[pFaceCells[pFacei]];
161 label facei = pFaceCell[fi];
166 w[facei] =
pos(faceFlux_[facei]);
179 return tScheme_().corrected();
193 tScheme_().correction(vf);
214 forAll(pFaceCells, pFacei)
216 const cell& pFaceCell = cells[pFaceCells[pFacei]];
220 label facei = pFaceCell[fi];
bool isA(const Type &t)
Check if a dynamic_cast to typeid is possible.
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const fvMesh & mesh() const
Return mesh reference.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
This boundary condition provides a base class for 'mixed' type boundary conditions, i.e. conditions that mix fixed value and patch-normal gradient conditions.
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the explicit correction to the face-interpolate.
bool isInternalFace(const label faceIndex) const
Return true if given face label is internal to the mesh.
virtual bool corrected() const
Return true if this scheme uses an explicit correction.
const cellList & cells() const
TypeName("outletStabilised")
Runtime type information.
Base class for direction-mixed boundary conditions.
dimensionedScalar pos(const dimensionedScalar &ds)
Outlet-stabilised interpolation scheme which applies upwind differencing to the faces of the cells ad...
const Boundary & boundaryField() const
Return const-reference to the boundary field.
A class for handling words, derived from string.
static tmp< surfaceInterpolationScheme< Type > > New(const fvMesh &mesh, Istream &schemeData)
Return new tmp interpolation scheme.
tmp< surfaceScalarField > weights(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the interpolation weighting factors.
This boundary condition applies a zero-gradient condition from the patch internal field onto the patc...
A cell is defined as a list of faces with extra functionality.
Mesh data needed to do the Finite Volume discretisation.
A class for managing temporary objects.
T & ref() const
Return non-const reference or generate a fatal error.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
Abstract base class for surface interpolation schemes.