PyMechanical Logo Light PyMechanical Logo Dark

Python API to interact with Ansys Mechanical (FEA software for structural engineering) from 2023R2 and later versions.

Getting started

Learn how to install and use PyMechanical. Explains architecture and background.

Install Architecture Docker

Getting started
Examples

Dive into examples created using PyMechanical.

Basic Technology-showcase Tips

Examples
API reference

Understand PyMechanical API endpoints and their capabilities

Classes Methods Error handling

API reference
Embedding instance

A Mechanical object implemented in .NET is directly loaded into Python memory.

Python.NET no-GUI

Embedded instance
Remote session

Using gRPC, Mechanical operates as a server, ready to respond to client requests.

gRPC GUI

Remote session
Mechanical scripting

Overview of Ansys Mechanical scripting.

ACT Threading

Mechanical scripting
FAQs

Frequently asked questions and their answers.

How Why What

Frequently asked questions
Known issues and limitations

Issues and limitations on both PyMechanical and Mechanical.

23R2 24R1 24R2

Known issues and limitations
Contribute

Learn how to contribute to the PyMechanical codebase or documentation.

Test Documentation Issues

Contribute