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_;
dimensionedScalar sign(const dimensionedScalar &ds)
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.
const DynamicList< point > & subFacePoints() const noexcept
Returns the cut edge of the cutted face.
A class for handling file names.
A face is a list of labels corresponding to mesh vertices.
label calcSubFace(const label faceI, const vector &normal, const vector &base)
Calculates cut centre and cut area (plicReconstruction)
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const point & subFaceCentre() const noexcept
Returns centre of cutted face.
const DynamicList< point > & surfacePoints() const noexcept
Returns point of the face in sorted of cutted face.
Base class for cutting a face, faceI, of an fvMesh, mesh_, at its intersections.
A class for handling words, derived from Foam::string.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
void cutPoints(const label faceI, const scalar f0, DynamicList< point > &cutPoints)
Get cutPoints of face.
Mesh data needed to do the Finite Volume discretisation.
const vector & subFaceArea() const noexcept
Returns area vector of cutted face.
void quadAreaCoeffs(const DynamicPointList &pf0, const DynamicPointList &pf1, scalar &quadArea, scalar &intQuadArea) const
For face with vertices p calculate its area and integrated area.
Calculates the face fluxes.
cutFaceAdvect(const fvMesh &mesh, const volScalarField &alpha1)
Construct from fvMesh and a scalarField.
scalar timeIntegratedArea(const label faceI, const scalar dt, const scalar magSf, const scalar Un0)
Calculate time integrated area for a face.
const volScalarField & alpha1
void clearStorage()
Resets internal variables.