XC Open source finite element analysis program
EL_NLEp.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: EvolutionLaw_L_Ep (linear scalar Evolution law) |
35 // |
36 // |
37 // VERSION: |
38 // LANGUAGE: C++.ver >= 2.0 ( Borland C++ ver=3.00, SUN C++ ver=2.1 ) |
39 // TARGET OS: DOS || UNIX || . . . |
40 // DESIGNER(S): Boris Jeremic, Zhaohui Yang |
41 // PROGRAMMER(S): Boris Jeremic, Zhaohui Yang |
42 // |
43 // |
44 // DATE: Mar. 28, 01 |
45 // UPDATE HISTORY: |
46 // |
47 // |
48 // |
49 // |
50 // SHORT EXPLANATION: This is a nonlinear evolution law for the evoltion of a |
51 // scalar variable po which depends on plastic volumetric |
52 // strain i.e. dpo = (1+eo)po/(lamda-kappa)*de_p |
53 // |
54 //================================================================================
55 
56 #ifndef EL_NLEp_H
57 #define EL_NLEp_H
58 
59 #include <cmath>
60 #include "material/nD/Template3Dep/EL_S.h"
61 
62 namespace XC {
64 //
69  {
70  // Private vars to define the evolution law
71 
72  private:
73  double eo; //coefficient to define the linear hardening rule of a scalar hardening var
74  double lambda; //coefficient to define the linear hardening rule of a scalar hardening var
75  double kappa; //coefficient to define the linear hardening rule of a scalar hardening var
76 
77  public:
78  //EvolutionLaw_NL_Ep( ); // default constructor---no parameters
79 
80  EvolutionLaw_NL_Ep( double eod = 0.85, double lambdad = 0.19, double kappad = 0.06);
81 
82  EvolutionLaw_NL_Ep(const EvolutionLaw_NL_Ep &LEL ); // Copy constructor
83 
84  EvolutionLaw_S *newObj(); //create a clone of itself
85 
86  //void InitVars(EPState *EPS); // Initialize all hardening vars called only once
87  // // after material point is formed if necessary.
88 
89  //void setInitD(EPState *EPS); // set initial D once current stress hits the y.s.
90  // // was primarily for Manzari-Dafalias model
91 
92  //double h( EPState *EPS, double norm_dQods); // Evaluating hardening function h
93  double h_s( EPState *EPS, PotentialSurface *PS); // Evaluating hardening function h
94 
95  //void UpdateVar( EPState *EPS, double dlamda ); // Evolve corresponding var linearly using de_eq_p
96  //Moved to CDriver.cpp
97 
98  void print();
99 
100  private:
101  // some accessor functions
102  double geteo() const;
103  //void seteo( double eod);
104 
105  double getlambda() const;
106  //void setlambda( double lambdad);
107 
108  double getkappa() const;
109  //void setkappad( double kappad);
110 
111  //================================================================================
112  // Overloaded Insertion Operator Zhaohui Added Aug. 13, 2000
113  // prints Linear EvolutionLaw's contents
114  //================================================================================
115  friend std::ostream& operator<< (std::ostream& os, const EvolutionLaw_NL_Ep & LEL);
116 
117 
118 };
119 } // end of XC namespace
120 
121 
122 #endif
123 
124 
125 
126 
??.
Definition: EL_S.h:71
This is a nonlinear evolution law for the evoltion of a scalar variable po which depends on plastic v...
Definition: EL_NLEp.h:68
3
Definition: EPState.h:73
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