Skip to content

Scaling error w/ standard drainage in distance mode #88

@kbruning

Description

@kbruning

I am attempting to run morphological drainage at sphere radii that exceed subdomain dimensions. I have this working at low resolution, but am getting erroneous solutions when scaling up.

I switched the standard_method for morphological drainage to mode="distance" and commented out the check_radii test in the porosimetry function. The attached files "drainage_sp.py" with "sphere_pack.in" saved in the examples folder seem to work. The sphere_pack.in was renamed to sphere_pack.txt to attach here, but should be switched back.

When scaling to voxels = (100,100,100) and reservoir_voxels = 850 or to voxels = (200,200,200) and reservoir_voxels = 1700, I get erroneous solutions. See the attached image of disconnected nonwetting fluid for the final capillary pressure state in the 200^3 case. Large reservoirs are required for very small capillary pressures, e.g. for the 200^3 case a capillary pressure of 0.10706 corresponds to a sphere radius of 1698 voxels.

sphere_pack.txt

drainage_sp.py

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions