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.1.tar.gz
(56.6 kB
view details)
Built Distribution
pymech-2.0.1-py3-none-any.whl
(59.4 kB
view details)
File details
Details for the file pymech-2.0.1.tar.gz
.
File metadata
- Download URL: pymech-2.0.1.tar.gz
- Upload date:
- Size: 56.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4976b766221fcb78767bc2ddff16ac625f37c12054a74b1307ff7043173d805 |
|
MD5 | 8b7853bfa7d98c22eadd9c6cd0682aa6 |
|
BLAKE2b-256 | 24694c2100bddf26d555e6062d8180ce41fc572cb8382c6fd2fc2ab9ad73acc8 |
File details
Details for the file pymech-2.0.1-py3-none-any.whl
.
File metadata
- Download URL: pymech-2.0.1-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.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6900bdcd99c1b66309a39d473700d05428a224a9a42a861cd60d98568df7f6a |
|
MD5 | c7854bbf2dedf7c573309b6dc281f179 |
|
BLAKE2b-256 | 29231d515b1f29e0e39e38739b070a69d3bc3cb2dd6371ffefc27fc1ae194eb4 |