pmgbergen / porepy

Python Simulation Tool for Fractured and Deformable Porous Media

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Restructuring of applications folder and verification setups

jhabriel opened this issue · comments

Currently, the applications folder contains derived models and verification setups. The latter in turn contains manufactured solutions and complete setups. With the hope of making the applications folder more transparent and ease the maintenance cost, the manufactured solutions will be moved to the tests folder.

The applications folder will be constitued by building blocks (this will include standard grids, derived models, a library of physical constants) and complete setups (e.g., classical setups of poromechanics and elasticity, etc.). The intention is to use the first one as blocks for writing tests, tutorials, and runscripts, whereas the second one to facilitate rapid prototyping of new ideas.

The proposed restructuring of the applications folder will look as follows:

porepy/
.... applications/
........ building_blocks/
............ derived_models/
................ biot.py
........ complete_setups/
............ terzaghi_biot.py
............ mandel_biot.py

  • Move manufactured solutions to functional tests
  • Reestructure applications folder
  • Retrieve domain size from self.domain.bounding_box in Terzaghi and Mandel setups.
  • Add possibility of scaling in Terzaghi