3D Beam Finite Element Code  1.0
Public Member Functions | Public Attributes | List of all members
fea::Props Struct Reference

The set of properties associated with an element. More...

#include <containers.h>

Public Member Functions

 Props ()
 
 Props (double _EA, double _EIz, double _EIy, double _GJ, const std::vector< double > &_normal_vec)
 Constructor. More...
 

Public Attributes

double EA
 
double EIz
 
double EIy
 
double GJ
 
Eigen::Vector3d normal_vec
 

Detailed Description

The set of properties associated with an element.

The properties must define the extensional stiffness, \(EA\), bending stiffness parallel to the local z-axis \(EI_{z}\), bending stiffness parallel to the local y-axis \(EI_{y}\), the torsional stiffness, \(GJ\), and a vector pointing along the beam elements local y-axis.

double EA = 1000.0;
double EIz = 100.0;
double EIy = 100.0;
double GJ = 200.0;
std::vector<double> normal_vec = {0.0, 0.0, 1.0};
fea::Props props(EA, EIz, EIy, GJ, normal_vec);

Constructor & Destructor Documentation

fea::Props::Props ( )
inline
fea::Props::Props ( double  _EA,
double  _EIz,
double  _EIy,
double  _GJ,
const std::vector< double > &  _normal_vec 
)
inline

Constructor.

Default constuctor

Allows properties to be set upon initialization.

Parameters
[in]EAdouble. Extensional stiffness.
[in]EIzdouble. Bending stiffness parallel to z-axis.
[in]EIydouble. Bending stiffness parallel to y-axis.
[in]GJdouble. Torsional stiffness.
[in]normal_vecstd::vector<double>. Vector normal to element (normal_vec.size()==3). Direction should be parallel to the beam element's local y-axis.

Member Data Documentation

double fea::Props::EA

Extensional stiffness.

double fea::Props::EIy

Bending stiffness parallel to local y-axis.

double fea::Props::EIz

Bending stiffness parallel to local z-axis.

double fea::Props::GJ

Torsional stiffness.

Eigen::Vector3d fea::Props::normal_vec

Vector normal to element (size==3). Direction should be parallel to the beam element's local y-axis.


The documentation for this struct was generated from the following file: