mbsimflexiblebody  3.0.0
Public Member Functions | Protected Member Functions | Protected Attributes
MBSimFlexibleBody::FlexibleBody2s13 Class Reference

plate according to Reissner-Mindlin with moving frame of reference More...

#include <flexible_body_2s_13.h>

Inheritance diagram for MBSimFlexibleBody::FlexibleBody2s13:
MBSimFlexibleBody::FlexibleBodyContinuum< fmatvec::Vec > MBSimFlexibleBody::FlexibleBody MBSimFlexibleBody::FlexibleBody2s13Disk MBSimFlexibleBody::FlexibleBody2s13MFRMindlin

List of all members.

Public Member Functions

 FlexibleBody2s13 (const std::string &name, const int &DEBUGLEVEL_=0)
 constructor
virtual ~FlexibleBody2s13 ()
 destructor
virtual void updateh (double t, int j=0)
virtual void updatedhdz (double t)
virtual void updateStateDependentVariables (double t)
virtual void facLLM ()
virtual void plot (double t, double dt=1)
virtual std::string getType () const
void setRadius (double Ri_, double Ra_)
void setEModul (double E_)
void setPoissonRatio (double nu_)
void setThickness (const fmatvec::Vec &d_)
fmatvec::Vec getThickness () const
void setDensity (double rho_)
int getReferenceDegreesOfFreedom () const
int getRadialNumberOfElements () const
int getAzimuthalNumberOfElements () const
double getInnerRadius () const
double getOuterRadius () const
double getAzimuthalDegree () const
double getRadialDegree () const
fmatvec::SqrMat getA () const
fmatvec::SqrMat getG () const
void setReferenceInertia (double m0_, fmatvec::SymMat J0_)
void setLockType (LockType LT_)
void setNumberElements (int nr_, int nj_)
 set number of elements in radial and azimuthal direction
double computePotentialEnergy ()
virtual fmatvec::Vec transformCW (const fmatvec::Vec &WrPoint)=0
 transform Cartesian to cylinder system
- Public Member Functions inherited from MBSimFlexibleBody::FlexibleBodyContinuum< fmatvec::Vec >
 FlexibleBodyContinuum (const std::string &name)
 constructor
void setContourNodes (const std::vector< fmatvec::Vec > nodes)
void addFrame (const std::string &name, const fmatvec::Vec &alpha)
void addFrame (MBSim::Frame *frame, const fmatvec::Vec &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 updateJacobians (double t, int k=0)
virtual void initializeUsingXML (TiXmlElement *element)
virtual void init (MBSim::InitStage stage)
virtual double computeKineticEnergy ()
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 &deg=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 Member Functions

void BuildElement (const fmatvec::Vec &s)
 detect involved element for contact description
virtual void initMatrices ()=0
 calculate the matrices for the first time
virtual void updateAG ()=0
 update the transformation matrices A and G
double computeThickness (const double &r_)

Protected Attributes

int Elements
 total number of elements
int NodeDofs
 elastic dof per node
int RefDofs
 dof of moving frame of reference
double E
 Young's modulus.
double nu
 Poisson ratio.
double rho
 density
fmatvec::Vec d
 parameterization of thickness over radius function: d(0) + d(1)*r + d(2)*r*r
double Ri
 inner and outer radius of disk
double Ra
double dr
 radial and azimuthal length of an FE
double dj
double m0
 mass of the attached shaft
fmatvec::SymMat J0
 inertia of the attached shaft in local coordinates
int degV
 degree of surface interpolation in radial and azimuthal direction
int degU
int drawDegree
 number of points drawn between nodes
std::vector< fmatvec::Vec > ElementalNodes
 vector of boundary data of the FE (r1,j1,r2,j2)
int currentElement
 number of element currently involved in contact calculations
fmatvec::SymMat MConst
 constant part of the mass matrix
fmatvec::SymMat K
 stiffness matrix
int nr
 number of elements in radial and azimuthal direction, number of FE nodes
int nj
int Nodes
fmatvec::Mat NodeCoordinates
 matrix mapping nodes and coordinates (size number of nodes x number of node coordinates)
fmatvec::Matrix
< fmatvec::General, int > 
ElementNodeList
 matrix mapping elements and nodes (size number of elements x number of nodes per elements)
int Dofs
 total dof of disk with reference movement and elastic deformation but without including bearing
LockType LType
 Dirichlet boundary condition concerning reference movement.
fmatvec::Index ILocked
 index of condensated dofs
fmatvec::Vec qext
 position and velocity with respect to Dofs
fmatvec::Vec uext
fmatvec::SqrMat A
 transformation matrix of coordinates of the moving frame of reference into the reference frame
fmatvec::SqrMat G
 transformation matrix of the time derivates of the angles into tho angular velocity in reference coordinates
fmatvec::Mat Jext
NurbsDisk2s * contour
 contour for contact description
int DEBUGLEVEL
- Protected Attributes inherited from MBSimFlexibleBody::FlexibleBodyContinuum< fmatvec::Vec >
std::vector< fmatvec::Vec > 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

Detailed Description

plate according to Reissner-Mindlin with moving frame of reference

Author:
Kilian Grundl
Thorsten Schindler
Date:
2010-04-23 initial commit (Schindler / Grundl)
2010-08-12 revision (Schindler)

The plate lies in the xy-plane of its reference frame. The z-vector is its "normal". Thus the radial and the azimuthal component give the x- and y- coordinates where the z-coordinate is defined by the thickness parameterization. (neglecting the flexible dofs)


Constructor & Destructor Documentation

MBSimFlexibleBody::FlexibleBody2s13::FlexibleBody2s13 ( const std::string &  name,
const int &  DEBUGLEVEL_ = 0 
)

constructor

Parameters:
nameof body

Member Function Documentation

void MBSimFlexibleBody::FlexibleBody2s13::BuildElement ( const fmatvec::Vec &  s)
protected

detect involved element for contact description

Parameters:
parametrisationvector (radial / azimuthal)
double MBSimFlexibleBody::FlexibleBody2s13::computePotentialEnergy ( )
inlinevirtual
Returns:
potential energy

Reimplemented from MBSimFlexibleBody::FlexibleBody.

double MBSimFlexibleBody::FlexibleBody2s13::computeThickness ( const double &  r_)
protected
Returns:
thickness of disk at radial coordinate
Parameters:
radialcoordinate
void MBSimFlexibleBody::FlexibleBody2s13::setNumberElements ( int  nr_,
int  nj_ 
)

set number of elements in radial and azimuthal direction

Parameters:
radialnumber of elements
azimuthalnumber of elements
virtual fmatvec::Vec MBSimFlexibleBody::FlexibleBody2s13::transformCW ( const fmatvec::Vec &  WrPoint)
pure virtual

transform Cartesian to cylinder system

Parameters:
Cartesianvector in world system of plate
Returns:
cylindrical coordinates

Implemented in MBSimFlexibleBody::FlexibleBody2s13MFRMindlin, and MBSimFlexibleBody::FlexibleBody2s13Disk.


Member Data Documentation

fmatvec::Vec MBSimFlexibleBody::FlexibleBody2s13::d
protected

parameterization of thickness over radius function: d(0) + d(1)*r + d(2)*r*r

Remarks:
vector must have length 3
int MBSimFlexibleBody::FlexibleBody2s13::degV
protected

degree of surface interpolation in radial and azimuthal direction

both degrees have to be smaller than 8

fmatvec::Matrix<fmatvec::General,int> MBSimFlexibleBody::FlexibleBody2s13::ElementNodeList
protected

matrix mapping elements and nodes (size number of elements x number of nodes per elements)

ElementNodeList(Element,LocalNodeNumber) = globalNodeNumber;

LockType MBSimFlexibleBody::FlexibleBody2s13::LType
protected

Dirichlet boundary condition concerning reference movement.

possible settings: innering/outerring

fmatvec::Mat MBSimFlexibleBody::FlexibleBody2s13::NodeCoordinates
protected

matrix mapping nodes and coordinates (size number of nodes x number of node coordinates)

NodeCoordinates(GlobalNodeNumber,0) = radius (at the node) NodeCoordinates(GlobalNodeNumber,1) = angle (at the node)


The documentation for this class was generated from the following file: