XC Open source finite element analysis program
EL_NLEij.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_Eij (nonlinear tensorial 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: 09-13-2000 |
45 // UPDATE HISTORY: |
46 // |
47 // |
48 // |
49 // |
50 // SHORT EXPLANATION: This is a nonlinear evolution law for the evoltion of a |
51 // tensorial variable alpha which depends on plastic strain |
52 // i.e. dalpha = 2/3*ha*dE_ij -Cr*de_eq*alpha_ij(Amstrong- |
53 // Frederick Model |
54 //================================================================================
55 
56 #ifndef EL_NLEij_H
57 #define EL_NLEij_H
58 
59 #include <cmath>
60 #include "material/nD/Template3Dep/EL_T.h"
61 
62 namespace XC {
64 //
67  {
68  // Private vars to define the evolution law
69 
70  //coefficient to define the A-F hardening rule of a scalar hardening var
71  double ha, Cr;
72 
73  public:
74  //EvolutionLaw_L_Eij( ); // default constructor---no parameters
75 
76  EvolutionLaw_NL_Eij( double had = 10.0, double Crd = 1.0) : ha(had),Cr(Crd) {}
77 
78  EvolutionLaw_NL_Eij(const EvolutionLaw_NL_Eij &LEL ); // Copy constructor
79 
80  EvolutionLaw_T *newObj(); //create a colne of itself
81 
82  //void InitVars(EPState *EPS); // Initialize all hardening vars called only once
83  // // after material point is formed if necessary.
84 
85  //void setInitD(EPState *EPS); // set initial D once current stress hits the y.s.
86  // // was primarily for Manzari-Dafalias model
87 
88  //double h( EPState *EPS, double norm_dQods); // Evaluating hardening function h
89  BJtensor h_t( EPState *EPS, PotentialSurface *PS); // Evaluating hardening function h
90 
91  //void UpdateVar( EPState *EPS, double dlamda ); // Evolve corresponding var linearly using de_eq_p
92  //Moved to CDriver.cpp
93 
94  void print();
95 
96  // some accessor functions
97  double getha() const;
98  double getCr() const;
99  void setha( double had);
100  void setCr( double Crd);
101 
102  //================================================================================
103  // Overloaded Insertion Operator Zhaohui Added Aug. 13, 2000
104  // prints Linear EvolutionLaw's contents
105  //================================================================================
106  friend std::ostream& operator<< (std::ostream& os, const EvolutionLaw_NL_Eij & LEL);
107 
108 
109 };
110 } // end of XC namespace
111 
112 
113 #endif
114 
115 
116 
117 
Definition: BJtensor.h:110
??.
Definition: EL_T.h:69
??.
Definition: EL_NLEij.h:66
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