Skip to main content

Python implementation of the Mimetic Finite Difference method.

Project description

https://api.travis-ci.org/ohinai/mimpy.png?branch=master

Mimpy is a Python based library for solving the diffusion equation.

diff_eq.gif

Because diffusion is a “kernel” for many physical phenomena, mimpy can also solve problems like the heat equation and multi-phase flow through porous media.

The best way to get the code right now is to clone the git repo and run the setup utility:

$ git clone https://github.com/ohinai/mimpy.git
$ python setup.py install

A simple example can be found in hexmesh_example_1.py. Run:

$ python hexmesh_example_1.py

If all goes well, you should get a file named (hexmesh_example_1.vtk). Open the file using Paraview and plot “MFDPressure.” You should see something like this:

hexmesh_solution.png

History

0.1.0 (2015-2-15)

  • First release on PyPI.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

mimpy-0.1.0.linux-x86_64.tar.gz (1.1 MB view details)

Uploaded Source

File details

Details for the file mimpy-0.1.0.linux-x86_64.tar.gz.

File metadata

File hashes

Hashes for mimpy-0.1.0.linux-x86_64.tar.gz
Algorithm Hash digest
SHA256 41bb7869a7b6d2eb7b66ce49e048329505d2ae63bba56e5eb3d594e6bde5fb35
MD5 7e6ca2d010ddc5e3e9db15e920167fe7
BLAKE2b-256 fb164941f405cf56a395a2448c996ffc2c1edc302f8699fc3a32dca8ba501186

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page