modelMovePointSphereToCylinder

Parameters

TypeNameDefaultDescription
Realf100000
BooleanAnimationtrue
Modelica.SIunits.RadiusradiusContactPoint0.005
Modelica.Mechanics.MultiBody.Types.ColorcolorContactPoints1{0, 180, 0}
Modelica.Mechanics.MultiBody.Types.ColorColor_contact_point_cylinder{255, 0, 255}
Modelica.Mechanics.MultiBody.Types.Axisy_direction{0, 1, 0}cartesian coordinate system in y direction -- default gravity direction
Modelica.Mechanics.MultiBody.Types.Axisx_direction{1, 0, 0}cartesian coordinate system in x direction
Modelica.Mechanics.MultiBody.Types.Axisz_directioncross(x_direction, y_direction)

Connectors

TypeNameDefaultDescription
Modelica.Mechanics.MultiBody.Interfaces.Frame_aframe_a1center of cylinder mass BCS2
Modelica.Mechanics.MultiBody.Interfaces.Frame_aframe_a2center of ball mass BCS1
Modelica.Mechanics.MultiBody.Interfaces.Frame_bframe_b1contact point on cylinder surface BCS4 based on BCS2
Modelica.Blocks.Interfaces.RealInput[12]Vector_ballradius ball
Modelica.Blocks.Interfaces.RealInput[12]vector_cylength/width direction and R L
Modelica.Mechanics.MultiBody.Interfaces.Frame_bframe_b2contact point on ball surface BCS3 based on BCS1
Modelica.Blocks.Interfaces.RealOutput[3]pos_b_BCSArelative position center of ball mass resolved in BCSA
Modelica.Blocks.Interfaces.RealOutput[3]pos_ctb_BCS4relative position contact point ball resolved in BCS4 contact point on cylinder Surface
Modelica.Blocks.Interfaces.RealOutput[3]w_mov1absolut anglular velocity contact point ball resolved in BCS1
Modelica.Blocks.Interfaces.RealOutput[3]w_mov2anglular velocitycontact point on cylinder surface resolved in BCSA
Modelica.Blocks.Interfaces.RealOutput[3]pos_ctb_BCS1relative position contact point on ball surface resolved in BCS1

Components

TypeNameDefaultDescription
Modelica.Mechanics.MultiBody.Sensors.RelativePositionrP_b_cyrelative position center of ball resolved in BCS2
Modelica.Mechanics.MultiBody.Sensors.RelativePositionrP_b_cyArelative position center of ball resolved in BCSA
Modelica.Mechanics.MultiBody.Sensors.RelativePositionrP_cy_brelative position center of cylinder mass resolved in BCS1
Modelica.Mechanics.MultiBody.Sensors.RelativePositionrP_mpb_mpcyrelative position contact point ball resolved in BCS4 contact point on cylinder Surface
Modelica.Mechanics.MultiBody.Sensors.AbsoluteAngularVelocityaAV1absolut anglular velocity contact point ball resolved in BCS1
IdealizedContact.Components.Utilities.variablePrism1variablePrism_ball1off set from center of mass ball to contact point on ball surface
IdealizedContact.Components.Utilities.variablePrism1variablePrism_cy1offset1 from cylinder center point to point A (BCSA - projection of ball center in length direction cylinder resolved in BCS2)
IdealizedContact.Components.Utilities.variablePrism1variablePrism_cy2offset2 from point A to cylinder contact point resolved in BCS pointA based on BCS2(along Dh- and Dw-Direction resolved in BCS pointA)
Modelica.Blocks.Routing.DeMultiplex4deMultiplex1
Modelica.Blocks.Routing.DeMultiplex4deMultiplex2
Modelica.Mechanics.MultiBody.Sensors.AbsoluteAngularVelocityaAV2anglular velocity contact point on cylinder surface resolved in BCSA
Modelica.Mechanics.MultiBody.Sensors.RelativePositionrP_ct_BCS1relative position contact point on ball surface resolved in BCS1