mechpy

a mechanical engineering toolbox


Keywords
aeronautics, aerospace, materials, mechanical-engineering, mechanics, python, scientific-computing
License
MIT
Install
pip install mechpy==0.1

Documentation

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

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

Link Dump

http://compmech.lab.asu.edu/data/pyfem.py http://www.math.pitt.edu/~sussmanm/3040Summer14/math3040.html http://bendingmomentdiagram.com/solve/ http://www.toysrus.com/product/index.jsp?productId=57582136&cp=2255956.2273442.2255971.2257762.4036204&parentPage=family http://www.grc.nasa.gov/WWW/StructuresMaterials/MLP/software/mac-gmc/ http://www.alphastarcorp.com/intro/index.jsp http://analyswift.com/products/gebt-geometrically-exact-beam-theory-for-composite-slender-structures/ http://hypersizer.com/ http://www.espcomposites.com/software/software.html http://en.cadec-online.com/ http://www.mathworks.com/matlabcentral/fileexchange/?search_submit=fileexchange&query=composites&term=composites

Akron composite fortran code https://forceeffect.autodesk.com/frontend/fe.html http://www.jetaerospace.org/Gallery/askance_layout_calc.htm http://documen.tician.de/meshpy/ http://mathema.tician.de/software/meshpy/ http://fenicsproject.org/documentation/dolfin/1.4.0/python/demo/documented/mesh-generation/python/documentation.html https://wiki.scilab.org/Finite%20Elements%20in%20Scilab http://pyamg.org/

units in python https://pypi.python.org/pypi/Unum