PorousGen: An Efficient Algorithm for Generating Porous Structures with Accurate Porosity and Uniform Density Distribution

Abstract

This work presents a novel algorithm for generating porous structures as an alternative to the PoreSpy program suite. Unlike PoreSpy, which often produces structures whose porosity deviates from the target value, our proposed algorithm generates structures whose porosity closely matches the specified input, within a defined error margin. Furthermore, parallel computation enables efficient generation of large-scale structures, while memory usage is reduced compared to PoreSpy. To evaluate performance, structures were generated using both PoreSpy and the proposed method with parameters corresponding to X-ray ptychography experiments. The porosity mismatch in PoreSpy led to a relative error exceeding 20% in the computed gas diffusion coefficients, whereas our method reproduced the experimental values within 5%. These results demonstrate that the proposed method provides an efficient, high-precision approach for generating porous structures and supports reliable prediction of material properties. The program called PorousGen is publicly available under the MIT License from https://github.com/YoshidomeGroup-Hydration/PorousGen.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…