|
mbsimflexiblebody
4.0.0
|
flexible body model based on floating frame reference using the system information external linear FEM code More...
#include <flexible_body_linear_external_ffr.h>
Public Member Functions | |
| FlexibleBodyLinearExternalFFR (const std::string &name, const bool &DEBUG_) | |
| constructor | |
| virtual | ~FlexibleBodyLinearExternalFFR () |
| destructor | |
| virtual int | getNumberElements () const |
| virtual double | getLength () const |
| virtual bool | isOpenStructure () const |
| virtual void | updateM (double t, int k=0) |
| virtual void | BuildElements () |
| references finite element coordinates to assembled coordinates | |
| virtual void | GlobalVectorContribution (int CurrentElement, const fmatvec::Vec &locVec, fmatvec::Vec &gloVec) |
| insert 'local' information in global vectors | |
| virtual void | GlobalMatrixContribution (int CurrentElement, const fmatvec::Mat &locMat, fmatvec::Mat &gloMat) |
| insert 'local' information in global matrices | |
| virtual void | GlobalMatrixContribution (int CurrentElement, const fmatvec::SymMat &locMat, fmatvec::SymMat &gloMat) |
| insert 'local' information in global matrices | |
| virtual void | updateKinematicsForFrame (MBSim::ContourPointData &cp, MBSim::Frame::Feature ff, MBSim::Frame *frame=0) |
| virtual void | updateKinematicsAtNode (NodeFrame *frame, MBSim::Frame::Feature ff) |
| cartesian kinematic on a node | |
| virtual void | updateJacobiansAtNode (NodeFrame *frame) |
| 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 | updateh (double t, int k=0) |
| virtual void | updateStateDependentVariables (double t) |
| virtual void | updateJacobians (double t, int k) |
| virtual void | init (InitStage stage) |
| virtual void | calcqSize () |
| virtual void | calcuSize (int j) |
| virtual std::string | getType () const |
| void | setNumberOfModes (int nf_) |
| int | getNumberModes () const |
| MBSim::Frame * | getFloatingFrameOfReference () |
| const fmatvec::SqrMat3 & | getOrientationOfFFR () const |
| const fmatvec::SqrMat3 & | getGBarOfFFR () const |
| const fmatvec::Vec3 | getModeShapeVector (int node, int column) const |
| void | readFEMData (std::string inFilePath, const bool millimeterUnits, bool output=false) |
| read u0, mij, mode shape matrix and stiffness matrix form the input file | |
Protected Member Functions | |
| void | initM (int k=0) |
| initialize the mass matrix | |
| void | initQv () |
| initialize the quadratic velocity vector | |
| void | updateQv () |
| update the quadratic velocity vector | |
| void | computeShapeIntegrals () |
| compute the constant shape integrals of the whole body | |
| void | updateAGbarGbardot () |
| update A, G_bar, and G_bar_Dot | |
| void | updateFFRFrame () |
| update FFR Frame | |
Protected Attributes | |
| int | nNodes |
| total number of nodes | |
| MBSim::Frame * | FFR |
| Floating Frame of Reference. | |
| fmatvec::Vec3 | I_1 |
| matrix for the computation of the mass-matrix (assembled part of the element matrix) | |
| fmatvec::SymMat3 | I_kl |
| matrix | |
| fmatvec::Mat | S_bar |
| matrix for the computation of the mass-matrix (assembled part of the element matrix) | |
| fmatvec::SqrMat | S_kl_bar [3][3] |
| matrix for the computation of the mass-matrix (assembled part of the element matrix) | |
| fmatvec::RowVec | I_kl_bar [3][3] |
| matrix for the computation of the mass-matrix (assembled part of the element matrix) | |
| fmatvec::SymMat3 | I_ThetaTheta_bar |
| inertia tensor | |
| fmatvec::Mat | I_ThetaF_bar |
| I_ThetaF 3*nf. | |
| fmatvec::SymMat | K |
| stiffness matrix | |
| fmatvec::SymMat | KFull |
| full stiffness matrix | |
| fmatvec::SqrMat3 | G_bar |
| transformation matrix of the time derivates of the angles into tho angular velocity in reference coordinates | |
| fmatvec::SqrMat3 | G_bar_Dot |
| transformation matrix of the time derivates of the angles into tho angular velocity in reference coordinates | |
| fmatvec::SqrMat3 | A |
| transformation matrix of coordinates of the moving frame of reference into the reference frame | |
| fmatvec::SymMat | M_FF |
| matrix for the computation of the mass-matrix (assembled part of the element matrix) | |
| fmatvec::Vec | Qv |
| quadratic velocity vector | |
| fmatvec::Vec | mij |
| lumped mass for each node | |
| fmatvec::Mat | phiFull |
| matrix of all modes | |
| fmatvec::Mat | phi |
| matrix of modes used | |
| std::vector< fmatvec::Vec3 > | u0 |
| initial position of each node | |
| int | nf |
| number of mode shapes used to describe the deformation | |
| bool | openStructure |
| open or closed beam structure | |
| bool | DEBUG |
| debug flag | |
| bool | fistIterFlag |
| first iteration flag | |
flexible body model based on floating frame reference using the system information external linear FEM code
| MBSimFlexibleBody::FlexibleBodyLinearExternalFFR::FlexibleBodyLinearExternalFFR | ( | const std::string & | name, |
| const bool & | DEBUG_ | ||
| ) |
constructor
| name | of body |
| void MBSimFlexibleBody::FlexibleBodyLinearExternalFFR::GlobalMatrixContribution | ( | int | CurrentElement, |
| const fmatvec::Mat & | locMat, | ||
| fmatvec::Mat & | gloMat | ||
| ) | [inline, virtual] |
insert 'local' information in global matrices
| CurrentElement | number of current finite element |
| locMat | local matrix |
| gloMat | global matrix |
Implements MBSimFlexibleBody::FlexibleBody.
| void MBSimFlexibleBody::FlexibleBodyLinearExternalFFR::GlobalMatrixContribution | ( | int | CurrentElement, |
| const fmatvec::SymMat & | locMat, | ||
| fmatvec::SymMat & | gloMat | ||
| ) | [inline, virtual] |
insert 'local' information in global matrices
| CurrentElement | number of current finite element |
| locMat | local matrix |
| gloMat | global matrix |
Implements MBSimFlexibleBody::FlexibleBody.
| void MBSimFlexibleBody::FlexibleBodyLinearExternalFFR::GlobalVectorContribution | ( | int | CurrentElement, |
| const fmatvec::Vec & | locVec, | ||
| fmatvec::Vec & | gloVec | ||
| ) | [inline, virtual] |
insert 'local' information in global vectors
| number | of finite element |
| local | vector |
| global | vector |
Implements MBSimFlexibleBody::FlexibleBody.
| virtual void MBSimFlexibleBody::FlexibleBodyLinearExternalFFR::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.
1.8.0