XC Open source finite element analysis program
EL_NLEeq.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 //================================================================================
29 // COPYRIGHT (C): :-)) |
30 // PROJECT: Object Oriented Finite Element Program |
31 // PURPOSE: General platform for elaso-plastic constitutive model |
32 // implementation |
33 // |
34 // CLASS: NonLinear EvolutionLaw (on plastic equivalent strain) |
35 // |
36 // VERSION: |
37 // LANGUAGE: C++.ver >= 2.0 ( Borland C++ ver=3.00, SUN C++ ver=2.1 ) |
38 // TARGET OS: DOS || UNIX || . . . |
39 // DESIGNER(S): Boris Jeremic, Zhaohui Yang |
40 // PROGRAMMER(S): Boris Jeremic, Zhaohui Yang |
41 // |
42 // |
43 // DATE: 09-02-2000 |
44 // UPDATE HISTORY: |
45 // |
46 // |
47 // |
48 // |
49 // SHORT EXPLANATION: This is a nonlinear evolution law for the evoltion of a |
50 // scalar variable k which depends on plastic equi. strain |
51 // i.e. dk = f( de_eq_p ) |
52 // |
53 //================================================================================
54 
55 #ifndef EL_NLEeq_H
56 #define EL_NLEeq_H
57 
58 #include <cmath>
59 #include "material/nD/Template3Dep/EL_S.h"
60 
61 namespace XC {
63 //
66  {
67  // Private vars to define the evolution law
68 
69  //Coefficients to define the nonlinear hardening rule of a scalar var eta
70  double eeqEtaPeak, etaResidual, etaStart, etaPeak, e, d;
71 
72  public:
73  // default constructor
74  EvolutionLaw_NL_Eeq( double eeqEtaPeakd = 0.003,
75  double etaResiduald = .2,
76  double etaStartd = 0.3,
77  double etaPeakd = 0.5,
78  double ed = 0.5,
79  double dd = 500.0) :
80  eeqEtaPeak(eeqEtaPeakd), etaResidual(etaResiduald),
81  etaStart(etaStartd), etaPeak(etaPeakd), e(ed), d(dd) {}
82 
83  EvolutionLaw_NL_Eeq(const EvolutionLaw_NL_Eeq &NLEL ); // Copy constructor
84 
85  EvolutionLaw_S *newObj(); //create a colne of itself
86 
87  //void InitVars(EPState *EPS); // Initialize all hardening vars called only once
88  // // after material point is formed if necessary.
89 
90  //void setInitD(EPState *EPS); // set initial D once current stress hits the y.s.
91  // // was primarily for Manzari-Dafalias model
92 
93  //double h( EPState *EPS, double d ); // Evaluating hardening function h
94  double h_s( EPState *EPS, PotentialSurface *PS); // Evaluating hardening function h
95 
96  //void UpdateVar( EPState *EPS, double dlamda ); // Evolve corresponding var linearly using de_eq_p
97 
98  void print();
99 
100  // some accessor functions
101  // some accessor functions
102  double geteeqEtaPeak() const;
103  double getetaResidual() const;
104  double getetaStart() const;
105  double getetaPeak() const;
106  double gete() const;
107  double getd() const;
108 
109  //================================================================================
110  // Overloaded Insertion Operator
111  // prints nonlinear EvolutionLaw's contents
112  //================================================================================
113  friend std::ostream& operator<< (std::ostream& os, const EvolutionLaw_NL_Eeq & NLEL);
114 
115 
116 };
117 } // end of XC namespace
118 
119 
120 #endif
121 
122 
123 
124 
??.
Definition: EL_S.h:71
3
Definition: EPState.h:73
??.
Definition: EL_NLEeq.h:65
The goal is to create a platform for efficient and easy implemetation of any elasto-plastic constitut...
Definition: PS.h:71
================================================================================
Definition: ContinuaReprComponent.h:34