Getting started#
PyMechanical is part of the broader PyAnsys initiative, enabling the use of Ansys technologies directly from Python. It provides two modes for working with Mechanical:
Embedding mode: In-process, full API access
Remote session mode: Separate process, gRPC access.
Installation guide
Install and verify PyMechanical.
Choose your mode
Compare embedding and remote session modes. Pick the correct one for your workflow.
Launching PyMechanical
Launch, connect, and run your first script in either mode.
Docker setup
Run Mechanical in Docker containers (remote session mode).
Windows Subsystem for Linux (WSL)
Install and run PyMechanical on Linux with WSL.
Troubleshooting
Fix common launch, licensing, and VPN issues.