modelMovePointSphereToRectangle
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Frequency | f | 100000 | |
| Boolean | Animation | true | |
| Modelica.SIunits.Radius | radiusContactPoint | 0.005 | |
| Modelica.Mechanics.MultiBody.Types.Color | colorContactPoints1 | {0, 180, 0} | |
| Modelica.Mechanics.MultiBody.Types.Color | Color_contact_point_rectangle | {255, 0, 255} | |
| Modelica.Mechanics.MultiBody.Types.Axis | y_direction | {0, 1, 0} | cartesian coordinate system in y direction -- default gravity direction |
| Modelica.Mechanics.MultiBody.Types.Axis | x_direction | {1, 0, 0} | cartesian coordinate system in x direction |
| Modelica.Mechanics.MultiBody.Types.Axis | z_direction | cross(x_direction, y_direction) | |
| Real | eps | 100*Modelica.Constants.eps |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Mechanics.MultiBody.Interfaces.Frame_b | frame_b1 | contact point rectangle BCS4 based on BCS2 | |
| Modelica.Mechanics.MultiBody.Interfaces.Frame_a | frame_a1 | center of rectangle (BCS2) | |
| Modelica.Mechanics.MultiBody.Interfaces.Frame_a | frame_a2 | center of ball mass (BCS1) | |
| Modelica.Mechanics.MultiBody.Interfaces.Frame_b | frame_b2 | contact point ball BCS3 based on BCS1 | |
| Modelica.Blocks.Interfaces.RealInput[12] | Vector_ball | radius ball | |
| Modelica.Blocks.Interfaces.RealOutput[3] | pos_rel | relative position between ball contact point and center of rectangle resolved in BCS2 | |
| Modelica.Blocks.Interfaces.RealOutput[3] | w | anglulat velocity contact point ball resolved in BCS1 | |
| Modelica.Blocks.Interfaces.RealInput[12] | vector_r | length/width direction and L_W_H | |
| Modelica.Blocks.Interfaces.RealOutput[3] | pos_rel_mb_BCS2 | Relative position center of mass ball resolved in BCS2 | |
| Modelica.Blocks.Interfaces.RealOutput[3] | pos_ctb_BCS1 | relative position contact point ball resolved in BCS1 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Mechanics.MultiBody.Sensors.RelativePosition | rP_mp_rectangle_mp_ball | reative position move point rectangle resolved in BCS1 | |
| Modelica.Mechanics.MultiBody.Sensors.RelativePosition | rP_ball_rectangle | relative position center of ball mass resolved in BCS2 | |
| Modelica.Mechanics.MultiBody.Sensors.AbsoluteAngularVelocity | aAV | anglulat velocity contact point ball resolved in BCS1 | |
| Modelica.Mechanics.MultiBody.Parts.PointMass | move_point_rectangle | ||
| Modelica.Mechanics.MultiBody.Parts.PointMass | move_point_ball | ||
| Modelica.Mechanics.MultiBody.Sensors.RelativePosition | rP_mp_ball_rectangle | relative position contact point ball resolved in BCS2 | |
| Real[3] | L_W_H | length, width, and height of rectangle | |
| Real[3] | length_direction | length direction rectangle | |
| Real[3] | width_direction | width direction rectangle | |
| Real[3] | height_direction | height direction rectangle | |
| Real | R | Radius ball | |
| Real | l_cp_r | position contact point rectangle in length direction in BCS2 | |
| Real | w_cp_r | position contact point rectangle in width direction in BCS2 | |
| Real[3] | v_lw_cp_r | vector position of contact point rectangle in length- and width-direction in BCS2 | |
| Real | lw_cp_r | norm of vector v_lw_cp_r | |
| Boolean | temp | ||
| IdealizedContact.Components.Utilities.variablePrism1 | variablePrism_ball | offset from center of bal mass to contact point ball | |
| IdealizedContact.Components.Utilities.variablePrism1 | variablePrism_rLW | offset from center of rectangle to contact point rectangle | |
| Modelica.Blocks.Routing.DeMultiplex4 | deMultiplex1 | ||
| Modelica.Blocks.Routing.DeMultiplex4 | deMultiplex3 | ||
| Modelica.Mechanics.MultiBody.Sensors.RelativePosition | rP_ctb_BCS1 | relative position contact point ball resolved in BCS1 |