mechpy - a mechanical engineer's python toolbox
Tutorials - see the nbviewer for mechpy
Mechpy was created for two reasons.
- To provide the practicing engineer with applications to quickly replicate and solve real-world systems common in mechanical engineering
- To give the engineering student a code baes from which to suppliment learning through hand-calculations and an easy way to check work.
There are many different tools available to engineers. Hand-calcsulations, spreadsheets, and code are all great ways to perform calculations or visualize data or concepts. MATLAB is the defacto tool to solve many engineering calulations, but is just too expensive to be a practical tool. Octave, Scilab, or Freelab are great alternatives, but is limited in scope to calculation. I began using python for calculations and visualzations and have found it to be a very powerful tool with many existing modules for mathematics and plotting, in addition to the thousands of other libraries for general computing.
Check out the dependencies of mechpy for specific examples and documentation
- Scipy
- numpy
- sympy
- matplotlib
- pandas
- pyndamics
Other neat engineering python modules
- pyndamics with example
- control-systems
- grid solvers with [example)[https://code.google.com/p/pyamg/wiki/Examples]
- python dynamics,(https://pypi.python.org/pypi/pydy/), examples
- sympy classical mechanics
http://docs.sympy.org/latest/modules/physics/mechanics/index.html https://github.com/cdsousa/sympybotics https://pypi.python.org/pypi/Hamilton https://pypi.python.org/pypi/arboris https://pypi.python.org/pypi/PyODE https://pypi.python.org/pypi/odeViz https://pypi.python.org/pypi/ARS https://pypi.python.org/pypi/pymunk http://scipy.github.io/old-wiki/pages/NumPy_for_Matlab_Users.html
https://docs.scipy.org/doc/numpy-dev/user/numpy-for-matlab-users.html
TODO
- Add OOP model to generate Free Body Diagrams
- add shear-bending diagrams