Domains are either ink bottle (solid walls in two dimensions, nothing in one dimension) or sphere packings (periodic in two dimensions, nothing in one dimension)
Option to start from an imported fluid distribution array or one saved from a previous pc step, I typically use raw files but am open to others
Option to choose which face of the domain to put a reservoir on
Arnold_Dragovitz_etal_23 fig 2 is a good visual of the addition/connected component steps I would like to use:
Morphological addition
Simplest and most versatile for me would be a function call where I can specify the dilation of phase label X by a probe radius that replaces only phase label Y (e.g. dilation of solid phase into wetting phase, or dilation of nonwetting phase into wetting phase), this would eliminate the need for a separate morphological subtraction function.
Connected components
Label the connected components of phase label X and output the array of the labeled components.
I need this function for multiple purposes, so I think it would be easier for now to just output the labeled array and then possibly make this more efficient later.
Outputs of pc and corresponding sw (in a txt or csv would be helpful but not necessary), and optional visual of fluid distribution at each target point, option to save a fluid distribution array to initialize another point.
Domains are either ink bottle (solid walls in two dimensions, nothing in one dimension) or sphere packings (periodic in two dimensions, nothing in one dimension)
Option to start from an imported fluid distribution array or one saved from a previous pc step, I typically use raw files but am open to others
Option to choose which face of the domain to put a reservoir on
Arnold_Dragovitz_etal_23 fig 2 is a good visual of the addition/connected component steps I would like to use:
Morphological addition
Connected components
Label the connected components of phase label X and output the array of the labeled components.
I need this function for multiple purposes, so I think it would be easier for now to just output the labeled array and then possibly make this more efficient later.
Outputs of pc and corresponding sw (in a txt or csv would be helpful but not necessary), and optional visual of fluid distribution at each target point, option to save a fluid distribution array to initialize another point.