Pymech
A Python suite of routines for Nek5000 and SIMSON. Install with:
pip install pymech
Read the full documentation at Pymech doc.
Getting started
For some quick wins, download some sample data
curl -fLO https://raw.githubusercontent.com/eX-Mech/pymech-test-data/main/nek/channel3D_0.f00001
Fire up a Python / IPython console and execute:
import matplotlib.pyplot as plt
import pymech as pm
ds = pm.open_dataset('channel3D_0.f00001')
ds.mean(['x', 'z']).ux.plot()
plt.show()
You should see something like
For an overview of how to use pymech, follow the usage documentation.
Contributing
Found something that does not work? Want to add a new feature to pymech? Have a look at contributing guidelines.
Metadata
Release files for pymech 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pymech-2.0.1.tar.gz | 56.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pymech-2.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 116.0 kB
Release files / pymech-2.0.1.tar.gz
| Download URL | pymech-2.0.1.tar.gz |
|---|---|
| Size | 56.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4976b766221fcb78767bc2ddff16ac625f37c12054a74b1307ff7043173d805
|
|
BLAKE2b-256 checksum How to use checksums |
24694c2100bddf26d555e6062d8180ce41fc572cb8382c6fd2fc2ab9ad73acc8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.13.0
|
Release files / pymech-2.0.1-py3-none-any.whl
| Download URL | pymech-2.0.1-py3-none-any.whl |
|---|---|
| Size | 59.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d6900bdcd99c1b66309a39d473700d05428a224a9a42a861cd60d98568df7f6a
|
|
BLAKE2b-256 checksum How to use checksums |
29231d515b1f29e0e39e38739b070a69d3bc3cb2dd6371ffefc27fc1ae194eb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.13.0
|