- MixedInvasionPercolation.set_residual(pores=, overwrite=False)¶
Method to start invasion in a network w. residual saturation. Called after inlets are set.
pores (array_like) – The pores locations that are to be filled with invader at the beginning of the simulation.
overwrite (bool) – If
Truethen all existing inlet locations will be removed and then the supplied locations will be added. If
False, then supplied locations are added to any already existing locations.
Currently works for pores only and treats inner throats, i.e. those that connect two pores in the cluster as invaded and outer ones as uninvaded. Uninvaded throats are added to a new residual cluster queue but do not start invading independently if not connected to an inlet.
Step 1. Identify clusters in the phase occupancy. Step 2. Look for clusters that are connected or contain an inlet Step 3. For those that are merge into inlet cluster. May be connected to more than one - run should sort this out Step 4. For those that are isolated set the queue to not invading. Step 5. (in run) When isolated cluster is met my invading cluster it merges in and starts invading