Python implementation of the Mimetic Finite Difference method.
Project description
Mimpy is a Python based library for solving the diffusion equation.
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:
History
0.1.0 (2015-2-15)
First release on PyPI.
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.