xc
DruckerPragerYieldSurface.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 //----------------------------------------------------------------------------
29 //############################################################################
30 //# COPYRIGHT (C): :-)) #
31 //# PROJECT: Object Oriented Finite Element Program #
32 //# PURPOSE: Drucker - Prager yield criterion #
33 //# CLASS: DruckerPragerYieldSurface #
34 //# #
35 //# VERSION: #
36 //# LANGUAGE: C++.ver >= 2.0 ( Borland C++ ver=3.00, SUN C++ ver=2.1 ) #
37 //# TARGET OS: DOS || UNIX || . . . #
38 //# PROGRAMMER(S): Boris Jeremic, Zhaohui Yang #
39 //# #
40 //# #
41 //# DATE: August 03 '93 #
42 //# UPDATE HISTORY: August 08 '00 #
43 //# #
44 //# #
45 //# #
46 //# #
47 //# SHORT EXPLANATION: #
48 //# #
49 //# if alfa1#=0 && alfa2#=0 && alfa1#=alfa2 => #
50 //# Drucker-Prager with non-associated flow rule #
51 //# #
52 //# if alfa1#=0 && alfa2#=0 && alfa1==alfa2 => #
53 //# Drucker-Prager with associated flow rule #
54 //# #
55 //# if alfa1==0 && alfa2#=0 => #
56 //# Von Mises with non-associated Drucker-Prager flow rule #
57 //# #
58 //# if alfa1#=0 && alfa2==0 => #
59 //# Drucker-Prager with non-associated Von Mises flow rule #
60 //# #
61 //# if alfa1==0 && alfa2==0 => #
62 //# Von Mises with associated flow rule #
63 //# #
64 //############################################################################
65 //*/
66 
67 #ifndef DruckerPragerYieldSurface_H
68 #define DruckerPragerYieldSurface_H
69 
70 #include "material/nD/template_3d_ep/YieldSurface.h"
71 
72 
73 namespace XC {
78  {
79  public:
80  DruckerPragerYieldSurface(void) {} // Default constructor
81  YieldSurface *getCopy(void) const; //create a clone of itself
82 
83 
84  double f(const EPState *EPS) const;
85  BJtensor dFods(const EPState *EPS) const;
86 
87  // Redefine 1st derivative of F over scalar internal variables
88  double xi_s1( const EPState *EPS ) const;
89  double xi_s2( const EPState *EPS ) const;
90 
91  // Redefine 1st derivative of F over tensorial internal variables
92  BJtensor xi_t1(const EPState *EPS) const;
93 
94  virtual void print(std::ostream &os) const;
95  };
96 } // end of XC namespace
97 
98 #endif
99 
double xi_s1(const EPState *EPS) const
double xi_s1 = dF/dS1 = dF/dalfa1 = I1 Derivative in terms of first scalar var
Definition: DruckerPragerYieldSurface.cpp:132
BJtensor xi_t1(const EPState *EPS) const
double xi_t1 = dF/dt1 = dF/dalpha
Definition: DruckerPragerYieldSurface.cpp:144
Boris Jeremic tensor class.
Definition: BJtensor.h:112
virtual void print(std::ostream &os) const
Print stuff.
Definition: DruckerPragerYieldSurface.cpp:172
YieldSurface * getCopy(void) const
Virtual constructor.
Definition: DruckerPragerYieldSurface.cpp:52
Drucker-Prager model yield surface.
Definition: DruckerPragerYieldSurface.h:77
Base class for yield surfaces.
Definition: YieldSurface.h:69
BJtensor dFods(const EPState *EPS) const
BJtensor dF/dsigma_ij.
Definition: DruckerPragerYieldSurface.cpp:89
Base class for all elasto-plastic states.
Definition: EPState.h:151
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
double f(const EPState *EPS) const
Yield criterion evaluation function F(EPState) f = a*I1 + 0.5*sqrt(2.0)*||s_ij - p*alpha_ij|| - k =0...
Definition: DruckerPragerYieldSurface.cpp:57