OOFEM 3.0
Loading...
Searching...
No Matches
mpsdammat.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// ***********************************************************************************
36// *** CLASS Damage extension of MPS model for creep and shrinakge of concrete ***
37// ***********************************************************************************
38
39#ifndef mpsdammat_h
40#define mpsdammat_h
41
42#include "mps.h"
43
44#define supplementary_info
45
47
48#define _IFT_MPSDamMaterial_Name "mpsdammat"
49//prediction of tensile strength and fracture energy accroding to fib MC2010
50#define _IFT_MPSDamMaterial_timedepfracturing "timedepfracturing"
51#define _IFT_MPSDamMaterial_fib_s "fib_s"
52
53#define _IFT_MPSDamMaterial_isotropic "isotropic"
54
55#define _IFT_MPSDamMaterial_maxOmega "maxomega"
56
57#define _IFT_MPSDamMaterial_damageLaw "damlaw"
58#define _IFT_MPSDamMaterial_checkSnapBack "checksnapback"
59#define _IFT_MPSDamMaterial_ft "ft"
60#define _IFT_MPSDamMaterial_gf "gf"
61
62#define _IFT_MPSDamMaterial_ft28 "ft28"
63#define _IFT_MPSDamMaterial_gf28 "gf28"
64
66
67namespace oofem {
68#define MPSDAMMAT_ITERATION_LIMIT 1.e-9
69
73{
74protected:
80 double kappa = 0.;
82 double tempKappa = 0.;
84 double damage = 0.;
86 double tempDamage = 0.;
87
89 double charLength = 0.;
92
94 double var_e0 = 0.;
96 double var_gf = 0.;
97
98#ifdef supplementary_info
99 double crackWidth = 0.;
101#endif
102
103public:
104 MPSDamMaterialStatus(GaussPoint *g, int nunits);
105
110
112 double giveKappa() const { return kappa; }
114 double giveTempKappa() const { return tempKappa; }
116 void setTempKappa(double newKappa) { tempKappa = newKappa; }
118 double giveDamage() const { return damage; }
120 double giveTempDamage() const { return tempDamage; }
122 void setTempDamage(double newDamage) { tempDamage = newDamage; }
123
125 double giveCharLength() const { return charLength; }
129 void giveCrackVector(FloatArray &answer) const;
132
133 void sete0(double e0) { var_e0 = e0; }
134 void setgf(double gf) { var_gf = gf; }
135 double givee0() const { return var_e0; }
136 double givegf() const { return var_gf; }
137
138 void printOutputAt(FILE *file, TimeStep *tStep) const override;
139 void initTempStatus() override;
140 void updateYourself(TimeStep *tStep) override;
141
142#ifdef supplementary_info
143 void setCrackWidth(double src) { crackWidth = src; }
144 double giveCrackWidth(void) { return crackWidth; }
147#endif
148
149 void saveContext(DataStream &stream, ContextMode mode) override;
150 void restoreContext(DataStream &stream, ContextMode mode) override;
151
152 // definition
153 const char *giveClassName() const override { return "MPSDamMaterialStatus"; }
154
155protected:
162 virtual void initDamaged(double kappa, FloatArray &totalStrainVector, GaussPoint *gp) { }
163};
164
165
181{
182protected:
183
184 bool timeDepFracturing = false;
185 double fib_s = 0.;
186 double fib_fcm28 = 0.;
187 bool isotropic = false;
188
190 mutable double E = -1.;
191
193 double maxOmega = 0.999999;
194
196 //double const_e0;
197
199 double ft = 0.;
200
207 double const_gf = 0.;
208
211
218
221
223 double ft28 = 0.;
225 double gf28 = 0.;
226
227public:
228 MPSDamMaterial(int n, Domain *d);
229
230 bool hasMaterialModeCapability(MaterialMode mode) const override;
231
232 const char *giveInputRecordName() const override { return _IFT_MPSDamMaterial_Name; }
233 const char *giveClassName() const override { return "MPSDamMaterial"; }
234
235 void initializeFrom(InputRecord &ir) override;
236
237 int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override;
238
239 void giveRealStressVector(FloatArray &answer, GaussPoint *gp, const FloatArray &reducedStrain, TimeStep *tStep) const override;
240
241 double givee0(GaussPoint *gp) const;
242 double givegf(GaussPoint *gp) const;
243
250 void initDamaged(double kappa, FloatArray &totalStrainVector, GaussPoint *gp, TimeStep *tStep) const;
251
252 void initDamagedFib(GaussPoint *gp, TimeStep *tStep) const;
253
254 //void computeEquivalentStrain(double &kappa, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep);
255
263 double computeDamage(double kappa, GaussPoint *gp) const;
264
274 double computeDamageForCohesiveCrack(double kappa, GaussPoint *gp) const;
275
276 std::unique_ptr<MaterialStatus> CreateStatus(GaussPoint *gp) const override;
277
278
279 virtual double computeTensileStrength(double equivalentTime) const;
280 virtual double computeFractureEnergy(double equivalentTime) const;
281
283 TimeStep *tStep) const override;
284
285 FloatMatrixF<3,3> givePlaneStressStiffMtrx(MatResponseMode mode, GaussPoint *gp,
286 TimeStep *tStep) const override;
287
288 FloatMatrixF<4,4> givePlaneStrainStiffMtrx(MatResponseMode mode, GaussPoint *gp,
289 TimeStep *tStep) const override;
290
291 FloatMatrixF<1,1> give1dStressStiffMtrx(MatResponseMode mode, GaussPoint *gp,
292 TimeStep *tStep) const override;
293};
294} // end namespace oofem
295#endif // mpsdammat_h
double length(const Vector &a)
Definition CSG.h:88
GaussPoint * gp
Associated integration point.
double var_e0
hydration-degree dependent equivalent strain at stress peak
Definition mpsdammat.h:94
void updateYourself(TimeStep *tStep) override
Definition mpsdammat.C:81
double tempKappa
Non-equilibrated scalar measure of the largest strain level.
Definition mpsdammat.h:82
FloatArray tempEffectiveStressVector
Temporary stress vector in reduced form (increments are used mainly in nonlinear analysis).
Definition mpsdammat.h:78
double tempDamage
Non-equilibrated damage level of material.
Definition mpsdammat.h:86
void setTempKappa(double newKappa)
Sets the temp scalar measure of the largest strain level to given value.
Definition mpsdammat.h:116
void giveCrackVector(FloatArray &answer) const
Returns crack vector stored in receiver. This is useful for plotting cracks as a vector field (paravi...
Definition mpsdammat.C:97
double giveCharLength() const
Returns characteristic length stored in receiver.
Definition mpsdammat.h:125
double giveTempDamage() const
Returns the temp. damage level.
Definition mpsdammat.h:120
virtual const FloatArray & giveTempViscoelasticStressVector() const
Definition mpsdammat.h:109
void setResidualTensileStrength(double src)
Definition mpsdammat.h:145
double damage
Damage level of material.
Definition mpsdammat.h:84
void setCrackVector(FloatArray cv)
Sets crack vector to given value. This is useful for plotting cracks as a vector field (paraview etc....
Definition mpsdammat.h:131
void setCrackWidth(double src)
Definition mpsdammat.h:143
FloatArray effectiveStressVector
Equilibrated stress vector in reduced form.
Definition mpsdammat.h:76
const char * giveClassName() const override
Definition mpsdammat.h:153
double kappa
Scalar measure of the largest strain level ever reached in material.
Definition mpsdammat.h:80
const FloatArray & giveViscoelasticStressVector() const override
Definition mpsdammat.h:106
void letTempViscoelasticStressVectorBe(FloatArray v)
Assigns tempStressVector to given vector v.
Definition mpsdammat.h:108
double giveTempKappa() const
Returns the temp. scalar measure of the largest strain level.
Definition mpsdammat.h:114
void saveContext(DataStream &stream, ContextMode mode) override
Definition mpsdammat.C:119
double giveDamage() const
Returns the last equilibrated damage level.
Definition mpsdammat.h:118
void setTempDamage(double newDamage)
Sets the temp damage level to given value.
Definition mpsdammat.h:122
void printOutputAt(FILE *file, TimeStep *tStep) const override
Print receiver's output to given stream.
Definition mpsdammat.C:104
FloatArray crackVector
Crack orientation normalized to damage magnitude. This is useful for plotting cracks as a vector fiel...
Definition mpsdammat.h:91
void initTempStatus() override
Definition mpsdammat.C:65
virtual void initDamaged(double kappa, FloatArray &totalStrainVector, GaussPoint *gp)
Definition mpsdammat.h:162
MPSDamMaterialStatus(GaussPoint *g, int nunits)
Definition mpsdammat.C:54
double var_gf
hydration-degree dependent fracture energy
Definition mpsdammat.h:96
void setCharLength(double length)
Sets characteristic length to given value.
Definition mpsdammat.h:127
void restoreContext(DataStream &stream, ContextMode mode) override
Definition mpsdammat.C:154
double charLength
Characteristic length.
Definition mpsdammat.h:89
double giveKappa() const
Returns the last equilibrated scalar measure of the largest strain level.
Definition mpsdammat.h:112
double giveResidualTensileStrength(void)
Definition mpsdammat.h:146
double givee0(GaussPoint *gp) const
Definition mpsdammat.C:481
double maxOmega
Maximum limit on omega. The purpose is elimination of a too compliant material which may cause conver...
Definition mpsdammat.h:193
MPSDamMaterial(int n, Domain *d)
Definition mpsdammat.C:193
const char * giveInputRecordName() const override
Definition mpsdammat.h:232
void initDamagedFib(GaussPoint *gp, TimeStep *tStep) const
Definition mpsdammat.C:466
double computeDamage(double kappa, GaussPoint *gp) const
Definition mpsdammat.C:586
FloatMatrixF< 4, 4 > givePlaneStrainStiffMtrx(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const override
Definition mpsdammat.C:782
void initDamaged(double kappa, FloatArray &totalStrainVector, GaussPoint *gp, TimeStep *tStep) const
Definition mpsdammat.C:698
void giveRealStressVector(FloatArray &answer, GaussPoint *gp, const FloatArray &reducedStrain, TimeStep *tStep) const override
Definition mpsdammat.C:277
int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
Definition mpsdammat.C:816
double E
dummy Young's modulus
Definition mpsdammat.h:190
double givegf(GaussPoint *gp) const
Definition mpsdammat.C:493
int checkSnapBack
Check possible snap back flag.
Definition mpsdammat.h:210
double gf28
28-day value of fracture energy. Used only with "timedepfracturing"
Definition mpsdammat.h:225
double ft28
28-day value of tensile strength. Used only with "timedepfracturing"
Definition mpsdammat.h:223
bool hasMaterialModeCapability(MaterialMode mode) const override
Definition mpsdammat.C:198
const char * giveClassName() const override
Definition mpsdammat.h:233
ElementCharSizeMethod ecsMethod
Method used for evaluation of characteristic element size.
Definition mpsdammat.h:220
FloatMatrixF< 6, 6 > give3dMaterialStiffnessMatrix(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const override
Definition mpsdammat.C:748
SofteningType softType
Parameter specifying the type of softening (damage law).
Definition mpsdammat.h:217
double computeDamageForCohesiveCrack(double kappa, GaussPoint *gp) const
Definition mpsdammat.C:596
virtual double computeTensileStrength(double equivalentTime) const
Definition mpsdammat.C:547
FloatMatrixF< 1, 1 > give1dStressStiffMtrx(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const override
Definition mpsdammat.C:799
FloatMatrixF< 3, 3 > givePlaneStressStiffMtrx(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const override
Definition mpsdammat.C:765
void initializeFrom(InputRecord &ir) override
Definition mpsdammat.C:205
virtual double computeFractureEnergy(double equivalentTime) const
Definition mpsdammat.C:505
std::unique_ptr< MaterialStatus > CreateStatus(GaussPoint *gp) const override
Definition mpsdammat.C:738
double ft
Equivalent strain at stress peak (or a similar parameter).
Definition mpsdammat.h:199
MPSMaterialStatus(GaussPoint *g, int nunits)
Definition mps.C:54
MPSMaterial(int n, Domain *d)
Definition mps.h:308
#define _IFT_MPSDamMaterial_Name
Definition mpsdammat.h:48
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