OOFEM 3.0
Loading...
Searching...
No Matches
steelrelaxmat.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 steelrelaxmat_h
36#define steelrelaxmat_h
37
40#include "dictionary.h"
41#include "floatarray.h"
42#include "floatmatrix.h"
43
45
46#define _IFT_SteelRelaxMat_Name "steelrelaxmat"
47#define _IFT_SteelRelaxMat_E "e"
48#define _IFT_SteelRelaxMat_reinfClass "reinfclass"
49#define _IFT_SteelRelaxMat_k1 "k1"
50#define _IFT_SteelRelaxMat_k2 "k2"
51#define _IFT_SteelRelaxMat_rho1000 "rho1000"
52#define _IFT_SteelRelaxMat_timeFactor "timefactor"
53#define _IFT_SteelRelaxMat_charStrength "charstrength"
54#define _IFT_SteelRelaxMat_approach "approach"
55#define _IFT_SteelRelaxMat_tolerance "tolerance"
56#define _IFT_SteelRelaxMat_relRelaxBound "relrelaxbound"
58
59namespace oofem {
60class GaussPoint;
61class Domain;
62
81{
82protected:
84 double E = 0.;
85
87 double k1 = 0.;
88
90 double k2 = 0.;
91
93 double rho1000 = 0.;
94
96 double mu = 0.;
97
103 double timeFactor = 0.;
104
105 //double stiffnessFactor;
106
108 double charStrength = 0.;
109
111 double tolerance = 0.;
112
118 double relRelaxBound = 0.;
119
125
126public:
127 SteelRelaxMat(int n, Domain *d);
128
130 {
131 FloatArray answer;
132 const_cast< SteelRelaxMat * >( this )->giveRealStressVector(answer, gp, reducedE, tStep);
133 return answer;
134 }
135
136 void giveRealStressVector(FloatArray &answer, GaussPoint *gp, const FloatArray &reducedStrain, TimeStep *tStep) const override;
137
138 FloatMatrixF< 1, 1 >give1dStressStiffMtrx(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const override;
139
143 void giveStressDependentPartOfStrainVector(FloatArray &answer, GaussPoint *gp, const FloatArray &totalStrain,
144 TimeStep *tStep, ValueModeType mode) const;
148 void computeStressRelaxationStrainVector(FloatArray &answer, GaussPoint *gp, const FloatArray &totalStrain,
149 TimeStep *tStep, ValueModeType mode) const;
150
154 void evalStressRelaxationAtConstStrain(double &answer, GaussPoint *gp, double dt) const;
155
159 void computeIncrOfPrestressLossAtVarStrain(double &answer, GaussPoint *gp, TimeStep *tStep, double stress) const;
160
161 void initializeFrom(InputRecord &ir) override;
162
163 bool hasMaterialModeCapability(MaterialMode mode) const override;
164
165 bool hasCastingTimeSupport() const override { return true; }
166
167 bool isCharacteristicMtrxSymmetric(MatResponseMode rMode) const override { return true; }
168
169 const char *giveInputRecordName() const override { return _IFT_SteelRelaxMat_Name; }
170 const char *giveClassName() const override { return "SteelRelaxMat"; }
171
172 std::unique_ptr<MaterialStatus> CreateStatus(GaussPoint *gp) const override;
173
174 int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override;
175};
176
177//=============================================================================
178
179
181{
182protected:
183
188 double relaxIntVariable = 0.;
190
191 double prestress = 0.;
192 double tempPrestress = 0.;
193 // becomes activated at the end of the time step when the material becomes prestressed
194 // bool prestressedFlag = false;
195
196public:
198
201 double giveRelaxIntVariable() const { return relaxIntVariable; }
202
203 void setTempPrestress(double src) { tempPrestress = src; }
204 double giveTempPrestress() const { return tempPrestress; }
205 double givePrestress() const { return prestress; }
206
207 void printOutputAt(FILE *file, TimeStep *tStep) const override;
208
209 void initTempStatus() override;
210
211 void updateYourself(TimeStep *tStep) override;
212
213 void saveContext(DataStream &stream, ContextMode mode) override;
214 void restoreContext(DataStream &stream, ContextMode mode) override;
215
216 const char *giveClassName() const override { return "SteelRelaxMatStatus"; }
217};
218} // end namespace oofem
219#endif // steelrelaxmat_h
void initTempStatus() override
double giveTempPrestress() const
double giveRelaxIntVariable() const
void setTempPrestress(double src)
double giveTempRelaxIntVariable() const
void printOutputAt(FILE *file, TimeStep *tStep) const override
Print receiver's output to given stream.
void saveContext(DataStream &stream, ContextMode mode) override
void restoreContext(DataStream &stream, ContextMode mode) override
SteelRelaxMatStatus(GaussPoint *g)
void setTempRelaxIntVariable(double src)
const char * giveClassName() const override
void updateYourself(TimeStep *tStep) override
double k1
constant depending on the reinforcement class
double tolerance
tolerance specifying the residual in the stress evaluation algorithm, default value is $10^{-6}...
double rho1000
constant depending on the reinforcement class
FloatMatrixF< 1, 1 > give1dStressStiffMtrx(MatResponseMode mode, GaussPoint *gp, TimeStep *tStep) const override
void evalStressRelaxationAtConstStrain(double &answer, GaussPoint *gp, double dt) const
void giveStressDependentPartOfStrainVector(FloatArray &answer, GaussPoint *gp, const FloatArray &totalStrain, TimeStep *tStep, ValueModeType mode) const
int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
double E
Young's modulus.
SteelRelaxMat(int n, Domain *d)
bool isCharacteristicMtrxSymmetric(MatResponseMode rMode) const override
const char * giveClassName() const override
void computeStressRelaxationStrainVector(FloatArray &answer, GaussPoint *gp, const FloatArray &totalStrain, TimeStep *tStep, ValueModeType mode) const
FloatArrayF< 1 > giveRealStressVector_1d(const FloatArrayF< 1 > &reducedE, GaussPoint *gp, TimeStep *tStep) const override
Default implementation relies on giveRealStressVector_StressControl.
double mu
ratio of prestress vs. characteristic strength
bool hasMaterialModeCapability(MaterialMode mode) const override
enum oofem::SteelRelaxMat::approachType Approach
bool hasCastingTimeSupport() const override
const char * giveInputRecordName() const override
double k2
constant depending on the reinforcement class
void initializeFrom(InputRecord &ir) override
void computeIncrOfPrestressLossAtVarStrain(double &answer, GaussPoint *gp, TimeStep *tStep, double stress) const
void giveRealStressVector(FloatArray &answer, GaussPoint *gp, const FloatArray &reducedStrain, TimeStep *tStep) const override
std::unique_ptr< MaterialStatus > CreateStatus(GaussPoint *gp) const override
double charStrength
characteristic strength of prestressing steel in appropriate units (not necessarily MPa)
StructuralMaterialStatus(GaussPoint *g)
Constructor. Creates new StructuralMaterialStatus with IntegrationPoint g.
StructuralMaterial(int n, Domain *d)
long ContextMode
Definition contextmode.h:43
#define _IFT_SteelRelaxMat_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