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 hashes)

Uploaded Source

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