39 #ifndef pfemelement2d_h 40 #define pfemelement2d_h 129 #endif // pfemelement_2d_h
virtual FEInterpolation * givePressureInterpolation()=0
Returns the interpolation for the pressure.
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
virtual FEInterpolation * giveVelocityInterpolation()=0
Returns the interpolation for velocity.
virtual Element * giveElement()
virtual int checkConsistency()
Performs consistency check.
virtual void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode mode, TimeStep *tStep)
Calculates the stiffness matrix.
~PFEMElement2d()
Destructor.
Element_Geometry_Type
Enumerative type used to classify element geometry Possible values are: EGT_point - point in space EG...
virtual int giveInternalStateAtNode(FloatArray &answer, InternalStateType type, InternalStateMode mode, int node, TimeStep *tStep)=0
Returns internal state variable (like stress,strain) at node of element in Reduced form...
virtual Interface * giveInterface(InterfaceType)=0
Interface requesting service.
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
void computePrescribedRhsVector(FloatArray &answer, TimeStep *tStep, ValueModeType mode)
Calculates the prescribed velocity vector for the right hand side of the pressure equation...
Abstract base class for all finite elements.
Class implementing an array of integers.
MatResponseMode
Describes the character of characteristic material matrix.
virtual void computeDeviatoricStress(FloatArray &answer, GaussPoint *gp, TimeStep *tStep)=0
Computes deviatoric stress vector in given integration point and solution step from given total strai...
This abstract class represent a general base element class for fluid dynamic problems solved using PF...
virtual void computePressureLaplacianMatrix(FloatMatrix &answer, TimeStep *tStep)
Calculates the pressure laplacian matrix.
Class representing a general abstraction for finite element interpolation class.
virtual int computeNumberOfDofs()=0
Computes or simply returns total number of element's local DOFs.
virtual void computeGradientMatrix(FloatMatrix &answer, TimeStep *tStep)
Calculates the pressure gradient matrix.
virtual const char * giveClassName() const
double computeEdgeVolumeAround(GaussPoint *gp, int iEdge)
Calculates the volume around an edge.
virtual void giveElementDofIDMask(IntArray &answer) const =0
Returns element dof mask for node.
virtual Element_Geometry_Type giveGeometryType() const
Returns the element geometry type.
IRResultType initializeFrom(InputRecord *ir)
Initializes receiver acording to object description stored in input record.
virtual void computeDivergenceMatrix(FloatMatrix &answerx, TimeStep *tStep)
Calculates the velocity divergence matrix.
Class representing vector of real numbers.
void computeEgdeNVectorAt(FloatArray &answer, int iedge, GaussPoint *gp)
Calculates the shape function vector on an edge.
Implementation of matrix containing floating point numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
virtual void computeBMatrix(FloatMatrix &answer, GaussPoint *gp)
Calculates the element shape function derivative matrix.
virtual double computeCriticalTimeStep(TimeStep *tStep)=0
Calculates critical time step.
void giveEdgeDofMapping(IntArray &answer, int iEdge) const
Gives the mapping for degrees of freedom on an edge.
virtual void giveDofManDofIDMask(int inode, IntArray &answer) const =0
Returns dofmanager dof mask for node.
virtual void computeDeviatoricStressDivergence(FloatArray &answer, TimeStep *tStep)=0
Calculates the divergence of the deviatoric stress.
InterfaceType
Enumerative type, used to identify interface type.
the oofem namespace is to define a context or scope in which all oofem names are defined.
void computeEdgeNMatrixAt(FloatMatrix &answer, int iedge, GaussPoint *gp)
Calculates the shape function matrix on an edge.
virtual void computeGaussPoints()=0
Initializes the array of integration rules member variable.
Class representing integration point in finite element program.
PFEMElement2d(int n, Domain *d)
Constructor.
Class representing solution step.
This class is the implementation of general 2d element with arbitrary interpolation of velocity and p...
InternalStateMode
Determines the mode of internal variable.