XC Open source finite element analysis program
DP_YS.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 //----------------------------------------------------------------------------
28 //################################################################################
29 //# COPYRIGHT (C): :-)) #
30 //# PROJECT: Object Oriented Finite Element Program #
31 //# PURPOSE: Drucker - Prager yield criterion #
32 //# CLASS: DPYieldSurface #
33 //# #
34 //# VERSION: #
35 //# LANGUAGE: C++.ver >= 2.0 ( Borland C++ ver=3.00, SUN C++ ver=2.1 ) #
36 //# TARGET OS: DOS || UNIX || . . . #
37 //# PROGRAMMER(S): Boris Jeremic, Zhaohui Yang #
38 //# #
39 //# #
40 //# DATE: August 03 '93 #
41 //# UPDATE HISTORY: August 08 '00 #
42 //# #
43 //# #
44 //# #
45 //# #
46 //# SHORT EXPLANATION: #
47 //# #
48 //# if alfa1#=0 && alfa2#=0 && alfa1#=alfa2 => #
49 //# Drucker-Prager with non-associated flow rule #
50 //# #
51 //# if alfa1#=0 && alfa2#=0 && alfa1==alfa2 => #
52 //# Drucker-Prager with associated flow rule #
53 //# #
54 //# if alfa1==0 && alfa2#=0 => #
55 //# Von Mises with non-associated Drucker-Prager flow rule #
56 //# #
57 //# if alfa1#=0 && alfa2==0 => #
58 //# Drucker-Prager with non-associated Von Mises flow rule #
59 //# #
60 //# if alfa1==0 && alfa2==0 => #
61 //# Von Mises with associated flow rule #
62 //# #
63 //################################################################################
64 //*/
65 
66 #ifndef DP_YS_H
67 #define DP_YS_H
68 
69 #include "material/nD/Template3Dep/YS.h"
70 
71 
72 namespace XC {
74 //
77  {
78  private: // Private vars to define the Drucker-Prager Yield Surface
79  //double alfa1; // Cone orientation angle now in EPState's first scalar var
80 
81  public:
82  //alpha machines complains on this
83  //DPYieldSurface *newObj(); //create a clone of itself
84  YieldSurface *newObj(); //create a clone of itself
85 
86  DPYieldSurface(void) {} // Default constructor
87 
88  //DPYieldSurface (const DPYieldSurface & ); // copy constructor
89 
90  double f(const EPState *EPS) const;
91  BJtensor dFods(const EPState *EPS) const;
92 
93  // Redefine 1st derivative of F over scalar internal variables
94  double xi_s1( const EPState *EPS ) const;
95  double xi_s2( const EPState *EPS ) const;
96 
97  // Redefine 1st derivative of F over tensorial internal variables
98  BJtensor xi_t1(const EPState *EPS) const;
99 
100  void print() { std::cerr << *this; };
101 
102  //================================================================================
103  // Overloaded Insertion Operator
104  // prints an DP YieldSurface's contents
105  //================================================================================
106  friend std::ostream& operator<< (std::ostream& os, const DPYieldSurface & YS);
107 
108 };
109 } // end of XC namespace
110 
111 #endif
112 
Definition: BJtensor.h:110
The goal is to create a platform for efficient and easy implemetation of any elasto-plastic constitut...
Definition: YS.h:70
3
Definition: EPState.h:73
??.
Definition: DP_YS.h:76
================================================================================
Definition: ContinuaReprComponent.h:34