MPLICcell Class Reference

Class performs geometric matching of volume fraction and calculates surface interpolation of volume fraction field. More...

Public Member Functions

 MPLICcell (const bool unweighted=true, const bool multiCut=true)
 Construct for given interpolation and PLIC type. More...
 
bool matchAlpha (const MPLICcellStorage &cellInfo)
 Match cell volume ratios. More...
 
const DynamicList< scalar > & alphaf () const
 Return face volume fraction. More...
 
const vectorcutNormal () const
 Return cut normal. More...
 
scalar cutAlpha () const
 Return volume fraction corresponding to the cut. More...
 
scalar subCellVolume () const
 Return sub-cell volume. More...
 

Detailed Description

Class performs geometric matching of volume fraction and calculates surface interpolation of volume fraction field.

Cut algorithms:

  • Single cell cut
  • Face-edge walk multiple cell cuts
  • Tet decomposition cell cuts
Source files

Definition at line 55 of file MPLICcell.H.

Constructor & Destructor Documentation

◆ MPLICcell()

MPLICcell ( const bool  unweighted = true,
const bool  multiCut = true 
)

Construct for given interpolation and PLIC type.

Definition at line 1002 of file MPLICcell.C.

References triFace().

Here is the call graph for this function:

Member Function Documentation

◆ matchAlpha()

bool matchAlpha ( const MPLICcellStorage cellInfo)

Match cell volume ratios.

Definition at line 1026 of file MPLICcell.C.

Referenced by MPLIC::surfaceAlpha().

Here is the caller graph for this function:

◆ alphaf()

const Foam::DynamicList< Foam::scalar > & alphaf ( ) const
inline

Return face volume fraction.

Definition at line 269 of file MPLICcellI.H.

Referenced by MPLIC::surfaceAlpha().

Here is the caller graph for this function:

◆ cutNormal()

const Foam::vector & cutNormal ( ) const
inline

Return cut normal.

Definition at line 275 of file MPLICcellI.H.

◆ cutAlpha()

Foam::scalar cutAlpha ( ) const
inline

Return volume fraction corresponding to the cut.

Definition at line 287 of file MPLICcellI.H.

◆ subCellVolume()

Foam::scalar subCellVolume ( ) const
inline

Return sub-cell volume.

Definition at line 281 of file MPLICcellI.H.


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