Go to the documentation of this file.
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];
static tmp< surfaceInterpolationScheme< Type > > New(const fvMesh &mesh, Istream &schemeData)
Return new tmp interpolation scheme.
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
static constexpr const zero Zero
Global zero (0)
const cellList & cells() const
TypeName("outletStabilised")
Runtime type information.
dimensionedScalar pos0(const dimensionedScalar &ds)
This boundary condition applies a zero-gradient condition from the patch internal field onto the patc...
#define forAll(list, i)
Loop across all elements in list.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
virtual tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > correction(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the explicit correction to the face-interpolate.
tmp< surfaceScalarField > weights(const GeometricField< Type, fvPatchField, volMesh > &vf) const
Return the interpolation weighting factors.
const Type & lookupObject(const word &name, const bool recursive=false) const
Mesh data needed to do the Finite Volume discretisation.
Outlet-stabilised interpolation scheme which applies upwind differencing to the faces of the cells ad...
This boundary condition provides a base class for 'mixed' type boundary conditions,...
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
const TargetType * isA(const Type &t)
Check if dynamic_cast to TargetType is possible.
bool isInternalFace(const label faceIndex) const noexcept
Return true if given face label is internal to the mesh.
UPtrList< const labelUList > faceCells() const
Return a list of faceCells for each patch.
virtual bool corrected() const
Return true if this scheme uses an explicit correction.
Abstract base class for surface interpolation schemes.
const fvMesh & mesh() const
Return mesh reference.
A cell is defined as a list of faces with extra functionality.
Base class for direction-mixed boundary conditions.
const Boundary & boundaryField() const
Return const-reference to the boundary field.