Finds the isovalue that matches the volume fraction. More...
#include <surfaceIteratorIso.H>
Public Member Functions | |
| surfaceIteratorIso (const fvMesh &mesh, scalarField &pointVal, const scalar tol) | |
| Construct from fvMesh and a scalarField. | |
| bool | isASurfaceCell (const scalar alpha1) const |
| Determine if a cell is a surface cell. | |
| label | vofCutCell (const label celli, const scalar alpha1, const scalar tol, const label maxIter) |
| finds matching isoValue for the given value fraction returns the cellStatus | |
| const point & | subCellCentre () const |
| The centre point of cutted volume. | |
| scalar | subCellVolume () const |
| The volume of cutted volume. | |
| const point & | surfaceCentre () const |
| The centre of cutting isosurface. | |
| const vector & | surfaceArea () const |
| The area vector of cutting isosurface. | |
| scalar | VolumeOfFluid () const |
| Volume of Fluid for cellI (subCellVolume_/mesh_.V()[cellI]). | |
| scalar | cutValue () const |
| The cutValue. | |
| label | cellStatus () |
| The cellStatus. | |
| const DynamicList< point > & | facePoints () |
| The points of the cutting isosurface in sorted order. | |
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.
Definition at line 60 of file surfaceIteratorIso.H.
| surfaceIteratorIso | ( | const fvMesh & | mesh, |
| scalarField & | pointVal, | ||
| const scalar | tol ) |
Construct from fvMesh and a scalarField.
The scalarField size should equal the number of mesh points
Definition at line 26 of file surfaceIteratorIso.C.
References mesh.
|
inline |
Determine if a cell is a surface cell.
Definition at line 110 of file surfaceIteratorIso.H.
References alpha1.
| Foam::label vofCutCell | ( | const label | celli, |
| const scalar | alpha1, | ||
| const scalar | tol, | ||
| const label | maxIter ) |
finds matching isoValue for the given value fraction returns the cellStatus
Definition at line 42 of file surfaceIteratorIso.C.
References alpha1, C, e, f(), UList< T >::first(), forAll, UList< T >::last(), Foam::LUsolve(), M, Foam::mag(), Foam::max(), Foam::min(), pi(), Foam::pow(), Foam::pow3(), UList< T >::size(), Foam::sortedOrder(), and Foam::sqr().

|
inline |
The centre point of cutted volume.
Definition at line 134 of file surfaceIteratorIso.H.
|
inline |
The volume of cutted volume.
Definition at line 142 of file surfaceIteratorIso.H.
|
inline |
The centre of cutting isosurface.
Definition at line 150 of file surfaceIteratorIso.H.
|
inline |
The area vector of cutting isosurface.
Definition at line 158 of file surfaceIteratorIso.H.
|
inline |
Volume of Fluid for cellI (subCellVolume_/mesh_.V()[cellI]).
Definition at line 166 of file surfaceIteratorIso.H.
|
inline |
The cutValue.
Definition at line 174 of file surfaceIteratorIso.H.
|
inline |
The cellStatus.
Definition at line 182 of file surfaceIteratorIso.H.
|
inline |
The points of the cutting isosurface in sorted order.
Definition at line 190 of file surfaceIteratorIso.H.