modelPointGravity

Two point masses in a point gravity field

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This model demonstrates a point gravity field. Two bodies are placed in the gravity field. The initial positions and velocities of these bodies are selected such that one body rotates on a circle and the other body rotates on an ellipse around the center of the point gravity field.

model Examples.Elementary.PointGravity

Components

TypeNameDefaultDescription
Modelica.Mechanics.MultiBody.Worldworld
Modelica.Mechanics.MultiBody.Parts.Bodybody1
Modelica.Mechanics.MultiBody.Parts.Bodybody2