Public Member Functions |
| | FlexibleBody (const std::string &name) |
| | constructor
|
|
virtual | ~FlexibleBody () |
| | destructor
|
|
virtual void | updatedq (double t, double dt) |
|
virtual void | updateqd (double t) |
|
virtual void | updateh (double t, int k=0) |
|
virtual void | updateM (double t, int k=0) |
|
virtual void | updatedhdz (double t) |
|
virtual void | updateStateDependentVariables (double t) |
|
virtual void | updateJacobians (double t, int k=0) |
|
virtual void | plot (double t, double dt=1) |
|
virtual std::string | getType () const |
|
virtual void | initializeUsingXML (TiXmlElement *element) |
|
virtual void | init (MBSim::InitStage stage) |
|
virtual double | computeKineticEnergy () |
|
virtual double | computePotentialEnergy () |
|
virtual void | setFrameOfReference (MBSim::Frame *frame) |
|
void | setq0 (fmatvec::Vec q0_) |
|
void | setu0 (fmatvec::Vec u0_) |
|
virtual void | BuildElements ()=0 |
| | references finite element coordinates to assembled coordinates
|
| virtual void | GlobalVectorContribution (int CurrentElement, const fmatvec::Vec &locVec, fmatvec::Vec &gloVec)=0 |
| | insert 'local' information in global vectors
|
| virtual void | GlobalMatrixContribution (int CurrentElement, const fmatvec::Mat &locMat, fmatvec::Mat &gloMat)=0 |
| | insert 'local' information in global matrices
|
| virtual void | GlobalMatrixContribution (int CurrentElement, const fmatvec::SymMat &locMat, fmatvec::SymMat &gloMat)=0 |
| | insert 'local' information in global matrices
|
| virtual void | updateKinematicsForFrame (MBSim::ContourPointData &data, MBSim::FrameFeature ff, MBSim::Frame *frame=0)=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)=0 |
| | Jacobians and gyroscopes for contour or external frame are set by implementation class.
|
| void | setMassProportionalDamping (const double d_) |
| | set mass proportional damping
|
| void | addFrame (const std::string &name, const MBSim::ContourPointData &S_) |
| void | addFrame (MBSim::Frame *frame, const MBSim::ContourPointData &S_) |
| void | addFrame (const std::string &name, const int &id) |
| void | addFrame (MBSim::Frame *frame, const int &id) |
| 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
|
Protected Attributes |
std::vector
< MBSim::DiscretizationInterface * > | discretization |
| | stl-vector of discretizations/finite elements
|
|
std::vector< fmatvec::Vec > | qElement |
| | stl-vector of finite element wise positions
|
|
std::vector< fmatvec::Vec > | uElement |
| | stl-vector of finite element wise velocities
|
|
double | d_massproportional |
| | damping factor for mass proportion, see BodyFlexible::setMassProportionalDamping()
|
std::vector
< MBSim::ContourPointData > | S_Frame |
| | vector of contour parameters each describing a frame
|
upmost class for flexible body implementation
- Author:
- Roland Zander
-
Thorsten Schindler
- Date:
- 2009-03-24 changes for new MBSim (Thorsten Schindler)
-
2009-03-25 conflicts solved (Thorsten Schindler)
-
2009-04-05 changed to non-template definition (Schindler / Zander)
-
2009-04-20 frame concept (Thorsten Schindler)
-
2009-06-14 OpenMP (Thorsten Schindler)
-
2009-07-16 splitted link / object right hand side (Thorsten Schindler)
-
2009-07-27 implicit integration (Thorsten Schindler)
-
2010-06-20 revision of doxygen comments: add parameter names (Roland Zander)
- Todo:
OpenMP only static scheduling with intelligent reordering of vectors by dynamic test runs TODO
mass proportional damping should be distributed on discretization and is not at the correct place (dependence on M) TODO