Giter Club home page Giter Club logo

porepy's Introduction

build DOI License: GPL v3 Code style

PorePy: A Simulation Tool for Fractured and Deformable Porous Media written in Python.

PorePy currently has the following distinguishing features:

  • General grids in 2d and 3d, as well as mixed-dimensional grids defined by intersecting fracture networks.
  • Automatic gridding for complex fracture networks in 2d and 3d.
  • Discretization of mixed-dimensional multi-physics processes:
    • Finite volume and mixed and virtual finite element methods for flow
    • Finite volume methods for transport and thermo-poroelasticity
    • Deformation of existing fractures treated as a frictional contact problem
    • Some functionality for fracture propagation along existing grid lines

For more information, see the tutorials and the Wiki.

PorePy is developed by the Porous Media Group at the University of Bergen, Norway. The software is developed under projects funded by the Research Council of Norway, the European Research Council and Equinor.

Citing

If you use PorePy in your research, we ask you to cite the following publication

Keilegavlen, E., Berge, R., Fumagalli, A., Starnoni, M., Stefansson, I., Varela, J., & Berre, I. PorePy: an open-source software for simulation of multiphysics processes in fractured porous media. Computational Geosciences, 25, 243โ€“265 (2021), doi:10.1007/s10596-020-10002-5

Runscripts for most, if not all, papers that uses porepy is available at here. Note that you may have to revert to an older version of PorePy to run the examples (we try to keep the runscripts updated, but sometime fail to do so, for various reasons).

Installation from source

Install instructions can be found here Install. Note that there are a few simple but non-obvious steps in the installation, so please read the entire document before sending questions.

PorePy is developed under Python >=3.8.

To get the most current version, install from github:

git clone https://github.com/pmgbergen/porepy.git

cd porepy

To get the stable (though not very frequently updated) version: git checkout master

Install pip install -r requirements.txt

Finally to install PorePy

pip install .

or for editable installs into the user directory:

pip install --user -e .

(Semi-) Optional packages

To function optimally, PorePy should have access to some more packages:

  • pymetis (for mesh partitioning).
  • Some computationally expensive methods can be accelerated with Numba.
  • We use shapely for certain geometry-operations.
  • Meshing: currently by gmsh.

Testing

To test build locally, the second command requires gmsh (see Install)

pip install -r requirements-dev.txt

python setup.py test

Getting started

Confer the tutorials. Also see unit tests.

Problems

Create an issue

License

See license md.

porepy's People

Contributors

alessiofumagalli avatar anabudisa avatar davidebaroliunilu avatar dependabot[bot] avatar enricoballini avatar haakon-e avatar ingridkj avatar ivarstefansson avatar jhabriel avatar jwboth avatar keileg avatar mstarnoni avatar omarduran avatar rbe051 avatar saeunnh avatar scotthmckean avatar vlipovac avatar yuriyzabegaev avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.