OOFEM 3.0
Loading...
Searching...
No Matches
bondceb.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 bondceb_h
36#define bondceb_h
37
40
42
43#define _IFT_BondCEBMaterial_Name "bondceb"
44#define _IFT_BondCEBMaterial_kn "kn"
45#define _IFT_BondCEBMaterial_ks "ks"
46#define _IFT_BondCEBMaterial_s1 "s1"
47#define _IFT_BondCEBMaterial_s2 "s2"
48#define _IFT_BondCEBMaterial_s3 "s3"
49#define _IFT_BondCEBMaterial_al "al"
50#define _IFT_BondCEBMaterial_taumax "taumax"
51#define _IFT_BondCEBMaterial_tauf "tauf"
53
54namespace oofem {
55
60{
61protected:
63 double kappa = 0.;
65 double tempKappa = 0.;
66
67public:
70
71 void printOutputAt(FILE *file, TimeStep *tStep) const override;
72
74 double giveKappa() const { return kappa; }
76 double giveTempKappa() const { return tempKappa; }
78 void setTempKappa(double newKappa) { tempKappa = newKappa; }
79
80 const char *giveClassName() const override { return "BondCEBMaterialStatus"; }
81
82 void initTempStatus() override;
83 void updateYourself(TimeStep *tStep) override;
84
85 void saveContext(DataStream &stream, ContextMode mode) override;
86 void restoreContext(DataStream &stream, ContextMode mode) override;
87};
88
89
103{
104protected:
106 double kn = 0.;
108 double ks = 0.;
110 double taumax = 0.;
112 double tauf = 0.;
114 double s0 = 0., s1 = 0., s2 = 0., s3 = 0.;
116 double alpha = 0.4;
117
118public:
120 BondCEBMaterial(int n, Domain * d);
121
122 bool hasAnalyticalTangentStiffness() const override { return true; }
123
124 const char *giveInputRecordName() const override { return _IFT_BondCEBMaterial_Name; }
125 const char *giveClassName() const override { return "BondCEBMaterial"; }
126
127 FloatArrayF<3> giveEngTraction_3d(const FloatArrayF<3> &jump, GaussPoint *gp, TimeStep *tStep) const override;
128 FloatMatrixF<3,3> give3dStiffnessMatrix_Eng(MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const override;
129
130 int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override;
131
132 void initializeFrom(InputRecord &ir) override;
133 void giveInputRecord(DynamicInputRecord &input) override;
134
135 std::unique_ptr<MaterialStatus> CreateStatus(GaussPoint *gp) const override { return std::make_unique<BondCEBMaterialStatus>(gp); }
136
137protected:
138 double evaluateBondStress(const double kappa) const;
139};
140} // end namespace oofem
141#endif // bondceb_h
#define _IFT_BondCEBMaterial_Name
Definition bondceb.h:43
double kappa
Cumulative slip.
Definition bondceb.h:63
void saveContext(DataStream &stream, ContextMode mode) override
Definition bondceb.C:209
const char * giveClassName() const override
Definition bondceb.h:80
void updateYourself(TimeStep *tStep) override
Definition bondceb.C:201
double giveKappa() const
Returns the last equilibrated cumulative slip.
Definition bondceb.h:74
double tempKappa
Non-equilibrated cumulative slip.
Definition bondceb.h:65
void initTempStatus() override
Definition bondceb.C:194
void setTempKappa(double newKappa)
Sets the temporary cumulative slip to the given value.
Definition bondceb.h:78
void restoreContext(DataStream &stream, ContextMode mode) override
Definition bondceb.C:219
BondCEBMaterialStatus(GaussPoint *g)
Constructor.
Definition bondceb.C:176
double giveTempKappa() const
Returns the temporary cumulative slip.
Definition bondceb.h:76
void printOutputAt(FILE *file, TimeStep *tStep) const override
Print receiver's output to given stream.
Definition bondceb.C:181
int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
Definition bondceb.C:121
const char * giveInputRecordName() const override
Definition bondceb.h:124
double ks
Shear elastic stiffness.
Definition bondceb.h:108
FloatArrayF< 3 > giveEngTraction_3d(const FloatArrayF< 3 > &jump, GaussPoint *gp, TimeStep *tStep) const override
Definition bondceb.C:53
void initializeFrom(InputRecord &ir) override
Definition bondceb.C:134
double taumax
Shear strength.
Definition bondceb.h:110
double alpha
Exponent.
Definition bondceb.h:116
bool hasAnalyticalTangentStiffness() const override
Definition bondceb.h:122
BondCEBMaterial(int n, Domain *d)
Constructor.
Definition bondceb.C:48
const char * giveClassName() const override
Definition bondceb.h:125
double s0
Characteristic slip values.
Definition bondceb.h:114
FloatMatrixF< 3, 3 > give3dStiffnessMatrix_Eng(MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const override
Definition bondceb.C:99
void giveInputRecord(DynamicInputRecord &input) override
Definition bondceb.C:162
double tauf
Residual shear stress.
Definition bondceb.h:112
std::unique_ptr< MaterialStatus > CreateStatus(GaussPoint *gp) const override
Definition bondceb.h:135
double evaluateBondStress(const double kappa) const
Definition bondceb.C:106
double kn
Normal elastic stiffness.
Definition bondceb.h:106
StructuralInterfaceMaterialStatus(GaussPoint *g)
Constructor. Creates new StructuralInterfaceMaterialStatus with number n, belonging to domain d and I...
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