xc
MC10CreepShrinkageParameters.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 #ifndef MC10CreepShrinkageParameters_h
30 #define MC10CreepShrinkageParameters_h
31 
32 #include "utility/kernel/CommandEntity.h"
33 #include "utility/actor/actor/MovableObject.h"
34 namespace XC {
35 
39  {
40  private:
41  double epsba;
42  double epsbb;
43  double epsda;
44  double epsdb;
45  double phiba;
46  double phibb;
47  double phida;
48  double phidb;
49  double cem;
50 
51  protected:
52  int sendData(Communicator &);
53  int recvData(const Communicator &);
54  public:
56  MC10CreepShrinkageParameters(const double &_epsba, const double &_epsbb, const double &_epsda, const double &_epsdb, const double &_phiba, const double &_phibb, const double &_phida, const double &_phidb, const double &_cem);
57 
58  void setup_parameters(void);
59 
60  double getEpsba(void) const;
61  void setEpsba(const double &);
62  double getEpsbb(void) const;
63  void setEpsbb(const double &);
64  double getEpsda(void) const;
65  void setEpsda(const double &);
66  double getEpsdb(void) const;
67  void setEpsdb(const double &);
68 
69  double getPhiba(void) const;
70  void setPhiba(const double &);
71  double getPhibb(void) const;
72  void setPhibb(const double &);
73  double getPhida(void) const;
74  void setPhida(const double &);
75  double getPhidb(void) const;
76  void setPhidb(const double &);
77 
78  double getCem(void) const;
79  void setCem(const double &);
80 
81  double getPhiBasic(double time, double tp) const;
82  double getPhiDrying(double time, double tp) const;
83  double getShrinkBasic(double time);
84  double getShrinkDrying(double age, double time);
85 
86  int sendSelf(Communicator &);
87  int recvSelf(const Communicator &);
88 
89  void Print(std::ostream &s, int flag =0) const;
90 
91  };
92 } // end of XC namespace
93 
94 
95 #endif
double getPhibb(void) const
Get fitting parameter within the basic creep time evolution function as per Model Code 2010 and prEN1...
Definition: MC10CreepShrinkageParameters.cc:112
int recvSelf(const Communicator &)
Receives object through the communicator argument.
Definition: MC10CreepShrinkageParameters.cc:217
double getEpsbb(void) const
Get fitting parameter within the basic shrinkage time evolution function as per Model Code 2010 and p...
Definition: MC10CreepShrinkageParameters.cc:79
void setPhidb(const double &)
Set fitting constant within the drying creep time evolution function as per Model Code 2010...
Definition: MC10CreepShrinkageParameters.cc:132
int sendSelf(Communicator &)
Sends object through the communicator argument.
Definition: MC10CreepShrinkageParameters.cc:201
Communication parameters between processes.
Definition: Communicator.h:66
Object that can move between processes.
Definition: MovableObject.h:100
void setEpsdb(const double &)
Set fitting parameter within the drying shrinkage time evolution function as per Model Code 2010 and ...
Definition: MC10CreepShrinkageParameters.cc:99
void setPhida(const double &)
Set product of βdc(fcm) and β(RH), as per Model Code 2010.
Definition: MC10CreepShrinkageParameters.cc:124
double getEpsdb(void) const
Get fitting parameter within the drying shrinkage time evolution function as per Model Code 2010 and ...
Definition: MC10CreepShrinkageParameters.cc:95
int sendData(Communicator &)
Send object members through the communicator argument.
Definition: MC10CreepShrinkageParameters.cc:144
double getPhiba(void) const
Get parameter for the effect of compressive strength on basic creep βbc(fcm), as per Model Code 2010...
Definition: MC10CreepShrinkageParameters.cc:104
int recvData(const Communicator &)
Receives object members through the communicator argument.
Definition: MC10CreepShrinkageParameters.cc:151
Objet that can execute python scripts.
Definition: CommandEntity.h:40
void setEpsda(const double &)
Set the value of epsda: product of εcds,0 and βRH, as per Model Code 2010.
Definition: MC10CreepShrinkageParameters.cc:91
double getPhida(void) const
Get product of βdc(fcm) and β(RH), as per Model Code 2010.
Definition: MC10CreepShrinkageParameters.cc:120
void setPhibb(const double &)
Set fitting parameter within the basic creep time evolution function as per Model Code 2010 and prEN1...
Definition: MC10CreepShrinkageParameters.cc:116
void setEpsbb(const double &)
Set fitting parameter within the basic shrinkage time evolution function as per Model Code 2010 and p...
Definition: MC10CreepShrinkageParameters.cc:83
void setPhiba(const double &)
Set parameter for the effect of compressive strength on basic creep βbc(fcm), as per Model Code 2010...
Definition: MC10CreepShrinkageParameters.cc:108
void setCem(const double &)
Set coefficient dependent on the type of cement: –1 for 32.5N, 0 for 32.5R and 42.5N and 1 for 42.5R, 52.5N and 52.5R.
Definition: MC10CreepShrinkageParameters.cc:140
double getCem(void) const
Get coefficient dependent on the type of cement: –1 for 32.5N, 0 for 32.5R and 42.5N and 1 for 42.5R, 52.5N and 52.5R.
Definition: MC10CreepShrinkageParameters.cc:136
double getEpsba(void) const
Get ultimate basic shrinkage strain, εcbs,0, as per Model Code 2010.
Definition: MC10CreepShrinkageParameters.cc:71
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
double getPhidb(void) const
Get fitting constant within the drying creep time evolution function as per Model Code 2010...
Definition: MC10CreepShrinkageParameters.cc:128
void setEpsba(const double &)
Set ultimate basic shrinkage strain, εcbs,0, as per Model Code 2010.
Definition: MC10CreepShrinkageParameters.cc:75
void setup_parameters(void)
Sets initial values for the concrete parameters.
Definition: MC10CreepShrinkageParameters.cc:61
Parameters that define creep and shrinkage behaviour according to Model Code 2010.
Definition: MC10CreepShrinkageParameters.h:38
MC10CreepShrinkageParameters(void)
Default constructor.
Definition: MC10CreepShrinkageParameters.cc:33
double getEpsda(void) const
Get the value of epsda: product of εcds,0 and βRH, as per Model Code 2010.
Definition: MC10CreepShrinkageParameters.cc:87