Loading...
Searching...
No Matches
cutFace Class Reference

Base class for cutting a face, faceI, of an fvMesh, mesh_, at its intersections. More...

#include <cutFace.H>

Inheritance diagram for cutFace:

Public Member Functions

 cutFace (const fvMesh &mesh)
 Construct from fvMesh.

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:
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:

Detailed Description

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)

Source files

Definition at line 55 of file cutFace.H.

Constructor & Destructor Documentation

◆ cutFace()

cutFace ( const fvMesh & mesh)
explicit

Construct from fvMesh.

Definition at line 333 of file cutFace.C.

References mesh.

Referenced by cutFaceAdvect::cutFaceAdvect(), cutFaceIso::cutFaceIso(), and cutFacePLIC::cutFacePLIC().

Here is the caller graph for this function:

Member Function Documentation

◆ calcSubFace() [1/3]

void calcSubFace ( const label faceI,
const scalarList & pointStatus,
label firstFullySubmergedPoint,
DynamicList< point > & subFacePoints,
DynamicList< point > & surfacePoints,
label & faceStatus,
vector & subFaceCentre,
vector & subFaceArea )
protected

Calculate cut points along edges of face with pointStatus, pointfield and computes geometric information and the face status where:

  • -1: faceStatus is fully below the isosurface
  • 0: faceStatus is cut (has values larger and smaller than isoValue)
  • +1: faceStatus is fully above the isosurface

Definition at line 32 of file cutFace.C.

References DynamicList< T, SizeMin >::append(), calcSubFaceCentreAndArea(), f(), p, points, UList< T >::size(), and Foam::Zero.

Referenced by cutFaceAdvect::calcSubFace(), cutFaceAdvect::calcSubFace(), cutFaceAdvect::calcSubFace(), cutFaceIso::calcSubFace(), cutFacePLIC::calcSubFace(), and topOVariablesBase::writeFluidSolidInterface().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ calcSubFace() [2/3]

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 )
protected

Calculate cut points along edges of face with pointStatus, pointfield, weights and computes geometric information and the face status where:

  • -1: faceStatus is fully below the isosurface
  • 0: faceStatus is cut (has values larger and smaller than isoValue)
  • +1: faceStatus is fully above the isosurface

Definition at line 109 of file cutFace.C.

References DynamicList< T, SizeMin >::append(), calcSubFaceCentreAndArea(), f(), p, points, UList< T >::size(), and Foam::Zero.

Here is the call graph for this function:

◆ calcSubFaceCentreAndArea()

void calcSubFaceCentreAndArea ( DynamicList< point > & subFacePoints,
vector & subFaceCentre,
vector & subFaceArea )
protected

Calculates centre and normal of the face.

Definition at line 258 of file cutFace.C.

References triangle< point, const point & >::areaNormal(), triangle< point, const point & >::centre(), Foam::mag(), n, nPoints, pi(), UList< T >::size(), and Foam::Zero.

Referenced by calcSubFace(), calcSubFace(), and calcSubFace().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ calcSubFace() [3/3]

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 )
protected

Calculate cut points along edges of face with pointStatus, pointfield and computes geometric information and the face status where:

  • -1: faceStatus is fully below the isosurface
  • 0: faceStatus is cut (has values larger and smaller than isoValue)
  • +1: faceStatus is fully above the isosurface

Definition at line 184 of file cutFace.C.

References DynamicList< T, SizeMin >::append(), calcSubFaceCentreAndArea(), f(), p, points, UList< T >::size(), and Foam::Zero.

Here is the call graph for this function:

Member Data Documentation

◆ debug

int debug = 0
static

Definition at line 143 of file cutFace.H.

Referenced by isoAdvection::isoAdvection(), and cutFaceAdvect::timeIntegratedFaceFlux().


The documentation for this class was generated from the following files:
  • src/transportModels/geometricVoF/cellCuts/cutFace/cutFace.H
  • src/transportModels/geometricVoF/cellCuts/cutFace/cutFace.C