OOFEM 3.0
Loading...
Searching...
No Matches
mazarsmodel.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 mazarsmodel_h
36#define mazarsmodel_h
37
41
43
44#define _IFT_MazarsMaterial_Name "mazarsmodel"
45#define _IFT_MazarsMaterial_version "version"
46#define _IFT_MazarsMaterial_e0 "e0"
47#define _IFT_MazarsMaterial_ac "ac"
48#define _IFT_MazarsMaterial_bc "bc"
49#define _IFT_MazarsMaterial_beta "beta"
50#define _IFT_MazarsMaterial_at "at"
51#define _IFT_MazarsMaterial_bt "bt"
52#define _IFT_MazarsMaterial_ef "ef"
53#define _IFT_MazarsMaterial_r "r"
54#define _IFT_MazarsMaterial_hreft "hreft"
55#define _IFT_MazarsMaterial_hrefc "hrefc"
57
58namespace oofem {
63{
64protected:
66 double lec = 0.;
67
68public:
71
73 double giveLec() { return lec; }
75 void setLec(double ls) { lec = ls; }
76
77 const char *giveClassName() const override { return "MazarsMaterialStatus"; }
78
79 void saveContext(DataStream &stream, ContextMode mode) override;
80 void restoreContext(DataStream &stream, ContextMode mode) override;
81};
82
83
93{
94protected:
96 double E = 0., nu = 0.;
98 double At = 0., Bt = 0., Ac = 0., Bc = 0.;
100 double hReft = 0., hRefc = 0.;
102 double beta = 0.;
103
106
107public:
109 MazarsMaterial(int n, Domain * d);
110
111 const char *giveInputRecordName() const override { return _IFT_MazarsMaterial_Name; }
112 const char *giveClassName() const override { return "MazarsMaterial"; }
113
114 void initializeFrom(InputRecord &ir) override;
115
116 double computeEquivalentStrain(const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) const override;
117 double computeDamageParam(double kappa, const FloatArray &strain, GaussPoint *gp) const override;
118
119 std::unique_ptr<MaterialStatus> CreateStatus(GaussPoint *gp) const override { return std::make_unique<MazarsMaterialStatus>(gp); }
120
121protected:
130 void initDamaged(double kappa, FloatArray &totalStrainVector, GaussPoint *gp) const override;
131 /*
132 * Computes elastic stiffness for normal stress components.
133 * @param answer Result of size (3,3).
134 * @param mode Determines the MatResponseMode.
135 * @param gp Integration point.
136 * @param tStep Time step.
137 */
138 /*
139 * void giveNormalElasticStiffnessMatrix(FloatMatrix &answer,
140 * MatResponseMode rMode,
141 * GaussPoint *gp, TimeStep *tStep);
142 */
143
146 double computeGt(double kappa, GaussPoint *gp) const;
147 double computeGc(double kappa, GaussPoint *gp) const;
148};
149} // end namespace oofem
150#endif // mazarsmodel_h
IsotropicDamageMaterial1Status(GaussPoint *g)
Constructor.
Definition idm1.C:1492
IsotropicDamageMaterial1(int n, Domain *d)
Constructor.
Definition idm1.C:70
MazarsMaterialStatus(GaussPoint *g)
Constructor.
double lec
Characteristic element length for compression, fixed as square from element size (for 2d).
Definition mazarsmodel.h:66
void saveContext(DataStream &stream, ContextMode mode) override
void restoreContext(DataStream &stream, ContextMode mode) override
const char * giveClassName() const override
Definition mazarsmodel.h:77
void setLec(double ls)
Sets characteristic length to given value.
Definition mazarsmodel.h:75
double giveLec()
Returns characteristic length stored in receiver.
Definition mazarsmodel.h:73
double E
Elastic parameters.
Definition mazarsmodel.h:96
const char * giveInputRecordName() const override
double computeGt(double kappa, GaussPoint *gp) const
MazarsMaterial(int n, Domain *d)
Constructor.
Definition mazarsmodel.C:51
double beta
Beta coefficient reducing the effect of shear; default val = 1.06.
double computeGc(double kappa, GaussPoint *gp) const
double At
Model parameters related to the shape of uniaxial stress-strain diagrams.
Definition mazarsmodel.h:98
mazarsModelVariant
Model variants.
void initDamaged(double kappa, FloatArray &totalStrainVector, GaussPoint *gp) const override
void giveNormalBlockOfElasticCompliance(FloatMatrix &answer, GaussPoint *gp) const
double computeDamageParam(double kappa, const FloatArray &strain, GaussPoint *gp) const override
double computeEquivalentStrain(const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) const override
enum oofem::MazarsMaterial::mazarsModelVariant modelVersion
double hReft
Reference elem-length for objectivity.
const char * giveClassName() const override
std::unique_ptr< MaterialStatus > CreateStatus(GaussPoint *gp) const override
int giveNumberOfSpatialDimensions(GaussPoint *gp) const
void initializeFrom(InputRecord &ir) override
Definition mazarsmodel.C:59
#define _IFT_MazarsMaterial_Name
Definition mazarsmodel.h:44
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