Base class for cutting a face, faceI, of an fvMesh, mesh_, at its intersections. More...
Public Member Functions | |
cutFace (const fvMesh &mesh) | |
Construct from fvMesh. More... | |
Static Public Attributes | |
static int | debug = 0 |
Protected Member Functions | |
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: More... | |
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: More... | |
void | calcSubFaceCentreAndArea (DynamicList< point > &subFacePoints, vector &subFaceCentre, vector &subFaceArea) |
Calculates centre and normal of the face. More... | |
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: More... | |
Base class for cutting a face, faceI, of an fvMesh, mesh_, at its intersections.
Original code supplied by Johan Roenby, DHI (2016) Henning Scheufler, DLR (2019)
|
protected |
Calculate cut points along edges of face with pointStatus, pointfield and computes geometric information and the face status where:
Definition at line 33 of file cutFace.C.
References DynamicList< T, SizeMin >::append(), f(), p, points, UList< T >::size(), and Foam::Zero.
Referenced by cutFacePLIC::calcSubFace(), cutFaceIso::calcSubFace(), cutFaceAdvect::calcSubFace(), and topOVariablesBase::writeFluidSolidInterface().
|
protected |
Calculate cut points along edges of face with pointStatus, pointfield, weights and computes geometric information and the face status where:
Definition at line 110 of file cutFace.C.
References DynamicList< T, SizeMin >::append(), f(), p, points, UList< T >::size(), and Foam::Zero.
|
protected |
Calculates centre and normal of the face.
Definition at line 259 of file cutFace.C.
References Foam::constant::universal::c, Foam::mag(), n, nPoints, Foam::constant::mathematical::pi(), UList< T >::size(), and Foam::Zero.
|
protected |
Calculate cut points along edges of face with pointStatus, pointfield and computes geometric information and the face status where:
Definition at line 185 of file cutFace.C.
References DynamicList< T, SizeMin >::append(), f(), p, points, UList< T >::size(), and Foam::Zero.