class ModelsMixin2(*args, **kwargs)[source]#

This class is added to Network and Phase objects under the models attribute. It provides the functionality for storing and running pore-scale models.


add_model(propname, model[, domain, regen_mode])

Add a pore-scale model to the object, along with the desired arguments

add_model_collection(models[, domain, ...])

Add a collection of several models at once

regenerate_models([propnames, exclude])

Runs all the models stored in the object's models attribute

run_model(propname[, domain])

Runs the requested model and places the result into the correct locations