|
mbsimflexiblebody
3.0.0
|
finite element for spatial beam using Cosserat model More...
#include <flexible_body_1s_33_cosserat.h>
Public Member Functions | |
| FlexibleBody1s33Cosserat (const std::string &name, bool openStructure) | |
| constructor | |
| virtual | ~FlexibleBody1s33Cosserat () |
| 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 double | computePotentialEnergy () |
| virtual void | facLLM (int i=0) |
| virtual void | updateh (double t, int i=0) |
| virtual void | updateStateDependentVariables (double t) |
| virtual void | plot (double t, double dt=1) |
| virtual std::string | getType () const |
| void | setNumberElements (int n) |
| void | setLength (double L_) |
| void | setEGModuls (double E_, double G_) |
| void | setDensity (double rho_) |
| void | setCrossSectionalArea (double A_) |
| void | setMomentsInertia (double I1_, double I2_, double I0_) |
| void | setCurlRadius (double R1_, double R2_) |
| void | setMaterialDamping (double cEps0D_, double cEps1D_, double cEps2D_) |
| void | setCylinder (double cylinderRadius_) |
| void | setCuboid (double cuboidBreadth_, double cuboidHeight_) |
| int | getNumberElements () const |
| int | getNumberDOFs () const |
| double | getLength () const |
| bool | isOpenStructure () const |
| fmatvec::Vec | computeState (double s) |
| compute state (positions, angles, velocities, differentiated angles) at Lagrangian coordinate in local FE coordinates | |
| void | initInfo () |
| initialise beam only for giving information with respect to state, number elements, length, (not for simulation) | |
Public Member Functions inherited from MBSimFlexibleBody::FlexibleBodyContinuum< double > | |
| FlexibleBodyContinuum (const std::string &name) | |
| constructor | |
| void | setContourNodes (const std::vector< double > nodes) |
| void | addFrame (const std::string &name, const double &alpha) |
| void | addFrame (MBSim::Frame *frame, const double &alpha) |
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 | updateM (double t, int k=0) |
| virtual void | updatedhdz (double t) |
| virtual void | updateJacobians (double t, int k=0) |
| virtual void | initializeUsingXML (TiXmlElement *element) |
| virtual double | computeKineticEnergy () |
| 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) |
Private Member Functions | |
| FlexibleBody1s33Cosserat (const FlexibleBody1s33Cosserat &) | |
| FlexibleBody1s33Cosserat & | operator= (const FlexibleBody1s33Cosserat &) |
| void | BuildElementTranslation (const double &sGlobal, double &sLocal, int ¤tElementTranslation) |
| detect current finite element (translation) | |
| void | initM () |
| initialize translational part of mass matrix and calculate Cholesky decomposition | |
| void | computeBoundaryCondition () |
| compute boundary conditions for rotation grid first and last finite difference rotation beam element refer to values not directly given by dof in open structure they have to be estimated in the following function | |
| void | GlobalVectorContributionRotation (int n, const fmatvec::Vec &locVec, fmatvec::Vec &gloVec) |
| insert 'local' information in global vectors for rotation grid | |
Private Attributes | |
|
std::vector < MBSim::DiscretizationInterface * > | rotationDiscretization |
| stl-vector of finite elements for rotation grid | |
| std::vector< fmatvec::Vec > | qRotationElement |
| stl-vector of finite element positions for rotation grid | |
| std::vector< fmatvec::Vec > | uRotationElement |
| stl-vector of finite element wise velocities for rotation grid | |
| CylinderFlexible * | cylinder |
| contours | |
| FlexibleBand * | top |
| FlexibleBand * | bottom |
| FlexibleBand * | left |
| FlexibleBand * | right |
| Contour1sFlexible * | neutralFibre |
| CardanPtr | angle |
| angle parametrisation | |
| int | Elements |
| number of translational elements | |
| int | rotationalElements |
| number of rotational elements =Elements (for a closed structure) or =Elements+1 (for an open structure) | |
| 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 | cEps0D |
| strain damping | |
| double | cEps1D |
| double | cEps2D |
| bool | openStructure |
| open or closed beam structure | |
| bool | initialised |
| initialised FLAG | |
| fmatvec::Vec | bound_ang_start |
| boundary conditions for rotation grid first and last finite difference rotation beam element refer to values not directly given by dof in open structure they have to be estimated by the following values calculated in computeBoundaryCondition() | |
| fmatvec::Vec | bound_ang_end |
| fmatvec::Vec | bound_ang_vel_start |
| fmatvec::Vec | bound_ang_vel_end |
| double | cuboidBreadth |
| contour data | |
| double | cuboidHeight |
| double | cylinderRadius |
| NurbsCurve1s * | curve |
| contour for state description | |
Additional Inherited Members | |
Protected Attributes inherited from MBSimFlexibleBody::FlexibleBodyContinuum< double > | |
| std::vector< double > | userContourNodes |
| grid for contact point detection | |
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 | |
finite element for spatial beam using Cosserat model
compute boundary conditions TODO
check open structure in contact kinematics TODO
Cosserat model based on H. Lang, J. Linn, M. Arnold: Multi-body dynamics simulation of geometrically exact Cosserat rods but with
| MBSimFlexibleBody::FlexibleBody1s33Cosserat::FlexibleBody1s33Cosserat | ( | const std::string & | name, |
| bool | openStructure | ||
| ) |
constructor
| name | of body |
| bool | to specify open (cantilever) or closed (ring) structure |
|
private |
detect current finite element (translation)
| global | parametrisation |
| local | parametrisation |
| finite | element number |
| fmatvec::Vec MBSimFlexibleBody::FlexibleBody1s33Cosserat::computeState | ( | double | s | ) |
compute state (positions, angles, velocities, differentiated angles) at Lagrangian coordinate in local FE coordinates
| Lagrangian | coordinate |
|
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 |
insert 'local' information in global matrices
| CurrentElement | number of current finite element |
| locMat | local matrix |
| gloMat | global matrix |
Implements MBSimFlexibleBody::FlexibleBody.
|
virtual |
insert 'local' information in global matrices
| CurrentElement | number of current finite element |
| locMat | local matrix |
| gloMat | global matrix |
Implements MBSimFlexibleBody::FlexibleBody.
|
virtual |
insert 'local' information in global vectors
| number | of finite element |
| local | vector |
| global | vector |
Implements MBSimFlexibleBody::FlexibleBody.
|
private |
insert 'local' information in global vectors for rotation grid
| number | of finite element |
| local | vector |
| global | vector |
|
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 |
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 |
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.1.1