OOFEM 3.0
Loading...
Searching...
No Matches
trabboneembed.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 trabboneembed_h
36#define trabboneembed_h
37
39#include "floatarrayf.h"
40#include "floatarray.h"
41#include "floatmatrixf.h"
42#include "floatmatrix.h"
43#include "cltypes.h"
44#include "matconst.h"
45#include "matstatus.h"
47#include "cltypes.h"
48
50
51#define _IFT_TrabBoneEmbed_Name "trabboneembed"
52#define _IFT_TrabBoneEmbed_eps0 "eps0"
53#define _IFT_TrabBoneEmbed_nu0 "nu0"
55
56namespace oofem {
61{
62protected:
63 double tempAlpha = 0., alpha = 0.;
64 double tempDam = 0., dam = 0.;
65 double tempPSED = 0., psed = 0.;
66 double tempTSED = 0., tsed = 0.;
67
70
71public:
73
74 void printOutputAt(FILE *file, TimeStep *tStep) const override;
75
76 double giveTempTSED() const { return tempTSED; }
77 void setTempDam(double da) { tempDam = da; }
78 void setTempTSED(double tse) { tempTSED = tse; }
79 void setTempAlpha(double al) { tempAlpha = al; }
80 void setTempPlasDef(const FloatArrayF<6> &epsip) { tempPlasDef = epsip; }
81
82 const FloatArrayF<6> &givePlasDef() const { return plasDef; }
83
84 const char *giveClassName() const override { return "TrabBoneEmbedStatus"; }
85
86 void initTempStatus() override;
87 void updateYourself(TimeStep *tStep) override;
88
89 void saveContext(DataStream &stream, ContextMode mode) override;
90 void restoreContext(DataStream &stream, ContextMode mode) override;
91};
92
93
98{
99protected:
100 double eps0 = 0., nu0 = 0.;
101
102public:
103 TrabBoneEmbed(int n, Domain * d);
104
105 void performPlasticityReturn(GaussPoint *gp, const FloatArrayF<6> &totalStrain) const;
106
107 double computeDamageParam(double alpha, GaussPoint *gp) const;
108
109 double computeDamage(GaussPoint *gp, TimeStep *tStep) const;
110
111 virtual double computeCumPlastStrain(GaussPoint *gp, TimeStep *tStep) const;
112
114 static FloatMatrixF<6,6> constructIsoComplTensor(double eps0, double nu0);
115
116 FloatMatrixF<6,6> give3dMaterialStiffnessMatrix(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const override;
117
119 TimeStep *tStep) const override;
120
121 const char *giveInputRecordName() const override { return _IFT_TrabBoneEmbed_Name; }
122 const char *giveClassName() const override { return "TrabBoneEmbed"; }
123
124 void initializeFrom(InputRecord &ir) override;
125
126 std::unique_ptr<MaterialStatus> CreateStatus(GaussPoint *gp) const override;
127
128 int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override;
129};
130} // end namespace oofem
131#endif
StructuralMaterialStatus(GaussPoint *g)
Constructor. Creates new StructuralMaterialStatus with IntegrationPoint g.
StructuralMaterial(int n, Domain *d)
FloatMatrixF< 6, 6 > smtrx
void printOutputAt(FILE *file, TimeStep *tStep) const override
Print receiver's output to given stream.
TrabBoneEmbedStatus(GaussPoint *g)
void updateYourself(TimeStep *tStep) override
FloatArrayF< 6 > tempPlasDef
FloatArrayF< 6 > tempIncPlasDef
void restoreContext(DataStream &stream, ContextMode mode) override
void setTempTSED(double tse)
void initTempStatus() override
const FloatArrayF< 6 > & givePlasDef() const
FloatMatrixF< 6, 6 > matConstD
FloatArrayF< 6 > densStress
void saveContext(DataStream &stream, ContextMode mode) override
void setTempPlasDef(const FloatArrayF< 6 > &epsip)
const char * giveClassName() const override
void setTempAlpha(double al)
double computeDamageParam(double alpha, GaussPoint *gp) const
const char * giveClassName() const override
std::unique_ptr< MaterialStatus > CreateStatus(GaussPoint *gp) const override
double computeDamage(GaussPoint *gp, TimeStep *tStep) const
static FloatMatrixF< 6, 6 > constructIsoComplTensor(double eps0, double nu0)
Constructs the anisotropic compliance tensor.
FloatArrayF< 6 > giveRealStressVector_3d(const FloatArrayF< 6 > &strain, GaussPoint *gp, TimeStep *tStep) const override
Default implementation relies on giveRealStressVector for second Piola-Kirchoff stress.
const char * giveInputRecordName() const override
void performPlasticityReturn(GaussPoint *gp, const FloatArrayF< 6 > &totalStrain) const
void initializeFrom(InputRecord &ir) override
FloatMatrixF< 6, 6 > give3dMaterialStiffnessMatrix(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const override
int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
TrabBoneEmbed(int n, Domain *d)
virtual double computeCumPlastStrain(GaussPoint *gp, TimeStep *tStep) const
long ContextMode
Definition contextmode.h:43
#define _IFT_TrabBoneEmbed_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