OOFEM 3.0
Loading...
Searching...
No Matches
intmatbilinczfagerstrom.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 intmatbilinearczmaterialFagerstrom_h
36#define intmatbilinearczmaterialFagerstrom_h
37
40
42
43#define _IFT_IntMatBilinearCZFagerstrom_Name "intmatbilinearczfagerstrom"
44#define _IFT_IntMatBilinearCZFagerstrom_kn "kn"
45#define _IFT_IntMatBilinearCZFagerstrom_ks "ks"
46#define _IFT_IntMatBilinearCZFagerstrom_knc "knc"
47#define _IFT_IntMatBilinearCZFagerstrom_g1c "g1c"
48#define _IFT_IntMatBilinearCZFagerstrom_g2c "g2c"
49#define _IFT_IntMatBilinearCZFagerstrom_mu "mu"
50#define _IFT_IntMatBilinearCZFagerstrom_gamma "gamma"
51#define _IFT_IntMatBilinearCZFagerstrom_sigf "sigf"
53
54namespace oofem {
59{
60protected:
61 // material jump
63 // temporary material jump
65
66 // damage variable
67 double damage = 0.;
68 // temporary damage value
69 double tempDamage = 0.;
70
71 // Effective Mandel traction
73 // Temporary effective Mandel traction
75
76 // Temporary inverse of deformation gradient
78
79 // Temporary array for coordinate transformation
81
82 // tempArrays for stiffness calculation
85
86 // indicator for davae development of preceding time step
87 bool tempDamageDev = false;
88 bool oldDamageDev = false;
89
90 // tangent stiffness from previous time step
93
94public:
97
98 void printOutputAt(FILE *file, TimeStep *tStep) const override;
99
100 const char *giveClassName() const override { return "IntMatBilinearCZFagerstromStatus"; }
101
102 double giveDamage() const override { return damage; }
103 double giveTempDamage() const override { return tempDamage; }
104 bool giveOldDamageDev() const { return oldDamageDev; }
105
108
111
114 const FloatMatrixF<3,3> &giveTempIep() const { return Iep; }
115 const FloatArrayF<3> &giveTempAlphav() const { return alphav; }
116 const FloatMatrixF<3,3> &giveOlddTdJ() const { return old_dTdJ; }
117
118
119 void letTempDamageBe(double v) { tempDamage = v; }
120 void letTempDamageDevBe(bool v) { tempDamageDev = v; }
121 void letOldDamageDevBe(bool v) { oldDamageDev = v; }
124
126
129 void letTempIepBe(const FloatMatrixF<3,3> &v) { Iep = v; }
130 void letTempAlphavBe(const FloatArrayF<3> &v) { alphav = v; }
131
132 void initTempStatus() override;
133 void updateYourself(TimeStep *tStep) override;
134
135 //void saveContext(DataStream &stream, ContextMode mode) override;
136 //void restoreContext(DataStream &stream, ContextMode mode) override;
137};
138
139
153{
154protected:
156 double kn0 = 0.; // initial normal stiffness
157 double ks0 = 0.; // initial shear stiffness
158 double knc = 0.; // stiffness in compression
159 double GIc = 0.; // fracture energy, mode 1
160 double GIIc = 0.; // fracture energy, mode 1
161 double sigf = 0.; // max stress
162
163 double mu = 0.; // loading function parameter
164 double gamma = 0.; // loading function parameter
165
166
167 int checkConsistency() override;
168 void give3dInterfaceMaterialStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode,
169 GaussPoint *gp, TimeStep *tStep);
170
171public:
174
175 const char *giveClassName() const override { return "IntMatBilinearCZFagerstrom"; }
176 const char *giveInputRecordName() const override { return _IFT_IntMatBilinearCZFagerstrom_Name; }
177
178 FloatArrayF<3> giveFirstPKTraction_3d(const FloatArrayF<3> &jump, const FloatMatrixF<3,3> &F, GaussPoint *gp, TimeStep *tStep) const override;
179 FloatMatrixF<3,3> give3dStiffnessMatrix_dTdj(MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const override;
180
185 bool hasAnalyticalTangentStiffness() const override { return true; }
186
187 void initializeFrom(InputRecord &ir) override;
188 void giveInputRecord(DynamicInputRecord &input) override;
189
190 FloatArray giveInterfaceStrength() override { return {this->sigf*this->gamma,this->sigf*this->gamma,this->sigf}; }
191
192 std::unique_ptr<MaterialStatus> CreateStatus(GaussPoint *gp) const override { return std::make_unique<IntMatBilinearCZFagerstromStatus>(gp); }
193 void printYourself() override;
194};
195} // end namespace oofem
196#endif // isointerfacedamage01_h
void letTempInverseDefGradBe(const FloatMatrixF< 3, 3 > &v)
void letTempEffectiveMandelTractionBe(const FloatArrayF< 3 > &v)
const FloatArrayF< 3 > & giveEffectiveMandelTraction() const
void printOutputAt(FILE *file, TimeStep *tStep) const override
Print receiver's output to given stream.
void letTempdTdJBe(const FloatMatrixF< 3, 3 > &v)
const FloatArrayF< 3 > & giveTempAlphav() const
IntMatBilinearCZFagerstromStatus(GaussPoint *g)
Constructor.
const FloatMatrixF< 3, 3 > & giveTempRotationMatrix() const
const FloatArrayF< 3 > & giveTempEffectiveMandelTraction() const
const FloatMatrixF< 3, 3 > & giveOlddTdJ() const
const FloatArrayF< 3 > & giveTempMaterialJump() const
void letTempAlphavBe(const FloatArrayF< 3 > &v)
void updateYourself(TimeStep *tStep) override
const FloatMatrixF< 3, 3 > & giveTempInverseDefGrad() const
const FloatArrayF< 3 > & giveOldMaterialJump() const
void letTempMaterialJumpBe(const FloatArrayF< 3 > &v)
void letTempIepBe(const FloatMatrixF< 3, 3 > &v)
const FloatMatrixF< 3, 3 > & giveTempIep() const
void letTempRotationMatrix(const FloatMatrixF< 3, 3 > &v)
void give3dInterfaceMaterialStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep)
std::unique_ptr< MaterialStatus > CreateStatus(GaussPoint *gp) const override
bool hasAnalyticalTangentStiffness() const override
FloatMatrixF< 3, 3 > give3dStiffnessMatrix_dTdj(MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const override
IntMatBilinearCZFagerstrom(int n, Domain *d)
Constructor.
const char * giveClassName() const override
void printYourself() override
Prints receiver state on stdout. Useful for debugging.
const char * giveInputRecordName() const override
FloatArrayF< 3 > giveFirstPKTraction_3d(const FloatArrayF< 3 > &jump, const FloatMatrixF< 3, 3 > &F, GaussPoint *gp, TimeStep *tStep) const override
void initializeFrom(InputRecord &ir) override
void giveInputRecord(DynamicInputRecord &input) override
StructuralInterfaceMaterialStatus(GaussPoint *g)
Constructor. Creates new StructuralInterfaceMaterialStatus with number n, belonging to domain d and I...
#define _IFT_IntMatBilinearCZFagerstrom_Name

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