xc
EvolutionLaw_NLEij.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 //================================================================================
30 // COPYRIGHT (C): :-)) |
31 // PROJECT: Object Oriented Finite Element Program |
32 // PURPOSE: General platform for elaso-plastic constitutive model |
33 // implementation |
34 // |
35 // CLASS: EvolutionLaw_L_Eij (nonlinear tensorial Evolution law) |
36 // |
37 // |
38 // VERSION: |
39 // LANGUAGE: C++.ver >= 2.0 ( Borland C++ ver=3.00, SUN C++ ver=2.1 ) |
40 // TARGET OS: DOS || UNIX || . . . |
41 // DESIGNER(S): Boris Jeremic, Zhaohui Yang |
42 // PROGRAMMER(S): Boris Jeremic, Zhaohui Yang |
43 // |
44 // |
45 // DATE: 09-13-2000 |
46 // UPDATE HISTORY: |
47 // |
48 // |
49 // |
50 // |
51 // SHORT EXPLANATION: This is a nonlinear evolution law for the evoltion of a |
52 // tensorial variable alpha which depends on plastic strain |
53 // i.e. dalpha = 2/3*ha*dE_ij -Cr*de_eq*alpha_ij(Amstrong- |
54 // Frederick Model |
55 //================================================================================
56 
57 #ifndef EvolutionLaw_NLEij_H
58 #define EvolutionLaw_NLEij_H
59 
60 #include <cmath>
61 #include "material/nD/template_3d_ep/EvolutionLaw_T.h"
62 
63 namespace XC {
73  {
74  // Private vars to define the evolution law
75 
76  //coefficient to define the A-F hardening rule of a scalar hardening var
77  double ha, Cr;
78 
79  public:
80  //EvolutionLaw_L_Eij( ); // default constructor---no parameters
81 
82  EvolutionLaw_NL_Eij( double had = 10.0, double Crd = 1.0) : ha(had),Cr(Crd) {}
83 
84  EvolutionLaw_NL_Eij(const EvolutionLaw_NL_Eij &LEL ); // Copy constructor
85 
86  EvolutionLaw_T *getCopy(void) const; // create a clone of itself
87 
88  //void InitVars(EPState *EPS); // Initialize all hardening vars called only once
89  // // after material point is formed if necessary.
90 
91  //void setInitD(EPState *EPS); // set initial D once current stress hits the y.s.
92  // // was primarily for Manzari-Dafalias model
93 
94  //double h( EPState *EPS, double norm_dQods); // Evaluating hardening function h
95  BJtensor h_t( EPState *EPS, PotentialSurface *PS); // Evaluating hardening function h
96 
97  //void UpdateVar( EPState *EPS, double dlamda ); // Evolve corresponding var linearly using de_eq_p
98  //Moved to CDriver.cpp
99 
100  virtual void print(std::ostream &) const;
101 
102  // some accessor functions
103  double getha() const;
104  double getCr() const;
105  void setha( double had);
106  void setCr( double Crd);
107 
108  };
109 
110 } // end of XC namespace
111 
112 
113 #endif
114 
115 
116 
117 
virtual void print(std::ostream &) const
Print vars defined in Linear Evolution Law.
Definition: EvolutionLaw_NLEij.cpp:156
Boris Jeremic tensor class.
Definition: BJtensor.h:112
Definition: PotentialSurface.h:76
Base class for all elasto-plastic states.
Definition: EPState.h:151
EvolutionLaw_T * getCopy(void) const
Virtual constructor.
Definition: EvolutionLaw_NLEij.cpp:77
Base class for tensorial evolution laws.
Definition: EvolutionLaw_T.h:72
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Nonlinear tensorial evolution law.
Definition: EvolutionLaw_NLEij.h:72