View on GitHub

PySimpleMAC

Download this project as a .zip file Download this project as a tar.gz file

Welcome to PySimpleMAC

PySimpleMAC is a simplified Marker and Cell Method solver for the incompressible Navier-Stokes Equations. The base solver is written in FORTRAN (F90), and we provide you with a wrapper for use in Python.

Getting Started

It's as easy as downloading the source code from one of the above links. Then you need to unzip, and build the code:

$ cd py_simple_mac_root/
$ make
$ ./runGUIExample.py

You should see a GUI launch with an example of the common benchmark case: the lid driven cavity.

Python Interface

More advanced users can take advantage of the Python routines which drive the code. Documentation for the Python modules may be found here:
PySimpleMAC Python Interface Documentation

Developer Documentation

If you are interested in adding features to the main CFD solver, which is written in Fortran, you may find full Doxygen generated documentation for the code here:
PySimpleMAC Fortran Developer Documentation

Also it would be useful to refer to the full Fortran version of the code which may be located here: SimpleMAC

Authors and Contributors

This code was written for a graduate class at University of Illinois at Chicago. The main author is Jon Komperda (@jonkomperda).

I would also like to thank my undergraduate researcher Azeam Anjum (@aanjum2) for his contributions to the base solver of SimpleMAC, which this code is based on.