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
Built Distribution
File details
Details for the file mimpy-0.1.0.linux-x86_64.tar.gz
.
File metadata
- Download URL: mimpy-0.1.0.linux-x86_64.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41bb7869a7b6d2eb7b66ce49e048329505d2ae63bba56e5eb3d594e6bde5fb35 |
|
MD5 | 7e6ca2d010ddc5e3e9db15e920167fe7 |
|
BLAKE2b-256 | fb164941f405cf56a395a2448c996ffc2c1edc302f8699fc3a32dca8ba501186 |