XC Open source finite element analysis program
Beam2dPointLoad.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.3 $
48 // $Date: 2003/02/14 23:00:57 $
49 // $Source: /usr/local/cvs/OpenSees/SRC/domain/load/beam_loads/Beam2dPointLoad.h,v $
50 
51 #ifndef Beam2dPointLoad_h
52 #define Beam2dPointLoad_h
53 
54 // Written: fmk
55 
56 // Purpose: This file contains the class definition for Beam2dPointLoad.
57 
58 #include "domain/load/beam_loads/BeamPointLoad.h"
59 
60 namespace XC {
61 
62 class FVector;
63 
65 //
68  {
69  private:
70  static Vector data;
71  protected:
72 
73  public:
74  Beam2dPointLoad(int tag, double Pt, double x,const ID &theElementTags, double Pa = 0.0);
75  Beam2dPointLoad(int tag);
76  Beam2dPointLoad(void);
77 
78  inline const double &pTrans(void) const
79  { return Trans; }
80  inline const double &pAxial(void) const
81  { return Axial; }
82 
83  size_t getDimVectorFuerza(void) const;
84  size_t getDimVectorMomento(void) const;
85  virtual Vector getLocalForce(void) const;
86  virtual Vector getLocalMoment(void) const;
87  const Matrix &getLocalForces(void) const;
88  const Matrix &getLocalMoments(void) const;
89 
90  const Matrix &getAppliedSectionForces(const double &L,const XC::Matrix &xi,const double &loadFactor) const;
91  void addReactionsInBasicSystem(const double &,const double &,FVector &) const;
92  void addFixedEndForcesInBasicSystem(const double &L,const double &loadFactor,FVector &) const;
93  void addElasticDeformations(const double &L,const CrossSectionProperties2d &ctes_scc,const double &lpI,const double &lpJ,const double &loadFactor,FVector &v0);
94 
95  int sendSelf(CommParameters &);
96  int recvSelf(const CommParameters &);
97 
98  void Print(std::ostream &s, int flag =0);
99 
100  };
101 } // end of XC namespace
102 
103 #endif
104 
Element internal forces.
Definition: FVector.h:44
double x
relative distance (x/L) along length from end 1 of element
Definition: BeamPointLoad.h:41
Definition: Vector.h:82
double Trans
Transverse load.
Definition: BeamMecLoad.h:49
virtual Vector getLocalMoment(void) const
Returns the bending moment expressed in local coordinates.
Definition: Beam2dPointLoad.cpp:95
Punctual load over beam elements.
Definition: BeamPointLoad.h:38
size_t getDimVectorMomento(void) const
Return the dimension del vector momento.
Definition: Beam2dPointLoad.cpp:82
const Matrix & getLocalMoments(void) const
Returns moment vectors (one for each element) expressed in local coordinates.
Definition: Beam2dPointLoad.cpp:119
void addFixedEndForcesInBasicSystem(const double &L, const double &loadFactor, FVector &) const
??
Definition: Beam2dPointLoad.cpp:200
Definition: ID.h:77
int recvSelf(const CommParameters &)
Receives object through the channel being passed as parameter.
Definition: Beam2dPointLoad.cpp:323
double Axial
Axial load.
Definition: BeamMecLoad.h:50
int sendSelf(CommParameters &)
Sends object through the channel being passed as parameter.
Definition: Beam2dPointLoad.cpp:310
Definition: Matrix.h:82
size_t getDimVectorFuerza(void) const
Return the dimension del vector fuerza.
Definition: Beam2dPointLoad.cpp:78
void addReactionsInBasicSystem(const double &, const double &, FVector &) const
Adds the load to the consistent load vector (see page 108 Eugenio Oñate&#39;s book).
Definition: Beam2dPointLoad.cpp:171
Punctual load over 2D beam elements.
Definition: Beam2dPointLoad.h:67
virtual Vector getLocalForce(void) const
Returns force expressed in local coordinates.
Definition: Beam2dPointLoad.cpp:86
void Print(std::ostream &s, int flag=0)
Imprime el objeto.
Definition: Beam2dPointLoad.cpp:335
Mechanical properties of a cross section (area, moments of inertia,...) for a bi-dimensional problem ...
Definition: CrossSectionProperties2d.h:52
const Matrix & getLocalForces(void) const
Returns force vectors (one for each element) expressed in local coordinates.
Definition: Beam2dPointLoad.cpp:105
Communication parameters between processes.
Definition: CommParameters.h:65
================================================================================
Definition: ContinuaReprComponent.h:34
const Matrix & getAppliedSectionForces(const double &L, const XC::Matrix &xi, const double &loadFactor) const
Forces over element sections obtained from the load acting over the element.
Definition: Beam2dPointLoad.cpp:130