00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
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
00056 #include <iostream.h>
00057 #include <stdio.h>
00058 #include <stdlib.h>
00059 #include <math.h>
00060
00061 #include <Vector.h>
00062 #include <Matrix.h>
00063
00064 #include <J2Plasticity.h>
00065
00067 class J2ThreeDimensional : public J2Plasticity {
00068
00070
00071 public :
00072
00073
00074 J2ThreeDimensional( ) ;
00075
00077 J2ThreeDimensional( int tag,
00078 double K,
00079 double G,
00080 double yield0,
00081 double yield_infty,
00082 double d,
00083 double H,
00084 double viscosity = 0 ) ;
00085
00086
00088 J2ThreeDimensional( int tag, double K, double G ) ;
00089
00091 ~J2ThreeDimensional( ) ;
00092
00094 NDMaterial* getCopy( ) ;
00095
00097 const char* getType( ) const ;
00098
00100 int getOrder( ) const ;
00101
00103 int setTrialStrain( const Vector &strain_from_element) ;
00104
00106 int setTrialStrain( const Vector &v, const Vector &r ) ;
00108 int setTrialStrainIncr( const Vector &v ) ;
00110 int setTrialStrainIncr( const Vector &v, const Vector &r ) ;
00111
00113 const Vector& getStrain( ) ;
00114
00116 const Vector& getStress( ) ;
00117
00119 const Matrix& getTangent( ) ;
00120
00122 int setTrialStrain(const Tensor &v) ;
00124 int setTrialStrain(const Tensor &v, const Tensor &r) ;
00126 int setTrialStrainIncr(const Tensor &v) ;
00128 int setTrialStrainIncr(const Tensor &v, const Tensor &r) ;
00130 const Tensor& getTangentTensor( ) ;
00131
00132
00133
00135 int sendSelf(int commitTag, Channel &theChannel) ;
00137 int recvSelf(int commitTag, Channel &theChannel,
00138 FEM_ObjectBroker &theBroker ) ;
00139
00141 private :
00142
00143
00144 static Vector strain_vec ;
00145 static Vector stress_vec ;
00146 static Matrix tangent_matrix ;
00147
00148
00149 } ;
00150
00151
00152 ÿ