ElasticMembranePlateSection.hGo to the documentation of this file.00001 /* ****************************************************************** ** 00002 ** OpenSees - Open System for Earthquake Engineering Simulation ** 00003 ** Pacific Earthquake Engineering Research Center ** 00004 ** ** 00005 ** ** 00006 ** (C) Copyright 1999, The Regents of the University of California ** 00007 ** All Rights Reserved. ** 00008 ** ** 00009 ** Commercial use of this program without express permission of the ** 00010 ** University of California, Berkeley, is strictly prohibited. See ** 00011 ** file 'COPYRIGHT' in main directory for information on usage and ** 00012 ** redistribution, and for a DISCLAIMER OF ALL WARRANTIES. ** 00013 ** ** 00014 ** Developed by: ** 00015 ** Frank McKenna (fmckenna@ce.berkeley.edu) ** 00016 ** Gregory L. Fenves (fenves@ce.berkeley.edu) ** 00017 ** Filip C. Filippou (filippou@ce.berkeley.edu) ** 00018 ** ** 00019 ** ****************************************************************** */ 00020 00021 // $Revision: 1.9 $ 00022 // $Date: 2006/08/03 23:49:46 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/material/section/ElasticMembranePlateSection.h,v $ 00024 00025 // Ed "C++" Love 00026 // 00027 // Elastic Plate Section with membrane 00028 // 00029 00030 00031 #include <stdio.h> 00032 #include <stdlib.h> 00033 #include <math.h> 00034 00035 #include <Vector.h> 00036 #include <Matrix.h> 00037 #include <ID.h> 00038 00039 #include <SectionForceDeformation.h> 00040 00041 00042 class ElasticMembranePlateSection : public SectionForceDeformation{ 00043 00044 //-------------------Declarations------------------------------- 00045 00046 public : 00047 00048 //null constructor 00049 ElasticMembranePlateSection( ) ; 00050 00051 //full constructor 00052 ElasticMembranePlateSection( int tag, 00053 double E, 00054 double nu, 00055 double h = 1.0, 00056 double rho = 0.0 ) ; 00057 00058 00059 00060 //destructor 00061 ~ElasticMembranePlateSection( ) ; 00062 00063 //make a clone of this material 00064 SectionForceDeformation *getCopy( ) ; 00065 00066 00067 const char *getClassType(void) const {return "ElasticMembranePlate";}; 00068 00069 //send back order of strain in vector form 00070 int getOrder( ) const ; 00071 00072 //send back order of strain in vector form 00073 const ID& getType( ) ; 00074 00075 //swap history variables 00076 int commitState( ) ; 00077 00078 //revert to last saved state 00079 int revertToLastCommit( ) ; 00080 00081 //revert to start 00082 int revertToStart( ) ; 00083 00084 //get the strain and integrate plasticity equations 00085 int setTrialSectionDeformation( const Vector &strain_from_element ) ; 00086 00087 //send back the strain 00088 const Vector& getSectionDeformation( ) ; 00089 00090 //send back the stress 00091 const Vector& getStressResultant( ) ; 00092 00093 //send back the tangent 00094 const Matrix& getSectionTangent( ) ; 00095 00096 //send back the initial tangent 00097 const Matrix& getInitialTangent( ) ; 00098 00099 //print out data 00100 void Print( OPS_Stream &s, int flag ) ; 00101 00102 //density per unit area 00103 double getRho() ; 00104 00105 int sendSelf(int commitTag, Channel &theChannel); 00106 int recvSelf(int commitTag, Channel &theChannel, FEM_ObjectBroker &theBroker); 00107 00108 00109 private : 00110 00111 double E ; // elastic modulus 00112 double nu ; // poisson ratio 00113 double h ; // MembranePlate thickness 00114 double rhoH ; //mass per unit 2D area 00115 00116 static const double five6 ; // =5/6 = shear correction factor 00117 00118 Vector strain ; 00119 00120 static Vector stress ; 00121 00122 static Matrix tangent ; 00123 00124 static ID array ; 00125 00126 } ; //end of ElasticMembranePlateSection declarations 00127 00128 00129 00130 00131 |