OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::LevelSetPCSElementInterface Class Referenceabstract

Element interface for LevelSetPCS class representing level-set like material interface. More...

#include <levelsetpcs.h>

+ Inheritance diagram for oofem::LevelSetPCSElementInterface:
+ Collaboration diagram for oofem::LevelSetPCSElementInterface:

Public Member Functions

 LevelSetPCSElementInterface ()
 
The element interface required by LevelSetPCSElementInterface.
virtual double LS_PCS_computeF (LevelSetPCS *ls, TimeStep *tStep)=0
 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|} \]

. More...

 
virtual void LS_PCS_computedN (FloatMatrix &answer)=0
 Returns gradient of shape functions. More...
 
virtual double LS_PCS_computeVolume ()=0
 Returns receiver's volume. More...
 
virtual double LS_PCS_computeS (LevelSetPCS *ls, TimeStep *tStep)=0
 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}} \]

. More...

 
virtual void LS_PCS_computeVOFFractions (FloatArray &answer, FloatArray &fi)=0
 Returns VOF fractions for each material on element according to nodal values of level set function (passed as parameter) More...
 
- Public Member Functions inherited from oofem::Interface
 Interface ()
 Constructor. More...
 
virtual ~Interface ()
 
virtual const char * giveClassName () const =0
 

Detailed Description

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.

Constructor & Destructor Documentation

oofem::LevelSetPCSElementInterface::LevelSetPCSElementInterface ( )
inline

Member Function Documentation

virtual void oofem::LevelSetPCSElementInterface::LS_PCS_computedN ( FloatMatrix answer)
pure virtual
virtual double oofem::LevelSetPCSElementInterface::LS_PCS_computeF ( LevelSetPCS ls,
TimeStep tStep 
)
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::TR1_2D_SUPG, oofem::Quad10_2D_SUPG, oofem::TR21_2D_SUPG, and oofem::Tet1_3D_SUPG.

Referenced by oofem::LevelSetPCS::evalElemFContribution(), and LevelSetPCSElementInterface().

virtual double oofem::LevelSetPCSElementInterface::LS_PCS_computeS ( LevelSetPCS ls,
TimeStep tStep 
)
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::TR1_2D_SUPG, oofem::Quad10_2D_SUPG, oofem::TR21_2D_SUPG, and oofem::Tet1_3D_SUPG.

Referenced by oofem::LevelSetPCS::evalElemfContribution(), and LevelSetPCSElementInterface().

virtual void oofem::LevelSetPCSElementInterface::LS_PCS_computeVOFFractions ( FloatArray answer,
FloatArray fi 
)
pure virtual

Returns VOF fractions for each material on element according to nodal values of level set function (passed as parameter)

Implemented in oofem::TR1_2D_SUPG, oofem::Quad10_2D_SUPG, oofem::TR1_2D_SUPG_AXI, oofem::TR21_2D_SUPG, and oofem::Tet1_3D_SUPG.

Referenced by oofem::LevelSetPCS::giveElementMaterialMixture(), and LevelSetPCSElementInterface().

virtual double oofem::LevelSetPCSElementInterface::LS_PCS_computeVolume ( )
pure virtual

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

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:37 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011