Python Tool for Classical Mechanics PDF Print E-mail
Written by Luke   
Tuesday, 17 March 2009 15:56

On Friday I headed up to University of Nevada, Reno to meet with Ondrej Certik, the project leader of the SymPy project.  The goal for the weekend was to:

  1. Develop some python/sympy tools to generate equations of motion for multibody mechanical systems
  2. Go on a bike ride
  3. Drink some beer

We were successful in all three endeavors!

 The basic functionality that we implemented were some classes for symbolic unit vectors, reference frames, sympy expressions involving unitvectors, rotations, angular velocities, expressing  a vector expression in different frames, etc.  So far, we have derived the equations of motion for two systems, the simple point mass pendulum, and a torus rolling on the plane without slip.  A lot more work is needed to polish the user interface, but the core functionality is there and seems to be working very well.

 A few really exciting things about this project so far:

  1. Pretty printing of vector expressions -- unitvectors in bold with subscripts
  2. LaTeX output of symbolic expressions
  3. Generation of C/C++/Cython code for the equations of motion or whatever quantities you want
  4. Really easy to animate things using the functionality of Visual Python

The goal is essentially to be a one stop shop place to study the dynamics of mechanical systems, especially multi body systems and those with nonholonomic constraints.

 The project will be part of the Sympy project, but currently it is available at:

git://github.com/hazelnusse/pydy.git

If you have git installed, just go to the terminal and type:

git clone git://github.com/hazelnusse/pydy.git

and you'll have a working copy that you can play with and run.

 

Last Updated on Tuesday, 17 March 2009 15:57
 
Steady Turning Velocity and Steer Torque Level Curves PDF Print E-mail
Written by Luke   
Sunday, 01 March 2009 23:48

At last, some results!

 

 

 This was a tough cookie.  I need to automate this, otherwise it will never be done again.  It was really time consuming. 

Green lines on the left and right are the minimum and maximum lean curves.  Solid thick black lines are boundary curves to the feasible steady turning motions.  Solid thin black lines are the level curves of velocity.  Thick dashed lines are the steer torque level curves corresponding to zero torque.  Red lines are positive steer torque level curves, blue lines are negative steer torque level curves.

There is more to say about this figure than I have time for at the moment....

More to follow soon.

 

 
Last Updated on Monday, 02 March 2009 00:15
 
General Circular Motions of the benchmark bicycle PDF Print E-mail
Written by Luke   
Tuesday, 17 February 2009 16:00

My current work is focused on investigating the general circular motions of the benchmark bicycle model.  The parameters for this model are described by Meijaard et al., and what I am doing is generating steady turning level curves of yaw rate (or one of the wheel rates) and steer torque in the lean - steer plane.  In a steady turn, lean and steer are fixed (hence their rates are zero, rear frame pitch is determined from the holonomic constraint, and rear frame pitch rate is zero), but the wheel(s) are spinning and the bicycle is yawing.  In certain special cases, one of the wheels may spin about its axle while the other doesn't spin about its axle but instead spins only about the contact point.  For this reason, I am convinced that using the yaw rate as a parameter of the circular motions is better than using either of the wheel rates, because in any configuration besides upright zero steer, there will be a yaw rate.  The upright zero steer configuration has been well studied by Meijaard et al. for a set of benchmark parameters, my goal is to study motions away from this configuration, but using the same parameters.

In the interest of better serving the research community that is interested in bicycle dynamics, I set out to do create the following software tools and make them (and their source code) publicly available:

  • Holonomic constraint solver.  Lean, frame pitch, and steer are not independent coordinates if both wheels are required to touch the ground.  This tool will allow you to numerically specify two out of the three, then calculate the third.
  • Nonholonomic constraint solver. 
  • Equations of motion.  Be able to numerically specify two independent coordinates (lean and steer, lean and pitch, or pitch and steer) and three independent generalized speeds (really only the time derivatives of generalized coordinates, the simplest case) that you are considering to be independent, and solve for the time derivatives of these three independent generalized speeds.  Also will allow for a flag that allows you to specify if you want the time derivatives of the dependent generaliized speeds.
  • Eigenvalues of equations of motion when linearized about an arbitrary configuration.  Five independent quantities need to be specified:  two independent coordinates and three rates.
  • Animations of nonlinear simulation results that show the four rigid bodies of the bicycle:  Rear wheel, front wheel, rear bicycle frame with rigidly attached rider, and front fork/handlebar assembly.  Include ground reaction forces.
  • Parameter converter between the parameters used by Meijaard et al., and those I use (I don't use wheelbase, head angle complement, and trail; instead I use those that Franke et al. used).
  • Generalized coordinates converter between Basu-Mandal and Meijaard and my coordinates.

Each small subtask will be programmed as a C/C++ function.  SWIG interface files to Python will be created in order to allow Python scripts to utilize compiled code to quickly perform numerical studies.  These functions will be part of a C/C++ library that I will make available here.  My goal is to have many of these tasks complete by the end of February 2009.

Last Updated on Tuesday, 17 February 2009 16:40
 

tadalafil sans ordonnance cialis livraison rapide cialis generico india acheter viagra andorre commander cialis acheter viagra pour femme levitra similar levitra en suisse cialis precios acheter viagra en pharmacie pharmacie cialis acheter viagra au quebec viagra prix maroc tadalafil generico precio sildenafil mujer viagra prix de vente levitra per nachnahme erbe viagra viagra indien viagra ordonnance viagra maroc veritable viagra acheter cialis viagra achat cialis france effet viagra sur femme cialis generique achat viagra maroc prix viagra se compra con receta foro cialis levitra pour femme tadalafilo tadalafil diario levitra costo cialis medicinale viagra medicament tarif cialis 20mg medicament cialis cialis prix belgique achat viagra forum sostituto viagra acheter viagra en espagne viagras en ligne magnus sildenafil sidus cialis compresse 20 mg cialis chez la femme kamagra suisse prix cialis vente cialis en france achat sildenafil viagra prescrizione medica cialis 20mg belgique viagra compro sildenafil comprar magnus sildenafil 50 mg achat cialis generique sildenafil viagra pour femme achat cialis remboursement commander kamagra viagra generique prix cialis internet viagra ordonnance ou pas precio viagra 100 mg sildenafil en mujeres vardenafil costo acheter viagra pfizer viagra per femmine cialis espana cialis sans ordonnance belgique viagra 50 mg ricetta levitra cialis presentacion y precio sildenafil femme comprar levitra contra reembolso cialis no me funciona cialis senza prescrizione cialis a vendre viagra generico comprar cialis temoignage cialis milano tadalafil en mexico cialis lilly prix viagra vert viagra roma tadalafil similares precio cialis 5 mg acheter cialis sur internet viagras prix cialis achat france viagra effet secondaire cialis 5 precio sildenafil foro viagra moins cher achat tadalafil vente de viagra sur internet levitra en ligne cialis ca marche viagra precio ecuador cialis incompatibilidades viagra 25 mg precio cialis moins cher cialis meilleur prix cialis au quebec medicamento sildenafil 50 mg sildenafil venta acheter du viagra levitra vendita on line viagra reseller comprar cialis por internet cialis pharmacie prix cialis suisse viagra luxembourg cialis en andorre levitra inde forum cialis sur internet sildenafil precio mexico acheter viagra generique viagra pasti precio viagra generico farmacias viagra sin receta cialis acheter en france acquista cialis generico sildenafil farmacias ahumada viagra al femminile achat cialis 20mg levitra moins cher prix cialis 20 vente viagra france levitra medicament cialis lyon cialis 20 mg compresse cialis combien ca coute kamagra femme viagra en ligne levitra contrassegno cialis en ligne kamagra sans ordonnance viagra europe commande cialis viagra generico españa sildenafil para mujeres cialis espagne viagras en pharmacie viagra naturel kamagra apcalis cialis veritable levitra acquisto viagra alternativo levitra costo in farmacia viagra compresse acheter viagra au canada viagra lyon compra levitra cialis en vente libre levitra senza ricetta generique cialis efficace viagra 25 mg prix acheter kamagra acheter cialis en suisse vente viagra en ligne acheter cialis forum viagra suisse acheter viagra en ligne achat viagra cialis vendo cialis roma comprar levitra españa viagra pharmacie paris kamagra belgique acheter viagra sans ordonnance viagra riddim viagra tunisien levitra maroc commander viagra en ligne sildenafil venta libre achat viagra en belgique cialis generique canada sildenafil efecto en mujeres viagra senza prescrizione viagra vente libre andorre tabletas sildenafil costo levitra 20 mg cialis farmacia ahumada tadalafil venta cialis soft generico cialis senza prescrizione medica cialis seguridad social viagra duree d'action comprar viagra generico en españa viagra au maroc prix levitra 20mg forum achat cialis cialis generico acquisto tadalafil tabletas cialis pharmacie paris viagra madrid viagra generique sur le net viagra pour femme en france cialis authentique acheter cialis 20mg viagra vrai citrate de sildenafil viagra en pharmacie acheter cialis internet viagra vente libre en pharmacie viagra commander cialis generique avis cialis hypertension levitra pas cher prix viagra cialis tarif viagra acheter cialis paris cialis generique suisse viagra vente libre sur internet achat viagra sur internet acheter viagra internet cialis 5 mg precio female viagra femigra prix levitra pharmacie sildenafil para la mujer comprar viagra sin receta en madrid prix viagra suisse levitra effet secondaire acheter cialis sans ordonnance cialis se vende en farmacias kamagra a vendre prix cialis generique levitra generique cialis marketing strategy medicinale levitra cialis pharmacie levitra compresse achete levitra cialis sans ordonnance viagra simili sildenafil 100 pilules viagra remboursé par la sécu forum viagra generique effet cialis sur femme similares tadalafil acheter cialis en espagne medicament cialis 5mg avis cialis generique acheter viagra en belgique acheter cialis pas chere cialis pasti cialis au maroc comprar levitra 10 mg magnus sildenafil viagra paris viagra milano cialis femminile levitra bayer comprar vente cialis france viagra ne marche pas viagra cialis generico forum cialis generique levitra farmaco cialis generico 10 mg prix viagra france achat viagra france remboursement levitra cialis farmaco da banco acquista levitra viagra remboursement viagra farmaco acheter viagra cialis viagra san marino sildenafil 50 mg venta cialis de 5 mg viagra vente cialis farmacias guadalajara acquisto levitra online achat cialis andorre viagra livraison express acheter du cialis generique cialis 5mg levitra sans ordonnance cialis tunisie commander viagra sildenafil en la mujer achat cialis pas cher viagra generique canada cialis generique pharmacie acheter kamagra gel prix cialis andorre cialis vente viagra es con receta cialis prise quotidienne sildenafil pfizer viagra pas cher commander viagra generique comprare cialis a san marino acheter cialis pas cher vente viagra pfizer viagra quebec achat cialis sans ordonnance viagra generico madrid viagra sans ordonnance belgique procurer du cialis acquisto viagra san marino achat viagra generique viagras genericos sildenafil generico mexico cialis prix france viagra a vendre cialis comprar madrid viagra hollande viagra se puede comprar sin receta prix cialis 5 achat viagra 20mg levitra sur le net vrai cialis viagra en pharmacie prix viagra pasteque sildenafil tabletas cialis mezza pastiglia sildenafil farmacias similares precio viagra viagra generique achat cialis alle erbe sildenafil efectos a largo plazo comprare cialis su internet levitra originale viagra faut il une ordonnance prix cialis 10 mg viagra cialis acheter cialis precio en farmacia achat levitra sildenafil nombre comercial viagras pour femme vardenafil generique viagra naturale alle erbe cialis 20mg pas cher viagra femme cialis soft prix viagra en pharmacie trouble erection cialis tiempo cialis en farmacias generique viagra prix achat viagra montreal kamagra vente le viagra cialis generico foro cialis generico simili viagra levitra viagra cialis differenze levitra sur internet costo sildenafil viagra pour femme faire achat viagra belgique achat kamagra oral jelly sildenafil magnus cialis instrucciones viagra offerte cialis generico madrid vente levitra tadalafil generico españa cialis prix pharmacie cialis 20 mg precio venta de cialis