xc
MultiaxialCyclicPlasticityAxiSymm.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 ** ****************************************************************** */
42 
43 
44 /*----+----+----+----+----+----+----+----+----+----+----+----+----+----+----*
45  | |
46  | MultiaxialCyclicPlasticity NDMaterial |
47  + +
48  |--------------------------------------------------------------------------|
49  | |
50  + Authors: Gang Wang AND Professor Nicholas Sitar +
51  | |
52  | Department of Civil and Environmental Engineering |
53  + University of California, Berkeley, CA 94720, USA +
54  | |
55  | Email: wang@ce.berkeley.edu (G.W.) |
56  | |
57  +----+----+----+----+----+----+----+----+----+----+----+----+----+----+----*/
58 
59 
60 #ifndef MultiaxialCyclicPlasticityAxiSymm_h
61 #define MultiaxialCyclicPlasticityAxiSymm_h
62 
63 #include <utility/matrix/Vector.h>
64 #include <utility/matrix/Matrix.h>
65 
66 #include <material/nD/soil/cyclicSoil/MultiaxialCyclicPlasticity.h>
67 
68 
69 
70 namespace XC{
72 //
75 
76 //-------------------Declarations-------------------------------
77 
78  private :
79 
80  //static vectors and matrices
81  static Vector strain_vec ; //strain in vector notation
82  static Vector stress_vec ; //stress in vector notation
83  static Matrix tangent_matrix ; //material tangent in matrix notation
84 
85  public :
86 
88  //null constructor
90 
91  //full constructor
92 
94  double rho,
95  double K,
96  double G,
97  double Su,
98  double Ho_kin,
99  double Parameter_h,
100  double Parameter_m,
101  double Parameter_beta,
102  double Kcoeff,
103  double viscosity=0 ) ;
104 
105  //elastic constructor // add density by Gang Wang
106  MultiaxialCyclicPlasticityAxiSymm( int tag, double rho, double K, double G ) ;
107 
108  //make a clone of this material
109  NDMaterial* getCopy(void) const;
110 
111  //send back type of material
112  const std::string &getType( ) const ;
113 
114  //send back order of strain in vector form
115  int getOrder( ) const ;
116 
117  //get the strain and integrate plasticity equations
118  int setTrialStrain( const Vector &strain_from_element) ;
119 
120  //unused trial strain functions
121  int setTrialStrain( const Vector &v, const Vector &r ) ;
122  int setTrialStrainIncr( const Vector &v ) ;
123  int setTrialStrainIncr( const Vector &v, const Vector &r ) ;
124 
125  //send back the strain
126  const Vector& getStrain(void) const;
127 
128  //send back the stress
129  const Vector& getStress(void) const;
130 
131  //send back the tangent
132  const Matrix& getTangent(void) const;
133  const Matrix& getInitialTangent(void) const;
134 
135  //this is mike's problem
136  int setTrialStrain(const Tensor &v) ;
137  int setTrialStrain(const Tensor &v, const Tensor &r) ;
138  int setTrialStrainIncr(const Tensor &v) ;
139  int setTrialStrainIncr(const Tensor &v, const Tensor &r) ;
140  const Tensor& getTangentTensor( ) ;
141 
142  //swap history variables
143  //int commitState( ) ;
144  //int revertToLastCommit( ) ;
145  //int revertToStart( ) ;
146 
147 
148 
149 
150 
151 } ; //end of MultiaxialCyclicPlasticityAxiSymm declarations
152 
153 } //end of XC namespace
154 
155 #endif
const Matrix & getTangent(void) const
Return the tangent stiffness matrix at the current trial strain.
Definition: MultiaxialCyclicPlasticityAxiSymm.cpp:223
Float vector abstraction.
Definition: Vector.h:94
??.
Definition: MultiaxialCyclicPlasticity.h:118
const Vector & getStrain(void) const
Returns strain.
Definition: MultiaxialCyclicPlasticityAxiSymm.cpp:195
const Matrix & getInitialTangent(void) const
Return the material initial stiffness.
Definition: MultiaxialCyclicPlasticityAxiSymm.cpp:254
NDMaterial * getCopy(void) const
Virtual constructor.
Definition: MultiaxialCyclicPlasticityAxiSymm.cpp:106
??.
Definition: MultiaxialCyclicPlasticityAxiSymm.h:74
int setTrialStrainIncr(const Vector &v)
Set trial strain increment.
Definition: MultiaxialCyclicPlasticityAxiSymm.cpp:153
Base class for 2D and 3D materials.
Definition: NDMaterial.h:101
const Vector & getStress(void) const
Returns the material stress vector at the current trial strain.
Definition: MultiaxialCyclicPlasticityAxiSymm.cpp:210
int setTrialStrain(const Vector &strain_from_element)
Sets the value of the trial strain vector, that value used by {getStress()} and getTangent(), to be strain.
Definition: MultiaxialCyclicPlasticityAxiSymm.cpp:121
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Matrix of floats.
Definition: Matrix.h:111