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