PMEAL / OpenPNM

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

Helper method `set_IC` for transient multiphysics algorithm #2277

Open mkaguer opened 2 years ago

mkaguer commented 2 years ago

Currently, user must manually stack ICs for each of the algorithms and pass through run method. This is tedious and not user friendly. Add a helper method called set_IC() to deal with this.

jgostick commented 2 years ago

If we add a set_IC method to the transient_reactive_transport, then it will be inherited by multiphysics too. This means it should/could be subclassed to take both the values and the algorithm.name to which it applies.