PMEAL / OpenPNM

A Python package for performing pore network modeling of porous media
http://openpnm.org
MIT License
442 stars 175 forks source link

Add model to Network: adjust_coordinates? #662

Closed jgostick closed 6 years ago

jgostick commented 7 years ago

When creating a Network we ask for the lattice spacing, but the desired value is highly dependent on the Geometry models/values used. It might be handy to have a method that automatically adjusts the spacing once the size of the pores are known to ensure everything is well scaled. The model could do several things:

  1. Adjust spacing so that the minimum throat length is 0 or some target value
  2. Adjust spacing iteratively to meet some target porosity
jgostick commented 6 years ago

All network manipulation stuff will be in topotools. We are probably going to enforce that you can't mess with a network after geom/phase/phys have been added, so there is not really a needs for these things to be 'models.