Skip to main content

Mechanical for developers

Overview

Ansys Mechanical offers advanced simulation capabilities such as shock, drop and vibration, impact and penetration, smashes and crashes, occupant safety, heat transfer, solder fatigue, repetitive loading, and more. With a range of applications and product integrations, Ansys Mechanical helps you solve your toughest product challenges. For more information, see Ansys Mechanical.

The Mechanical scripting interface enables you to:

  • Create, modify, and run simulations programmatically.
  • Access and manipulate simulation data and results efficiently.
  • Integrate smoothly with other software.
  • Conduct parameter sweeps, optimizations, and inverse design processes.

PyMechanical, the open source library, offers the same functionality as the Mechanical scripting interface.

OS and supported languages

Mechanical scripting interface and PyMechanical are available for Windows and Linux in:

  • IronPython
  • CPython (open source)

Documentation

Mechanical scripting interface

Use the IronPython Mechanical scripting interface to interact with the current Mechanical datamodel for interrogations and edits.

2024 R1

PyMechanical (open source)

Use PyMechanical, which provides the same functionality as the Mechanical scripting interface, to interact with the current Mechanical datamodel for interrogations and edits.

View docs

Related projects

When using the Mechanical scripting interface, you can perform further development with the APIs and libraries of these Ansys products: