xc
TDConcrete.h
1 // -*-c++-*-
2 //----------------------------------------------------------------------------
3 // XC program; finite element analysis code
4 // for structural analysis and design.
5 //
6 // Copyright (C) Luis C. Pérez Tato
7 //
8 // This program derives from OpenSees <http://opensees.berkeley.edu>
9 // developed by the «Pacific earthquake engineering research center».
10 //
11 // Except for the restrictions that may arise from the copyright
12 // of the original program (see copyright_opensees.txt)
13 // XC is free software: you can redistribute it and/or modify
14 // it under the terms of the GNU General Public License as published by
15 // the Free Software Foundation, either version 3 of the License, or
16 // (at your option) any later version.
17 //
18 // This software is distributed in the hope that it will be useful, but
19 // WITHOUT ANY WARRANTY; without even the implied warranty of
20 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 // GNU General Public License for more details.
22 //
23 //
24 // You should have received a copy of the GNU General Public License
25 // along with this program.
26 // If not, see <http://www.gnu.org/licenses/>.
27 //----------------------------------------------------------------------------
28 /* ****************************************************************** **
29 ** OpenSees - Open System for Earthquake Engineering Simulation **
30 ** Pacific Earthquake Engineering Research Center **
31 ** **
32 ** **
33 ** (C) Copyright 1999, The Regents of the University of California **
34 ** All Rights Reserved. **
35 ** **
36 ** Commercial use of this program without express permission of the **
37 ** University of California, Berkeley, is strictly prohibited. See **
38 ** file 'COPYRIGHT' in main directory for information on usage and **
39 ** redistribution, and for a DISCLAIMER OF ALL WARRANTIES. **
40 ** **
41 ** Developed by: **
42 ** Frank McKenna (fmckenna@ce.berkeley.edu) **
43 ** Gregory L. Fenves (fenves@ce.berkeley.edu) **
44 ** Filip C. Filippou (filippou@ce.berkeley.edu) **
45 ** **
46 ** ****************************************************************** */
47 
48  //----------------------------------------------------------------------------------------------------------------------------
49  // Developed by:
50  // Adam M. Knaack (adam.knaack@schaefer-inc.com)
51  // Schaefer-Inc, Cincinnati, Ohio, USA
52  // Nikola D. Tosic (ntosic@imk.grf.bg.ac.rs)
53  // Department for Materials and Structure, Faculty of Civil Engineering, University of Belgrade, Serbia
54  // Yahya C. Kurama (ykurama@nd.edu)
55  // Department of Civil and Environmental Engineering and Earth Sciences, College of Engineering, University of Notre Dame, Notre Dame, Indiana, USA
56  //----------------------------------------------------------------------------------------------------------------------------
57 
58  //----------------------------------------------------------------------------------------------------------------------------
59  // Created: 2012
60  // Last updated: 2019
61  //----------------------------------------------------------------------------------------------------------------------------
62 
63  //----------------------------------------------------------------------------------------------------------------------------
64  // Description: This file contains the source code of TDConcrete.
65  // TDConcrete is a time-dependent concrete material model that calculates
66  // creep and shrinkage strains.
67  /*-------------------------------
68  ! Concrete Compression - Linear
69  ! Concrete Tension - Tamai, S., Shima, H., Izumo, J., Okamura, H. 1988. Average Stress-Strain Relationship in Post Yield Range of Steel Bar in Concrete, Concrete Library of JSCE, No. 11, 117-129.
70  ! Concrete Creep - Linear superposition of creep coefficient, ACI 209 time function
71  ! Concrete Shrinkage - ACI 209 time function
72  -------------------------------*/
73  // Detailed descriptions of the model and its implementation can be found in the following:
74  // (1) Knaack, A.M., Kurama, Y.C. 2018. Modeling Time-Dependent Deformations: Application for Reinforced Concrete Beams with
75  // Recycled Concrete Aggregates. ACI Structural J. 115, 175�190. doi:10.14359/51701153
76  // (2) Knaack, A.M., 2013. Sustainable concrete structures using recycled concrete aggregate: short-term and long-term behavior
77  // considering material variability. PhD Dissertation, Civil and Environmental Engineering and Earth Sciences, University of Notre Dame, Notre Dame, Indiana, USA, 680 pp.
78  // A manual describing the use of the model and sample files can be found at:
79  // <https://data.mendeley.com/datasets/z4gxnhchky/3>
80  //----------------------------------------------------------------------------------------------------------------------------
81 
82  //----------------------------------------------------------------------------------------------------------------------------
83  // Disclaimer: This software is provided �as is�, without any warranties, expressed or implied. In no event shall the developers be liable for any claim, damages, or liability arising from or in connection with this software.
84  //----------------------------------------------------------------------------------------------------------------------------
85 
86 
87 #ifndef TDConcrete_h
88 #define TDConcrete_h
89 
90 #include "material/uniaxial/concrete/TDConcreteBase.h"
91 #include "material/uniaxial/concrete/ACICreepShrinkageParameters.h"
92 #include "material/uniaxial/concrete/ACICreepSteps.h"
93 #include "material/uniaxial/concrete/ACICreepShrinkageState.h"
94 
95 namespace XC {
96 
97 class TDConcrete : public TDConcreteBase
98  {
99  private:
100  // matpar : Concrete FIXED PROPERTIES
101  // double fcT; // Time Dependent Strength
102  ACICreepShrinkageParameters creepShrinkageParameters;
103 
104  //Added by AMK:
105  ACICreepShrinkageState creepShrinkageState;
106  double phi_i;
107 
108  ACICreepSteps creepSteps;
109 
110  void Tens_Envlp(double epsc, double &sigc, double &Ect);
111  void Compr_Envlp(double epsc, double &sigc, double &Ect);
112  protected:
113  int sendData(Communicator &);
114  int recvData(const Communicator &);
115 
116  public:
117  TDConcrete(int tag= 0);
118  TDConcrete(int tag, double _fc, double _ft, double _Ets, double _Ec, double _beta, double _age, double _tcast, const ACICreepShrinkageParameters &);
119  virtual ~TDConcrete(void);
120  void setup_parameters(void);
121 
122  UniaxialMaterial *getCopy(void) const;
123 
124  int setTrialStrain(double strain, double strainRate = 0.0);
125  double setCreepStrain(double time, double stress); //Added by AMK
126  double setStress(double strain, double &stiff); //Added by AMK
127  double getPHI_i(void) const; //Added by AMK
128  double getCreep(void) const; //Added by AMK
129  double getMech(void) const; //Added by AMK
130  double setPhi(double time, double tp) const; //Added by AMK
131  double setShrink(double time); //Added by AMK
132  double getShrink(void) const; //Added by AMK
133 
135  virtual void setEt(const double &d)
136  { this->creepShrinkageState.setEt(d); }
138  virtual double getEt(void) const
139  { return this->creepShrinkageState.getEt(); }
140 
142  void setAge(const double &d)
143  { this->creepShrinkageState.setAge(d); }
145  double getAge(void) const
146  { return this->creepShrinkageState.getAge(); }
147 
149  void setTCast(const double &d)
150  { this->creepShrinkageState.setTCast(d); }
152  double getTCast(void) const
153  { return this->creepShrinkageState.getTCast(); }
154 
155  double getStrain(void) const
156  { return creepShrinkageState.getStrain(); }
157 
158  void setCreepShrinkageParameters(const ACICreepShrinkageParameters &);
159  const ACICreepShrinkageParameters &getCreepShrinkageParameters(void) const;
160 
161  int commitState(void);
162  int revertToLastCommit(void);
163  int revertToStart(void);
164 
165  int sendSelf(Communicator &);
166  int recvSelf(const Communicator &);
167 
168  void Print(std::ostream &s, int flag =0) const;
169 
170  int getVariable(const std::string &variable, Information &) const;
171 
172 
173  //Added by AMK for recording Creep and Mechanical Strain:
174  Response *setResponse(const std::vector<std::string> &, Information &);
175  int getResponse(int responseID, Information &matInformation);
176 
177  };
178 
179 } // end of XC namespace
180 
181 #endif
182 
void setAge(const double &d)
Assign the concrete age at first loading.
Definition: CreepShrinkageStateBase.h:95
Definition: TDConcrete.h:97
virtual void setEt(const double &d)
Assign current concrete stiffness.
Definition: TDConcrete.h:135
Definition: TDConcreteBase.h:57
void setAge(const double &d)
Assign the concrete age at first loading.
Definition: TDConcrete.h:142
virtual double getEt(void) const
Returns current concrete stiffness.
Definition: TDConcrete.h:138
Information about an element.
Definition: Information.h:81
Communication parameters between processes.
Definition: Communicator.h:66
Class that groups the variables that keep track of the creep and shrinkage strains according to the A...
Definition: ACICreepShrinkageState.h:39
Base class response objects.
Definition: Response.h:81
UniaxialMaterial * getCopy(void) const
Virtual constructor.
Definition: TDConcrete.cpp:135
Base class for uniaxial materials.
Definition: UniaxialMaterial.h:93
int setTrialStrain(double strain, double strainRate=0.0)
Sets the value of the trial strain.
Definition: TDConcrete.cpp:160
int recvData(const Communicator &)
Receives object members through the communicator argument.
Definition: TDConcrete.cpp:404
void setup_parameters(void)
Sets initial values for the concrete parameters.
Definition: TDConcrete.cpp:96
double getAge(void) const
Return the concrete age at first loading.
Definition: CreepShrinkageStateBase.h:98
double getTCast(void) const
Return the analysis time corresponding to concrete casting in days.
Definition: CreepShrinkageStateBase.h:105
void setTCast(const double &d)
Assign the analysis time corresponding to concrete casting in days.
Definition: CreepShrinkageStateBase.h:102
int recvSelf(const Communicator &)
Receives object through the communicator argument.
Definition: TDConcrete.cpp:426
double getTCast(void) const
Return the analysis time corresponding to concrete casting in days.
Definition: TDConcrete.h:152
double getAge(void) const
Return the concrete age at first loading.
Definition: TDConcrete.h:145
Definition: ACICreepSteps.h:37
TDConcrete(int tag=0)
Constructor.
Definition: TDConcrete.cpp:106
void setTCast(const double &d)
Assign the analysis time corresponding to concrete casting in days.
Definition: TDConcrete.h:149
int sendData(Communicator &)
Send object members through the communicator argument.
Definition: TDConcrete.cpp:395
void setEt(const double &d)
Assign current concrete stiffness.
Definition: CreepShrinkageStateBase.h:87
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Parameters that define creep and shrinkage behaviour according to the ACI code.
Definition: ACICreepShrinkageParameters.h:39
void Print(std::ostream &s, int flag=0) const
Print stuff.
Definition: TDConcrete.cpp:444
int getResponse(int responseID, Information &matInformation)
Returns material response.
Definition: TDConcrete.cpp:606
double getEt(void) const
Returns current concrete stiffness.
Definition: CreepShrinkageStateBase.h:91
int sendSelf(Communicator &)
Sends object through the communicator argument.
Definition: TDConcrete.cpp:412