Skip to main content

Python tool kit for multi-body dynamics.

Project description

PyDy, short for Python Dynamics, is a tool kit written in and accessed by the Python programming language that utilizes an array of scientific tools to study multibody dynamics. The goal is to have a modular framework which utilizes a variety of tools that can provide the user with their desired workflow, including:

  • Model construction

  • Equation of motion generation

  • Simulation

  • Visualization

  • Publication

We started by building the SymPy mechanics package which provides an API for building models and generating the symbolic equations of motion for complex multibody systems and have more recently developed two packages, pydy-code-gen and pydy-viz, for simulation and visualization of the models. The remaining tools currently used in the PyDy workflow are popular scientific Python packages such as NumPy, SciPy, IPython, and matplotlib (i.e. the SciPy stack) which provide additional code for numerical analyses, simulation, and visualization.

Installation

The PyDy workflow generally depends on these Python packages:

SciPy Stack

PyDy Stack

It’s best to install the dependencies from the SciPy Stack using the instructions provided on the SciPy website.

Once you have all of the SciPy Stack dependencies you can simply install the PyDy Stack with pip:

$ pip install pydy

Or download the source and run:

$ python setup.py install

For system wide installs you will need root permissions (perhaps prepend commands with sudo).

Note that the PyDy package is currently a simple wrapper to pydy-code-gen and pydy-viz that provides a common namespace pydy. These packages will likely be merged into this package soon.

Usage

Simply import the modules and functions when in a Python interpreter:

>>> from sympy import symbols
>>> from sympy.physics import mechanics
>>> from pydy import codegen, visualization

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydy-0.1.0.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file pydy-0.1.0.tar.gz.

File metadata

  • Download URL: pydy-0.1.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pydy-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fde0223e881e6bc09fee6bdf78c368d501b41d27ca917fd16a64a6c7e557f1d9
MD5 76a0c3fac1227259e8e185beb0b05cfa
BLAKE2b-256 7b8f448b02e8f0a2dcb80bed216485e53fd2b555b8b9b99741ad1e360bf96e65

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page