45#ifndef outletStabilised_H
46#define outletStabilised_H
160 forAll(pFaceCells, pFacei)
162 const cell& pFaceCell =
cells[pFaceCells[pFacei]];
166 label facei = pFaceCell[fi];
171 w[facei] =
pos0(faceFlux_[facei]);
184 return tScheme_().corrected();
198 tScheme_().correction(vf);
219 forAll(pFaceCells, pFacei)
221 const cell& pFaceCell =
cells[pFaceCells[pFacei]];
225 label facei = pFaceCell[fi];
const Boundary & boundaryField() const
Return const-reference to the boundary field.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A cell is defined as a list of faces with extra functionality.
Base class for direction-mixed boundary conditions.
UPtrList< const labelUList > faceCells() const
Return a list of faceCells for each patch.
Mesh data needed to do the Finite Volume discretisation.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
This boundary condition provides a base class for 'mixed' type boundary conditions,...
Outlet-stabilised interpolation scheme which applies upwind differencing to the faces of the cells ad...
outletStabilised(const fvMesh &mesh, Istream &is)
Construct from mesh and Istream.
virtual bool corrected() const
Return true if this scheme uses an explicit correction.
TypeName("outletStabilised")
Runtime type information.
tmp< surfaceScalarField > weights(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the interpolation weighting factors.
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the explicit correction to the face-interpolate.
outletStabilised(const fvMesh &mesh, const surfaceScalarField &faceFlux, Istream &is)
Construct from mesh, faceFlux and Istream.
bool isInternalFace(const label faceIndex) const noexcept
Return true if given face label is internal to the mesh.
const cellList & cells() const
Abstract base class for surface interpolation schemes.
const fvMesh & mesh() const
Return mesh reference.
static tmp< surfaceInterpolationScheme< Type > > New(const fvMesh &mesh, Istream &schemeData)
Return new tmp interpolation scheme.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
This boundary condition applies a zero-gradient condition from the patch internal field onto the patc...
dimensionedScalar pos0(const dimensionedScalar &ds)
const TargetType * isA(const Type &t)
Check if dynamic_cast to TargetType is possible.
static constexpr const zero Zero
Global zero (0)
#define forAll(list, i)
Loop across all elements in list.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.