|
From: Bruce S. <Bru...@nc...> - 2007-06-16 16:34:14
|
Take a look at the program gyro2.py in the suite of example programs that is installed with VPython. It's a visualization of a precessing nutating top using Lagrangian mechanics, with a curve drawn to show the trajectory of the tip of the axle of the top. Bruce Sherwood pri...@gm... wrote: > well, I am trying to visualize the dynamics of a heavy symmetrical top fixed in one point which is under the influence of gravitational force (without a dissipative function...so the energy is constant). therefore I have solved the Hamilton equations in python (ODEint). now I wanted to show the dynamic of the figure axis of the top (which is the rotating z-axis) which should leaving a trail on a 2D-manifold. in this case it is a part of a sphere. The Euler angle Theta as a function of time is in this case a periodic function which oscillates between theta_max and theta_min. these are the boundraries for my partial sphere. > > so I am depended on using Vpython if I want to draw this surface, since i want to show they dynamics of this top. i hope some of you understood my project...hopefully i will receive some help on this. thanks on that. > > greets from desden/germany > > -philipp |