|
OOFEM 3.0
|
#include <levelsetpcs.h>
Public Member Functions | |
| LevelSetPCSElementInterface () | |
The element interface required by LevelSetPCSElementInterface. | |
| virtual double | LS_PCS_computeF (LevelSetPCS *ls, TimeStep *tStep)=0 |
| virtual void | LS_PCS_computedN (FloatMatrix &answer)=0 |
| virtual double | LS_PCS_computeVolume ()=0 |
| Returns receiver's volume. | |
| virtual double | LS_PCS_computeS (LevelSetPCS *ls, TimeStep *tStep)=0 |
| virtual void | LS_PCS_computeVOFFractions (FloatArray &answer, FloatArray &fi)=0 |
| Public Member Functions inherited from oofem::Interface | |
| Interface () | |
| Constructor. | |
| virtual | ~Interface () |
| virtual const char * | giveClassName () const =0 |
Element interface for LevelSetPCS class representing level-set like material interface. The elements should provide specific functionality in order to collaborate with LEPlic and this required functionality is declared in this interface.
Definition at line 68 of file levelsetpcs.h.
|
inline |
Definition at line 71 of file levelsetpcs.h.
Referenced by oofem::Quad10_2D_SUPG::giveInterface(), oofem::Tet1_3D_SUPG::giveInterface(), oofem::TR1_2D_SUPG::giveInterface(), and oofem::TR21_2D_SUPG::giveInterface().
|
pure virtual |
Returns gradient of shape functions.
Implemented in oofem::Quad10_2D_SUPG, oofem::Tet1_3D_SUPG, oofem::TR1_2D_SUPG, and oofem::TR21_2D_SUPG.
Referenced by oofem::LevelSetPCS::pcs_stage1(), and oofem::LevelSetPCS::updatePosition().
|
pure virtual |
Evaluates F in level set equation of the form
\[ \phi_t + F(\nabla\phi, x) |\nabla\phi| = 0 \]
where for interface position driven by flow with speed u:
\[ F = u\cdot \frac{\nabla\phi}{|\nabla\phi|} \]
Implemented in oofem::Quad10_2D_SUPG, oofem::Tet1_3D_SUPG, oofem::TR1_2D_SUPG, and oofem::TR21_2D_SUPG.
|
pure virtual |
Evaluates S in level set equation of the form
\[ \phi_t = S(\phi) (1-|\nabla\phi|) = 0 \]
where
\[ S=\frac{\phi}{\sqrt{\phi^2+\epsilon^2}} \]
Implemented in oofem::Quad10_2D_SUPG, oofem::Tet1_3D_SUPG, oofem::TR1_2D_SUPG, and oofem::TR21_2D_SUPG.
|
pure virtual |
Returns VOF fractions for each material on element according to nodal values of level set function (passed as parameter)
Implemented in oofem::Quad10_2D_SUPG, oofem::Tet1_3D_SUPG, oofem::TR1_2D_SUPG, oofem::TR1_2D_SUPG_AXI, and oofem::TR21_2D_SUPG.
Referenced by oofem::LevelSetPCS::giveElementMaterialMixture().
|
pure virtual |
Returns receiver's volume.
Implemented in oofem::Quad10_2D_SUPG, oofem::Tet1_3D_SUPG, oofem::TR1_2D_SUPG, and oofem::TR21_2D_SUPG.
Referenced by oofem::LevelSetPCS::pcs_stage1(), and oofem::LevelSetPCS::updatePosition().