00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef J2PlaneStrain_h
00021 #define J2PlaneStrain_h
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055 #include <stdio.h>
00056 #include <stdlib.h>
00057 #include <math.h>
00058
00059 #include <Vector.h>
00060 #include <Matrix.h>
00061
00062 #include <J2Plasticity.h>
00063
00064 class J2PlaneStrain : public J2Plasticity {
00065
00066
00067
00068 public :
00069
00070
00071 J2PlaneStrain( ) ;
00072
00073
00074 J2PlaneStrain( int tag,
00075 double K,
00076 double G,
00077 double yield0,
00078 double yield_infty,
00079 double d,
00080 double H,
00081 double viscosity = 0 ) ;
00082
00083
00084
00085 J2PlaneStrain( int tag, double K, double G ) ;
00086
00087
00088 ~J2PlaneStrain( ) ;
00089
00090
00091 NDMaterial* getCopy( ) ;
00092
00093
00094 const char* getType( ) const ;
00095
00096 const char *getClassType(void) const {return "J2PlaneStrain";};
00097
00098
00099 int getOrder( ) const ;
00100
00101
00102
00103 int setTrialStrain( const Vector &strain_from_element) ;
00104
00105
00106 int setTrialStrain( const Vector &v, const Vector &r ) ;
00107 int setTrialStrainIncr( const Vector &v ) ;
00108 int setTrialStrainIncr( const Vector &v, const Vector &r ) ;
00109
00110
00111 const Vector& getStrain( ) ;
00112
00113
00114 const Vector& getStress( ) ;
00115
00116
00117 const Matrix& getTangent( ) ;
00118 const Matrix& getInitialTangent( ) ;
00119
00120
00121 int setTrialStrain(const Tensor &v) ;
00122 int setTrialStrain(const Tensor &v, const Tensor &r) ;
00123 int setTrialStrainIncr(const Tensor &v) ;
00124 int setTrialStrainIncr(const Tensor &v, const Tensor &r) ;
00125 const Tensor& getTangentTensor( ) ;
00126
00127
00128
00129
00130
00131 int commitState( ) ;
00132 int revertToLastCommit( ) ;
00133 int revertToStart( ) ;
00134
00135
00136 int sendSelf(int commitTag, Channel &theChannel) ;
00137 int recvSelf(int commitTag, Channel &theChannel,
00138 FEM_ObjectBroker &theBroker ) ;
00139
00140
00141 private :
00142
00143
00144 static Vector strain_vec ;
00145 static Vector stress_vec ;
00146 static Matrix tangent_matrix ;
00147 } ;
00148
00149 #endif