50#ifndef cutFaceAdvect_H
51#define cutFaceAdvect_H
152 const scalar cutValue
161 const scalar cutValue
211 const DynamicPointList& pf0,
212 const DynamicPointList& pf1,
237 return subFaceCentre_;
249 return subFacePoints_;
255 return surfacePoints_;
const volScalarField & alpha1
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
label calcSubFace(const label faceI, const vector &normal, const vector &base)
Calculates cut centre and cut area (plicReconstruction).
const vector & subFaceArea() const noexcept
Returns area vector of cutted face.
void clearStorage()
Resets internal variables.
const DynamicList< point > & surfacePoints() const noexcept
Returns point of the face in sorted of cutted face.
scalar timeIntegratedArea(const label faceI, const scalar dt, const scalar magSf, const scalar Un0)
Calculate time integrated area for a face.
const DynamicList< point > & subFacePoints() const noexcept
Returns the cut edge of the cutted face.
cutFaceAdvect(const fvMesh &mesh, const volScalarField &alpha1)
Construct from fvMesh and a scalarField.
const point & subFaceCentre() const noexcept
Returns centre of cutted face.
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 quadAreaCoeffs(const DynamicPointList &pf0, const DynamicPointList &pf1, scalar &quadArea, scalar &intQuadArea) const
For face with vertices p calculate its area and integrated area.
void cutPoints(const label faceI, const scalar f0, DynamicList< point > &cutPoints)
Get cutPoints of face.
cutFace(const fvMesh &mesh)
Construct from fvMesh.
A face is a list of labels corresponding to mesh vertices.
A class for handling file names.
Mesh data needed to do the Finite Volume discretisation.
A class for handling words, derived from Foam::string.
dimensionedScalar sign(const dimensionedScalar &ds)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
vector point
Point is a vector.
vectorField pointField
pointField is a vectorField.