ModelsMixin2#
- class ModelsMixin2(*args, **kwargs)[source]#
This class is added to
NetworkandPhaseobjects under themodelsattribute. It provides the functionality for storing and running pore-scale models.Methods
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
collectionof several models at onceregenerate_models([propnames, exclude])Runs all the models stored in the object's
modelsattributerun_model(propname[, domain])Runs the requested model and places the result into the correct locations