OOFEM 3.0
Loading...
Searching...
No Matches
qdkt.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 qdkt_h
36#define qdkt_h
37
44
45#define _IFT_QDKTPlate_Name "qdktplate"
46
47namespace oofem {
48class FEI2dQuadLin;
49
68{
69protected:
72
73public:
74 QDKTPlate(int n, Domain *d);
75 virtual ~QDKTPlate() { }
76
77 FEInterpolation *giveInterpolation() const override;
79
80 MaterialMode giveMaterialMode() override { return _2dPlate; }
81 Element_Geometry_Type giveGeometryType() const override {return EGT_quad_1;}
82 int testElementExtension(ElementExtension ext) override { return ( ( ( ext == Element_EdgeLoadSupport ) || ( ext == Element_SurfaceLoadSupport ) ) ? 1 : 0 ); }
83
84protected:
85 void computeGaussPoints() override;
86 void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int = 1, int = ALL_STRAINS) override;
87 void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer) override;
88
89 void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override;
90 void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override;
91
92
93 virtual void giveNodeCoordinates(double &x1, double &x2, double &x3, double &x4,
94 double &y1, double &y2, double &y3, double &y4,
95 double &z1, double &z2, double &z3, double &z4);
96
97 void computeBodyLoadVectorAt(FloatArray &answer, Load *forLoad, TimeStep *tStep, ValueModeType mode) override;
98
103 void computeSurfaceNMatrix(FloatMatrix &answer, int boundaryID, const FloatArray &lcoords) override;
104 void computeSurfaceNMatrixAt(FloatMatrix &answer, int iSurf, GaussPoint *gp);
105 void giveSurfaceDofMapping(IntArray &answer, int iSurf) const override;
106 double computeSurfaceVolumeAround(GaussPoint *gp, int iSurf) override;
107 int computeLoadLSToLRotationMatrix(FloatMatrix &answer, int iSurf, GaussPoint *gp) override;
109
113 void giveEdgeDofMapping(IntArray &answer, int iEdge) const override;
114 double computeEdgeVolumeAround(GaussPoint *gp, int iEdge) override;
115 int computeLoadLEToLRotationMatrix(FloatMatrix &answer, int iEdge, GaussPoint *gp) override;
117
118public:
119 // definition & identification
120 const char *giveClassName() const override { return "QDKTPlate"; }
121 const char *giveInputRecordName() const override { return _IFT_QDKTPlate_Name; }
122 void initializeFrom(InputRecord &ir, int priority) override;
123
124 int computeNumberOfDofs() override { return 12; }
125 void giveDofManDofIDMask(int inode, IntArray &) const override;
126
127 void computeMidPlaneNormal(FloatArray &answer, const GaussPoint *gp) override;
128
129 double giveCharacteristicLength(const FloatArray &normalToCrackPlane) override;
130 double computeVolumeAround(GaussPoint *gp) override;
131
133
134 bool computeLocalCoordinates(FloatArray &answer, const FloatArray &gcoords) override;
135 int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override;
136
138 void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap) override;
141
142 // layered cross section support functions
143 void computeStrainVectorInLayer(FloatArray &answer, const FloatArray &masterGpStrain,
144 GaussPoint *masterGp, GaussPoint *slaveGp, TimeStep *tStep) override;
145
146#ifdef __OOFEG
147 void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override;
148 void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType type) override;
149 void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override;
150#endif
151};
152} // end namespace oofem
153#endif // qdkt_h
int numberOfGaussPoints
Definition element.h:175
void giveEdgeDofMapping(IntArray &answer, int iEdge) const override
Definition qdkt.C:590
void computeSurfaceNMatrixAt(FloatMatrix &answer, int iSurf, GaussPoint *gp)
Definition qdkt.C:646
void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override
Definition qdkt.C:310
int SPRNodalRecoveryMI_giveNumberOfIP() override
Definition qdkt.h:139
void giveSurfaceDofMapping(IntArray &answer, int iSurf) const override
Definition qdkt.C:660
FEInterpolation * giveInterpolation() const override
Definition qdkt.C:72
Element_Geometry_Type giveGeometryType() const override
Definition qdkt.h:81
void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override
Definition qdkt.C:769
virtual ~QDKTPlate()
Definition qdkt.h:75
bool computeLocalCoordinates(FloatArray &answer, const FloatArray &gcoords) override
Definition qdkt.C:453
void giveDofManDofIDMask(int inode, IntArray &) const override
Definition qdkt.C:351
int computeLoadLSToLRotationMatrix(FloatMatrix &answer, int iSurf, GaussPoint *gp) override
Definition qdkt.C:682
static FEI2dQuadLin interp_lin
Element geometry approximation.
Definition qdkt.h:71
void initializeFrom(InputRecord &ir, int priority) override
Definition qdkt.C:344
const char * giveInputRecordName() const override
Definition qdkt.h:121
virtual void giveNodeCoordinates(double &x1, double &x2, double &x3, double &x4, double &y1, double &y2, double &y3, double &y4, double &z1, double &z2, double &z3, double &z4)
Definition qdkt.C:317
double computeEdgeVolumeAround(GaussPoint *gp, int iEdge) override
Definition qdkt.C:606
void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType type) override
Definition qdkt.C:731
int computeNumberOfDofs() override
Definition qdkt.h:124
void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int=1, int=ALL_STRAINS) override
Definition qdkt.C:94
void computeBodyLoadVectorAt(FloatArray &answer, Load *forLoad, TimeStep *tStep, ValueModeType mode) override
Definition qdkt.C:411
int testElementExtension(ElementExtension ext) override
Definition qdkt.h:82
const char * giveClassName() const override
Definition qdkt.h:120
double computeSurfaceVolumeAround(GaussPoint *gp, int iSurf) override
Definition qdkt.C:675
int computeLoadLEToLRotationMatrix(FloatMatrix &answer, int iEdge, GaussPoint *gp) override
Definition qdkt.C:614
void computeSurfaceNMatrix(FloatMatrix &answer, int boundaryID, const FloatArray &lcoords) override
Definition qdkt.C:652
SPRPatchType SPRNodalRecoveryMI_givePatchType() override
Definition qdkt.C:558
MaterialMode giveMaterialMode() override
Definition qdkt.h:80
void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer) override
Definition qdkt.C:286
double giveCharacteristicLength(const FloatArray &normalToCrackPlane) override
Definition qdkt.C:371
void computeStrainVectorInLayer(FloatArray &answer, const FloatArray &masterGpStrain, GaussPoint *masterGp, GaussPoint *slaveGp, TimeStep *tStep) override
Definition qdkt.C:568
void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap) override
Definition qdkt.C:543
double computeVolumeAround(GaussPoint *gp) override
Definition qdkt.C:382
QDKTPlate(int n, Domain *d)
Definition qdkt.C:60
void computeGaussPoints() override
Definition qdkt.C:83
void computeMidPlaneNormal(FloatArray &answer, const GaussPoint *gp) override
Definition qdkt.C:358
void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override
Definition qdkt.C:693
void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override
Definition qdkt.C:303
int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
Definition qdkt.C:495
void SPRNodalRecoveryMI_giveSPRAssemblyPoints(IntArray &pap) override
Definition qdkt.C:532
Interface * giveInterface(InterfaceType it) override
Definition qdkt.C:394
StructuralElement(int n, Domain *d)
ZZErrorEstimatorInterface(Element *element)
Constructor.
ZZNodalRecoveryModelInterface(Element *element)
Constructor.
@ Element_EdgeLoadSupport
Element extension for edge loads.
@ Element_SurfaceLoadSupport
Element extension for surface loads.
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
#define _IFT_QDKTPlate_Name
Definition qdkt.h:45
#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