Public Member Functions | List of all members
surfaceIteratorIso Class Reference

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

Public Member Functions

 surfaceIteratorIso (const fvMesh &mesh, scalarField &pointVal, const scalar tol)
 
bool isASurfaceCell (const scalar alpha1) const
 
label vofCutCell (const label celli, const scalar alpha1, const scalar tol, const label maxIter)
 
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 isovalue that matches the volume fraction.

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

Author Johan Roenby, DHI, all rights reserved.

Source files

Definition at line 60 of file surfaceIteratorIso.H.

Constructor & Destructor Documentation

◆ surfaceIteratorIso()

surfaceIteratorIso ( const fvMesh mesh,
scalarField pointVal,
const scalar  tol 
)

Definition at line 27 of file surfaceIteratorIso.C.

Member Function Documentation

◆ isASurfaceCell()

bool isASurfaceCell ( const scalar  alpha1) const
inline

Definition at line 96 of file surfaceIteratorIso.H.

References alpha1.

Referenced by isoAlpha::reconstruct().

Here is the caller graph for this function:

◆ vofCutCell()

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

Definition at line 43 of file surfaceIteratorIso.C.

References alpha1, C, Foam::constant::electromagnetic::e, f(), forAll, Foam::LUsolve(), M, Foam::mag(), Foam::max(), Foam::min(), Foam::constant::mathematical::pi(), Foam::pow(), Foam::pow3(), Foam::sortedOrder(), and Foam::sqr().

Referenced by isoAlpha::reconstruct().

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

◆ subCellCentre()

const point& subCellCentre ( ) const
inline

Definition at line 116 of file surfaceIteratorIso.H.

References cutCellIso::subCellCentre().

Here is the call graph for this function:

◆ subCellVolume()

scalar subCellVolume ( ) const
inline

Definition at line 122 of file surfaceIteratorIso.H.

References cutCellIso::subCellVolume().

Here is the call graph for this function:

◆ surfaceCentre()

const point& surfaceCentre ( ) const
inline

Definition at line 128 of file surfaceIteratorIso.H.

References cutCellIso::faceCentre().

Referenced by isoAlpha::reconstruct().

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

◆ surfaceArea()

const vector& surfaceArea ( ) const
inline

Definition at line 134 of file surfaceIteratorIso.H.

References cutCellIso::faceArea().

Referenced by isoAlpha::reconstruct().

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

◆ VolumeOfFluid()

scalar VolumeOfFluid ( ) const
inline

Definition at line 140 of file surfaceIteratorIso.H.

References cutCellIso::VolumeOfFluid().

Here is the call graph for this function:

◆ cutValue()

scalar cutValue ( ) const
inline

Definition at line 146 of file surfaceIteratorIso.H.

References cutCellIso::cutValue().

Here is the call graph for this function:

◆ cellStatus()

label cellStatus ( )
inline

Definition at line 152 of file surfaceIteratorIso.H.

References cutCellIso::cellStatus().

Referenced by isoAlpha::reconstruct().

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

◆ facePoints()

const DynamicList<point>& facePoints ( )
inline

Definition at line 158 of file surfaceIteratorIso.H.

References cutCellIso::facePoints().

Here is the call graph for this function:

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