XC Open source finite element analysis program
Beam3dPointLoad.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 ** OpenSees - Open System for Earthquake Engineering Simulation **
29 ** Pacific Earthquake Engineering Research Center **
30 ** **
31 ** **
32 ** (C) Copyright 1999, The Regents of the University of California **
33 ** All Rights Reserved. **
34 ** **
35 ** Commercial use of this program without express permission of the **
36 ** University of California, Berkeley, is strictly prohibited. See **
37 ** file 'COPYRIGHT' in main directory for information on usage and **
38 ** redistribution, and for a DISCLAIMER OF ALL WARRANTIES. **
39 ** **
40 ** Developed by: **
41 ** Frank McKenna (fmckenna@ce.berkeley.edu) **
42 ** Gregory L. Fenves (fenves@ce.berkeley.edu) **
43 ** Filip C. Filippou (filippou@ce.berkeley.edu) **
44 ** **
45 ** ****************************************************************** */
46 
47 // $Revision: 1.2 $
48 // $Date: 2003/02/14 23:00:57 $
49 // $Source: /usr/local/cvs/OpenSees/SRC/domain/load/beam_loads/Beam3dPointLoad.h,v $
50 
51 #ifndef Beam3dPointLoad_h
52 #define Beam3dPointLoad_h
53 
54 // Written: fmk
55 
56 // Purpose: This file contains the class definition for Beam3dPointLoad.
57 
58 #include "domain/load/beam_loads/BeamPointLoad.h"
59 
60 namespace XC {
61 
62 class FVector;
63 
65 //
68  {
69  private:
70  double Pz;
71  static Vector data;
72  protected:
73  DbTagData &getDbTagData(void) const;
74 
75  public:
76  Beam3dPointLoad(int tag, double Py, double Pz, double x,const ID &theElementTags, double Pa = 0.0);
77  Beam3dPointLoad(int tag);
78  Beam3dPointLoad(void);
79 
80  inline const double &px(void) const
81  { return Axial; }
82  inline const double &py(void) const
83  { return Trans; }
84  inline const double &pz(void) const
85  { return Pz; }
86  inline void setTransZComponent(const double &d)
87  { Pz= d; }
88  inline double getTransZComponent(void)
89  { return Pz; }
90 
91  size_t getDimVectorFuerza(void) const;
92  size_t getDimVectorMomento(void) const;
93  virtual Vector getLocalForce(void) const;
94  virtual Vector getLocalMoment(void) const;
95  const Matrix &getLocalForces(void) const;
96  const Matrix &getLocalMoments(void) const;
97 
98  const Matrix &getAppliedSectionForces(const double &L,const Matrix &xi,const double &loadFactor) const;
99  void addReactionsInBasicSystem(const double &,const double &,FVector &) const;
100  void addFixedEndForcesInBasicSystem(const double &L,const double &loadFactor,FVector &) const;
101  void addElasticDeformations(const double &L,const CrossSectionProperties3d &ctes_scc,const double &lpI,const double &lpJ,const double &loadFactor,FVector &v0);
102 
103  int sendSelf(CommParameters &);
104  int recvSelf(const CommParameters &);
105  void Print(std::ostream &s, int flag =0) const;
106 
107  };
108 } // end of XC namespace
109 
110 #endif
111 
Element internal forces.
Definition: FVector.h:44
size_t getDimVectorFuerza(void) const
Return the dimension del vector fuerza.
Definition: Beam3dPointLoad.cpp:77
DbTagData & getDbTagData(void) const
Returns a vector para almacenar los dbTags de los miembros de la clase.
Definition: Beam3dPointLoad.cpp:382
double x
relative distance (x/L) along length from end 1 of element
Definition: BeamPointLoad.h:41
Definition: Vector.h:82
Vector que almacena los dbTags de los miembros de la clase.
Definition: DbTagData.h:43
void addReactionsInBasicSystem(const double &, const double &, FVector &) const
Adds the load al consistent load vector (ver página 108 libro Eugenio Oñate).
Definition: Beam3dPointLoad.cpp:183
double Trans
Transverse load.
Definition: BeamMecLoad.h:49
virtual Vector getLocalForce(void) const
Returns force expressed in local coordinates.
Definition: Beam3dPointLoad.cpp:85
size_t getDimVectorMomento(void) const
Return the dimension del vector momento.
Definition: Beam3dPointLoad.cpp:81
virtual Vector getLocalMoment(void) const
Returns the bending moment expressed in local coordinates.
Definition: Beam3dPointLoad.cpp:95
Mechanical properties of a section (area, moments of inertia,...) in a three-dimensional problem (six...
Definition: CrossSectionProperties3d.h:40
const Matrix & getLocalForces(void) const
Returns force vectors (one for each element) expressed in local coordinates.
Definition: Beam3dPointLoad.cpp:105
const Matrix & getLocalMoments(void) const
Returns moment vectors (one for each element) expressed in local coordinates.
Definition: Beam3dPointLoad.cpp:120
Punctual load over beam elements.
Definition: BeamPointLoad.h:38
int sendSelf(CommParameters &)
Sends object through the channel being passed as parameter.
Definition: Beam3dPointLoad.cpp:389
Definition: ID.h:77
double Axial
Axial load.
Definition: BeamMecLoad.h:50
Definition: Matrix.h:82
int recvSelf(const CommParameters &)
Receives object through the channel being passed as parameter.
Definition: Beam3dPointLoad.cpp:403
const Matrix & getAppliedSectionForces(const double &L, const Matrix &xi, const double &loadFactor) const
Applied section forces due to element point load.
Definition: Beam3dPointLoad.cpp:135
void Print(std::ostream &s, int flag=0) const
Print load information.
Definition: Beam3dPointLoad.cpp:419
Communication parameters between processes.
Definition: CommParameters.h:65
================================================================================
Definition: ContinuaReprComponent.h:34
Punctual load over 3D beams.
Definition: Beam3dPointLoad.h:67
void addFixedEndForcesInBasicSystem(const double &L, const double &loadFactor, FVector &) const
??
Definition: Beam3dPointLoad.cpp:218