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

Places linear springs between all degrees of freedom of 2 nodes. More...

#include <containers.h>

Public Member Functions

 Tie ()
 Default Constructor. More...
 
 Tie (unsigned int _node_number_1, unsigned int _node_number_2, double _lmult, double _rmult)
 Constructor. More...
 

Public Attributes

unsigned int node_number_1
 
unsigned int node_number_2
 
double lmult
 
double rmult
 

Detailed Description

Places linear springs between all degrees of freedom of 2 nodes.

To form a tie specify the 2 nodes that will be linked as well as the spring constants for translational and rotational degrees of freedom. All translational degrees of freedom will be assigned the same spring constant. The same is true for rotational degrees of freedom, although the spring constant does not have to be the same as that used for the translational DOFs.

// create the tie between node2 and node3
unsigned int nn1 = 1; // i.e. the second node in the node list
unsigned int nn2 = 2; // i.e. the third node in the node list
// define the spring constant for x, y, and z translational DOFs
double lmult = 100.0;
// define the spring constant for x, y, and z rotational DOFs
double rmult = 100.0;
// form the tie
fea::Tie tie1(nn1, nn2, lmult, rmult);

Constructor & Destructor Documentation

fea::Tie::Tie ( )
inline

Default Constructor.

All member variables are set to 0.

fea::Tie::Tie ( unsigned int  _node_number_1,
unsigned int  _node_number_2,
double  _lmult,
double  _rmult 
)
inline

Constructor.

Parameters
[in]node_number_1unsigned int. Index of the first node.
[in]node_number_2unsigned int. Index of the second node.
[in]lmultdouble. Spring constant for the translational degrees of freedom.
[in]rmultdouble. Spring constant for the rotational degrees of freedom.

Member Data Documentation

double fea::Tie::lmult

multiplier for the linear spring.

unsigned int fea::Tie::node_number_1

The first element's index involved in the constraint.

unsigned int fea::Tie::node_number_2

The second element's index involved in the constraint.

double fea::Tie::rmult

multiplier for the rotational spring.


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