Public Member Functions |
| | FlexibleBodyLinearExternal (const std::string &name) |
| | constructor
|
|
virtual | ~FlexibleBodyLinearExternal () |
| | destructor
|
|
virtual std::string | getType () const |
|
virtual void | init (MBSim::InitStage stage) |
|
virtual void | facLLM () |
|
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) |
| virtual void | updateJacobiansForFrame (MBSim::ContourPointData &data, MBSim::Frame *frame=0) |
| | Jacobians and gyroscopes for contour or external frame are set by implementation class.
|
| void | readMassMatrix (const std::string &massfilename) |
| void | setMassMatrix (const fmatvec::SymMat &mat) |
| void | readStiffnessMatrix (const std::string &stiffnessfilename) |
| void | setStiffnessMatrix (const fmatvec::SqrMat &mat) |
| void | setProportionalDamping (const double &a, const double &b) |
| void | setWrON00 (const fmatvec::Vec &WrON00_) |
|
fmatvec::Mat | computeJacobianMatrix (const MBSim::ContourPointData &CP) |
Public Member Functions inherited from MBSimFlexibleBody::FlexibleBody |
| | 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 | updateJacobians (double t, int k=0) |
|
virtual void | plot (double t, double dt=1) |
|
virtual void | initializeUsingXML (TiXmlElement *element) |
|
virtual double | computeKineticEnergy () |
|
virtual double | computePotentialEnergy () |
|
virtual void | setFrameOfReference (MBSim::Frame *frame) |
|
void | setq0 (fmatvec::Vec q0_) |
|
void | setu0 (fmatvec::Vec u0_) |
| 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 |
|
int | nContours |
| | number of Contours directly asoziated to body
|
std::vector
< MBSim::ContourPointData > | contourType |
| | vector of ContourPointData controlling type of interface: node/interpolation
|
|
fmatvec::Vec | WrON00 |
| | origin of model
|
Protected Attributes inherited from MBSimFlexibleBody::FlexibleBody |
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
|
Linear models from external preprocessing, e.g. Finite Element model.
\author Roland Zander
\date 2009-03-26 initial kernel_dev commit (Roland Zander)
\date 2009-04-05 minor change: parent class is not template class (Schindler / Zander)
\date 2009-07-23 implicit integration (Thorsten Schindler)
Systems equation of motion:
with CONSTANT matrices
. The model uses n degrees of freedom (dimension of
) and d translational directions (dimension of Jacobi-matrizes
)
| void MBSimFlexibleBody::FlexibleBodyLinearExternal::setWrON00 |
( |
const fmatvec::Vec & |
WrON00_ | ) |
|
|
inline |
add Port using JACOBIAN matrix and frame location form given file
n x d \n [1.0 \n 0.0 ] \n
\n
d x 1 \n [1.0 \n 0.0 \n 0.0 ]
\param name name of Port create
\param jacobifilename name of file holding matrices
add Port using JACOBIAN matrix and location of reference point
\param name of Port to
\param J Jacobian matrix create
\param r undeformed reference point in body coordinate system add Contour using information given in file for JACOBIAN matrix and location of reference point
\param contour Contour to add
\param jacobifilename name of file holding matrices add Contour using JACOBIAN matrix and location of reference point
\param contour Contour to add
\param J Jacobian matrix
\param r undeformed reference point in body coordinate systemadd a ContourInterpolation, no additional information needed
set origin BodyFlexibleLinearExternal::WrON00,
of model