00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef J2PlaneStress_h
00021 #define J2PlaneStress_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 <iostream.h>
00056 #include <stdio.h>
00057 #include <stdlib.h>
00058 #include <math.h>
00059
00060 #include <Vector.h>
00061 #include <Matrix.h>
00062
00063 #include <J2Plasticity.h>
00064
00066 class J2PlaneStress : public J2Plasticity {
00067
00069
00070 public :
00071
00072
00073 J2PlaneStress( ) ;
00074
00076 J2PlaneStress( int tag,
00077 double K,
00078 double G,
00079 double yield0,
00080 double yield_infty,
00081 double d,
00082 double H,
00083 double viscosity ) ;
00084
00085
00087 J2PlaneStress( int tag, double K, double G ) ;
00088
00090 ~J2PlaneStress( ) ;
00091
00093 NDMaterial* getCopy( ) ;
00094
00096 const char* getType( ) const ;
00097
00099 int getOrder( ) const ;
00100
00102 int setTrialStrain( const Vector &strain_from_element) ;
00103
00105 int setTrialStrain( const Vector &v, const Vector &r ) ;
00107 int setTrialStrainIncr( const Vector &v ) ;
00109 int setTrialStrainIncr( const Vector &v, const Vector &r ) ;
00110
00112 const Vector& getStrain( ) ;
00113
00115 const Vector& getStress( ) ;
00116
00118 const Matrix& getTangent( ) ;
00119
00121 int setTrialStrain(const Tensor &v) ;
00123 int setTrialStrain(const Tensor &v, const Tensor &r) ;
00125 int setTrialStrainIncr(const Tensor &v) ;
00127 int setTrialStrainIncr(const Tensor &v, const Tensor &r) ;
00129 const Tensor& getTangentTensor( ) ;
00130
00131
00132
00134 int sendSelf(int commitTag, Channel &theChannel) ;
00136 int recvSelf(int commitTag, Channel &theChannel,
00137 FEM_ObjectBroker &theBroker ) ;
00138
00140 private :
00141
00142
00143 static Vector strain_vec ;
00144 static Vector stress_vec ;
00145 static Matrix tangent_matrix ;
00146
00147
00149
00150
00151 } ;
00152
00153
00154 #endif
00155 ÿ