Lagrange Equations with Mathematica
Desktop OS running Mathematica
The original PL1/FORMAC computer program of my Diploma work (capable of running on an IBM-360 mainframe) was ported by myself to Mathematica in 2013. I want to publish these results on this Web site. An additional download will enable the motivated visitor of this site to reproduce the work with that program.
The Lagrange Equations serve in the classical Mechanic the description of the motion of holonomic systems of rigid bodies. They are formally seen ordinary differential equations of the order 2, which are linear in the second order and quadratic in the first one. They have appropriate to my Diploma work the following form:
The metric g and the CHRISTOFFELsymbols Gamma as well as the generalized forces Q are calculated in the program published here. The input consists of an input file with a well defined format, which contains amongst others the following data:
- the number of degrees of freedom and the number of the rigid bodies
- the kinematics of the rigid bodies
- linear springs and dampers connected to the rigid bodies
- other applied forces and moments of force
The following files are contained in the ZIP file provided for Download:
- a folder Mechanics containing a complete Mathematica application including calculation module, initialisation module and complete documentation
- a Mathematica notebook serving as interface to the user, see the preview
- a sample input file demonstrating the structure of input
- a sample output file generated from the given input
The notebook (and the module) is well documented and runs under Mathematica 7+.