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 point & | subCellCentre () const |
scalar | subCellVolume () const |
const point & | surfaceCentre () const |
const vector & | surfaceArea () const |
scalar | VolumeOfFluid () const |
scalar | cutValue () const |
label | cellStatus () |
const DynamicList< point > & | facePoints () |
Finds the cutValue that matches the volume fraction.
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
Definition at line 62 of file surfaceIteratorPLIC.H.
surfaceIteratorPLIC | ( | const fvMesh & | mesh, |
const scalar | tol | ||
) |
Definition at line 27 of file surfaceIteratorPLIC.C.
|
inline |
Definition at line 90 of file surfaceIteratorPLIC.H.
References alpha1.
Foam::label vofCutCell | ( | const label | celli, |
const scalar | alpha1, | ||
const scalar | tol, | ||
const label | maxIter, | ||
vector | normal | ||
) |
Definition at line 41 of file surfaceIteratorPLIC.C.
References alpha1, C, Foam::constant::electromagnetic::e, Foam::endl(), f(), forAll, Foam::LUsolve(), M, Foam::mag(), Foam::max(), Foam::min(), Foam::nl, Vector< Cmpt >::normalise(), Foam::constant::mathematical::pi(), Foam::pow(), Foam::pow3(), Foam::sign(), Foam::sortedOrder(), Foam::sqr(), and WarningInFunction.
|
inline |
Definition at line 111 of file surfaceIteratorPLIC.H.
References cutCellPLIC::subCellCentre().
|
inline |
Definition at line 117 of file surfaceIteratorPLIC.H.
References cutCellPLIC::subCellVolume().
|
inline |
Definition at line 123 of file surfaceIteratorPLIC.H.
References cutCellPLIC::faceCentre().
|
inline |
Definition at line 129 of file surfaceIteratorPLIC.H.
References cutCellPLIC::faceArea().
|
inline |
Definition at line 135 of file surfaceIteratorPLIC.H.
References cutCellPLIC::VolumeOfFluid().
|
inline |
Definition at line 141 of file surfaceIteratorPLIC.H.
References cutCellPLIC::cutValue().
|
inline |
Definition at line 147 of file surfaceIteratorPLIC.H.
References cutCellPLIC::cellStatus().
|
inline |
Definition at line 153 of file surfaceIteratorPLIC.H.
References cutCellPLIC::facePoints().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.