Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

A Python suite of routines for Nek5000 and Simson.

Project description

Build Status Coverage Status Documentation Status

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 -LO https://github.com/eX-Mech/pymech/raw/master/tests/nek/channel3D_0.f00001

Fire up a Python / IPython console and execute:

import matplotlib as pyplot
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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pymech, version 1.4.1
Filename, size File type Python version Upload date Hashes
Filename, size pymech-1.4.1-py3-none-any.whl (36.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pymech-1.4.1.tar.gz (105.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page