Go to the documentation of this file.
50 #ifndef cutFaceAdvect_H
51 #define cutFaceAdvect_H
152 const scalar cutValue
161 const scalar cutValue
237 return subFaceCentre_;
249 return subFacePoints_;
255 return surfacePoints_;
A class for handling words, derived from Foam::string.
A class for handling file names.
scalar timeIntegratedFaceFlux(const label faceI, const vector &x0, const vector &n0, const scalar Un0, const scalar dt, const scalar phi, const scalar magSf)
Calculate time integrated flux for a face.
void clearStorage()
Resets internal variables.
void quadAreaCoeffs(const DynamicPointList &pf0, const DynamicPointList &pf1, scalar &quadArea, scalar &intQuadArea) const
For face with vertices p calculate its area and integrated area.
const DynamicList< point > & surfacePoints() const noexcept
Returns point of the face in sorted of cutted face.
const DynamicList< point > & subFacePoints() const noexcept
Returns the cut edge of the cutted face.
const vector & subFaceArea() const noexcept
Returns area vector of cutted face.
const volScalarField & alpha1
cutFaceAdvect(const fvMesh &mesh, const volScalarField &alpha1)
Construct from fvMesh and a scalarField.
dimensionedScalar sign(const dimensionedScalar &ds)
void cutPoints(const label faceI, const scalar f0, DynamicList< point > &cutPoints)
Get cutPoints of face.
label calcSubFace(const label faceI, const vector &normal, const vector &base)
Calculates cut centre and cut area (plicReconstruction)
Mesh data needed to do the Finite Volume discretisation.
scalar timeIntegratedArea(const label faceI, const scalar dt, const scalar magSf, const scalar Un0)
Calculate time integrated area for a face.
const point & subFaceCentre() const noexcept
Returns centre of cutted face.
Base class for cutting a face, faceI, of an fvMesh, mesh_, at its intersections.
Calculates the face fluxes.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A face is a list of labels corresponding to mesh vertices.