This folder contains tutorials that show the basic workings of PorePy. To follow the tutorials, you can download the files (either by cloning the repository, or download the individual files), and run them as Jupyter Notebooks.
In addition to the tutorials contained herein, we are working on providing more advanced examples that further illustrate the usage of PorePy.
The PorePy tutorials are designed as stand-alone documentation of different components and capabilities. The appropriate order of reading may depend on the reader's background and ambitions. However, the following may serve as a general suggestion:
- introduction describes the overarching conceptual framework and its high-level implementation and lists some problems which may be solved using PorePy.
- grid_structure describes the structure of individual grids. Shows construction of different types of grids. Also dives into the data structure, and shows how to access and manipulate grid quantities.
- meshing_of_fractures describes the construction of grid buckets for mixed-dimensional grids.
- single_phase_flow shows different discretization methods available for the pressure equation.
- ad_framework describes how to solve a problem using the AD framework. The tutorial includes setup of parameters and discretizations.