OOFEM 3.0
Loading...
Searching...
No Matches
tr_shell11.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 tr_shell11_h
36#define tr_shell11_h
37
45#include "spatiallocalizer.h"
46#include "fei2dtrlin.h"
47#include <memory>
48
49#define _IFT_TR_SHELL11_Name "tr_shell11"
50
51namespace oofem {
52
60{
61protected:
63 double area;
66public:
68 TR_SHELL11(int n, Domain * d);
70 virtual ~TR_SHELL11() {}
71
72 FEInterpolation *giveInterpolation() const override { return &interp_lin; }
73
74 int computeNumberOfDofs() override { return 18; }
75 void giveDofManDofIDMask(int inode, IntArray &answer) const override;
76 // definition & identification
77 const char *giveInputRecordName() const override { return _IFT_TR_SHELL11_Name; }
78 const char *giveClassName() const override { return "TR_SHELL11"; }
79 void initializeFrom(InputRecord &ir, int priority) override;
80
81 void computeGaussPoints() override;
82 void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int = 1, int = ALL_STRAINS) override;
83 void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer) override;
84
85 void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override;
86 void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override;
87
88 double giveArea();
89
90
91
93 bool computeGtoLRotationMatrix(FloatMatrix &answer) override;
94 void giveLocalCoordinates(FloatArray &answer, const FloatArray &global);
96
97 void giveCharacteristicTensor(FloatMatrix &answer, CharTensor type, GaussPoint *gp, TimeStep *tStep);
98 int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override;
99 int computeLoadGToLRotationMtrx(FloatMatrix &answer) override;
100 void computeBodyLoadVectorAt(FloatArray &answer, Load *forLoad, TimeStep *tStep, ValueModeType mode) override;
101
102 void computeSurfaceNMatrixAt(FloatMatrix &answer, int iSurf, GaussPoint *gp);
103 void giveSurfaceDofMapping(IntArray &answer, int iSurf) const override;
104 double computeSurfaceVolumeAround(GaussPoint *gp, int iSurf) override;
105 int computeLoadLSToLRotationMatrix(FloatMatrix &answer, int iSurf, GaussPoint *gp) override;
106
107 double computeVolumeAround(GaussPoint *gp) override;
108 double giveCharacteristicLength(const FloatArray &normalToCrackPlane) override;
109
110 void printOutputAt(FILE *file, TimeStep *tStep) override;
111
112 Element_Geometry_Type giveGeometryType() const override { return EGT_triangle_1; }
114 MaterialMode giveMaterialMode() override { return _3dShellRot; }
115
117
119 InternalStateType type, TimeStep *tStep) override;
120
122 void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap) override;
123 int SPRNodalRecoveryMI_giveNumberOfIP() override { return 4; }
125
126
127 // layered cross section support functions
128 void computeStrainVectorInLayer(FloatArray &answer, const FloatArray &masterGpStrain,
129 GaussPoint *masterGp, GaussPoint *slaveGp, TimeStep *tStep) override;
130
131
132protected:
133 FloatArray GiveDerivativeUX(const FloatArray &lCoords);
134 FloatArray GiveDerivativeVX(const FloatArray &lCoords);
135 FloatArray GiveDerivativeUY(const FloatArray &lCoords);
136 FloatArray GiveDerivativeVY(const FloatArray &lCoords);
138};
139}// end namespace oofem
140#endif
SpatialLocalizerInterface(Element *element)
StructuralElement(int n, Domain *d)
void computeStrainVectorInLayer(FloatArray &answer, const FloatArray &masterGpStrain, GaussPoint *masterGp, GaussPoint *slaveGp, TimeStep *tStep) override
Definition tr_shell11.C:977
integrationDomain giveIntegrationDomain() const override
Definition tr_shell11.h:113
double giveCharacteristicLength(const FloatArray &normalToCrackPlane) override
static FEI2dTrLin interp_lin
Definition tr_shell11.h:62
Element_Geometry_Type giveGeometryType() const override
Definition tr_shell11.h:112
FloatArray GiveDerivativeUY(const FloatArray &lCoords)
Definition tr_shell11.C:153
const FloatMatrix * computeGtoLRotationMatrix()
Definition tr_shell11.C:554
void giveNodeCoordinates(FloatArray &x, FloatArray &y)
Definition tr_shell11.C:506
void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) override
Definition tr_shell11.C:540
virtual ~TR_SHELL11()
Destructor.
Definition tr_shell11.h:70
FloatArray GiveDerivativeVY(const FloatArray &lCoords)
Definition tr_shell11.C:194
void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int=1, int=ALL_STRAINS) override
Definition tr_shell11.C:276
FEInterpolation * giveInterpolation() const override
Definition tr_shell11.h:72
void giveDofManDofIDMask(int inode, IntArray &answer) const override
Definition tr_shell11.C:533
void SPRNodalRecoveryMI_giveSPRAssemblyPoints(IntArray &pap) override
Definition tr_shell11.C:943
int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
Definition tr_shell11.C:695
SPRPatchType SPRNodalRecoveryMI_givePatchType() override
Definition tr_shell11.C:967
void giveLocalCoordinates(FloatArray &answer, const FloatArray &global)
Definition tr_shell11.C:469
int computeLoadLSToLRotationMatrix(FloatMatrix &answer, int iSurf, GaussPoint *gp) override
Definition tr_shell11.C:849
void computeBodyLoadVectorAt(FloatArray &answer, Load *forLoad, TimeStep *tStep, ValueModeType mode) override
Definition tr_shell11.C:765
void giveSurfaceDofMapping(IntArray &answer, int iSurf) const override
Definition tr_shell11.C:828
void giveCharacteristicTensor(FloatMatrix &answer, CharTensor type, GaussPoint *gp, TimeStep *tStep)
Definition tr_shell11.C:621
void computeGaussPoints() override
Definition tr_shell11.C:60
void printOutputAt(FILE *file, TimeStep *tStep) override
Definition tr_shell11.C:856
TR_SHELL11(int n, Domain *d)
Constructor.
Definition tr_shell11.C:51
FloatArray GiveDerivativeUX(const FloatArray &lCoords)
Definition tr_shell11.C:71
FloatMatrix GtoLRotationMatrix
Definition tr_shell11.h:65
double computeSurfaceVolumeAround(GaussPoint *gp, int iSurf) override
Definition tr_shell11.C:842
void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override
Definition tr_shell11.C:547
void initializeFrom(InputRecord &ir, int priority) override
Definition tr_shell11.C:903
void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap) override
Definition tr_shell11.C:953
void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer) override
Definition tr_shell11.C:362
double computeVolumeAround(GaussPoint *gp) override
Definition tr_shell11.C:491
int SPRNodalRecoveryMI_giveNumberOfIP() override
Definition tr_shell11.h:123
Interface * giveInterface(InterfaceType it) override
Definition tr_shell11.C:909
void NodalAveragingRecoveryMI_computeNodalValue(FloatArray &answer, int node, InternalStateType type, TimeStep *tStep) override
Definition tr_shell11.C:928
MaterialMode giveMaterialMode() override
Definition tr_shell11.h:114
FloatArray GivePitch()
Definition tr_shell11.C:234
void computeSurfaceNMatrixAt(FloatMatrix &answer, int iSurf, GaussPoint *gp)
Definition tr_shell11.C:822
const char * giveInputRecordName() const override
Definition tr_shell11.h:77
const char * giveClassName() const override
Definition tr_shell11.h:78
FloatArray GiveDerivativeVX(const FloatArray &lCoords)
Definition tr_shell11.C:112
int computeNumberOfDofs() override
Definition tr_shell11.h:74
int computeLoadGToLRotationMtrx(FloatMatrix &answer) override
Definition tr_shell11.C:742
ZZErrorEstimatorInterface(Element *element)
Constructor.
ZZNodalRecoveryModelInterface(Element *element)
Constructor.
#define ALL_STRAINS
#define _IFT_TR_SHELL11_Name
Definition tr_shell11.h:49

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