OOFEM 3.0
Loading...
Searching...
No Matches
oofem::StructuralInterfaceElement Class Referenceabstract

#include <structuralinterfaceelement.h>

Inheritance diagram for oofem::StructuralInterfaceElement:
Collaboration diagram for oofem::StructuralInterfaceElement:

Public Member Functions

 StructuralInterfaceElement (int n, Domain *d)
int computeGlobalCoordinates (FloatArray &answer, const FloatArray &lcoords) override
void giveCharacteristicMatrix (FloatMatrix &answer, CharType, TimeStep *tStep) override
void giveCharacteristicVector (FloatArray &answer, CharType type, ValueModeType mode, TimeStep *tStep) override
virtual void computeStiffnessMatrix (FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep)
virtual void giveInternalForcesVector (FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord=0)
virtual void computeTraction (FloatArray &traction, IntegrationPoint *ip, const FloatArray &jump, TimeStep *tStep)
virtual void computeSpatialJump (FloatArray &answer, GaussPoint *gp, TimeStep *tStep)
int giveIPValue (FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
InterfacegiveInterface (InterfaceType) override
void updateInternalState (TimeStep *tStep) override
void updateYourself (TimeStep *tStep) override
int checkConsistency () override
void giveInputRecord (DynamicInputRecord &input) override
const char * giveClassName () const override
StructuralInterfaceCrossSectiongiveInterfaceCrossSection ()
virtual double computeAreaAround (GaussPoint *gp)=0
Element_Geometry_Type giveGeometryType () const override
virtual void giveEngTraction (FloatArray &answer, GaussPoint *gp, const FloatArray &jump, TimeStep *tStep)
virtual void giveFirstPKTraction (FloatArray &answer, GaussPoint *gp, const FloatArray &jump, const FloatMatrix &F, TimeStep *tStep)
virtual void giveStiffnessMatrix_Eng (FloatMatrix &answer, MatResponseMode rMode, IntegrationPoint *ip, TimeStep *tStep)
virtual void giveStiffnessMatrix_dTdj (FloatMatrix &answer, MatResponseMode rMode, IntegrationPoint *ip, TimeStep *tStep)
Public Member Functions inherited from oofem::Element
 Element (int n, Domain *aDomain)
 Element (const Element &src)=delete
Elementoperator= (const Element &src)=delete
virtual ~Element ()
 Virtual destructor.
void giveLocationArray (IntArray &locationArray, const UnknownNumberingScheme &s, IntArray *dofIds=NULL) const
void giveLocationArray (IntArray &locationArray, const IntArray &dofIDMask, const UnknownNumberingScheme &s, IntArray *dofIds=NULL) const
virtual void giveBoundaryLocationArray (IntArray &locationArray, const IntArray &bNodes, const UnknownNumberingScheme &s, IntArray *dofIds=NULL)
virtual void giveBoundaryLocationArray (IntArray &locationArray, const IntArray &bNodes, const IntArray &dofIDMask, const UnknownNumberingScheme &s, IntArray *dofIds=NULL)
virtual int giveNumberOfDofs ()
virtual int giveNumberOfInternalDofManagers () const
virtual DofManagergiveInternalDofManager (int i) const
virtual void setInternalDofManager (int num, std::unique_ptr< DofManager > dm)
virtual double giveCharacteristicValue (CharType type, TimeStep *tStep)
virtual void computeLoadVector (FloatArray &answer, BodyLoad *load, CharType type, ValueModeType mode, TimeStep *tStep)
virtual void computeBoundarySurfaceLoadVector (FloatArray &answer, BoundaryLoad *load, int boundary, CharType type, ValueModeType mode, TimeStep *tStep, bool global=true)
virtual void computeTangentFromSurfaceLoad (FloatMatrix &answer, BoundaryLoad *load, int boundary, MatResponseMode rmode, TimeStep *tStep)
virtual void computeTangentFromEdgeLoad (FloatMatrix &answer, BoundaryLoad *load, int boundary, MatResponseMode rmode, TimeStep *tStep)
virtual void computeBoundaryEdgeLoadVector (FloatArray &answer, BoundaryLoad *load, int edge, CharType type, ValueModeType mode, TimeStep *tStep, bool global=true)
const IntArraygiveBodyLoadList () const
const IntArraygiveBoundaryLoadList () const
void computeVectorOf (ValueModeType u, TimeStep *tStep, FloatArray &answer)
void computeVectorOf (const IntArray &dofIDMask, ValueModeType u, TimeStep *tStep, FloatArray &answer, bool padding=false)
void computeBoundaryVectorOf (const IntArray &bNodes, const IntArray &dofIDMask, ValueModeType u, TimeStep *tStep, FloatArray &answer, bool padding=false)
void computeVectorOf (PrimaryField &field, const IntArray &dofIDMask, ValueModeType u, TimeStep *tStep, FloatArray &answer, bool padding=false)
void computeVectorOfPrescribed (ValueModeType u, TimeStep *tStep, FloatArray &answer)
void computeVectorOfPrescribed (const IntArray &dofIDMask, ValueModeType type, TimeStep *tStep, FloatArray &answer)
virtual int computeNumberOfDofs ()
virtual int computeNumberOfGlobalDofs ()
int computeNumberOfPrimaryMasterDofs ()
virtual bool computeGtoLRotationMatrix (FloatMatrix &answer)
virtual bool giveRotationMatrix (FloatMatrix &answer)
virtual bool computeDofTransformationMatrix (FloatMatrix &answer, const IntArray &nodes, bool includeInternal)
virtual void giveDofManDofIDMask (int inode, IntArray &answer) const
virtual void giveInternalDofManDofIDMask (int inode, IntArray &answer) const
virtual void giveElementDofIDMask (IntArray &answer) const
virtual void computeField (ValueModeType mode, TimeStep *tStep, const FloatArray &lcoords, FloatArray &answer)
virtual double computeVolumeAround (GaussPoint *gp)
virtual double computeVolumeAreaOrLength ()
 Computes the volume, area or length of the element depending on its spatial dimension.
double computeMeanSize ()
virtual double computeVolume ()
virtual double computeArea ()
virtual double computeLength ()
virtual IntArray giveBoundaryEdgeNodes (int boundary, bool includeHierarchical=false) const
virtual IntArray giveBoundarySurfaceNodes (int boundary, bool includeHierarchical=false) const
virtual IntArray giveBoundaryNodes (int boundary) const
virtual std::unique_ptr< IntegrationRulegiveBoundaryEdgeIntegrationRule (int order, int boundary)
virtual std::unique_ptr< IntegrationRulegiveBoundarySurfaceIntegrationRule (int order, int boundary)
int giveDofManagerNumber (int i) const
const IntArraygiveDofManArray () const
void addDofManager (DofManager *dMan)
DofManagergiveDofManager (int i) const
NodegiveNode (int i) const
virtual ElementSidegiveSide (int i) const
virtual FEInterpolationgiveInterpolation () const
virtual FEInterpolationgiveInterpolation (DofIDItem id) const
virtual const FEInterpolationgetGeometryInterpolation () const
virtual MaterialgiveMaterial ()
int giveMaterialNumber () const
CrossSectiongiveCrossSection ()
int getActivityTimeFunctionNumber ()
void setActivityTimeFunctionNumber (int funcIndx)
void setMaterial (int matIndx)
virtual void setCrossSection (int csIndx)
virtual int giveNumberOfDofManagers () const
void setNumberOfDofManagers (int i)
 Sets number of element dof managers.
virtual int giveNumberOfNodes () const
void setDofManagers (const IntArray &dmans)
void setDofManager (int id, int dm)
void setBodyLoads (const IntArray &bodyLoads)
void setIntegrationRules (std ::vector< std ::unique_ptr< IntegrationRule > > irlist)
virtual integrationDomain giveIntegrationDomain () const
virtual MaterialMode giveMaterialMode ()
virtual int giveIntegrationRuleLocalCodeNumbers (IntArray &answer, IntegrationRule &ie)
int giveRegionNumber ()
virtual void initializeYourself (TimeStep *timeStepWhenICApply)
virtual bool isActivated (TimeStep *tStep)
virtual bool isCast (TimeStep *tStep)
virtual void initForNewStep ()
virtual Element_Geometry_Type giveEdgeGeometryType (int id) const
 Returns the receiver edge geometry type.
virtual Element_Geometry_Type giveSurfaceGeometryType (int id) const
 Returns the receiver surface geometry type.
virtual int giveSpatialDimension ()
virtual int giveNumberOfBoundarySides ()
 Returns number of boundaries (entities of element_dimension-1: points, edges, surfaces).
virtual int giveNumberOfEdges () const
virtual int giveNumberOfSurfaces () const
virtual int giveDefaultIntegrationRule () const
virtual IntegrationRulegiveDefaultIntegrationRulePtr ()
int giveNumberOfIntegrationRules ()
virtual IntegrationRulegiveIntegrationRule (int i)
std::vector< std ::unique_ptr< IntegrationRule > > & giveIntegrationRulesArray ()
int giveGlobalIPValue (FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
virtual double giveLengthInDir (const FloatArray &normalToCrackPlane)
virtual double giveCharacteristicLength (const FloatArray &normalToCrackPlane)
double giveCharacteristicLengthForPlaneElements (const FloatArray &normalToCrackPlane)
double giveCharacteristicLengthForAxisymmElements (const FloatArray &normalToCrackPlane)
virtual double giveCharacteristicSize (GaussPoint *gp, FloatArray &normalToCrackPlane, ElementCharSizeMethod method)
virtual double giveParentElSize () const
virtual void updateBeforeNonlocalAverage (TimeStep *tStep)
virtual bool computeLocalCoordinates (FloatArray &answer, const FloatArray &gcoords)
virtual int giveLocalCoordinateSystem (FloatMatrix &answer)
virtual void giveLocalCoordinateSystemVector (InternalStateType isttype, FloatArray &answer)
virtual void computeMidPlaneNormal (FloatArray &answer, const GaussPoint *gp)
virtual int adaptiveMap (Domain *oldd, TimeStep *tStep)
virtual int mapStateVariables (Domain &iOldDom, const TimeStep &iTStep)
virtual int adaptiveUpdate (TimeStep *tStep)
virtual int adaptiveFinish (TimeStep *tStep)
void updateLocalNumbering (EntityRenumberingFunctor &f) override
template<class T>
void ipEvaluator (T *src, void(T ::*f)(GaussPoint *gp))
 Integration point evaluator, loops over receiver IP's and calls given function (passed as f parameter) on them. The IP is parameter to function f.
template<class T, class S>
void ipEvaluator (T *src, void(T ::*f)(GaussPoint *, S &), S &_val)
 Integration point evaluator, loops over receiver IP's and calls given function (passed as f parameter) on them. The IP is parameter to function f as well as additional array.
virtual void drawYourself (oofegGraphicContext &gc, TimeStep *tStep)
virtual void drawAnnotation (oofegGraphicContext &gc, TimeStep *tStep)
virtual void drawRawGeometry (oofegGraphicContext &gc, TimeStep *tStep)
virtual void drawDeformedGeometry (oofegGraphicContext &gc, TimeStep *tStep, UnknownType)
virtual void drawScalar (oofegGraphicContext &gc, TimeStep *tStep)
virtual void drawSpecial (oofegGraphicContext &gc, TimeStep *tStep)
virtual void giveLocalIntVarMaxMin (oofegGraphicContext &gc, TimeStep *tStep, double &emin, double &emax)
virtual int giveInternalStateAtNode (FloatArray &answer, InternalStateType type, InternalStateMode mode, int node, TimeStep *tStep)
virtual int giveInternalStateAtSide (FloatArray &answer, InternalStateType type, InternalStateMode mode, int side, TimeStep *tStep)
virtual void showSparseMtrxStructure (CharType mtrx, oofegGraphicContext &gc, TimeStep *tStep)
 Shows sparse structure.
virtual void showExtendedSparseMtrxStructure (CharType mtrx, oofegGraphicContext &gc, TimeStep *tStep)
 Shows extended sparse structure (for example, due to nonlocal interactions for tangent stiffness).
int giveLabel () const
int giveGlobalNumber () const
void setGlobalNumber (int num)
elementParallelMode giveParallelMode () const
void setParallelMode (elementParallelMode _mode)
 Sets parallel mode of element.
virtual elementParallelMode giveKnotSpanParallelMode (int) const
int packUnknowns (DataStream &buff, TimeStep *tStep)
int unpackAndUpdateUnknowns (DataStream &buff, TimeStep *tStep)
int estimatePackSize (DataStream &buff)
const IntArraygivePartitionList () const
void setPartitionList (IntArray &pl)
virtual double predictRelativeComputationalCost ()
virtual double giveRelativeSelfComputationalCost ()
virtual double predictRelativeRedistributionCost ()
IntArraygiveBodyLoadArray ()
 Returns array containing load numbers of loads acting on element.
IntArraygiveBoundaryLoadArray ()
 Returns array containing load numbers of boundary loads acting on element.
void initializeFrom (InputRecord &ir, int priority) override
void initializeFinish () override
void postInitialize () override
 Performs post initialization steps.
void saveContext (DataStream &stream, ContextMode mode) override
void restoreContext (DataStream &stream, ContextMode mode) override
void printOutputAt (FILE *file, TimeStep *tStep) override
virtual const IntArray giveLocation ()
virtual void recalculateCoordinates (int nodeNumber, FloatArray &coords)
void setSharedEdgeID (int iedge, int globalID)
void setSharedSurfaceID (int isurf, int globalID)
const IntArraygiveSharedEdgeIDs () const
const IntArraygiveSharedSurfaceIDs () const
Public Member Functions inherited from oofem::FEMComponent
 FEMComponent (int n, Domain *d)
virtual ~FEMComponent ()=default
 Virtual destructor.
virtual const char * giveInputRecordName () const =0
DomaingiveDomain () const
virtual void setDomain (Domain *d)
int giveNumber () const
void setNumber (int num)
virtual void initializeFrom (InputRecord &ir)
virtual void printYourself ()
 Prints receiver state on stdout. Useful for debugging.
std::string errorInfo (const char *func) const
 Returns string for prepending output (used by error reporting macros).

Protected Member Functions

virtual void computeNmatrixAt (GaussPoint *gp, FloatMatrix &answer)=0
virtual void computeTransformationMatrixAt (GaussPoint *gp, FloatMatrix &answer)=0
virtual int giveNumberOfIPForMassMtrxIntegration ()
virtual int testCrossSectionExtension (CrossSectExtension ext)
int testElementExtension (ElementExtension ext) override
virtual void computeGaussPoints ()

Protected Attributes

FloatArray initialDisplacements
 Initial displacement vector, describes the initial nodal displacements when element has been casted.
bool nlGeometry = false
 Flag indicating if geometrical nonlinearities apply.
Protected Attributes inherited from oofem::Element
int numberOfDofMans
 Number of dofmanagers.
IntArray dofManArray
 Array containing dofmanager numbers.
int material
 Number of associated material.
int crossSection
 Number of associated cross section.
IntArray bodyLoadArray
IntArray boundaryLoadArray
std::vector< std ::unique_ptr< IntegrationRule > > integrationRulesArray
FloatMatrix elemLocalCS
 Transformation material matrix, used in orthotropic and anisotropic materials, global->local transformation.
int activityTimeFunction
 Element activity time function. If defined, nonzero value indicates active receiver, zero value inactive element.
int globalNumber
int numberOfGaussPoints
elementParallelMode parallel_mode
 Determines the parallel mode of the element.
IntArray partitions
IntArray globalEdgeIDs
IntArray globalSurfaceIDs
Protected Attributes inherited from oofem::FEMComponent
int number
 Component number.
Domaindomain
 Link to domain object, useful for communicating with other FEM components.

Additional Inherited Members

Static Public Attributes inherited from oofem::Element
static ParamKey IPK_Element_mat
static ParamKey IPK_Element_crosssect
static ParamKey IPK_Element_nodes
static ParamKey IPK_Element_bodyload
static ParamKey IPK_Element_boundaryload
static ParamKey IPK_Element_lcs
static ParamKey IPK_Element_partitions
static ParamKey IPK_Element_remote
static ParamKey IPK_Element_activityTimeFunction
static ParamKey IPK_Element_nip

Detailed Description

Abstract base class for all structural interface elements. It declares a common interface available to all derived elements. The implementation of these services is partly left to the derived classes, some general services are implemented here (but they can be overload by more efficient element implementations). The general implementation provided here is intended for both linear and nonlinear computations.

Definition at line 63 of file structuralinterfaceelement.h.

Constructor & Destructor Documentation

◆ StructuralInterfaceElement()

Member Function Documentation

◆ checkConsistency()

int oofem::StructuralInterfaceElement::checkConsistency ( void )
overridevirtual

Performs consistency check. This method is called at startup for all elements in particular domain. This method is intended to check data compatibility. Particular element types should test if compatible material and crossSection both with required capabilities are specified. Derived classes should provide their own analysis specific tests. Some printed input if incompatibility is found should be provided (error or warning member functions). Method can be also used to initialize some variables, since this is invoked after all domain components are instanciated.

Returns
Zero value if check fail, otherwise nonzero.

Reimplemented from oofem::Element.

Definition at line 281 of file structuralinterfaceelement.C.

References giveClassName(), oofem::Element::giveCrossSection(), giveInterfaceCrossSection(), OOFEM_WARNING, and testCrossSectionExtension().

◆ computeAreaAround()

◆ computeGlobalCoordinates()

int oofem::StructuralInterfaceElement::computeGlobalCoordinates ( FloatArray & answer,
const FloatArray & lcoords )
overridevirtual

Computes the global coordinates from given element's local coordinates.

Parameters
answerRequested global coordinates.
lcoordsLocal coordinates.
Returns
Nonzero if successful, zero otherwise.

Reimplemented from oofem::Element.

Definition at line 56 of file structuralinterfaceelement.C.

References oofem::FloatArray::add(), oofem::FEInterpolation::evalN(), oofem::Element::giveDofManager(), oofem::Element::giveInterpolation(), oofem::Element::giveNumberOfNodes(), N, oofem::FloatArray::resize(), and oofem::FloatArray::zero().

Referenced by oofem::IntElLine1::drawScalar(), and oofem::IntElLine2::drawScalar().

◆ computeNmatrixAt()

virtual void oofem::StructuralInterfaceElement::computeNmatrixAt ( GaussPoint * gp,
FloatMatrix & answer )
protectedpure virtual

Computes modified interpolation matrix (N) for the element which multiplied with the unknowns vector (u) produces the spatial jump.

Parameters
gpIntegration point for which answer is assembled.
answerInterpolation matrix evaluated at gp.

Implemented in oofem::IntElLine1, oofem::IntElLine1IntPen, oofem::IntElLine1PF, oofem::IntElLine1PhF, oofem::IntElLine2, oofem::IntElPoint, oofem::IntElSurfQuad1, and oofem::IntElSurfTr1.

Referenced by computeSpatialJump(), computeStiffnessMatrix(), oofem::StructuralInterfaceElementPhF::computeStiffnessMatrix_ud(), oofem::StructuralInterfaceElementPhF::computeStiffnessMatrix_uu(), giveInternalForcesVector(), and oofem::StructuralInterfaceElementPhF::giveInternalForcesVector_u().

◆ computeSpatialJump()

◆ computeStiffnessMatrix()

void oofem::StructuralInterfaceElement::computeStiffnessMatrix ( FloatMatrix & answer,
MatResponseMode rMode,
TimeStep * tStep )
virtual

Computes the stiffness/tangent matrix of receiver. Default implementation computes element stiffness using \( K=\int_{\Gamma} N^{\mathrm{T}} D N \mathrm{d}V \) formulae, where \( N \) is the element geometric matrix such that \( j = N a \) and \( D \) is the stiffness matrix of the interface material. Numerical integration procedure uses integrationRulesArray for numerical integration.

The geometrical matrix is obtained using computeNmatrixAt service and the constitutive matrix is obtained using computeConstitutiveMatrixAt service.

For higher numerical performance, only one half of stiffness matrix is computed and answer is then symmetrized. Therefore, if element matrix will be generally nonsymmetric, one must specialize this method. Finally, the result is transformed into global coordinate system (or nodal coordinate system, if it is defined).

Parameters
answerComputed stiffness matrix (symmetric).
rModeResponse mode.
tStepTime step.

Reimplemented in oofem::IntElLine1IntPen, oofem::IntElLine1PF, oofem::IntElLine2IntPen, and oofem::StructuralInterfaceElementPhF.

Definition at line 76 of file structuralinterfaceelement.C.

References oofem::FloatMatrix::beProductOf(), oofem::FloatMatrix::clear(), computeAreaAround(), computeNmatrixAt(), computeTransformationMatrixAt(), oofem::Element::giveCrossSection(), oofem::Element::giveDefaultIntegrationRulePtr(), giveStiffnessMatrix_dTdj(), giveStiffnessMatrix_Eng(), N, nlGeometry, OOFEM_ERROR, oofem::FloatMatrix::plusProductSymmUpper(), oofem::FloatMatrix::plusProductUnsym(), oofem::FloatMatrix::rotatedWith(), and oofem::FloatMatrix::symmetrized().

Referenced by giveCharacteristicMatrix().

◆ computeTraction()

◆ computeTransformationMatrixAt()

◆ giveCharacteristicMatrix()

void oofem::StructuralInterfaceElement::giveCharacteristicMatrix ( FloatMatrix & answer,
CharType type,
TimeStep * tStep )
overridevirtual

Computes characteristic matrix of receiver of requested type in given time step.

Parameters
answerRequested characteristic matrix (stiffness, tangent, ...). If element has no capability to compute requested type of characteristic matrix error function is invoked.
typeId of characteristic component requested.
tStepTime step when answer is computed.

Reimplemented from oofem::Element.

Definition at line 214 of file structuralinterfaceelement.C.

References oofem::__CharTypeToString(), computeStiffnessMatrix(), and OOFEM_ERROR.

◆ giveCharacteristicVector()

void oofem::StructuralInterfaceElement::giveCharacteristicVector ( FloatArray & answer,
CharType type,
ValueModeType mode,
TimeStep * tStep )
overridevirtual

Computes characteristic vector of receiver of requested type in given time step. If element has no capability to compute requested type of characteristic vector error function is invoked.

Parameters
answerRequested characteristic vector.
typeId of characteristic component requested.
modeDetermines mode of answer.
tStepTime step when answer is computed.

Reimplemented from oofem::Element.

Definition at line 232 of file structuralinterfaceelement.C.

References oofem::__CharTypeToString(), oofem::FloatArray::clear(), giveInternalForcesVector(), and OOFEM_ERROR.

◆ giveClassName()

const char * oofem::StructuralInterfaceElement::giveClassName ( ) const
inlineoverridevirtual
Returns
Class name of the receiver.

Reimplemented from oofem::Element.

Reimplemented in oofem::StructuralInterfaceElementPhF.

Definition at line 132 of file structuralinterfaceelement.h.

Referenced by checkConsistency().

◆ giveEngTraction()

void oofem::StructuralInterfaceElement::giveEngTraction ( FloatArray & answer,
GaussPoint * gp,
const FloatArray & jump,
TimeStep * tStep )
virtual
Todo
Should probably convert to 2nd PK traction to be consistent with continuum elements.
Todo
compute F properly

Reimplemented in oofem::IntElLine1, oofem::IntElLine1PF, oofem::IntElPoint, oofem::IntElSurfQuad1, and oofem::IntElSurfTr1.

Definition at line 312 of file structuralinterfaceelement.C.

References oofem::FloatMatrix::beUnitMatrix(), and giveFirstPKTraction().

Referenced by computeTraction().

◆ giveFirstPKTraction()

virtual void oofem::StructuralInterfaceElement::giveFirstPKTraction ( FloatArray & answer,
GaussPoint * gp,
const FloatArray & jump,
const FloatMatrix & F,
TimeStep * tStep )
inlinevirtual

Definition at line 141 of file structuralinterfaceelement.h.

References OOFEM_ERROR.

Referenced by computeTraction(), and giveEngTraction().

◆ giveGeometryType()

Element_Geometry_Type oofem::StructuralInterfaceElement::giveGeometryType ( ) const
inlineoverridevirtual

Returns the element geometry type. This information is assumed to be of general interest, but it is required only for some specialized tasks.

Returns
Geometry type of element.

Implements oofem::Element.

Definition at line 137 of file structuralinterfaceelement.h.

◆ giveInputRecord()

void oofem::StructuralInterfaceElement::giveInputRecord ( DynamicInputRecord & input)
overridevirtual

Setups the input record string of receiver.

Parameters
inputDynamic input record to be filled by receiver.

Reimplemented from oofem::Element.

Definition at line 299 of file structuralinterfaceelement.C.

◆ giveInterface()

Interface * oofem::StructuralInterfaceElement::giveInterface ( InterfaceType t)
inlineoverridevirtual

Interface requesting service.

See also
InterfaceType
Returns
Requested interface if implemented, otherwise NULL.

Reimplemented from oofem::FEMComponent.

Definition at line 122 of file structuralinterfaceelement.h.

◆ giveInterfaceCrossSection()

◆ giveInternalForcesVector()

void oofem::StructuralInterfaceElement::giveInternalForcesVector ( FloatArray & answer,
TimeStep * tStep,
int useUpdatedGpRecord = 0 )
virtual

Returns equivalent nodal forces vectors. Useful for nonlinear analysis. Default implementation computes result as \( F=\int_v B^{\mathrm{T}} \sigma \mathrm{d}V \), where \( \sigma \) is the real element stress vector obtained using computeStressVector service (if useUpdatedGpRecord=0) or (if useUpdatedGpRecord=1) from integration point status. The geometric matrix is obtained using computeBmatrixAt service. Integration is performed using default integration rule, which should produce always valid results, assuming that strains used for computation of stresses are valid.

Parameters
answerInternal nodal forces vector.
tStepTime step.
useUpdatedGpRecordIf equal to zero, the stresses in integration points are computed (slow but safe), else if nonzero the stresses are taken directly from integration point status (should be derived from StructuralMaterialStatus) (fast, but engineering model must ensure valid status data in each integration point).

Reimplemented in oofem::IntElLine1IntPen, oofem::IntElLine1PF, oofem::IntElLine2IntPen, and oofem::StructuralInterfaceElementPhF.

Definition at line 144 of file structuralinterfaceelement.C.

References oofem::FloatArray::beProductOf(), oofem::FloatArray::clear(), computeAreaAround(), computeNmatrixAt(), computeTraction(), oofem::Element::computeVectorOf(), oofem::Element::giveDefaultIntegrationRulePtr(), initialDisplacements, N, oofem::FloatArray::plusProduct(), and oofem::FloatArray::subtract().

Referenced by giveCharacteristicVector().

◆ giveIPValue()

int oofem::StructuralInterfaceElement::giveIPValue ( FloatArray & answer,
GaussPoint * gp,
InternalStateType type,
TimeStep * tStep )
overridevirtual

Returns the integration point corresponding value in full form.

Parameters
answerContain corresponding integration point value, zero sized if not available.
gpIntegration point to check.
typeDetermines the type of internal variable.
tStepTime step.
Returns
Nonzero if o.k, zero otherwise.
Todo
Which "error type" should be used? Why are there several? I don't see the point of this enum when there could be different function calls just as well (and different IST values)

Reimplemented from oofem::Element.

Definition at line 293 of file structuralinterfaceelement.C.

Referenced by oofem::IntElLine1::drawScalar(), oofem::IntElLine2::drawScalar(), oofem::IntElPoint::drawScalar(), and oofem::IntElLine1::NodalAveragingRecoveryMI_computeNodalValue().

◆ giveNumberOfIPForMassMtrxIntegration()

virtual int oofem::StructuralInterfaceElement::giveNumberOfIPForMassMtrxIntegration ( )
inlineprotectedvirtual

Return desired number of integration points for consistent mass matrix computation, if required.

Returns
Number of integration points for mass matrix.
Todo
not sure if we should allow these elements to have mass - JB

Definition at line 170 of file structuralinterfaceelement.h.

◆ giveStiffnessMatrix_dTdj()

virtual void oofem::StructuralInterfaceElement::giveStiffnessMatrix_dTdj ( FloatMatrix & answer,
MatResponseMode rMode,
IntegrationPoint * ip,
TimeStep * tStep )
inlinevirtual

◆ giveStiffnessMatrix_Eng()

void oofem::StructuralInterfaceElement::giveStiffnessMatrix_Eng ( FloatMatrix & answer,
MatResponseMode rMode,
IntegrationPoint * ip,
TimeStep * tStep )
virtual
Todo
dT1dj = d(F*T2)/dj = dF/dj*T2 + F*dT2/dj - should we assume dFdj = 0? Otherwise it will be very complex!

Reimplemented in oofem::IntElLine1, oofem::IntElLine1PF, oofem::IntElLine1PhF, oofem::IntElPoint, oofem::IntElSurfQuad1, and oofem::IntElSurfTr1.

Definition at line 325 of file structuralinterfaceelement.C.

References giveStiffnessMatrix_dTdj().

Referenced by computeStiffnessMatrix(), and oofem::StructuralInterfaceElementPhF::computeStiffnessMatrix_uu().

◆ testCrossSectionExtension()

virtual int oofem::StructuralInterfaceElement::testCrossSectionExtension ( CrossSectExtension ext)
inlineprotectedvirtual

Definition at line 172 of file structuralinterfaceelement.h.

References oofem::CS_StructuralInterfaceCapability.

Referenced by checkConsistency().

◆ testElementExtension()

int oofem::StructuralInterfaceElement::testElementExtension ( ElementExtension ext)
inlineoverrideprotectedvirtual

Tests if the element implements required extension. ElementExtension type defines the list of all available element extensions.

Parameters
extExtension to be tested.
Returns
Nonzero if extension supported.
See also
ElementExtension

Reimplemented from oofem::Element.

Definition at line 173 of file structuralinterfaceelement.h.

◆ updateInternalState()

void oofem::StructuralInterfaceElement::updateInternalState ( TimeStep * tStep)
overridevirtual

Updates element state after equilibrium in time step has been reached. Default implementation updates all integration rules defined by integrationRulesArray member variable. Doing this, all integration points and their material statuses are updated also. All temporary history variables, which now describe equilibrium state are copied into equilibrium ones. The existing internal state is used for update.

Parameters
tStepTime step for newly reached state.
See also
Material::updateYourself
IntegrationRule::updateYourself
GaussPoint::updateYourself
Element::updateInternalState

Reimplemented from oofem::Element.

Reimplemented in oofem::StructuralInterfaceElementPhF.

Definition at line 265 of file structuralinterfaceelement.C.

References computeSpatialJump(), computeTraction(), and oofem::Element::integrationRulesArray.

◆ updateYourself()

void oofem::StructuralInterfaceElement::updateYourself ( TimeStep * tStep)
overridevirtual

Updates element state after equilibrium in time step has been reached. Default implementation updates all integration rules defined by integrationRulesArray member variable. Doing this, all integration points and their material statuses are updated also. All temporary history variables, which now describe equilibrium state are copied into equilibrium ones. The existing internal state is used for update.

Parameters
tStepTime step for newly reached state.
See also
Material::updateYourself
IntegrationRule::updateYourself
GaussPoint::updateYourself
Element::updateInternalState

Reimplemented from oofem::Element.

Reimplemented in oofem::StructuralInterfaceElementPhF.

Definition at line 253 of file structuralinterfaceelement.C.

References oofem::Element::activityTimeFunction, oofem::Element::computeVectorOf(), initialDisplacements, and oofem::Element::isActivated().

Member Data Documentation

◆ initialDisplacements

FloatArray oofem::StructuralInterfaceElement::initialDisplacements
protected

◆ nlGeometry

bool oofem::StructuralInterfaceElement::nlGeometry = false
protected

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

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011