Public Member Functions | List of all members
cutFaceIso Class Reference

Class for cutting a face, faceI, of an fvMesh, mesh_, at its intersection with an isosurface defined by the mesh point values f_ and the isovalue, cutValue. More...

Inheritance diagram for cutFaceIso:
Inheritance graph
[legend]
Collaboration diagram for cutFaceIso:
Collaboration graph
[legend]

Public Member Functions

 cutFaceIso (const fvMesh &mesh, scalarField &f)
 
label calcSubFace (const label faceI, const scalar cutValue)
 
const pointsubFaceCentre () const noexcept
 
const vectorsubFaceArea () const noexcept
 
const DynamicList< point > & subFacePoints () const noexcept
 
const DynamicList< point > & surfacePoints () const noexcept
 
void clearStorage ()
 
- Public Member Functions inherited from cutFace
 cutFace (const fvMesh &mesh)
 

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)
 
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)
 
void calcSubFaceCentreAndArea (DynamicList< point > &subFacePoints, vector &subFaceCentre, vector &subFaceArea)
 
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)
 

Detailed Description

Class for cutting a face, faceI, of an fvMesh, mesh_, at its intersection with an isosurface defined by the mesh point values f_ and the isovalue, cutValue.

Reference:

    Roenby, J., Bredmose, H. and Jasak, H. (2016).
    A computational method for sharp interface advection
    Royal Society Open Science, 3
    doi 10.1098/rsos.160405

Original code supplied by Johan Roenby, DHI (2016)

Source files

Definition at line 64 of file cutFaceIso.H.

Constructor & Destructor Documentation

◆ cutFaceIso()

cutFaceIso ( const fvMesh mesh,
scalarField f 
)

Definition at line 27 of file cutFaceIso.C.

References cutFaceIso::clearStorage().

Here is the call graph for this function:

Member Function Documentation

◆ calcSubFace()

Foam::label calcSubFace ( const label  faceI,
const scalar  cutValue 
)

Definition at line 47 of file cutFaceIso.C.

References cutFace::calcSubFace(), f(), forAll, Foam::mag(), and Foam::Zero.

Here is the call graph for this function:

◆ subFaceCentre()

const point& subFaceCentre ( ) const
inlinenoexcept

Definition at line 122 of file cutFaceIso.H.

◆ subFaceArea()

const vector& subFaceArea ( ) const
inlinenoexcept

Definition at line 128 of file cutFaceIso.H.

◆ subFacePoints()

const DynamicList<point>& subFacePoints ( ) const
inlinenoexcept

Definition at line 134 of file cutFaceIso.H.

◆ surfacePoints()

const DynamicList<point>& surfacePoints ( ) const
inlinenoexcept

Definition at line 140 of file cutFaceIso.H.

◆ clearStorage()

void clearStorage ( )

Definition at line 107 of file cutFaceIso.C.

References Foam::Zero.

Referenced by cutFaceIso::cutFaceIso().

Here is the caller graph for this function:

The documentation for this class was generated from the following files: