OOFEM 3.0
Loading...
Searching...
No Matches
idmgrad.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 idmgrad_h
36#define idmgrad_h
37
40
41#define _IFT_IsotropicGradientDamageMaterial_Name "idmgrad"
42
43#define _IFT_IsotropicGradientDamageMaterial_formulationType "formtype"
44#define _IFT_IsotropicGradientDamageMaterial_di_rho "di_rho"
45#define _IFT_IsotropicGradientDamageMaterial_di_eta "di_eta"
46
47namespace oofem {
52{
53protected:
54
65
67
68 double di_rho = 0.;
69 double di_eta = 0.;
70
71
72public:
75
76 std::unique_ptr<MaterialStatus> CreateStatus(GaussPoint *gp) const override;
77 // identification and auxiliary functions
78 const char *giveClassName() const override { return "IsotropicGradientDamageMaterial"; }
79 const char *giveInputRecordName() const override { return _IFT_IsotropicGradientDamageMaterial_Name; }
80 void initializeFrom(InputRecord &ir) override;
81
84 return static_cast< GradientDamageMaterialExtensionInterface * >( this );
85 } else {
86 return nullptr;
87 }
88 }
89 bool hasMaterialModeCapability(MaterialMode mode) const override;
90
91 void giveGradientDamageStiffnessMatrix_uu(FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) override;
92 void giveGradientDamageStiffnessMatrix_du(FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) override;
93 void giveGradientDamageStiffnessMatrix_ud(FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) override;
94 void giveGradientDamageStiffnessMatrix_dd_NN(FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) override;
95 void giveGradientDamageStiffnessMatrix_dd_BB(FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) override;
96 void giveGradientDamageStiffnessMatrix_dd_BN(FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) override;
97
98 void giveRealStressVectorGradientDamage(FloatArray &answer1, double &answer2, GaussPoint *gp, const FloatArray &totalStrain, double nonlocalCumulatedStrain, TimeStep *tStep) override;
99
100 void giveStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const override;
101 void computeLocalDamageDrivingVariable(double &answer, GaussPoint *gp, TimeStep *tStep) override { }
102 void giveNonlocalInternalForces_N_factor(double &answer, double nlddv, GaussPoint *gp, TimeStep *tStep) override;
103 void giveNonlocalInternalForces_B_factor(FloatArray &answer, const FloatArray &nlddv, GaussPoint *gp, TimeStep *tStep) override;
104protected:
106 int giveDimension(GaussPoint *gp);
107
112};
113
114
115
116
117
122{
123public:
125
126 const char *giveClassName() const override { return "IsotropicGradientDamageMaterialStatus"; }
127
128 void initTempStatus() override;
129 void updateYourself(TimeStep *) override;
130};
131} // end namespace oofem
132#endif // idmgrad_h
IsotropicDamageMaterial1Status(GaussPoint *g)
Constructor.
Definition idm1.C:1492
IsotropicDamageMaterial1(int n, Domain *d)
Constructor.
Definition idm1.C:70
const char * giveClassName() const override
Definition idmgrad.h:126
void updateYourself(TimeStep *) override
Definition idmgrad.C:528
IsotropicGradientDamageMaterial(int n, Domain *d)
Constructor.
Definition idmgrad.C:53
const char * giveInputRecordName() const override
Definition idmgrad.h:79
void giveGradientDamageStiffnessMatrix_du(FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) override
Left lower block.
Definition idmgrad.C:188
double computeEikonalInternalLength_a(GaussPoint *gp)
Definition idmgrad.C:265
Interface * giveInterface(InterfaceType t) override
Definition idmgrad.h:82
bool hasMaterialModeCapability(MaterialMode mode) const override
Definition idmgrad.C:90
void initializeFrom(InputRecord &ir) override
Definition idmgrad.C:60
void giveStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const override
Definition idmgrad.C:96
int giveDimension(GaussPoint *gp)
Definition idmgrad.C:369
void giveGradientDamageStiffnessMatrix_dd_NN(FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) override
Right lower block.
Definition idmgrad.C:236
const char * giveClassName() const override
Definition idmgrad.h:78
double computeEikonalInternalLength_b(GaussPoint *gp)
Definition idmgrad.C:274
void giveNonlocalInternalForces_N_factor(double &answer, double nlddv, GaussPoint *gp, TimeStep *tStep) override
Definition idmgrad.C:385
void giveGradientDamageStiffnessMatrix_dd_BN(FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) override
Definition idmgrad.C:325
void giveGradientDamageStiffnessMatrix_ud(FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) override
Right upper block.
Definition idmgrad.C:145
void computeLocalDamageDrivingVariable(double &answer, GaussPoint *gp, TimeStep *tStep) override
Definition idmgrad.h:101
GradientDamageFormulationType gradientDamageFormulationType
Definition idmgrad.h:66
std::unique_ptr< MaterialStatus > CreateStatus(GaussPoint *gp) const override
Definition idmgrad.C:503
double computeEikonalInternalLength_aPrime(GaussPoint *gp)
Definition idmgrad.C:284
void giveGradientDamageStiffnessMatrix_dd_BB(FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) override
Definition idmgrad.C:304
double computeEikonalInternalLength_bPrime(GaussPoint *gp)
Definition idmgrad.C:293
double computeInternalLength(GaussPoint *gp)
Definition idmgrad.C:413
void giveRealStressVectorGradientDamage(FloatArray &answer1, double &answer2, GaussPoint *gp, const FloatArray &totalStrain, double nonlocalCumulatedStrain, TimeStep *tStep) override
gradient - based giveRealStressVector
Definition idmgrad.C:430
void giveGradientDamageStiffnessMatrix_uu(FloatMatrix &answer, MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) override
Left upper block.
Definition idmgrad.C:107
void giveNonlocalInternalForces_B_factor(FloatArray &answer, const FloatArray &nlddv, GaussPoint *gp, TimeStep *tStep) override
Definition idmgrad.C:399
#define _IFT_IsotropicGradientDamageMaterial_Name
Definition idmgrad.h:41
@ GradientDamageMaterialExtensionInterfaceType

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