XC Open source finite element analysis program
Beam2dUniformLoad.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/Beam2dUniformLoad.h,v $
50 
51 #ifndef Beam2dUniformLoad_h
52 #define Beam2dUniformLoad_h
53 
54 // Written: fmk
55 
56 // Purpose: This file contains the class definition for Beam2dUniformLoad.
57 
58 #include "domain/load/beam_loads/BeamUniformLoad.h"
59 
60 namespace XC {
61 class FVector;
62 
64 //
67  {
68  private:
69  static Vector data;
70  public:
71  Beam2dUniformLoad(int tag, double wTrans, double wAxial,const ID &theElementTags);
72  Beam2dUniformLoad(int tag);
73  Beam2dUniformLoad(void);
74 
75  int getType(void);
76  inline const double &WTrans(void) const
77  { return Trans; }
78  inline const double &WAxial(void) const
79  { return Axial; }
80 
81  size_t getDimVectorFuerza(void) const;
82  size_t getDimVectorMomento(void) const;
83  virtual Vector getLocalForce(void) const;
84  virtual Vector getLocalMoment(void) const;
85  const Matrix &getLocalForces(void) const;
86  const Matrix &getLocalMoments(void) const;
87 
88  const Matrix &getAppliedSectionForces(const double &L,const XC::Matrix &xi,const double &loadFactor) const;
89  void addReactionsInBasicSystem(const double &,const double &,FVector &) const;
90  void addFixedEndForcesInBasicSystem(const double &,const double &,FVector &) const;
91  void addElasticDeformations(const double &L,const CrossSectionProperties2d &ctes_scc,const double &lpI,const double &lpJ,const double &loadFactor,FVector &v0);
92 
93  int sendSelf(CommParameters &);
94  int recvSelf(const CommParameters &);
95  };
96 } // end of XC namespace
97 
98 #endif
99 
Element internal forces.
Definition: FVector.h:44
Definition: Vector.h:82
Uniform load over 2D beam elements.
Definition: Beam2dUniformLoad.h:66
const Matrix & getLocalForces(void) const
Returns distributed force vectors (one for each element) expressed in local coordinates.
Definition: Beam2dUniformLoad.cpp:106
double Trans
Transverse load.
Definition: BeamMecLoad.h:49
Uniform load over beam elements.
Definition: BeamUniformLoad.h:39
virtual Vector getLocalMoment(void) const
Returns moment expressed in local coordinates.
Definition: Beam2dUniformLoad.cpp:98
int sendSelf(CommParameters &)
Sends object through the channel being passed as parameter.
Definition: Beam2dUniformLoad.cpp:230
const Matrix & getAppliedSectionForces(const double &L, const XC::Matrix &xi, const double &loadFactor) const
Applied section forces due to element uniform load.
Definition: Beam2dUniformLoad.cpp:131
Definition: ID.h:77
size_t getDimVectorMomento(void) const
Return the dimension of the vector momento.
Definition: Beam2dUniformLoad.cpp:85
double Axial
Axial load.
Definition: BeamMecLoad.h:50
const Matrix & getLocalMoments(void) const
Returns distributed force moments (one for each element) expressed in local coordinates.
Definition: Beam2dUniformLoad.cpp:120
Definition: Matrix.h:82
void addReactionsInBasicSystem(const double &, const double &, FVector &) const
Returns the consistent load vector (ver página 108 libro Eugenio Oñate).
Definition: Beam2dUniformLoad.cpp:156
Mechanical properties of a cross section (area, moments of inertia,...) for a bi-dimensional problem ...
Definition: CrossSectionProperties2d.h:52
Communication parameters between processes.
Definition: CommParameters.h:65
int recvSelf(const CommParameters &)
Receives object through the channel being passed as parameter.
Definition: Beam2dUniformLoad.cpp:242
================================================================================
Definition: ContinuaReprComponent.h:34
size_t getDimVectorFuerza(void) const
Return the dimension of the vector fuerza.
Definition: Beam2dUniformLoad.cpp:81
void addFixedEndForcesInBasicSystem(const double &, const double &, FVector &) const
Returns the consistent load vector (ver página 108 libro Eugenio Oñate).
Definition: Beam2dUniformLoad.cpp:175
virtual Vector getLocalForce(void) const
Returns force expressed in local coordinates.
Definition: Beam2dUniformLoad.cpp:89