XC Open source finite element analysis program
Concrete04.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.1 $
48 // $Date: 2005/09/23 22:51:27 $
49 // $Source: /usr/local/cvs/OpenSees/SRC/material/uniaxial/Concrete04.h,v $
50 
51 
52 #ifndef Concrete04_h
53 #define Concrete04_h
54 
55 // File: Concrete04.h
56 //
57 // Written: N.Mitra (nmitra@u.washington.edu)
58 // Created: 09/04
59 // Revision: A
60 //
61 // Description: This file contains the class definition for
62 // Concrete04.h
63 // - No tension
64 // - Linear unloading/reloading
65 //
66 // What: "@(#) Concrete04.h, revA"
67 // Revision: 1. Adding in Exponential tension part (05-16-05)
68 
69 #include "material/uniaxial/concrete/ConcreteBase.h"
70 
71 namespace XC {
73 //
77 class Concrete04: public ConcreteBase
78  {
79  private:
80  /*** Material Properties ***/
81  double fpc;
82  double epsc0;
83  double epscu;
84  double Ec0;
85  double fct;
86  double etu;
87  double beta;
88 
89  /*** CONVERGED History Variables ***/
90  double CmaxStrain;
91  double CcompStrain;
92  // zero stress value or the strain value at which tensile reloading starts.
93  double CUtenStress;
94  double CUtenSlope;
95 
96  /*** TRIAL History Variables ***/
97  double TmaxStrain;
98  double TcompStrain;
99  double TUtenStress;
100  double TUtenSlope;
101 
102  void CompReload(void);
103  void CompEnvelope(void);
104  void setCompUnloadEnv(void);
105  void TensReload(void);
106  void TensEnvelope(void);
107  void setTenUnload(void);
108  void setup_parameters(void);
109  public:
110  Concrete04(int tag, double fpc, double eco, double ecu, double Ec0, double fct, double etu);
111  Concrete04(int tag, double fpc, double eco, double ecu, double Ec0, double fct, double etu, double beta);
112  Concrete04(int tag, double fpc, double eco, double ecu, double Ec0);
113  Concrete04(int tag= 0);
114 
115  int setTrialStrain(double strain, double strainRate = 0.0);
116  inline double getInitialTangent(void) const
117  { return Ec0; }
118 
119  int commitState(void);
120  int revertToLastCommit(void);
121  int revertToStart(void);
122 
123  UniaxialMaterial *getCopy(void) const;
124 
125  int sendSelf(CommParameters &);
126  int recvSelf(const CommParameters &);
127 
128  void Print(std::ostream &s, int flag =0);
129 
130  // LOWES: add function for use with variable hinge lnegth model
131  int getMaterialType(void);
132  // LOWES: end
133  };
134 } // end of XC namespace
135 
136 #endif
void Print(std::ostream &s, int flag=0)
Imprime el objeto.
Definition: Concrete04.cpp:358
Uniaxial Popovics concrete material object with degraded linear unloading/reloading stiffness accordi...
Definition: Concrete04.h:77
UniaxialMaterial * getCopy(void) const
Virtual constructor.
Definition: Concrete04.cpp:324
int setTrialStrain(double strain, double strainRate=0.0)
Asigna la tensión de prueba.
Definition: Concrete04.cpp:125
Concrete04(int tag, double fpc, double eco, double ecu, double Ec0, double fct, double etu)
Constructor.
Definition: Concrete04.cpp:97
Base class for concrete materials.
Definition: ConcreteBase.h:41
Communication parameters between processes.
Definition: CommParameters.h:65
================================================================================
Definition: ContinuaReprComponent.h:34
Base class for uniaxial materials.
Definition: UniaxialMaterial.h:88