35 #ifndef tr21_2d_supg_h 36 #define tr21_2d_supg_h 46 #define _IFT_TR21_2D_SUPG_Name "tr21supg" 147 #endif // tr21_2d_supg_h InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
The element interface required by NodalAvergagingRecoveryModel.
virtual int checkConsistency()
Used to check consistency and initialize some element geometry data (area,b,c).
virtual double computeVolumeAround(GaussPoint *gp)
Returns volume related to given integration point.
virtual void giveLocalVelocityDofMap(IntArray &map)
virtual FEInterpolation * giveInterpolation() const
virtual void computeDivTauMatrix(FloatMatrix &answer, GaussPoint *gp, TimeStep *tStep)
The element interface required by ZZNodalRecoveryModel.
virtual void computeAdvectionTerm(FloatMatrix &answer, TimeStep *tStep)
The purpose of DataStream abstract class is to allow to store/restore context to different streams...
Element interface for LevelSetPCS class representing level-set like material interface.
virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
Returns the integration point corresponding value in full form.
void computeCenterOf(FloatArray &C, FloatArray c, int dim)
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
virtual void LS_PCS_computeVOFFractions(FloatArray &answer, FloatArray &fi)
Returns VOF fractions for each material on element according to nodal values of level set function (p...
static FEI2dTrLin pressureInterpolation
virtual void computeDivUMatrix(FloatMatrix &answer, GaussPoint *gp)
virtual void computeAdvectionDeltaTerm(FloatMatrix &answer, TimeStep *tStep)
MaterialMode
Type representing material mode of integration point.
Class implementing an array of integers.
void computeQuadraticFunct(FloatArray &answer, int iedge)
virtual void initGeometry()
virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep)
virtual int computeNumberOfDofs()
Computes or simply returns total number of element's local DOFs.
virtual MaterialMode giveMaterialMode()
Returns material mode for receiver integration points.
virtual void NodalAveragingRecoveryMI_computeNodalValue(FloatArray &answer, int node, InternalStateType type, TimeStep *tStep)
Computes the element value in given node.
This abstract class represent a general base element class for fluid dynamic problems.
virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep)
virtual void giveLocalPressureDofMap(IntArray &map)
Class representing a general abstraction for finite element interpolation class.
Class representing a 2d triangular linear interpolation based on area coordinates.
virtual void computeGradUMatrix(FloatMatrix &answer, GaussPoint *gp, TimeStep *tStep)
void computeQuadraticRoots(FloatArray Coeff, double &r1, double &r2)
virtual void updateYourself(TimeStep *tStep)
Updates element state after equilibrium in time step has been reached.
virtual void computeNpMatrix(FloatMatrix &answer, GaussPoint *gp)
DofIDItem
Type representing particular dof type.
static FEI2dTrQuad velocityInterpolation
#define _IFT_TR21_2D_SUPG_Name
virtual contextIOResultType restoreContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Restores the receiver state previously written in stream.
void computeMiddlePointOnParabolicArc(FloatArray &answer, int iedge, FloatArray borderpoints)
void computeCoordsOfEdge(FloatArray &answer, int iedge)
virtual contextIOResultType saveContext(DataStream &stream, ContextMode mode, void *obj=NULL)
Stores receiver state to output stream.
virtual const char * giveClassName() const
virtual void computeNuMatrix(FloatMatrix &answer, GaussPoint *gp)
TR21_2D_SUPG(int n, Domain *aDomain)
Class representing 2d triangular element with quadratic velocity and linear pressure approximation fo...
Class representing vector of real numbers.
virtual Interface * giveInterface(InterfaceType)
Interface requesting service.
Implementation of matrix containing floating point numbers.
Abstract base class representing Level Set representation of material interfaces. ...
virtual void LS_PCS_computedN(FloatMatrix &answer)
Returns gradient of shape functions.
virtual void computeMassDeltaTerm(FloatMatrix &answer, TimeStep *tStep)
virtual const char * giveInputRecordName() const
virtual void computeUDotGradUMatrix(FloatMatrix &answer, GaussPoint *gp, TimeStep *tStep)
virtual double computeCriticalTimeStep(TimeStep *tStep)
Computes the critical time increment.
long ContextMode
Context mode (mask), defining the type of information written/read to/from context.
virtual double LS_PCS_computeVolume()
Returns receiver's volume.
int giveInternalStateAtNode(FloatArray &answer, InternalStateType type, InternalStateMode mode, int node, TimeStep *tStep)
Returns internal state variable (like stress,strain) at node of element in Reduced form...
InterfaceType
Enumerative type, used to identify interface type.
virtual void updateStabilizationCoeffs(TimeStep *tStep)
Updates the stabilization coefficients used for CBS and SUPG algorithms.
virtual int giveNumberOfSpatialDimensions()
Second order triangular interpolation in 2D (6 nodes).
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual double LS_PCS_computeS(LevelSetPCS *ls, TimeStep *tStep)
Evaluates S in level set equation of the form where .
virtual void computeLSICTerm(FloatMatrix &answer, TimeStep *tStep)
virtual void giveDofManDofIDMask(int inode, IntArray &answer) const
Returns dofmanager dof mask for node.
Class representing integration point in finite element program.
void computeIntersection(int iedge, FloatArray &intcoords, FloatArray &fi)
Class representing solution step.
virtual void computeGaussPoints()
Initializes the array of integration rules member variable.
virtual void computeGradPMatrix(FloatMatrix &answer, GaussPoint *gp)
InternalStateMode
Determines the mode of internal variable.
virtual void computeBMatrix(FloatMatrix &anwer, GaussPoint *gp)
virtual double LS_PCS_computeF(LevelSetPCS *ls, TimeStep *tStep)
Evaluates F in level set equation of the form where for interface position driven by flow with speed...