porespy.simulations.hg_porosimetry#
- porespy.simulations.hg_porosimetry(im, steps=25, voxel_size=1.0)#
Simulates mercury intrusion and extrusion experiment
- Parameters:
im (ndarray) – The boolean image of the void space
steps (int) – The number of pressure steps to apply
voxel_size (float) – The voxel size of the image in units of m/vx side. This is use to compute the capillary transform, with all other inputs being those for mercury.
- Returns:
results – An object with the following attributes:
—————- —————————————————- Attribute Description —————- —————————————————- pc_intrusion Capillary pressure during the intrusion simulation snwp_intrusion Non-wetting phase saturations during the intrusion pc_extrusion Capillary pressure during the extrusion simulation snwp_extrusion Non-wetting phase saturations during the extrusion —————- —————————————————-
- Return type:
dataclass
Examples
Click here to view online example.