|
mbsimflexiblebody
3.2.0
|
model for planar beams with large deflection using Redundant Coordinate Method (RCM) More...
#include <flexible_body_1s_21_rcm.h>
Public Member Functions | |
| FlexibleBody1s21RCM (const std::string &name, bool openStructure) | |
| constructor: | |
| virtual | ~FlexibleBody1s21RCM () |
| destructor | |
| virtual void | BuildElements () |
| references finite element coordinates to assembled coordinates | |
| virtual void | GlobalVectorContribution (int n, const fmatvec::Vec &locVec, fmatvec::Vec &gloVec) |
| insert 'local' information in global vectors | |
| virtual void | GlobalMatrixContribution (int n, const fmatvec::Mat &locMat, fmatvec::Mat &gloMat) |
| insert 'local' information in global matrices | |
| virtual void | GlobalMatrixContribution (int n, const fmatvec::SymMat &locMat, fmatvec::SymMat &gloMat) |
| insert 'local' information in global matrices | |
| virtual void | updateKinematicsForFrame (MBSim::ContourPointData &cp, MBSim::FrameFeature ff, MBSim::Frame *frame=0) |
| cartesian kinematic for contour or external frame (normal, tangent, binormal) is set by implementation class | |
| virtual void | updateJacobiansForFrame (MBSim::ContourPointData &data, MBSim::Frame *frame=0) |
| Jacobians and gyroscopes for contour or external frame are set by implementation class. | |
| virtual void | exportPositionVelocity (const std::string &filenamePos, const std::string &filenameVel=std::string(), const int °=3, const bool &writePsFile=false) |
| interpolates the position and optional the velocity coordinates of the flexible body with Nurbs-package and exports the nurbs curve in the specified file | |
| virtual void | importPositionVelocity (const std::string &filenamePos, const std::string &filenameVel=std::string()) |
| imports the interpolated position and optional the velocity files (created with exportPositionVelocity) and fits the rigid and flexible coordinate dofs and optional the translatory velocity components of flexible body to the imported nurbs curve | |
| virtual void | init (MBSim::InitStage stage) |
| virtual void | plot (double t, double dt=1) |
| virtual std::string | getType () const |
| void | setNumberElements (int n) |
| sets size of positions and velocities | |
| int | getNumberElements () |
| void | setLength (double L_) |
| double | getLength () |
| void | setEModul (double E_) |
| void | setCrossSectionalArea (double A_) |
| void | setMomentInertia (double I_) |
| void | setDensity (double rho_) |
| void | setCurlRadius (double r) |
| void | setMaterialDamping (double d) |
| void | setLehrDamping (double d) |
| void | setElementPlotList (fmatvec::VecInt plotElements_) |
| double | getLength () const |
| fmatvec::Vec | computeState (double x) |
| compute state (positions, angles, velocities, differentiated angles) at Lagrangian coordinate in local FE coordinates | |
| void | initRelaxed (double alpha) |
| initialise beam state concerning a straight cantilever setting or a circle shaped ring | |
| void | initInfo () |
| initialise beam only for giving information with respect to state, number elements, length, (not for simulation) | |
Protected Member Functions | |
| void | BuildElement (const double &sGlobal, double &sLocal, int ¤tElement) |
| detect current finite element | |
Protected Attributes | |
| int | Elements |
| number of finite elements used for discretisation | |
| double | L |
| length of beam | |
| double | l0 |
| length of one finite element | |
| double | E |
| modulus of linear elasticity | |
| double | A |
| cross-section area | |
| double | I |
| moment of inertia of cross-section | |
| double | rho |
| material density | |
| double | rc |
| curl radius | |
| double | dm |
| coefficient of material damping | |
| double | dl |
| coefficient of Lehr-damping | |
| fmatvec::VecInt | plotElements |
| coefficient of Lehr-damping | |
| bool | openStructure |
| flag for open (cantilever beam) or closed (rings) structures | |
| bool | initialized |
| flag for testing if beam is initialised | |
| Contour1sFlexible * | contour1sFlexible |
| contour of body | |
model for planar beams with large deflection using Redundant Coordinate Method (RCM)
gyroscopic accelerations TODO
inverse kinetics TODO
read:
Zander, R.; Ulbrich, H.: Reference-free mixed FE-MBS approach for beam structures with constraints, Journal of Nonlinear Dynamics, Kluwer Academic Publishers, 2005
Zander, R.; Ulbrich, H.: Impacts on beam structures: Interaction of wave propagationand global dynamics, IUTAM Symposium on Multiscale Problems in Multibody System Contacts Stuttgart, Germany, 2006
Zander, R.; Ulbrich, H.: Free plain motion of flexible beams in MBS - A comparison of models, III European Conference on Computational Mechanics Lissbon, Portugal, 2006
| MBSimFlexibleBody::FlexibleBody1s21RCM::FlexibleBody1s21RCM | ( | const std::string & | name, |
| bool | openStructure | ||
| ) |
constructor:
| name | of body |
| bool | to specify open (cantilever) or closed (ring) structure |
| void MBSimFlexibleBody::FlexibleBody1s21RCM::BuildElement | ( | const double & | sGlobal, |
| double & | sLocal, | ||
| int & | currentElement | ||
| ) | [protected] |
detect current finite element
| global | parametrisation |
| local | parametrisation |
| finite | element number |
| fmatvec::Vec MBSimFlexibleBody::FlexibleBody1s21RCM::computeState | ( | double | x | ) |
compute state (positions, angles, velocities, differentiated angles) at Lagrangian coordinate in local FE coordinates
| Lagrangian | coordinate |
| virtual void MBSimFlexibleBody::FlexibleBody1s21RCM::exportPositionVelocity | ( | const std::string & | filenamePos, |
| const std::string & | filenameVel = std::string( ), |
||
| const int & | deg = 3, |
||
| const bool & | writePsFile = false |
||
| ) | [virtual] |
interpolates the position and optional the velocity coordinates of the flexible body with Nurbs-package and exports the nurbs curve in the specified file
| filenamePos | Name of the exported position curve file |
| filenameVel | Name of the exported velocity curve file |
| deg | Degree of Nurbs interpolation |
| writePsFile | A Postscript-file of the curve profile is created |
Remark: the knot vector is parametrized between [0,L]
Reimplemented from MBSimFlexibleBody::FlexibleBody.
| virtual void MBSimFlexibleBody::FlexibleBody1s21RCM::GlobalMatrixContribution | ( | int | CurrentElement, |
| const fmatvec::Mat & | locMat, | ||
| fmatvec::Mat & | gloMat | ||
| ) | [virtual] |
insert 'local' information in global matrices
| CurrentElement | number of current finite element |
| locMat | local matrix |
| gloMat | global matrix |
Implements MBSimFlexibleBody::FlexibleBody.
| virtual void MBSimFlexibleBody::FlexibleBody1s21RCM::GlobalMatrixContribution | ( | int | CurrentElement, |
| const fmatvec::SymMat & | locMat, | ||
| fmatvec::SymMat & | gloMat | ||
| ) | [virtual] |
insert 'local' information in global matrices
| CurrentElement | number of current finite element |
| locMat | local matrix |
| gloMat | global matrix |
Implements MBSimFlexibleBody::FlexibleBody.
| virtual void MBSimFlexibleBody::FlexibleBody1s21RCM::GlobalVectorContribution | ( | int | CurrentElement, |
| const fmatvec::Vec & | locVec, | ||
| fmatvec::Vec & | gloVec | ||
| ) | [virtual] |
insert 'local' information in global vectors
| number | of finite element |
| local | vector |
| global | vector |
Implements MBSimFlexibleBody::FlexibleBody.
| virtual void MBSimFlexibleBody::FlexibleBody1s21RCM::importPositionVelocity | ( | const std::string & | filenamePos, |
| const std::string & | filenameVel = std::string( ) |
||
| ) | [virtual] |
imports the interpolated position and optional the velocity files (created with exportPositionVelocity) and fits the rigid and flexible coordinate dofs and optional the translatory velocity components of flexible body to the imported nurbs curve
| filenamePos | Name of the imported position curve file |
| filenameVel | Name of the imported velocity curve file |
Reimplemented from MBSimFlexibleBody::FlexibleBody.
| void MBSimFlexibleBody::FlexibleBody1s21RCM::initRelaxed | ( | double | alpha | ) |
initialise beam state concerning a straight cantilever setting or a circle shaped ring
| angle | of slope in case of cantilever |
| virtual void MBSimFlexibleBody::FlexibleBody1s21RCM::updateJacobiansForFrame | ( | MBSim::ContourPointData & | data, |
| MBSim::Frame * | frame = 0 |
||
| ) | [virtual] |
Jacobians and gyroscopes for contour or external frame are set by implementation class.
| data | contour parameter |
| frame,: | optional external frame, otherwise contour parameters are changed |
Implements MBSimFlexibleBody::FlexibleBody.
| virtual void MBSimFlexibleBody::FlexibleBody1s21RCM::updateKinematicsForFrame | ( | MBSim::ContourPointData & | data, |
| MBSim::FrameFeature | ff, | ||
| MBSim::Frame * | frame = 0 |
||
| ) | [virtual] |
cartesian kinematic for contour or external frame (normal, tangent, binormal) is set by implementation class
| data | contour parameter |
| ff | selection of specific calculations for frames |
| frame | optional: external frame, otherwise contour parameters are changed |
Implements MBSimFlexibleBody::FlexibleBody.
1.8.0