|
mbsimflexiblebody
4.0.0
|
spatial beam using Redundant Coordinate Method (RCM) More...
#include <flexible_body_1s_33_rcm.h>
Public Member Functions | |
| FlexibleBody1s33RCM (const std::string &name="", bool openStructure=false) | |
| constructor | |
| virtual | ~FlexibleBody1s33RCM () |
| 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::Frame::Frame::Feature 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 (InitStage stage) |
| virtual void | plot (double t, double dt=1) |
| virtual std::string | getType () const |
| void | initializeUsingXML (xercesc::DOMElement *element) |
| void | setNumberElements (int n) |
| int | getNumberElements () |
| void | setLength (double L_) |
| double | getLength () |
| void | setEGModuls (double E_, double G_) |
| void | setDensity (double rho_) |
| void | setCrossSectionalArea (double A_) |
| void | setMomentsInertia (double I1_, double I2_, double I0_) |
| void | setCylinder (double cylinderRadius_) |
| void | setMaterialDamping (double epstD_, double k0D_) |
| void | setGauss (int nGauss) |
| void | setCuboid (double cuboidBreadth_, double cuboidHeight_) |
| void | setCurlRadius (double R1_, double R2_) |
| void | setLehrDamping (double epstL_, double k0L_) |
| fmatvec::Vec | computeState (double sGlobal) |
| compute state (positions, angles, velocities, differentiated angles) at Lagrangian coordinate in local FE coordinates | |
| double | computePhysicalStrain (const double sGlobal) |
| compute the physical strain of the element | |
| void | initInfo () |
| initialise beam only for giving information with respect to state, number elements, length, (not for simulation) | |
Private Member Functions | |
| void | BuildElement (const double &sGlobal, double &sLocal, int ¤tElement) |
| detect current finite element | |
Private Attributes | |
| CylinderFlexible * | cylinder |
| contours | |
| FlexibleBand * | top |
| FlexibleBand * | bottom |
| FlexibleBand * | left |
| FlexibleBand * | right |
| Contour1sFlexible * | neutralFibre |
| RevCardanPtr | angle |
| angle parametrisation | |
| int | Elements |
| number of elements | |
| double | L |
| length of entire beam and finite elements | |
| double | l0 |
| double | E |
| elastic modules | |
| double | G |
| double | A |
| area of cross-section | |
| double | I1 |
| area moment of inertia | |
| double | I2 |
| double | I0 |
| double | rho |
| density | |
| double | R1 |
| radius of undeformed shape | |
| double | R2 |
| double | epstD |
| damping | |
| double | k0D |
| double | epstL |
| double | k0L |
| bool | openStructure |
| open or closed structure | |
| bool | initialised |
| initialised FLAG | |
| int | nGauss |
| number of Gauss points for rotational kinetic energy | |
| double | cylinderRadius |
| contour data | |
| double | cuboidBreadth |
| double | cuboidHeight |
spatial beam using Redundant Coordinate Method (RCM)
gyroscopic accelerations TODO
inverse kinetics TODO
| MBSimFlexibleBody::FlexibleBody1s33RCM::FlexibleBody1s33RCM | ( | const std::string & | name = "", |
| bool | openStructure = false |
||
| ) |
constructor
| name | of body |
| bool | to specify open (cantilever) or closed (ring) structure |
| void MBSimFlexibleBody::FlexibleBody1s33RCM::BuildElement | ( | const double & | sGlobal, |
| double & | sLocal, | ||
| int & | currentElement | ||
| ) | [private] |
detect current finite element
| global | parametrisation |
| local | parametrisation |
| finite | element number |
| double MBSimFlexibleBody::FlexibleBody1s33RCM::computePhysicalStrain | ( | const double | sGlobal | ) |
compute the physical strain of the element
| Lagrangian | coordinate |
| fmatvec::Vec MBSimFlexibleBody::FlexibleBody1s33RCM::computeState | ( | double | sGlobal | ) |
compute state (positions, angles, velocities, differentiated angles) at Lagrangian coordinate in local FE coordinates
| Lagrangian | coordinate |
| virtual void MBSimFlexibleBody::FlexibleBody1s33RCM::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::FlexibleBody1s33RCM::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::FlexibleBody1s33RCM::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::FlexibleBody1s33RCM::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::FlexibleBody1s33RCM::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.
| virtual void MBSimFlexibleBody::FlexibleBody1s33RCM::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::FlexibleBody1s33RCM::updateKinematicsForFrame | ( | MBSim::ContourPointData & | data, |
| MBSim::Frame::Frame::Feature | 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