A python wrapper for Ansys Mechanical
Project description
Overview
PyMechanical is a Python interface for Ansys Mechanical, enabling automation and integration of complex simulation analysis workflows. It supports both remote sessions and embedded instances.
Installation
Install from PyPI:
pip install ansys-mechanical-core
Requirements:
Licensed copy of Ansys Mechanical (2024 R1+ on Windows/Linux)
For embedded instances: Local Mechanical installation required
For remote sessions: Network access to a running Mechanical instance
Python 3.10 - 3.13
Quick start
Remote session:
import ansys.mechanical.core as pymechanical
mechanical = pymechanical.launch_mechanical()
result = mechanical.run_python_script("2+3")
Embedded instance:
import ansys.mechanical.core as pymechanical
app = pymechanical.App()
app.update_globals(globals())
print(DataModel.Project.ProjectDirectory)
Documentation and support
Issues - report bugs or request features
Discussions - ask questions
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ansys_mechanical_core-0.12.2.tar.gz.
File metadata
- Download URL: ansys_mechanical_core-0.12.2.tar.gz
- Upload date:
- Size: 98.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea49c50874ec91f0f87f0995f3c5de2686c776bd634e613e908ca6d8a0384269
|
|
| MD5 |
a0cb00e6c044ca332320364c62298126
|
|
| BLAKE2b-256 |
e06524ba1e9c767e993295b955ceccaa6cb18a38940d7a91fd6177c41ccdb444
|
Provenance
The following attestation bundles were made for ansys_mechanical_core-0.12.2.tar.gz:
Publisher:
ci_cd.yml on ansys/pymechanical
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ansys_mechanical_core-0.12.2.tar.gz -
Subject digest:
ea49c50874ec91f0f87f0995f3c5de2686c776bd634e613e908ca6d8a0384269 - Sigstore transparency entry: 873981274
- Sigstore integration time:
-
Permalink:
ansys/pymechanical@b918dc813589bfd5f29c2b91d9a9956e159125b5 -
Branch / Tag:
refs/tags/v0.12.2 - Owner: https://github.com/ansys
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci_cd.yml@b918dc813589bfd5f29c2b91d9a9956e159125b5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ansys_mechanical_core-0.12.2-py3-none-any.whl.
File metadata
- Download URL: ansys_mechanical_core-0.12.2-py3-none-any.whl
- Upload date:
- Size: 154.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e726b0922149f02d5ca3b0517063c28ac036389c97fe1462ee995d84c9f9738
|
|
| MD5 |
90db68a6fa7e96526da2d8cb71a92bef
|
|
| BLAKE2b-256 |
bdb1f0429c657b177fa02dbbc64c01ce110d6a8237809bbd24fa349154b7dd20
|
Provenance
The following attestation bundles were made for ansys_mechanical_core-0.12.2-py3-none-any.whl:
Publisher:
ci_cd.yml on ansys/pymechanical
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ansys_mechanical_core-0.12.2-py3-none-any.whl -
Subject digest:
3e726b0922149f02d5ca3b0517063c28ac036389c97fe1462ee995d84c9f9738 - Sigstore transparency entry: 873981315
- Sigstore integration time:
-
Permalink:
ansys/pymechanical@b918dc813589bfd5f29c2b91d9a9956e159125b5 -
Branch / Tag:
refs/tags/v0.12.2 - Owner: https://github.com/ansys
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci_cd.yml@b918dc813589bfd5f29c2b91d9a9956e159125b5 -
Trigger Event:
push
-
Statement type: