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-1.5.0rc3.tar.gz
(92.0 kB
view hashes)
Built Distribution
pymech-1.5.0rc3-py3-none-any.whl
(58.2 kB
view hashes)
Close
Hashes for pymech-1.5.0rc3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b304076ccf9384041c800d354934c387481b35fa824827cfee2308c21b8d2636 |
|
MD5 | 8fa902ae5134415a370956bcf983014b |
|
BLAKE2b-256 | b94ccf4f02ea91ecb0dc6caf100f460430e44dc12214e78f024eba7e1a4fb986 |