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)
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
static constexpr const zero Zero
const cellList & cells() const
TypeName("outletStabilised")
dimensionedScalar pos0(const dimensionedScalar &ds)
This boundary condition applies a zero-gradient condition from the patch internal field onto the patc...
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
tmp< surfaceScalarField > weights(const GeometricField< Type, fvPatchField, volMesh > &vf) const
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
const TargetType * isA(const Type &t)
bool isInternalFace(const label faceIndex) const noexcept
UPtrList< const labelUList > faceCells() const
virtual bool corrected() const
Abstract base class for surface interpolation schemes.
const fvMesh & mesh() const
Generic GeometricField class.
A cell is defined as a list of faces with extra functionality.
Base class for direction-mixed boundary conditions.
const Boundary & boundaryField() const