A Python suite of routines for Nek5000 and Simson.
Project description
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.
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
pymech-2.0.0.tar.gz
(56.6 kB
view details)
Built Distribution
pymech-2.0.0-py3-none-any.whl
(59.4 kB
view details)
File details
Details for the file pymech-2.0.0.tar.gz
.
File metadata
- Download URL: pymech-2.0.0.tar.gz
- Upload date:
- Size: 56.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0186f395d99016b8ea1bf4aa1b423bb9955bf3490c3b5a95a124825775c6183 |
|
MD5 | 906aac88e8b85c8e844d69624be20e32 |
|
BLAKE2b-256 | 514b6e21853ed18ff6f6c0bfaef98ae5d744244349506f851d17d505910f3c6f |
File details
Details for the file pymech-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: pymech-2.0.0-py3-none-any.whl
- Upload date:
- Size: 59.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7e6a5286ed902985b170d735f68e2b7aaead4f2622a9b6c8d6417c54c5681f2c |
|
MD5 | a45f7bc68ea0827fa15cec63069e1a8d |
|
BLAKE2b-256 | bf1357b0a9faafec9babac075a2279895f9136384980115707ebcd5971c256d7 |