OOFEM 3.0
Loading...
Searching...
No Matches
structuralinterfaceelement.h
Go to the documentation of this file.
1/*
2 *
3 * ##### ##### ###### ###### ### ###
4 * ## ## ## ## ## ## ## ### ##
5 * ## ## ## ## #### #### ## # ##
6 * ## ## ## ## ## ## ## ##
7 * ## ## ## ## ## ## ## ##
8 * ##### ##### ## ###### ## ##
9 *
10 *
11 * OOFEM : Object Oriented Finite Element Code
12 *
13 * Copyright (C) 1993 - 2025 Borek Patzak
14 *
15 *
16 *
17 * Czech Technical University, Faculty of Civil Engineering,
18 * Department of Structural Mechanics, 166 29 Prague, Czech Republic
19 *
20 * This library is free software; you can redistribute it and/or
21 * modify it under the terms of the GNU Lesser General Public
22 * License as published by the Free Software Foundation; either
23 * version 2.1 of the License, or (at your option) any later version.
24 *
25 * This program is distributed in the hope that it will be useful,
26 * but WITHOUT ANY WARRANTY; without even the implied warranty of
27 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
28 * Lesser General Public License for more details.
29 *
30 * You should have received a copy of the GNU Lesser General Public
31 * License along with this library; if not, write to the Free Software
32 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
33 */
34
35#ifndef structuralinterfaceelement_h
36#define structuralinterfaceelement_h
37
39#include "element.h"
40#include "floatmatrix.h"
41#include "function.h"
42#include "matresponsemode.h"
43#include "valuemodetype.h"
44#include "integrationdomain.h"
45#include "dofmantransftype.h"
46
47namespace oofem {
48class TimeStep;
49class Node;
51class GaussPoint;
52class IntArray;
53class FEInterpolation;
54
55
64{
65protected:
69 bool nlGeometry = false;
70
71public:
78
79 int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords) override;
80
81 void giveCharacteristicMatrix(FloatMatrix &answer, CharType, TimeStep *tStep) override;
82 void giveCharacteristicVector(FloatArray &answer, CharType type, ValueModeType mode, TimeStep *tStep) override;
83
101 virtual void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep);
102
117 virtual void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord = 0);
118 virtual void computeTraction(FloatArray &traction, IntegrationPoint *ip, const FloatArray &jump, TimeStep *tStep);
119 virtual void computeSpatialJump(FloatArray &answer, GaussPoint *gp, TimeStep *tStep);
120 int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override;
121
122 Interface *giveInterface(InterfaceType) override { return nullptr; }
123
125
126 // Overloaded methods.
127 void updateInternalState(TimeStep *tStep) override;
128 void updateYourself(TimeStep *tStep) override;
129 int checkConsistency() override;
130
131 void giveInputRecord(DynamicInputRecord &input) override;
132 const char *giveClassName() const override { return "StructuralInterfaceElement"; }
133
135 virtual double computeAreaAround(GaussPoint *gp) = 0;
136
137 Element_Geometry_Type giveGeometryType() const override { return EGT_unknown; }
138
139 //virtual methods that should be overloaded by the elements
140 virtual void giveEngTraction(FloatArray &answer, GaussPoint *gp, const FloatArray &jump, TimeStep *tStep);
141 virtual void giveFirstPKTraction(FloatArray &answer, GaussPoint *gp, const FloatArray &jump, const FloatMatrix &F, TimeStep *tStep)
142 {
143 OOFEM_ERROR("not implemented for the current element");
144 }
145
146 virtual void giveStiffnessMatrix_Eng(FloatMatrix &answer, MatResponseMode rMode, IntegrationPoint *ip, TimeStep *tStep);
147 virtual void giveStiffnessMatrix_dTdj(FloatMatrix &answer, MatResponseMode rMode, IntegrationPoint *ip, TimeStep *tStep)
148 {
149 OOFEM_ERROR("not implemented for the current element");
150 }
151
152protected:
159 virtual void computeNmatrixAt(GaussPoint *gp, FloatMatrix &answer) = 0;
160
161 // transformation matrix from local to global
163
170 virtual int giveNumberOfIPForMassMtrxIntegration() { return 0; }
171
172 virtual int testCrossSectionExtension(CrossSectExtension ext) { return ( ( ext == CS_StructuralInterfaceCapability ) ? 1 : 0 ); }
173 int testElementExtension(ElementExtension ext) override { return 0; }
174};
175} // end namespace oofem
176#endif // structuralinterfaceelement_h
Element(int n, Domain *aDomain)
Definition element.C:86
FloatArray initialDisplacements
Initial displacement vector, describes the initial nodal displacements when element has been casted.
bool nlGeometry
Flag indicating if geometrical nonlinearities apply.
virtual void computeTransformationMatrixAt(GaussPoint *gp, FloatMatrix &answer)=0
void giveCharacteristicMatrix(FloatMatrix &answer, CharType, TimeStep *tStep) override
virtual void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep)
StructuralInterfaceCrossSection * giveInterfaceCrossSection()
void updateYourself(TimeStep *tStep) override
virtual void computeSpatialJump(FloatArray &answer, GaussPoint *gp, TimeStep *tStep)
Interface * giveInterface(InterfaceType) override
virtual double computeAreaAround(GaussPoint *gp)=0
void giveInputRecord(DynamicInputRecord &input) override
int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
virtual void giveStiffnessMatrix_Eng(FloatMatrix &answer, MatResponseMode rMode, IntegrationPoint *ip, TimeStep *tStep)
int testElementExtension(ElementExtension ext) override
virtual void giveEngTraction(FloatArray &answer, GaussPoint *gp, const FloatArray &jump, TimeStep *tStep)
int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords) override
const char * giveClassName() const override
void giveCharacteristicVector(FloatArray &answer, CharType type, ValueModeType mode, TimeStep *tStep) override
virtual void giveStiffnessMatrix_dTdj(FloatMatrix &answer, MatResponseMode rMode, IntegrationPoint *ip, TimeStep *tStep)
Element_Geometry_Type giveGeometryType() const override
void updateInternalState(TimeStep *tStep) override
virtual void computeNmatrixAt(GaussPoint *gp, FloatMatrix &answer)=0
virtual void computeTraction(FloatArray &traction, IntegrationPoint *ip, const FloatArray &jump, TimeStep *tStep)
virtual void giveFirstPKTraction(FloatArray &answer, GaussPoint *gp, const FloatArray &jump, const FloatMatrix &F, TimeStep *tStep)
virtual int testCrossSectionExtension(CrossSectExtension ext)
virtual void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord=0)
#define OOFEM_ERROR(...)
Definition error.h:79
CrossSectExtension
Type representing cross section extension for run time testing.
@ CS_StructuralInterfaceCapability
Structural interface capability.
GaussPoint IntegrationPoint
Definition gausspoint.h:272

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