Public Member Functions | List of all members
surfaceIteratorPLIC Class Reference

Finds the cutValue that matches the volume fraction. More...

Public Member Functions

 surfaceIteratorPLIC (const fvMesh &mesh, const scalar tol)
 
bool isASurfaceCell (const scalar alpha1) const
 
label vofCutCell (const label celli, const scalar alpha1, const scalar tol, const label maxIter, vector normal)
 
const pointsubCellCentre () const
 
scalar subCellVolume () const
 
const pointsurfaceCentre () const
 
const vectorsurfaceArea () const
 
scalar VolumeOfFluid () const
 
scalar cutValue () const
 
label cellStatus ()
 
const DynamicList< point > & facePoints ()
 

Detailed Description

Finds the cutValue that matches the volume fraction.

Reference:

    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

Author Johan Roenby, DHI, all rights reserved. Modified Henning Scheufler, DLR

Source files

Definition at line 62 of file surfaceIteratorPLIC.H.

Constructor & Destructor Documentation

◆ surfaceIteratorPLIC()

surfaceIteratorPLIC ( const fvMesh mesh,
const scalar  tol 
)

Definition at line 27 of file surfaceIteratorPLIC.C.

Member Function Documentation

◆ isASurfaceCell()

bool isASurfaceCell ( const scalar  alpha1) const
inline

Definition at line 90 of file surfaceIteratorPLIC.H.

References alpha1.

◆ vofCutCell()

Foam::label vofCutCell ( const label  celli,
const scalar  alpha1,
const scalar  tol,
const label  maxIter,
vector  normal 
)

◆ subCellCentre()

const point& subCellCentre ( ) const
inline

Definition at line 111 of file surfaceIteratorPLIC.H.

References cutCellPLIC::subCellCentre().

Here is the call graph for this function:

◆ subCellVolume()

scalar subCellVolume ( ) const
inline

Definition at line 117 of file surfaceIteratorPLIC.H.

References cutCellPLIC::subCellVolume().

Here is the call graph for this function:

◆ surfaceCentre()

const point& surfaceCentre ( ) const
inline

Definition at line 123 of file surfaceIteratorPLIC.H.

References cutCellPLIC::faceCentre().

Here is the call graph for this function:

◆ surfaceArea()

const vector& surfaceArea ( ) const
inline

Definition at line 129 of file surfaceIteratorPLIC.H.

References cutCellPLIC::faceArea().

Here is the call graph for this function:

◆ VolumeOfFluid()

scalar VolumeOfFluid ( ) const
inline

Definition at line 135 of file surfaceIteratorPLIC.H.

References cutCellPLIC::VolumeOfFluid().

Here is the call graph for this function:

◆ cutValue()

scalar cutValue ( ) const
inline

Definition at line 141 of file surfaceIteratorPLIC.H.

References cutCellPLIC::cutValue().

Here is the call graph for this function:

◆ cellStatus()

label cellStatus ( )
inline

Definition at line 147 of file surfaceIteratorPLIC.H.

References cutCellPLIC::cellStatus().

Here is the call graph for this function:

◆ facePoints()

const DynamicList<point>& facePoints ( )
inline

Definition at line 153 of file surfaceIteratorPLIC.H.

References cutCellPLIC::facePoints().

Here is the call graph for this function:

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