OOFEM 3.0
Loading...
Searching...
No Matches
structural2delement.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 structural2delement_h
36#define structural2delement_h
37
39#include "feinterpol2d.h"
40
41namespace oofem {
42class ParamKey;
49{
50protected:
60
62
64public:
70 Structural2DElement(int n, Domain *d);
72 virtual ~Structural2DElement();
73 void postInitialize() override;
74 int giveNumberOfNodes() const override;
79
80 int computeNumberOfDofs() override;
81 void giveDofManDofIDMask(int inode, IntArray &answer) const override;
82 double computeVolumeAround(GaussPoint *gp) override;
83
84 void initializeFrom(InputRecord &ir, int priority) override;
85
86 double giveCharacteristicLength(const FloatArray &normalToCrackPlane) override;
87
88protected:
89 void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int lowerIndx = 1, int upperIndx = ALL_STRAINS) override = 0;
90 void computeBHmatrixAt(GaussPoint *gp, FloatMatrix &answer) override = 0;
91 void computeGaussPoints() override;
92
93 void giveMaterialOrientationAt(FloatArray &x, FloatArray &y, const FloatArray &lcoords);
94
95 // Edge support
96 void giveEdgeDofMapping(IntArray &answer, int iEdge) const override;
97 double computeEdgeVolumeAround(GaussPoint *gp, int iEdge) override;
98 int computeLoadLEToLRotationMatrix(FloatMatrix &answer, int iEdge, GaussPoint *gp) override;
99 int testElementExtension(ElementExtension ext) override { return ( ( ext == Element_EdgeLoadSupport ) ? 1 : 0 ); }
100
101};
102
103
105{
106public:
107 PlaneStressElement(int n, Domain *d);
109 MaterialMode giveMaterialMode() override { return _PlaneStress; }
110 void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override;
111 void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override;
112 void computeConstitutiveMatrix_dPdF_At(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override;
113
114protected:
115 void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int lowerIndx = 1, int upperIndx = ALL_STRAINS) override;
116 void computeBHmatrixAt(GaussPoint *gp, FloatMatrix &answer) override;
117};
118
119
121{
122public:
123 PlaneStrainElement(int n, Domain *d);
125 MaterialMode giveMaterialMode() override { return _PlaneStrain; }
126 void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override;
127 void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override;
128 void computeConstitutiveMatrix_dPdF_At(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override;
129
130protected:
131 void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int lowerIndx = 1, int upperIndx = ALL_STRAINS) override;
132 void computeBHmatrixAt(GaussPoint *gp, FloatMatrix &answer) override;
133};
134
135
137{
138public:
139 AxisymElement(int n, Domain *d);
140 virtual ~AxisymElement() { }
141 MaterialMode giveMaterialMode() override { return _3dMat; }
142 void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override;
143 void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override;
144 void computeConstitutiveMatrix_dPdF_At(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override;
145
146 double giveCharacteristicLength(const FloatArray &crackToNormalPlane) override;
147 double computeVolumeAround(GaussPoint *gp) override;
148
149protected:
150 void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int lowerIndx = 1, int upperIndx = ALL_STRAINS) override;
151 void computeBHmatrixAt(GaussPoint *gp, FloatMatrix &answer) override;
152 void computeGaussPoints() override;
153 double computeEdgeVolumeAround(GaussPoint *gp, int iEdge) override;
154};
155} // end namespace oofem
156#endif // structural2delement_h
void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int lowerIndx=1, int upperIndx=ALL_STRAINS) override
MaterialMode giveMaterialMode() override
void computeGaussPoints() override
double giveCharacteristicLength(const FloatArray &crackToNormalPlane) override
void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override
double computeVolumeAround(GaussPoint *gp) override
double computeEdgeVolumeAround(GaussPoint *gp, int iEdge) override
AxisymElement(int n, Domain *d)
void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override
void computeConstitutiveMatrix_dPdF_At(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override
void computeBHmatrixAt(GaussPoint *gp, FloatMatrix &answer) override
NLStructuralElement(int n, Domain *d)
void computeConstitutiveMatrix_dPdF_At(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override
void computeBHmatrixAt(GaussPoint *gp, FloatMatrix &answer) override
MaterialMode giveMaterialMode() override
void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override
void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int lowerIndx=1, int upperIndx=ALL_STRAINS) override
PlaneStrainElement(int n, Domain *d)
void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override
PlaneStressElement(int n, Domain *d)
void computeConstitutiveMatrix_dPdF_At(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override
void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override
void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override
void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int lowerIndx=1, int upperIndx=ALL_STRAINS) override
MaterialMode giveMaterialMode() override
void computeBHmatrixAt(GaussPoint *gp, FloatMatrix &answer) override
virtual FEICellGeometry * giveCellGeometryWrapper()
void initializeFrom(InputRecord &ir, int priority) override
static ParamKey IPK_Structural2DElement_materialCoordinateSystem
[optional] Material coordinate system (local) for the element.
int testElementExtension(ElementExtension ext) override
void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int lowerIndx=1, int upperIndx=ALL_STRAINS) override=0
FEICellGeometry * cellGeometryWrapper
void giveDofManDofIDMask(int inode, IntArray &answer) const override
void giveMaterialOrientationAt(FloatArray &x, FloatArray &y, const FloatArray &lcoords)
int computeLoadLEToLRotationMatrix(FloatMatrix &answer, int iEdge, GaussPoint *gp) override
double computeEdgeVolumeAround(GaussPoint *gp, int iEdge) override
void giveEdgeDofMapping(IntArray &answer, int iEdge) const override
virtual ~Structural2DElement()
Destructor.
double computeVolumeAround(GaussPoint *gp) override
void postInitialize() override
Performs post initialization steps.
Structural2DElement(int n, Domain *d)
void computeBHmatrixAt(GaussPoint *gp, FloatMatrix &answer) override=0
int giveNumberOfNodes() const override
double giveCharacteristicLength(const FloatArray &normalToCrackPlane) override
@ Element_EdgeLoadSupport
Element extension for edge loads.
#define ALL_STRAINS

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