A flexible multibody dynamics systems simulation code with Python and C++
Developers, after cloning: start with docs/dev/GETTING_STARTED.md - from a clone to a build and a passing test run.
Since version 1.11.0, Exudyn is heavily developed with Anthropic's Claude Code: code,
workflows, documentation, tests and examples. Users and developers working with an AI coding
assistant start it in the root of the repository: CLAUDE.md there leads a user to the manual,
the reference pages and the examples, and a developer to the plan and the rules.
- Exudyn version = 1.14.6 (Parker)
- University of Innsbruck, Department of Mechatronics, Innsbruck, Austria
Reproducible results: Exudyn computes sin, exp, ... with its own portable functions, so a model gives the same results on every platform; exudyn.cMath gives them to Python, see why own math in Exudyn.
New in Exudyn V1.14 - the full list, and what can break a script, is in the revisions chapter:
- Nonlinear solids and materials as items:
ObjectSolidTetrahedronandObjectSolidFEM(Tet4, Tet10) on material items - St. Venant-Kirchhoff, Neo-Hooke, Mooney-Rivlin, user laws -, with plasticity, viscoelasticity, thermal expansion, initial stress and surface pressure; see solid elements - The package exudyn.FEM: mass and stiffness matrices without NGsolve, and the interface elements FlexibleIE and PolynomialIE, which join reduced bodies - and a reduced body to a nonlinear one - by a joint or an elastic layer; see component mode synthesis
- Curves and surfaces: curve markers on rigid bodies, beams and superelements with
ObjectJointCurve(sliders, roller coasters, bodies on flexible rails), surface markers on rigid bodies, plates and meshes, and the contacts of spheres, circles and tubes with them; see curves and surfaces - 3D beams:
ObjectANCFBeamwith 3 nodes and a precurved reference, beams along curves, sections from a material, tubes in contact - Contact between primitive shapes - spheres, cylinders, cones, capsules, convex polytopes, triangles - with rolling and drilling resistance, bristle friction, plastic contact with adhesion, and a lubricated journal bearing; see contact
- Robotics, revised: kinematics, inverse kinematics and inverse dynamics in C++, Cartesian paths, the URDF import with collision shapes, path planning and navigation, more robot models; see robotics
- Solvers: the implicit Runge-Kutta solvers
TrapezoidalGGL,LobattoIIIA4,LobattoIIIC4GGL,Radau3,Radau5with automatic step size, MKL PARDISO, the solution kept in memory, andexudyn.diagnosticsfor what happened in a run; see solvers - User items and the symbolic system: user bodies, nodes, connectors, joints and markers, and
exudyn.symbolicswithSymbolicSystem, its solvers and the export of the equations to C++; see the symbolic system - The renderer: an icon bar, scopes, buttons and sliders, textures, a ruler, and a faster raytracer with soft shadows
- Exudyn is free, open source and with plenty of documentation, examples, and test models
- pre-built for Python 3.10 - 3.15 under Windows , Linux and MacOS available ( older versions available for Python >= 3.6); to build wheels yourself, see docs/dev/BUILD.md
- Exudyn can be linked to any other Python package, but we explicitly mention: NGsolve, OpenAI, OpenAI gym, Robotics Toolbox (Peter Corke), Pybind11
The first row is new in 1.14 (python/Examples/flexBodyDemo*.py): an elasto-plastic ObjectSolidFEM bar hit by a ball, a carriage on flexible reduced rails, a pendulum of reduced pieces tied by interface elements with a rubber end.
How to cite:
- Johannes Gerstmayr. Exudyn -- A C++ based Python package for flexible multibody systems. Multibody System Dynamics, Vol. 60, pp. 533-561, 2024. https://doi.org/10.1007/s11044-023-09937-1
The full documentation is the HTML documentation on Read the Docs : the user manual, the reference manual of all items, the Exudyn Python modules and the Python-C++ interface.
For license, see LICENSE.txt in the root github folder on github!
If you like using Exudyn, please add a star on GitHub!
In addition to the tutorials in the documentation, many ( 250+ ) examples can be downloaded on github under python/Examples and python/TestModels . They are also on ReadTheDocs.
Note that ChatGPT and other large language models know Exudyn quite well. They are able to build parts of your code or even full models, see https://doi.org/10.1007/s11044-023-09962-0
Tutorial videos can be found in the YouTube channel of Exudyn !
NOTE: NumPy switched to version 2.x which causes problems with packages that are not adapted to NumPy 2.x. The current version of Exudyn is already compatible with NumPy 2.x AND 1.x, however, some external packages (SciPy, robotics tools, etc.) may cause problems, therefore you could still use Numpy 1.26 (not available for Python >= 3.13).
NOTE: We finally like to emphasize that this is an open source library; we receive no specific money and most developements are done during free (=night) time; some models are simplifications that work for our needs, but may not be appropriate in your case; some models are under development (usually stated in the documentation) or may have bugs, therefore do not fully rely on all elements of the library!
Enjoy the Python library for multibody dynamics modeling, simulation, creating large scale systems, parameterized systems, component mode synthesis, optimization, ...
Changes can be tracked in the Issue tracker, see Github pages and Read the Docs.
FOR FURTHER INFORMATION see Exudyn Github pages and Read the Docs !!!









评论