40 #ifndef outletStabilised_H 41 #define outletStabilised_H 149 forAll(pFaceCells, pFacei)
151 const cell& pFaceCell = cells[pFaceCells[pFacei]];
155 label facei = pFaceCell[fi];
160 w[facei] =
pos0(faceFlux_[facei]);
173 return tScheme_().corrected();
187 tScheme_().correction(vf);
208 forAll(pFaceCells, pFacei)
210 const cell& pFaceCell = cells[pFaceCells[pFacei]];
214 label facei = pFaceCell[fi];
virtual bool corrected() const
Return true if this scheme uses an explicit correction.
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.
void operator=(const outletStabilised &)=delete
Disallow default bitwise assignment.
outletStabilised(const fvMesh &mesh, Istream &is)
Construct from mesh and Istream.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
T & ref() const
Return non-const reference or generate a fatal error.
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.
const cellList & cells() const
const fvMesh & mesh() const
Return mesh reference.
TypeName("outletStabilised")
Runtime type information.
tmp< surfaceScalarField > weights(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the interpolation weighting factors.
Base class for direction-mixed boundary conditions.
Outlet-stabilised interpolation scheme which applies upwind differencing to the faces of the cells ad...
A class for handling words, derived from string.
static tmp< surfaceInterpolationScheme< Type > > New(const fvMesh &mesh, Istream &schemeData)
Return new tmp interpolation scheme.
bool isInternalFace(const label faceIndex) const
Return true if given face label is internal to the mesh.
dimensionedScalar pos0(const dimensionedScalar &ds)
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.
Abstract base class for surface interpolation schemes.
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the explicit correction to the face-interpolate.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.