XC Open source finite element analysis program
QzSimple1.h
1 //----------------------------------------------------------------------------
2 // XC program; finite element analysis code
3 // for structural analysis and design.
4 //
5 // Copyright (C) Luis Claudio Pérez Tato
6 //
7 // This program derives from OpenSees <http://opensees.berkeley.edu>
8 // developed by the «Pacific earthquake engineering research center».
9 //
10 // Except for the restrictions that may arise from the copyright
11 // of the original program (see copyright_opensees.txt)
12 // XC is free software: you can redistribute it and/or modify
13 // it under the terms of the GNU General Public License as published by
14 // the Free Software Foundation, either version 3 of the License, or
15 // (at your option) any later version.
16 //
17 // This software is distributed in the hope that it will be useful, but
18 // WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 // GNU General Public License for more details.
21 //
22 //
23 // You should have received a copy of the GNU General Public License
24 // along with this program.
25 // If not, see <http://www.gnu.org/licenses/>.
26 //----------------------------------------------------------------------------
27 /* *********************************************************************
28 ** Module: QzSimple1.h
29 **
30 ** Purpose: Provide a simple Q-z material for OpenSees
31 **
32 **
33 ** Developed by Ross W. Boulanger
34 ** (C) Copyright 2002, All Rights Reserved.
35 **
36 ** ****************************************************************** */
37 
38 // $Revision: 1.0
39 // $Date: 2002/1/22
40 // $Source: /OpenSees/SRC/material/uniaxial/QzSimple1.h
41 
42 #ifndef QZSIMPLE1_H
43 #define QZSIMPLE1_H
44 
45 // Written: RWB
46 // Created: Jan 2002
47 // tested and checked: Boris Jeremic (jeremic@ucdavis.edu) Spring 2002
48 //
49 // Description: This file contains the class definition for QzSimple1.
50 //
51 
52 #include "material/uniaxial/PY/PQyzBase.h"
53 
54 
55 namespace XC {
57 //
59 class QzSimple1 : public PQyzBase
60  {
61  private:
62  // Material parameters
63  double suction; // ratio of max suction force to Qult
64  double maxElast; // max size of elastic range (in terms of dQ/Qult)
65 
66  InternalParamsIn CSuction; // Committed internal parameters for the Suction component
67  InternalParamsIn TSuction; // Trial internal parameters for the Suction component
68 
69  InternalParamsA CClose;
70  InternalParamsA TClose;
71 
72  // Functions to get Q & z for each component individually
73  void getGap(double zlast, double dz, double dz_old);
74  void getClosure(double zlast, double dz);
75  void getSuction(double zlast, double zy);
76  void getNearField(double zlast, double dz, double dz_old);
77  protected:
78  int sendData(CommParameters &);
79  int recvData(const CommParameters &);
80 
81  public:
82  QzSimple1(int tag, int qzType, double Qult, double z50, double suction,double dashpot);
83  QzSimple1(int tag, int classtag= MAT_TAG_QzSimple1);
84  QzSimple1(void);
85 
86  int setTrialStrain(double z, double zRate);
87  double getStress(void) const;
88  double getDampTangent(void) const;
89 
90  int commitState(void);
91  int revertToLastCommit(void);
92  int revertToStart(void);
93 
94  UniaxialMaterial *getCopy(void) const;
95 
96  int sendSelf(CommParameters &);
97  int recvSelf(const CommParameters &);
98 
99  void Print(std::ostream &s, int flag =0);
100 
101 
102 
103 
104  };
105 } // end of XC namespace
106 
107 #endif
int recvData(const CommParameters &)
Receives object members through the channel being passed as parameter.
Definition: QzSimple1.cpp:587
double getDampTangent(void) const
default operation for damping tangent is zero
Definition: QzSimple1.cpp:443
int sendData(CommParameters &)
Send object members through the channel being passed as parameter.
Definition: QzSimple1.cpp:575
UniaxialMaterial * getCopy(void) const
Virtual constructor.
Definition: QzSimple1.cpp:571
Internal parameters for a p-y material.
Definition: InternalParamsA.h:38
double dashpot
dashpot on the far-field (elastic) component
Definition: PYBase.h:56
Material que representa la resistencia por fuste de un pilote.
Definition: QzSimple1.h:59
Communication parameters between processes.
Definition: CommParameters.h:65
================================================================================
Definition: ContinuaReprComponent.h:34
QzSimple1(void)
Default constructor.
Definition: QzSimple1.cpp:87
void Print(std::ostream &s, int flag=0)
Imprime el objeto.
Definition: QzSimple1.cpp:631
Internal parameters for a p-y material.
Definition: InternalParamsIn.h:38
Base class for PySimple1 y QzSimple1.
Definition: PQyzBase.h:38
Base class for uniaxial materials.
Definition: UniaxialMaterial.h:88