OOFEM 3.0
Loading...
Searching...
No Matches
concretefcmviscoelastic.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 concretefcmviscoelastic_h
36#define concretefcmviscoelastic_h
37
38#include "concretefcm.h"
39// for the unique_ptr
40#include <memory>
41
43
44#define _IFT_ConcreteFCMViscoElastic_Name "concretefcmviscoelastic"
45#define _IFT_ConcreteFCMViscoElastic_viscoMat "viscomat"
46#define _IFT_ConcreteFCMViscoElastic_timedepfracturing "timedepfracturing"
47#define _IFT_ConcreteFCMViscoElastic_fib_s "fib_s"
48#define _IFT_ConcreteFCMViscoElastic_fcm28 "fcm28"
49#define _IFT_ConcreteFCMViscoElastic_timeFactor "timefactor"
50#define _IFT_ConcreteFCMViscoElastic_stiffnessFactor "stiffnessfactor"
51#define _IFT_ConcreteFCMViscoElastic_gf28 "gf28"
52#define _IFT_ConcreteFCMViscoElastic_ft28 "ft28"
54
55namespace oofem {
60{
61
62protected:
63 std :: unique_ptr< GaussPoint >slaveGpVisco;
64
66 double var_ft = 0.;
68 double var_gf = 0.;
69
70public:
72
73 double giveFractureEnergy() const { return var_gf; }
74 void setFractureEnergy(double new_Gf) { var_gf = new_Gf; }
75
76 double giveTensileStrength() const { return var_ft; }
77 void setTensileStrength(double new_ft) { var_ft = new_ft; }
78
79 GaussPoint *giveSlaveGaussPointVisco() { return this->slaveGpVisco.get(); }
80
81 void printOutputAt(FILE *file, TimeStep *tStep) const override;
82
83 const char *giveClassName() const override { return "ConcreteFCMViscoElasticStatus"; }
84
85 void initTempStatus() override;
86 void updateYourself(TimeStep *tStep) override;
87
88 void saveContext(DataStream &stream, ContextMode mode) override;
89 void restoreContext(DataStream &stream, ContextMode mode) override;
90};
91
92
97{
98public:
100
101 void initializeFrom(InputRecord &ir) override;
102 const char *giveClassName() const override { return "ConcreteFCMViscoElastic"; }
103 const char *giveInputRecordName() const override { return _IFT_ConcreteFCMViscoElastic_Name; }
104
105 std::unique_ptr<MaterialStatus> CreateStatus(GaussPoint *gp) const override { return std::make_unique<ConcreteFCMViscoElasticStatus>(gp); }
106
107 double give(int aProperty, GaussPoint *gp) const override;
108
110 const FloatArray &reducedStrain, TimeStep *tStep) const override;
111
112 FloatArray computeStressIndependentStrainVector(GaussPoint *gp, TimeStep *tStep, ValueModeType mode) const override;
113
114
115 int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override;
116
117 MaterialStatus* giveStatus(GaussPoint *gp) const override;
118
119protected:
121 int viscoMat = 0;
122
123 bool fib = false;
124 double fib_s = 0.;
125 double fib_fcm28 = 0.;
126 /* scaling time factor, 1 day expressed in the time units of the analysis
127 * e.g. if the time runs in days it is 1, if in seconds it is 86400 */
128 double timeFactor = 0.;
129 /* scaling factor transforming PREDICTED strength and fracture energy
130 * e.g. if the stiffness should be in MPa, then stiffnessFactor = 1.e6 */
131 double stiffnessFactor = 0.;
132
133
134 double giveTensileStrength(GaussPoint *gp, TimeStep *tStep) const override;
135 double giveFractureEnergy(GaussPoint *gp, TimeStep *tStep) const override;
136
137
138 double computeOverallElasticStiffness(GaussPoint *gp, TimeStep *tStep) const override;
139 double computeOverallElasticShearModulus(GaussPoint *gp, TimeStep *tStep) const override;
140
141
142 int checkConsistency(void) override;
143
145 virtual double giveEquivalentTime(GaussPoint *gp, TimeStep *tStep) const;
146
147};
148} // end namespace oofem
149#endif // concretefcmviscoelastic_h
ConcreteFCMStatus(GaussPoint *g)
void updateYourself(TimeStep *tStep) override
std ::unique_ptr< GaussPoint > slaveGpVisco
void printOutputAt(FILE *file, TimeStep *tStep) const override
Print receiver's output to given stream.
const char * giveClassName() const override
void saveContext(DataStream &stream, ContextMode mode) override
double var_ft
hydration-degree dependent tensile strength
double var_gf
hydration-degree dependent fracture energy
void restoreContext(DataStream &stream, ContextMode mode) override
MaterialStatus * giveStatus(GaussPoint *gp) const override
void initializeFrom(InputRecord &ir) override
double giveFractureEnergy(GaussPoint *gp, TimeStep *tStep) const override
virtual double giveEquivalentTime(GaussPoint *gp, TimeStep *tStep) const
returns equivalent time (used to compute time-dependent ft and gf)
int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep) override
void giveRealStressVector(FloatArray &answer, GaussPoint *gp, const FloatArray &reducedStrain, TimeStep *tStep) const override
double giveTensileStrength(GaussPoint *gp, TimeStep *tStep) const override
comutes tensile strength
FloatArray computeStressIndependentStrainVector(GaussPoint *gp, TimeStep *tStep, ValueModeType mode) const override
int viscoMat
number of the viscoelastic material
const char * giveClassName() const override
double computeOverallElasticShearModulus(GaussPoint *gp, TimeStep *tStep) const override
returns overall shear modulus
double computeOverallElasticStiffness(GaussPoint *gp, TimeStep *tStep) const override
returns overall Young's modulus
const char * giveInputRecordName() const override
std::unique_ptr< MaterialStatus > CreateStatus(GaussPoint *gp) const override
double give(int aProperty, GaussPoint *gp) const override
ConcreteFCM(int n, Domain *d)
Definition concretefcm.C:44
#define _IFT_ConcreteFCMViscoElastic_Name
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