Public Member Functions | Static Public Attributes | Static Protected Member Functions | List of all members
cutCell Class Reference

Service routines for cutting a cell, celli, of an fvMesh, mesh_, at its intersection with a surface. More...

Inheritance diagram for cutCell:
Inheritance graph
[legend]

Public Member Functions

 cutCell (const fvMesh &mesh)
 

Static Public Attributes

static int debug = 0
 

Static Protected Member Functions

static void calcCellData (const DynamicList< point > &cutFaceCentres, const DynamicList< vector > &cutFaceAreas, vector &subCellCentre, scalar &subCellVolume)
 
static void calcGeomDataCutFace (const DynamicList< DynamicList< point >> &faceEdges, const vector &subCellCentre, vector &faceArea, vector &faceCentre)
 
static void calcIsoFacePointsFromEdges (const vector &faceArea, const vector &faceCentre, const DynamicList< DynamicList< point >> &faceEdges, DynamicList< point > &facePoints)
 

Detailed Description

Service routines for cutting a cell, celli, of an fvMesh, mesh_, at its intersection with a surface.

Original code supplied by Johan Roenby, DHI (2016) Henning Scheufler, DLR (2019)

Source files

Definition at line 55 of file cutCell.H.

Constructor & Destructor Documentation

◆ cutCell()

cutCell ( const fvMesh mesh)
explicit

Definition at line 34 of file cutCell.C.

References mesh.

Member Function Documentation

◆ calcCellData()

void calcCellData ( const DynamicList< point > &  cutFaceCentres,
const DynamicList< vector > &  cutFaceAreas,
vector subCellCentre,
scalar &  subCellVolume 
)
staticprotected

Definition at line 49 of file cutCell.C.

References Foam::fac::average(), forAll, Foam::mag(), Foam::max(), and Foam::Zero.

Here is the call graph for this function:

◆ calcGeomDataCutFace()

void calcGeomDataCutFace ( const DynamicList< DynamicList< point >> &  faceEdges,
const vector subCellCentre,
vector faceArea,
vector faceCentre 
)
staticprotected

Definition at line 88 of file cutCell.C.

References Foam::constant::universal::c, forAll, Foam::mag(), n, nPoints, p, Foam::constant::mathematical::pi(), Foam::sign(), and Foam::Zero.

Here is the call graph for this function:

◆ calcIsoFacePointsFromEdges()

void calcIsoFacePointsFromEdges ( const vector faceArea,
const vector faceCentre,
const DynamicList< DynamicList< point >> &  faceEdges,
DynamicList< point > &  facePoints 
)
staticprotected

Member Data Documentation

◆ debug

int debug = 0
static

Definition at line 91 of file cutCell.H.


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