Class for cutting a face, faceI, of an fvMesh, mesh_, at its intersection with an plane defined by normal and a base point. More...
#include <cutFacePLIC.H>


Public Member Functions | |
| cutFacePLIC (const fvMesh &mesh) | |
| Construct from fvMesh and a scalarField. | |
| label | calcSubFace (const label faceI, const vector &normal, const vector &base) |
| Calculate cut points along edges of faceI. | |
| const point & | subFaceCentre () const noexcept |
| Returns centre of cutted face. | |
| const vector & | subFaceArea () const noexcept |
| Returns area vector of cutted face. | |
| const DynamicList< point > & | subFacePoints () const noexcept |
| Returns the cut edge of the cutted face. | |
| const DynamicList< point > & | surfacePoints () const noexcept |
| Returns point of the face in sorted of cutted face. | |
| void | clearStorage () |
| Resets internal variables. | |
| Public Member Functions inherited from cutFace | |
| cutFace (const fvMesh &mesh) | |
| Construct from fvMesh. | |
Additional Inherited Members | |
| Static Public Attributes inherited from cutFace | |
| static int | debug = 0 |
| Protected Member Functions inherited from cutFace | |
| void | calcSubFace (const label faceI, const scalarList &pointStatus, label firstFullySubmergedPoint, DynamicList< point > &subFacePoints, DynamicList< point > &surfacePoints, label &faceStatus, vector &subFaceCentre, vector &subFaceArea) |
| Calculate cut points along edges of face with pointStatus, pointfield and computes geometric information and the face status where: | |
| void | calcSubFace (const label faceI, const scalarList &pointStatus, const scalarList &weights, label firstFullySubmergedPoint, DynamicList< point > &subFacePoints, DynamicList< point > &surfacePoints, label &faceStatus, vector &subFaceCentre, vector &subFaceArea) |
| Calculate cut points along edges of face with pointStatus, pointfield, weights and computes geometric information and the face status where: | |
| void | calcSubFaceCentreAndArea (DynamicList< point > &subFacePoints, vector &subFaceCentre, vector &subFaceArea) |
| Calculates centre and normal of the face. | |
| void | calcSubFace (const face &f, const pointField &points, const scalarList &pointStatus, label firstFullySubmergedPoint, DynamicList< point > &subFacePoints, DynamicList< point > &surfacePoints, label &faceStatus, vector &subFaceCentre, vector &subFaceArea) |
| Calculate cut points along edges of face with pointStatus, pointfield and computes geometric information and the face status where: | |
Class for cutting a face, faceI, of an fvMesh, mesh_, at its intersection with an plane defined by normal and a base point.
Reference:
Henning Scheufler, Johan Roenby,
Accurate and efficient surface reconstruction from volume
fraction data on general meshes,
Journal of Computational Physics, 2019,
doi 10.1016/j.jcp.2019.01.009
Original code supplied by Henning Scheufler, DLR (2019)
Definition at line 66 of file cutFacePLIC.H.
|
explicit |
Construct from fvMesh and a scalarField.
Definition at line 27 of file cutFacePLIC.C.
References clearStorage(), cutFace::cutFace(), mesh, and Foam::Zero.

Calculate cut points along edges of faceI.
Definition at line 45 of file cutFacePLIC.C.
References cutFace::calcSubFace(), clearStorage(), f(), forAll, Foam::mag(), and Foam::Zero.

|
inlinenoexcept |
Returns centre of cutted face.
Definition at line 144 of file cutFacePLIC.H.
References Foam::noexcept.
|
inlinenoexcept |
Returns area vector of cutted face.
Definition at line 152 of file cutFacePLIC.H.
References Foam::noexcept.
|
inlinenoexcept |
Returns the cut edge of the cutted face.
Definition at line 160 of file cutFacePLIC.H.
References Foam::noexcept.
|
inlinenoexcept |
Returns point of the face in sorted of cutted face.
Definition at line 168 of file cutFacePLIC.H.
References Foam::noexcept.
| void clearStorage | ( | ) |
Resets internal variables.
Definition at line 111 of file cutFacePLIC.C.
References Foam::Zero.
Referenced by calcSubFace(), and cutFacePLIC().
