xc
VonMisesYieldSurface.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: Von Mises yield criterion #
33 //# CLASS: VonMisesYieldSurface #
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: Von Mises yield surface #
48 //# #
49 //# #
50 //##############################################################################
51 //*/
52 
53 #ifndef VonMisesYieldSurface_H
54 #define VonMisesYieldSurface_H
55 
56 #include "material/nD/template_3d_ep/YieldSurface.h"
57 
58 
59 namespace XC {
64  {
65  public:
66  // Default constructor
67  VonMisesYieldSurface(void) {}
68  // Create a clone of itself
69  YieldSurface *getCopy(void) const;
70 
71  // Evaluation of f
72  double f(const EPState *EPS) const;
73 
74  //First derivative of F over sigma
75  BJtensor dFods(const EPState *EPS) const;
76 
77  double xi_s1(const EPState *EPS) const;
78 
79  BJtensor xi_t1(const EPState *EPS) const;
80 
81  void print(std::ostream &os) const;
82  };
83 
84 } // end of XC namespace
85 
86 #endif
87 
YieldSurface * getCopy(void) const
Virtual constructor.
Definition: VonMisesYieldSurface.cpp:65
BJtensor xi_t1(const EPState *EPS) const
BJtensor xi_k1=dF/d_alpha_ij=-3.0*S_bar_pq Derivative in terms of 1st BJtensor var.
Definition: VonMisesYieldSurface.cpp:133
Boris Jeremic tensor class.
Definition: BJtensor.h:112
Von Mises yield surface.
Definition: VonMisesYieldSurface.h:63
Base class for yield surfaces.
Definition: YieldSurface.h:69
void print(std::ostream &os) const
Print stuff.
Definition: VonMisesYieldSurface.cpp:144
Base class for all elasto-plastic states.
Definition: EPState.h:151
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
double xi_s1(const EPState *EPS) const
double xi1 = dF/dk = 2.0*k Derivative in terms of first scalar var.
Definition: VonMisesYieldSurface.cpp:122