EPPGapMaterial.h

Go 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.7 $
00022 // $Date: 2006/08/03 23:42:19 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/material/uniaxial/EPPGapMaterial.h,v $
00024 
00025 // File: ~/material/EPPGapMaterial.h
00026 //
00027 // Written: krm
00028 // Created: 07/2000
00029 // Revision: A
00030 //
00031 // Description: This file contains the class definition for 
00032 // ElasticMaterial. EPPGapMaterial provides the abstraction
00033 // of an elastic perfectly plastic (tension only) path dependent uniaxial 
00034 // material, with an initial gap offset (force-displacement units)
00035 // For compression only behavior, enter negative gap and ep
00036 // Damage can accumulate through specification of damage = 1 switch,
00037 // otherwise damage = 0
00038 //
00039 //                  gap ep
00040 //                  |<>|>|
00041 //          stress  |    +-----+ fy
00042 //                  |   /E    /
00043 //         ---------+--+-+---+----strain
00044 //                  |       
00045 //                  |   
00046 //                  |      
00047 //
00048 // What: "@(#) EPPGapMaterial.h, revA"
00049 
00050 #ifndef EPPGapMaterial_h
00051 #define EPPGapMaterial_h
00052 
00053 #include <UniaxialMaterial.h>
00054 
00055 class EPPGapMaterial : public UniaxialMaterial
00056 {
00057   public:
00058     EPPGapMaterial(int tag, double E, double fy, double gap, double eta, int damage = 0);
00059     EPPGapMaterial();  
00060     ~EPPGapMaterial();
00061 
00062     const char *getClassType(void) const {return "EPPGapMaterial";};
00063 
00064     int setTrialStrain(double strain, double strainRate = 0.0); 
00065     double getStrain(void);          
00066     double getStress(void);
00067     double getTangent(void);
00068     double getInitialTangent(void);
00069 
00070     int commitState(void);
00071     int revertToLastCommit(void);    
00072     int revertToStart(void);    
00073 
00074     UniaxialMaterial *getCopy(void);
00075     
00076     int sendSelf(int commitTag, Channel &theChannel);  
00077     int recvSelf(int commitTag, Channel &theChannel, 
00078                  FEM_ObjectBroker &theBroker);    
00079     
00080     void Print(OPS_Stream &s, int flag =0);
00081     
00082   protected:
00083     
00084   private:
00085     double commitStrain;
00086     double trialStrain;
00087     double E;
00088     double fy;
00089     double gap;
00090     double eta;
00091     double maxElasticYieldStrain;
00092     double minElasticYieldStrain;
00093     int damage;
00094 
00095     double trialStress;      // current trial stress
00096     double trialTangent;     // current trial tangent
00097 };
00098 
00099 
00100 #endif

Generated on Mon Oct 23 15:05:19 2006 for OpenSees by doxygen 1.5.0