Ansyas
Ansyas automates 3D FEM simulation in Ansys Maxwell and Icepak for any magnetic component described in MAS language. Developed by Wuerth Elektronik eiSos.
Installation
pip install Ansyas
Quick Start
from Ansyas import AnsyasMasLoader
loader = AnsyasMasLoader()
loader.load("component.json")
loader.simulate()
Testing
pytest tests/ -m "not ansys" # unit tests
pytest tests/ --run-ansys # integration tests
Configuration
| Parameter | Default | Constraint |
|---|---|---|
number_segments_arcs |
12 | >= 3 |
initial_mesh_configuration |
5 | 1-5 |
maximum_error_percent |
3.0 | > 0 |
maximum_passes |
40 | >= 1 |
refinement_percent |
30.0 | (0, 100] |
scale |
1.0 | > 0 |
License
MIT. Contact: Alfonso.Martinez@we-online.com
Metadata
Release files for Ansyas 0.9.16
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ansyas-0.9.16-py3-none-any.whl | Python 3 | none | any | Details |
Release files / ansyas-0.9.16-py3-none-any.whl
| Download URL | ansyas-0.9.16-py3-none-any.whl |
|---|---|
| Size | 84.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aabfcf1f1223911e54ca37c51d1b8623d83f2317f0445595c7c65dbc07f330d8
|
|
BLAKE2b-256 checksum How to use checksums |
51cc7b7c0df49abdced09316fcd912f2ad5a566be063d3fc2f67e2ea4f0a3a68
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.8
|