XC Open source finite element analysis program
Steel02.h
1 //----------------------------------------------------------------------------
2 // XC program; finite element analysis code
3 // for structural analysis and design.
4 //
5 // Copyright (C) Luis Claudio Pérez Tato
6 //
7 // This program derives from OpenSees <http://opensees.berkeley.edu>
8 // developed by the «Pacific earthquake engineering research center».
9 //
10 // Except for the restrictions that may arise from the copyright
11 // of the original program (see copyright_opensees.txt)
12 // XC is free software: you can redistribute it and/or modify
13 // it under the terms of the GNU General Public License as published by
14 // the Free Software Foundation, either version 3 of the License, or
15 // (at your option) any later version.
16 //
17 // This software is distributed in the hope that it will be useful, but
18 // WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 // GNU General Public License for more details.
21 //
22 //
23 // You should have received a copy of the GNU General Public License
24 // along with this program.
25 // If not, see <http://www.gnu.org/licenses/>.
26 //----------------------------------------------------------------------------
27 /* ****************************************************************** **
28 ** OpenSees - Open System for Earthquake Engineering Simulation **
29 ** Pacific Earthquake Engineering Research Center **
30 ** **
31 ** **
32 ** (C) Copyright 1999, The Regents of the University of California **
33 ** All Rights Reserved. **
34 ** **
35 ** Commercial use of this program without express permission of the **
36 ** University of California, Berkeley, is strictly prohibited. See **
37 ** file 'COPYRIGHT' in main directory for information on usage and **
38 ** redistribution, and for a DISCLAIMER OF ALL WARRANTIES. **
39 ** **
40 ** Developed by: **
41 ** Frank McKenna (fmckenna@ce.berkeley.edu) **
42 ** Gregory L. Fenves (fenves@ce.berkeley.edu) **
43 ** Filip C. Filippou (filippou@ce.berkeley.edu) **
44 ** **
45 ** ****************************************************************** */
46 
47 // $Revision: 1.2 $
48 // $Date: 2006/08/03 23:42:19 $
49 // $Source: /usr/local/cvs/OpenSees/SRC/material/uniaxial/Steel02.h,v $
50 
51 // Written: fmk
52 // Created: 03/06
53 //
54 // Description: This file contains the class definition for
55 // Steel02. Steel02 is based on an f2c of the FEDEAS material
56 // Steel02.f which is:
57 //-----------------------------------------------------------------------
58 // MENEGOTTO-PINTO STEEL MODEL WITH FILIPPOU ISOTROPIC HARDENING
59 // written by MOHD YASSIN (1993)
60 // adapted to FEDEAS material library
61 // by E. Spacone, G. Monti and F.C. Filippou (1994)
62 //-----------------------------------------------------------------------
63 
64 
65 #ifndef Steel02_h
66 #define Steel02_h
67 
68 #include "material/uniaxial/steel/SteelBase.h"
69 
70 namespace XC {
72 //
75 class Steel02 : public SteelBase
76  {
77  private:
78  double sigini;
79  // matpar : STEEL FIXED PROPERTIES
80  double R0;
81  double cR1;
82  double cR2;
83  // hstvP : STEEL HISTORY VARIABLES
84  double epsminP;
85  double epsmaxP;
86  double epsplP;
87  double epss0P;
88  double sigs0P;
89  double epssrP;
90  double sigsrP;
91  int konP;
92  // hstv : STEEL HISTORY VARIABLES
93  double epsP;
94  double sigP;
95  double eP;
96 
97  double epsmin;
98  double epsmax;
99  double epspl;
100  double epss0;
101  double sigs0;
102  double epsr;
103  double sigr;
104  int kon;
105  double sig;
106  double e;
107  double eps;
108  protected:
109  int setup_parameters(void);
110  DbTagData &getDbTagData(void) const;
111  int sendData(CommParameters &);
112  int recvData(const CommParameters &);
113 
114  public:
115  Steel02(int tag, double fy, double E0, double b,
116  double R0, double cR1, double cR2,
117  double a1, double a2, double a3, double a4, double sigInit =0.0);
118  Steel02(int tag, double fy, double E0, double b,double R0, double cR1, double cR2);
119  // Constructor for no isotropic hardening
120  // Also provides default values for R0, cR1, and cR2
121  Steel02(int tag, double fy, double E0, double b);
122  Steel02(int tag);
123  Steel02(void);
124 
125  UniaxialMaterial *getCopy(void) const;
126 
127  int setTrialStrain(double strain, double strainRate = 0.0);
128  double getStrain(void) const;
129  double getStress(void) const;
130  double getTangent(void) const;
131 
132  int commitState(void);
133  int revertToLastCommit(void);
134  int revertToStart(void);
135 
136  void setInitialStress(const double &);
137  inline double getInitialStress(void) const
138  { return sigini; }
139 
140 
141  int sendSelf(CommParameters &);
142  int recvSelf(const CommParameters &);
143 
144  void Print(std::ostream &s, int flag =0);
145  };
146 } // end of XC namespace
147 
148 #endif
149 
int sendData(CommParameters &)
Send object members through the channel being passed as parameter.
Definition: Steel02.cpp:313
Base class for steel uniaxial materials.
Definition: SteelBase.h:37
Vector que almacena los dbTags de los miembros de la clase.
Definition: DbTagData.h:43
int recvData(const CommParameters &)
Receives object members through the channel being passed as parameter.
Definition: Steel02.cpp:325
UniaxialMaterial * getCopy(void) const
Virtual constructor.
Definition: Steel02.cpp:129
Uniaxial material for steel. Menegotto-Pinto steel model with Filippou isotropic hardening.
Definition: Steel02.h:75
double E0
Initial stiffness.
Definition: SteelBase.h:42
double a3
coefficient for isotropic hardening in tension
Definition: SteelBase.h:46
void setInitialStress(const double &)
Sets the initial stress value.
Definition: Steel02.cpp:123
void Print(std::ostream &s, int flag=0)
Imprime el objeto.
Definition: Steel02.cpp:369
int setup_parameters(void)
Sets all history and state variables to initial values.
Definition: Steel02.cpp:72
double a4
coefficient for isotropic hardening in tension
Definition: SteelBase.h:47
DbTagData & getDbTagData(void) const
Returns a vector para almacenar los dbTags de los miembros de la clase.
Definition: Steel02.cpp:306
double b
Hardening ratio (b = Esh/E0)
Definition: SteelBase.h:43
int recvSelf(const CommParameters &)
Receives object through the channel being passed as parameter.
Definition: Steel02.cpp:351
double a1
coefficient for isotropic hardening in compression
Definition: SteelBase.h:44
double a2
coefficient for isotropic hardening in compression
Definition: SteelBase.h:45
Communication parameters between processes.
Definition: CommParameters.h:65
================================================================================
Definition: ContinuaReprComponent.h:34
double fy
Yield stress.
Definition: SteelBase.h:41
int sendSelf(CommParameters &)
Sends object through the channel being passed as parameter.
Definition: Steel02.cpp:337
Base class for uniaxial materials.
Definition: UniaxialMaterial.h:88