.Modelica.Mechanics.MultiBody.Examples.Constraints.PrismaticConstraint

Information

This example demonstrates the functionality of constraint representing prismatic joint. Each of two bodies is at one of its end connected by spring to the world. The other end is also connected to the world either by two serial coupled prismatic joints or by appropriate constraint. Therefore, the body can only perform translation in two directions specified in the two joints depending on working forces.

Simulation results

After simulating the model, see the animation of the multibody system and compare movement of body connected by joint (blue colored) with movement of that one connected by constraint (of green color). Additionally, the outputs from sensorConstraintRelative depict both position and angle deviations in the constraining element.


Generated at 2020-06-05T21:39:08Z by OpenModelica 1.16.0~dev-442-g2e5bc9f