OOFEM 3.0
Loading...
Searching...
No Matches
intmatbilinczjansson.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 intmatbilinearczmaterialJansson_h
36#define intmatbilinearczmaterialJansson_h
37
40
42
43#define _IFT_IntMatBilinearCZJansson_Name "intmatbilinearczjansson"
44#define _IFT_IntMatBilinearCZJansson_kn "kn"
45#define _IFT_IntMatBilinearCZJansson_ks "ks"
46#define _IFT_IntMatBilinearCZJansson_knc "knc"
47#define _IFT_IntMatBilinearCZJansson_g1c "g1c"
48#define _IFT_IntMatBilinearCZJansson_g2c "g2c"
49#define _IFT_IntMatBilinearCZJansson_mu "mu"
50#define _IFT_IntMatBilinearCZJansson_gamma "gamma"
51#define _IFT_IntMatBilinearCZJansson_sigf "sigf"
52#define _IFT_IntMatBilinearCZJansson_semiexplicit "semiexplicit"
54
55namespace oofem {
60{
61protected:
62 // material jump
64 // temporary material jump
66
67 // damage variable
68 double damage = 0.;
69 // temporary damage value
70 double tempDamage = 0.;
71
72 // Effective Mandel traction
74 // Temporary effective Mandel traction
76
77 // Temporary inverse of deformation gradient
79
80 // Temporary array for coordinate transformation
82
83 // tempArrays for stiffness calculation
86
87 // indicator for davae development of preceding time step
88 bool tempDamageDev = false;
89 bool oldDamageDev = false;
90
91 // tangent stiffness from previous time step
94
95public:
98
99 void printOutputAt(FILE *file, TimeStep *tStep) const override;
100
101 const char *giveClassName() const override { return "IntMatBilinearCZJanssonStatus"; }
102
103 double giveDamage() const override { return damage; }
104 double giveTempDamage() const override { return tempDamage; }
105 bool giveOldDamageDev() const { return oldDamageDev; }
106
109
112
115 const FloatMatrixF<3,3> &giveTempIep() const { return Iep; }
116 const FloatArrayF<3> &giveTempAlphav() const { return alphav; }
117 const FloatMatrixF<3,3> &giveOlddTdJ() const { return old_dTdJ; }
118
119
120 void letTempDamageBe(double v) { tempDamage = v; }
122 void letTempMaterialJumpBe(const FloatArrayF<3> &v) { tempMaterialJump = std :: move(v); }
123 void letTempDamageDevBe(bool v) { tempDamageDev = v; }
124 void letOldDamageDevBe(bool v) { oldDamageDev = v; }
125
126 void letTempdTdJBe(const FloatMatrix &v) { temp_dTdJ = v; }
127
128 void letTempInverseDefGradBe(const FloatMatrixF<3,3> &v) { tempFInv = std :: move(v); }
129 void letTempRotationMatrix(const FloatMatrixF<3,3> &v) { tempRot = std :: move(v); }
130 void letTempIepBe(const FloatMatrixF<3,3> &v) { Iep = std :: move(v); }
131 void letTempAlphavBe(const FloatArrayF<3> &v) { alphav = std :: move(v); }
132
133 void initTempStatus() override;
134 void updateYourself(TimeStep *tStep) override;
135
136 //void saveContext(DataStream &stream, ContextMode mode) override;
137 //void restoreContext(DataStream &stream, ContextMode mode) override;
138};
139
140
154{
155protected:
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 bool mSemiExplicit = false; // If semi-explicit time integration should be used
167
168 int checkConsistency() override;
169 void give3dInterfaceMaterialStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode,
170 GaussPoint *gp, TimeStep *tStep);
171
172public:
174
175 const char *giveClassName() const override { return "IntMatBilinearCZJansson"; }
176 const char *giveInputRecordName() const override { return _IFT_IntMatBilinearCZJansson_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
181 bool hasAnalyticalTangentStiffness() const override { return true; }
182
183 void initializeFrom(InputRecord &ir) override;
184
185 FloatArray giveInterfaceStrength() override { return {this->sigf*this->gamma,this->sigf*this->gamma,this->sigf}; }
186
187 std::unique_ptr<MaterialStatus> CreateStatus(GaussPoint *gp) const override { return std::make_unique<IntMatBilinearCZJanssonStatus>(gp); }
188 void printYourself() override;
189};
190} // end namespace oofem
191#endif // isointerfacedamage01_h
const FloatMatrixF< 3, 3 > & giveTempInverseDefGrad() const
void letTempAlphavBe(const FloatArrayF< 3 > &v)
const FloatArrayF< 3 > & giveTempAlphav() const
const FloatMatrixF< 3, 3 > & giveTempRotationMatrix() const
void letTempInverseDefGradBe(const FloatMatrixF< 3, 3 > &v)
const FloatMatrixF< 3, 3 > & giveOlddTdJ() const
void letTempEffectiveMandelTractionBe(const FloatArrayF< 3 > &v)
const FloatArrayF< 3 > & giveTempMaterialJump() const
void letTempMaterialJumpBe(const FloatArrayF< 3 > &v)
const FloatArrayF< 3 > & giveTempEffectiveMandelTraction() const
void updateYourself(TimeStep *tStep) override
const char * giveClassName() const override
void printOutputAt(FILE *file, TimeStep *tStep) const override
Print receiver's output to given stream.
const FloatArrayF< 3 > & giveEffectiveMandelTraction() const
const FloatMatrixF< 3, 3 > & giveTempIep() const
IntMatBilinearCZJanssonStatus(GaussPoint *g)
Constructor.
const FloatArrayF< 3 > & giveOldMaterialJump() const
void letTempRotationMatrix(const FloatMatrixF< 3, 3 > &v)
void letTempIepBe(const FloatMatrixF< 3, 3 > &v)
std::unique_ptr< MaterialStatus > CreateStatus(GaussPoint *gp) const override
FloatMatrixF< 3, 3 > give3dStiffnessMatrix_dTdj(MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const override
FloatArrayF< 3 > giveFirstPKTraction_3d(const FloatArrayF< 3 > &jump, const FloatMatrixF< 3, 3 > &F, GaussPoint *gp, TimeStep *tStep) const override
const char * giveInputRecordName() const override
void printYourself() override
Prints receiver state on stdout. Useful for debugging.
void give3dInterfaceMaterialStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep)
FloatArray giveInterfaceStrength() override
bool hasAnalyticalTangentStiffness() const override
const char * giveClassName() const override
void initializeFrom(InputRecord &ir) override
StructuralInterfaceMaterialStatus(GaussPoint *g)
Constructor. Creates new StructuralInterfaceMaterialStatus with number n, belonging to domain d and I...
#define _IFT_IntMatBilinearCZJansson_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