OOFEM 3.0
Loading...
Searching...
No Matches
linkslip.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 program is free software; you can redistribute it and/or modify
21 * it under the terms of the GNU General Public License as published by
22 * the Free Software Foundation; either version 2 of the License, or
23 * (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
28 * GNU General Public License for more details.
29 *
30 * You should have received a copy of the GNU General Public License
31 * along with this program; if not, write to the Free Software
32 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
33 */
34
35#ifndef linkslip_h
36#define linkslip_h
37
40
42
43#define _IFT_LinkSlip_Name "linkslip"
44#define _IFT_LinkSlip_talpha "talpha"
45#define _IFT_LinkSlip_kn "kn"
46#define _IFT_LinkSlip_kl "kl"
47#define _IFT_LinkSlip_type "type"
48#define _IFT_LinkSlip_t0 "t0"
49#define _IFT_LinkSlip_s1 "s1"
50#define _IFT_LinkSlip_s2 "s2"
51#define _IFT_LinkSlip_s3 "s3"
52#define _IFT_LinkSlip_tf "tf"
53#define _IFT_LinkSlip_alpha "alpha"
55
56namespace oofem {
57
67
68
70{
71protected:
72
73 double kappa = 0;
74
75 double tempKappa = 0;
76
77public:
78
81
82 double giveKappa(){ return this->kappa; }
83
84 void letTempKappaBe(const double &v)
85 { this->tempKappa = v; }
86
87 void printOutputAt(FILE *file, TimeStep *tStep) const override;
88
89 const char *giveClassName() const override { return "LinkSlipStatus"; }
90
91 void initTempStatus() override;
92
93 void updateYourself(TimeStep *) override;
94
95 void saveContext(DataStream &stream, ContextMode mode) override;
96
97 void restoreContext(DataStream &stream, ContextMode mode) override;
98};
99
104 //
105{
106protected:
107
109 double kNormal = 0.;
110
112 double kLateral = 0.;
113
114 int type = 0;
115
117 double tauMax = 0., tauFinal = 0.;
118
119 double s1 = 0., s2 = 0., s3 = 0.;
120
121 double alpha = 0.;
122
123public:
124
125 LinkSlip(int n, Domain *d);
126
127 bool hasAnalyticalTangentStiffness() const override { return true; }
128
129 const char *giveInputRecordName() const override { return _IFT_LinkSlip_Name; }
130 const char *giveClassName() const override { return "LinkSlip"; }
131
132 void initializeFrom(InputRecord &ir) override;
133
134 // virtual void computeStressIndependentStrainVector(FloatArray &answer, GaussPoint *gp, TimeStep *stepN, ValueModeType mode);
135
136 // virtual void giveThermalDilatationVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep); // unused for interface materials
137
138
139 bool isCharacteristicMtrxSymmetric(MatResponseMode rMode) const override { return false; }
140
141 double evaluateBondStress(const double kappa) const;
142
143 FloatArrayF<3> giveEngTraction_3d(const FloatArrayF<3> &jump, GaussPoint *gp, TimeStep *tStep) const override;
144
145 FloatMatrixF<3,3> give3dStiffnessMatrix_Eng(MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const override;
146
148
149
150 std::unique_ptr<MaterialStatus> CreateStatus(GaussPoint *gp) const override;
151
152 int giveIPValue(FloatArray &answer,
153 GaussPoint *gp,
155 TimeStep *atTime) override;
156};
157} // end namespace oofem
158
159#endif
void updateYourself(TimeStep *) override
Definition linkslip.C:262
void saveContext(DataStream &stream, ContextMode mode) override
Definition linkslip.C:236
void letTempKappaBe(const double &v)
Definition linkslip.h:84
const char * giveClassName() const override
Definition linkslip.h:89
void initTempStatus() override
Definition linkslip.C:205
LinkSlipStatus(GaussPoint *g)
Constructor.
Definition linkslip.C:199
void restoreContext(DataStream &stream, ContextMode mode) override
Definition linkslip.C:251
void printOutputAt(FILE *file, TimeStep *tStep) const override
Print receiver's output to given stream.
Definition linkslip.C:217
const char * giveInputRecordName() const override
Definition linkslip.h:129
FloatArrayF< 3 > giveEngTraction_3d(const FloatArrayF< 3 > &jump, GaussPoint *gp, TimeStep *tStep) const override
Definition linkslip.C:149
double tauFinal
Definition linkslip.h:117
double kLateral
Lateral modulus.
Definition linkslip.h:112
double evaluateBondStress(const double kappa) const
Definition linkslip.C:114
FloatMatrixF< 3, 3 > give3dStiffnessMatrix_Eng(MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const override
Definition linkslip.C:194
bool hasAnalyticalTangentStiffness() const override
Definition linkslip.h:127
int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *atTime) override
Definition linkslip.C:270
LinkSlip(int n, Domain *d)
constructor which creates a dummy material without a status and without random extension interface
Definition linkslip.C:63
void initializeFrom(InputRecord &ir) override
Definition linkslip.C:69
double tauMax
Strength for slip component.
Definition linkslip.h:117
double kNormal
Normal modulus.
Definition linkslip.h:109
std::unique_ptr< MaterialStatus > CreateStatus(GaussPoint *gp) const override
Definition linkslip.C:108
bool isCharacteristicMtrxSymmetric(MatResponseMode rMode) const override
Definition linkslip.h:139
const char * giveClassName() const override
Definition linkslip.h:130
Interface * giveInterface(InterfaceType) override
Definition linkslip.C:188
StructuralInterfaceMaterialStatus(GaussPoint *g)
Constructor. Creates new StructuralInterfaceMaterialStatus with number n, belonging to domain d and I...
#define _IFT_LinkSlip_Name
Definition linkslip.h:43
long ContextMode
Definition contextmode.h:43

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