mbsimflexiblebody  4.0.0
Public Member Functions | Private Member Functions | Private Attributes
MBSimFlexibleBody::FiniteElement1s33RCM Class Reference

finite element for spatial beam using Redundant Coordinate Method (RCM) More...

#include <finite_element_1s_33_rcm.h>

List of all members.

Public Member Functions

 FiniteElement1s33RCM (double l0_, double rho_, double A_, double E_, double G_, double I1_, double I2_, double I0_, const fmatvec::Vec &g_, RevCardanPtr ag_)
 constructor
virtual ~FiniteElement1s33RCM ()
 destructor
virtual const fmatvec::SymMat & getM () const
virtual const fmatvec::Vec & geth () const
virtual const fmatvec::SqrMat & getdhdq () const
virtual const fmatvec::SqrMat & getdhdu () const
virtual int getqSize () const
virtual int getuSize () const
virtual void computeM (const fmatvec::Vec &qG)
virtual void computeh (const fmatvec::Vec &qG, const fmatvec::Vec &qGt)
virtual void computedhdz (const fmatvec::Vec &qG, const fmatvec::Vec &qGt)
virtual double computeKineticEnergy (const fmatvec::Vec &qG, const fmatvec::Vec &qGt)
virtual double computeGravitationalEnergy (const fmatvec::Vec &qG)
virtual double computeElasticEnergy (const fmatvec::Vec &qG)
virtual fmatvec::Vec computePosition (const fmatvec::Vec &q, const MBSim::ContourPointData &data)
virtual fmatvec::SqrMat computeOrientation (const fmatvec::Vec &q, const MBSim::ContourPointData &data)
virtual fmatvec::Vec computeVelocity (const fmatvec::Vec &q, const fmatvec::Vec &u, const MBSim::ContourPointData &data)
virtual fmatvec::Vec computeAngularVelocity (const fmatvec::Vec &q, const fmatvec::Vec &u, const MBSim::ContourPointData &data)
virtual fmatvec::Mat computeJacobianOfMotion (const fmatvec::Vec &qG, const MBSim::ContourPointData &data)
void setGauss (int nGauss)
void setCurlRadius (double R1, double R2)
void setMaterialDamping (double epstD_, double k0D_)
void setLehrDamping (double epstL, double k0L)
double getl0 () const
const fmatvec::Vec & computeState (const fmatvec::Vec &qG, const fmatvec::Vec &qGt, double x)
 compute state of finite element
fmatvec::Mat computeJXqG (const fmatvec::Vec &qG, double x)
 compute JACOBIAN of contact description in global coordinates
fmatvec::Vec computeData (const fmatvec::Vec &qG, const fmatvec::Vec &qGt)
 compute interesting data

Private Member Functions

void computedrS ()
 compute delta matrix for CP with respect to translation
void computedepstil ()
 compute delta matrix for elongation
void computedk0 ()
 compute delta matrix for torsion

Private Attributes

double l0
 length of finite element
double rho
 density
double A
 cross sectional area
double E
 Young's modulus.
double G
 shear modulus
double I1
 geometrical moment of inertia
double I2
double I0
fmatvec::Vec g
 gravitation
double k10
 predefined bending
double k20
double epstD
 prolongational and torsional damping
double k0D
fmatvec::SymMat M
 global system description
fmatvec::Vec h
fmatvec::SqrMat dhdq
 matrices for implicit integration
fmatvec::SqrMat dhdu
fmatvec::SymMat MI
 internal system description
fmatvec::SqrMat Damp
 internal damping matrix
double l0h2
 beam length powers
double l0h3
double x_Old
 last Lagrangian coordinate in state calculation
fmatvec::Vec X
 state at Lagrangian coordinate
fmatvec::Vec qG_Old
 global and local state of the last time step
fmatvec::Vec qGt_Old
double tol_comp
 tolerance for comparison of state with old state
fmatvec::Mat drS
 delta matrices
fmatvec::Mat drSH
fmatvec::RowVec depstil
fmatvec::RowVec dk0
RevCardanPtr ag
 reversed Cardan-object
Trafo33RCMPtr tf
 trafo-object
Weight33RCMPtr wt
 weight-function-object

Detailed Description

finite element for spatial beam using Redundant Coordinate Method (RCM)

Author:
Thorsten Schindler
Date:
2009-04-17 initial commit kernel_dev (Thorsten Schindler)
2009-07-27 implicit integration (Thorsten Schindler)
Todo:

transform computeState to Position / Velocity / Orientation / AngularVelocity

JacobianOfMotion

computeM


Constructor & Destructor Documentation

MBSimFlexibleBody::FiniteElement1s33RCM::FiniteElement1s33RCM ( double  l0_,
double  rho_,
double  A_,
double  E_,
double  G_,
double  I1_,
double  I2_,
double  I0_,
const fmatvec::Vec &  g_,
RevCardanPtr  ag_ 
)

constructor

Parameters:
lengthof finite element
density
cross-sectionalarea
Young'smodulus
shearmodulus
firstarea moment of inertia
secondarea moment of inertia
torsionalmoment of inertia
accelerationof gravity
cardanobject

Member Function Documentation

fmatvec::Vec MBSimFlexibleBody::FiniteElement1s33RCM::computeData ( const fmatvec::Vec &  qG,
const fmatvec::Vec &  qGt 
)

compute interesting data

Parameters:
globalcoordinates
globalvelocities
fmatvec::Mat MBSimFlexibleBody::FiniteElement1s33RCM::computeJXqG ( const fmatvec::Vec &  qG,
double  x 
)

compute JACOBIAN of contact description in global coordinates

Parameters:
globalcoordinates
LAGRANGIANparameter
const fmatvec::Vec& MBSimFlexibleBody::FiniteElement1s33RCM::computeState ( const fmatvec::Vec &  qG,
const fmatvec::Vec &  qGt,
double  x 
)

compute state of finite element

Parameters:
globalcoordinates
globalvelocities
LAGRANGIANparameter

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