Skip to content
/ pymech Public
forked from eX-Mech/pymech

Python scripts for nek5000 and simson

License

Notifications You must be signed in to change notification settings

exabl/pymech

This branch is 362 commits behind eX-Mech/pymech:main.

Folders and files

NameName
Last commit message
Last commit date
May 21, 2021
Mar 23, 2021
Sep 7, 2021
Sep 7, 2021
Dec 3, 2020
May 21, 2021
Jul 15, 2020
Feb 28, 2021
Sep 7, 2021
Mar 22, 2021
Feb 21, 2020
Jul 16, 2020
Sep 7, 2021
Mar 22, 2021
May 7, 2021
Mar 19, 2021

Repository files navigation

Tests 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.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.

About

Python scripts for nek5000 and simson

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%