XC Open source finite element analysis program
Steel01.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.11 $
48 // $Date: 2003/03/05 01:02:51 $
49 // $Source: /usr/local/cvs/OpenSees/SRC/material/uniaxial/Steel01.h,v $
50 
51 
52 #ifndef Steel01_h
53 #define Steel01_h
54 
55 // File: Steel01.h
56 //
57 // Written: MHS
58 // Created: 06/99
59 // Revision: A
60 //
61 // Description: This file contains the class definition for
62 // Steel01.h
63 //
64 //
65 //
66 // What: "@(#) Steel01.h, revA"
67 
68 #include "material/uniaxial/steel/SteelBase0103.h"
69 #include <utility/matrix/Matrix.h>
70 
71 namespace XC {
73 //
75 class Steel01 : public SteelBase0103
76  {
77  private:
78  void determineTrialState(double dStrain);
79  void detectLoadReversal(double dStrain);
80 
81 // AddingSensitivity:BEGIN //////////////////////////////////////////
82  int parameterID;
83  Matrix SHVs;
84 // AddingSensitivity:END ///////////////////////////////////////////
85 
86  protected:
87  int sendData(CommParameters &);
88  int recvData(const CommParameters &);
89 
90  int setup_parameters(void);
91  public:
92  Steel01(int tag, double fy, double E0, double b,
93  double a1 = STEEL_0103_DEFAULT_A1, double a2 = STEEL_0103_DEFAULT_A2,
94  double a3 = STEEL_0103_DEFAULT_A3, double a4 = STEEL_0103_DEFAULT_A4);
95  Steel01(int tag);
96  Steel01(void);
97  ~Steel01(void);
98 
99  UniaxialMaterial *getCopy(void) const;
100 
101  int revertToStart(void);
102 
103  int sendSelf(CommParameters &);
104  int recvSelf(const CommParameters &);
105  void Print(std::ostream &s, int flag =0);
106 
107 // AddingSensitivity:BEGIN //////////////////////////////////////////
108  int setParameter(const std::vector<std::string> &argv, Parameter &param);
109  int updateParameter (int parameterID, Information &info);
110  int activateParameter (int parameterID);
111  double getStressSensitivity (int gradNumber, bool conditional);
112  double getInitialTangentSensitivity(int gradNumber);
113  int commitSensitivity (double strainGradient, int gradNumber, int numGrads);
114 // AddingSensitivity:END ///////////////////////////////////////////
115 
116  };
117 } // end of XC namespace
118 
119 #endif
int recvData(const CommParameters &)
Receives object members through the channel being passed as parameter.
Definition: Steel01.cpp:256
Uniaxial material model for steel.
Definition: Steel01.h:75
int setup_parameters(void)
Sets all history and state variables to initial values.
Definition: Steel01.cpp:73
Information about an element.
Definition: Information.h:80
double E0
Initial stiffness.
Definition: SteelBase.h:42
double a3
coefficient for isotropic hardening in tension
Definition: SteelBase.h:46
int recvSelf(const CommParameters &)
Receives object through the channel being passed as parameter.
Definition: Steel01.cpp:281
int sendData(CommParameters &)
Send object members through the channel being passed as parameter.
Definition: Steel01.cpp:246
Base class for Steel01 and Steel03.
Definition: SteelBase0103.h:45
double a4
coefficient for isotropic hardening in tension
Definition: SteelBase.h:47
UniaxialMaterial * getCopy(void) const
Virtual constructor.
Definition: Steel01.cpp:242
double b
Hardening ratio (b = Esh/E0)
Definition: SteelBase.h:43
Definition: Matrix.h:82
double a1
coefficient for isotropic hardening in compression
Definition: SteelBase.h:44
double a2
coefficient for isotropic hardening in compression
Definition: SteelBase.h:45
Definition: Parameter.h:65
void Print(std::ostream &s, int flag=0)
Imprime el objeto.
Definition: Steel01.cpp:300
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: Steel01.cpp:267
Steel01(void)
Constructor.
Definition: Steel01.cpp:112
Base class for uniaxial materials.
Definition: UniaxialMaterial.h:88