Class for cutting a cell, cellI, of an fvMesh, mesh_, at its intersection with an surface defined by a normal and cutValue_ (defined as distance to the cell centre). More...
Public Member Functions | |
cutCellPLIC (const fvMesh &mesh) | |
label | calcSubCell (const label celli, const scalar cutValue, const vector &normal) |
const point & | subCellCentre () const noexcept |
scalar | subCellVolume () const noexcept |
const DynamicList< point > & | facePoints () |
const point & | faceCentre () const noexcept |
const vector & | faceArea () const noexcept |
label | cellStatus () const noexcept |
scalar | VolumeOfFluid () const noexcept |
scalar | cutValue () const noexcept |
void | clearStorage () |
![]() | |
cutCell (const fvMesh &mesh) | |
Additional Inherited Members | |
![]() | |
static int | debug = 0 |
![]() | |
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) |
Class for cutting a cell, cellI, of an fvMesh, mesh_, at its intersection with an surface defined by a normal and cutValue_ (defined as distance to the cell centre).
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 67 of file cutCellPLIC.H.
|
explicit |
Definition at line 27 of file cutCellPLIC.C.
References cutCellPLIC::clearStorage().
Foam::label calcSubCell | ( | const label | celli, |
const scalar | cutValue, | ||
const vector & | normal | ||
) |
Definition at line 53 of file cutCellPLIC.C.
References Foam::average(), Foam::constant::universal::c, Foam::mag(), and Foam::Zero.
Referenced by reconstructionSchemes::surface().
|
inlinenoexcept |
Definition at line 145 of file cutCellPLIC.H.
Referenced by surfaceIteratorPLIC::subCellCentre().
|
inlinenoexcept |
Definition at line 151 of file cutCellPLIC.H.
Referenced by surfaceIteratorPLIC::subCellVolume().
const Foam::DynamicList< Foam::point > & facePoints | ( | ) |
Definition at line 168 of file cutCellPLIC.C.
Referenced by surfaceIteratorPLIC::facePoints(), and reconstructionSchemes::surface().
|
inlinenoexcept |
Definition at line 160 of file cutCellPLIC.H.
Referenced by surfaceIteratorPLIC::surfaceCentre().
|
inlinenoexcept |
Definition at line 166 of file cutCellPLIC.H.
Referenced by surfaceIteratorPLIC::surfaceArea().
|
inlinenoexcept |
Definition at line 172 of file cutCellPLIC.H.
Referenced by surfaceIteratorPLIC::cellStatus().
|
inlinenoexcept |
Definition at line 178 of file cutCellPLIC.H.
Referenced by surfaceIteratorPLIC::VolumeOfFluid().
|
inlinenoexcept |
Definition at line 184 of file cutCellPLIC.H.
Referenced by surfaceIteratorPLIC::cutValue().
void clearStorage | ( | ) |
Definition at line 186 of file cutCellPLIC.C.
References Foam::Zero.
Referenced by cutCellPLIC::cutCellPLIC().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.