xc
fdFlowVM.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 //# COPYRIGHT (C): Woody's license (by BJ):
30 // ``This source code is Copyrighted in
31 // U.S., for an indefinite period, and anybody
32 // caught using it without our permission, will be
33 // mighty good friends of ourn, cause we don't give
34 // a darn. Hack it. Compile it. Debug it. Run it.
35 // Yodel it. Enjoy it. We wrote it, that's all we
36 // wanted to do.''
37 //
38 //# PROJECT: Object Oriented Finite Element Program
39 //# PURPOSE: Finite Deformation Hyper-Elastic classes
40 //# CLASS:
41 //#
42 //# VERSION: 0.6_(1803398874989) (golden section)
43 //# LANGUAGE: C++
44 //# TARGET OS: all...
45 //# DESIGN: Zhao Cheng, Boris Jeremic (jeremic@ucdavis.edu)
46 //# PROGRAMMER(S): Zhao Cheng, Boris Jeremic
47 //#
48 //#
49 //# DATE: July 2004
50 //# UPDATE HISTORY:
51 //#
52 //===============================================================================
53 
54 #ifndef fdFlowVM_H
55 #define fdFlowVM_H
56 
57 #include "material/nD/FiniteDeformation/fdFlow/fdFlow.h"
58 
59 namespace XC {
61 //
63 class fdFlowVM: public fdFlow
64  {
65  private:
66  double Y0;
67  public:
68  fdFlowVM(double Y0_in);
69  // virtual ~fdFlowVM() {};
70 
71  fdFlow *getCopy(void);
72 
73  stresstensor dFods(const stresstensor &sts, const FDEPState &fdepstate ) const ;
74  double dFodq(const stresstensor &sts, const FDEPState &fdepstate ) const;
75  stresstensor dFoda(const stresstensor &sts, const FDEPState &fdepstate ) const ;
76 
77  BJtensor d2Fodsds(const stresstensor &sts, const FDEPState &fdepstate ) const ;
78  //stresstensor d2Fodsdq(const stresstensor &sts, const FDEPState &fdepstate ) const ;
79  BJtensor d2Fodsda(const stresstensor &sts, const FDEPState &fdepstate ) const ;
80 
81  double d2Fodqdq(const stresstensor &sts, const FDEPState &fdepstate ) const;
82  //stresstensor d2Fodqds(const stresstensor &sts, const FDEPState &fdepstate ) const ;
83 
84  BJtensor d2Fodada(const stresstensor &sts, const FDEPState &fdepstate ) const ;
85 
86  void print(void);
87 
88  friend std::ostream& operator<< (std::ostream &, const fdFlowVM &);
89 };
90 std::ostream& operator<<(std::ostream &, const fdFlowVM &);
91 } // end of XC namespace
92 
93 
94 #endif
Stress tensor.
Definition: stresst.h:70
Large deformation hyperelastic elasto-plastic state.
Definition: FDEPState.h:63
Boris Jeremic tensor class.
Definition: BJtensor.h:112
Base class for large deformation hyperelastic flows ??.
Definition: fdFlow.h:71
fdFlow * getCopy(void)
Virtual constructor.
Definition: fdFlowVM.cpp:68
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Large deformation hyperelastic Von-Mises flow ??.
Definition: fdFlowVM.h:63