modelMovePointSphereToSphere
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.SIunits.Frequency | f | 100000 | |
| Boolean | Animation | true | |
| Modelica.SIunits.Radius | radiusContactPoint | 0.005 | |
| Modelica.Mechanics.MultiBody.Types.Color | colorContactPoint_Ball1 | {0, 180, 0} | |
| Modelica.Mechanics.MultiBody.Types.Color | colorContactPoint_Ball2 | {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) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Mechanics.MultiBody.Interfaces.Frame_a | frame_a1 | center of ball1 mass(BCS1) | |
| Modelica.Mechanics.MultiBody.Interfaces.Frame_a | frame_a2 | center of ball2 mass (BCS2) | |
| Modelica.Blocks.Interfaces.RealInput[12] | vector_ball1 | radius ball | |
| Modelica.Blocks.Interfaces.RealInput[12] | vector_ball2 | radius ball | |
| Modelica.Mechanics.MultiBody.Interfaces.Frame_b | frame_b1 | contact point ball1 (BCS3) | |
| Modelica.Mechanics.MultiBody.Interfaces.Frame_b | frame_b2 | contact point ball2 (BCS4) | |
| Modelica.Blocks.Interfaces.RealOutput[3] | pos_rel1 | Relative position center of ball1 resolved in BCS2 | |
| Modelica.Blocks.Interfaces.RealOutput[3] | w1 | absolut anglulat velocity contact point ball1 resolved in BCS1 | |
| Modelica.Blocks.Interfaces.RealOutput[3] | w2 | absolut anglulat velocity contact point ball2 resolved in BCS2 | |
| Modelica.Blocks.Interfaces.RealOutput[3] | pos_rel2 | Relative position center of ball2 resolved in BCS1 |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Mechanics.MultiBody.Sensors.RelativePosition | rP_ball1_ball2 | relative position center of ball1 resolved in BCS2 | |
| Modelica.Mechanics.MultiBody.Sensors.RelativePosition | rP_ball2_ball1 | relative position center of ball2 resolved in BCS1 | |
| Modelica.Mechanics.MultiBody.Sensors.AbsoluteAngularVelocity | aAV | absolut anglulat velocity contact point ball1 resolved in BCS1 | |
| IdealizedContact.Components.Utilities.variablePrism1 | variablePrism1 | from center of mass to contact point ball1 | |
| IdealizedContact.Components.Utilities.variablePrism1 | variablePrism2 | from center of mass to contact point ball2 | |
| Modelica.Blocks.Routing.DeMultiplex4 | deMultiplex1 | ||
| Modelica.Blocks.Routing.DeMultiplex4 | deMultiplex3 | ||
| Modelica.Mechanics.MultiBody.Sensors.AbsoluteAngularVelocity | aAV1 | absolut anglulat velocity contact point ball2 resolved in BCS2 |