{"id":{"repo_id":"heriot-watt","oai_identifier":"oai:ros.hw.ac.uk:10399/5196"},"canonical_url":"https://search.dev.ndltd.org/etd/heriot-watt/oai:ros.hw.ac.uk:10399/5196","repository":{"repo_id":"heriot-watt","name":"Heriot-Watt University","base_url":"https://www.ros.hw.ac.uk/oai/request"},"display":{"title":"Deep learning for size-agnostic two-phase flow simulation with realistic pore structures and rock-fluid properties","abstract":"The study of pore-scale flow in porous media is essential across numerous fields, including petroleum engineering, environmental science, chemical engineering, and biomedicine. Recently, deep learning techniques have shown significant potential in enhancing pore-scale flow modelling. However, existing research predominantly addresses single-phase flow, and studies focusing on the prediction of two-phase flow fields remain sparse. Current deep learning research in two-phase flow typically involves simplified pore structures, limited training datasets, and fixed rock-fluid and flow parameters. In this work, I develop deep neural networks as data-driven proxy models for generating phase distributions during a two-phase, capillary-dominated drainage process, where a non-wetting phase invades a wetting-phase-saturated porous rock. My approach integrates complex Computerised Tomography (CT) images and incorporates pixel size (i.e., imaging resolution), interfacial tension, contact angle (wettability), and capillary pressure as direct inputs. Leveraging these capabilities, I showcase several real-world applications of the trained models. First, I construct an extensive and diverse dataset by subsampling both synthetic and real rock images. Next, an efficient morphology-based drainage simulator is developed, providing phase distributions for each sub-image. I evaluate various deep learning architectures and analyse their accuracy and adherence to physical principles. A recurrent encoder-decoder model outperforms the commonly used U-Net in capturing phase connectivity, though it exhibits flow-direction bias and high computational demands. I subsequently introduce a hybrid transformer-convolutional neural network that performs drainage based solely on pore size, with phase connectivity enforced as a post-processing step. This approach facilitates inference for images of various sizes and accommodates any fluid inlet-outlet configuration. The trained models exhibit high efficiency and accuracy across unseen and larger sandstone and carbonate images. I further validate the models against data from microfluidic experiments and Lattice-Boltzmann (LBM) simulations, demonstrating similar capillary pressure curves and phase distributions with significantly faster performance. These models can replace slow direct simulations or costly experiments, generate finer pressure steps between existing results, and serve as data validation tools. They deliver results in seconds to minutes with minimal preprocessing across a range of realistic rock types, rock-fluid properties, resolutions, and image sizes. I show that the final deep learning models can integrate with an efficient optimiser to estimate wettability if phase distributions are already available. I apply this inverse-problem technique to determine the average contact angle from an LBM-generated phase distribution image in a core-scale Bentheimer sandstone, where supercritical CO2 displaces brine. This scenario has applications in CO2 sequestration. I find that the model achieves results comparable to the GPU-accelerated LBM method, 5,000 times faster. I then generate phase distributions over 101 pressure steps and build the complete capillary pressure curve in minutes. Through these studies, it becomes clear that the developed models can be seamlessly integrated into downstream workflows to provide further insight into pore-scale flow.","abstract_html":"The study of pore-scale flow in porous media is essential across numerous fields, including petroleum engineering, environmental science, chemical engineering, and biomedicine. Recently, deep learning techniques have shown significant potential in enhancing pore-scale flow modelling. However, existing research predominantly addresses single-phase flow, and studies focusing on the prediction of two-phase flow fields remain sparse. Current deep learning research in two-phase flow typically involves simplified pore structures, limited training datasets, and fixed rock-fluid and flow parameters. In this work, I develop deep neural networks as data-driven proxy models for generating phase distributions during a two-phase, capillary-dominated drainage process, where a non-wetting phase invades a wetting-phase-saturated porous rock. My approach integrates complex Computerised Tomography (CT) images and incorporates pixel size (i.e., imaging resolution), interfacial tension, contact angle (wettability), and capillary pressure as direct inputs. Leveraging these capabilities, I showcase several real-world applications of the trained models. First, I construct an extensive and diverse dataset by subsampling both synthetic and real rock images. Next, an efficient morphology-based drainage simulator is developed, providing phase distributions for each sub-image. I evaluate various deep learning architectures and analyse their accuracy and adherence to physical principles. A recurrent encoder-decoder model outperforms the commonly used U-Net in capturing phase connectivity, though it exhibits flow-direction bias and high computational demands. I subsequently introduce a hybrid transformer-convolutional neural network that performs drainage based solely on pore size, with phase connectivity enforced as a post-processing step. This approach facilitates inference for images of various sizes and accommodates any fluid inlet-outlet configuration. The trained models exhibit high efficiency and accuracy across unseen and larger sandstone and carbonate images. I further validate the models against data from microfluidic experiments and Lattice-Boltzmann (LBM) simulations, demonstrating similar capillary pressure curves and phase distributions with significantly faster performance. These models can replace slow direct simulations or costly experiments, generate finer pressure steps between existing results, and serve as data validation tools. They deliver results in seconds to minutes with minimal preprocessing across a range of realistic rock types, rock-fluid properties, resolutions, and image sizes. I show that the final deep learning models can integrate with an efficient optimiser to estimate wettability if phase distributions are already available. I apply this inverse-problem technique to determine the average contact angle from an LBM-generated phase distribution image in a core-scale Bentheimer sandstone, where supercritical CO2 displaces brine. This scenario has applications in CO2 sequestration. I find that the model achieves results comparable to the GPU-accelerated LBM method, 5,000 times faster. I then generate phase distributions over 101 pressure steps and build the complete capillary pressure curve in minutes. Through these studies, it becomes clear that the developed models can be seamlessly integrated into downstream workflows to provide further insight into pore-scale flow.","abstract_has_math":false,"creators":["Asadolahpour, Seyed Reza"],"institution":"Heriot-Watt University","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":["Jiang, Doctor Zeyun","Lewis, Doctor Helen","Buckman, Doctor James"],"committee_chairs":[],"committee_members":[],"year":2025,"date_issued":"2025-02","date_published":"2025-02","updated_at":"2026-07-24T02:31:07Z","subjects":[],"languages":["en"],"rights":["All items in ROS are protected by the Creative Commons copyright license (http://creativecommons.org/licenses/by-nc-nd/2.5/scotland/), with some rights reserved."],"rights_urls":[],"identifier_entries":[]},"links":{"outbound_url":"http://hdl.handle.net/10399/5196","outbound_label":"Handle","outbound_source":"dc:identifier.uri"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Jiang, Doctor Zeyun","Lewis, Doctor Helen","Buckman, Doctor James"]},{"key":"dc:creator","label":"Author","values":["Asadolahpour, Seyed Reza"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-10-30T17:38:43Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2025-10-30T17:38:43Z"]},{"key":"dc:date.issued","label":"Date","values":["2025-02"]},{"key":"dc:publisher","label":"Institution","values":["Heriot-Watt University","Energy, Geoscience, Infrastructure and Society"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["All items in ROS are protected by the Creative Commons copyright license (http://creativecommons.org/licenses/by-nc-nd/2.5/scotland/), with some rights reserved."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["http://hdl.handle.net/10399/5196"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["The study of pore-scale flow in porous media is essential across numerous fields, including petroleum engineering, environmental science, chemical engineering, and biomedicine. Recently, deep learning techniques have shown significant potential in enhancing pore-scale flow modelling. However, existing research predominantly addresses single-phase flow, and studies focusing on the prediction of two-phase flow fields remain sparse. Current deep learning research in two-phase flow typically involves simplified pore structures, limited training datasets, and fixed rock-fluid and flow parameters. In this work, I develop deep neural networks as data-driven proxy models for generating phase distributions during a two-phase, capillary-dominated drainage process, where a non-wetting phase invades a wetting-phase-saturated porous rock. My approach integrates complex Computerised Tomography (CT) images and incorporates pixel size (i.e., imaging resolution), interfacial tension, contact angle (wettability), and capillary pressure as direct inputs. Leveraging these capabilities, I showcase several real-world applications of the trained models. First, I construct an extensive and diverse dataset by subsampling both synthetic and real rock images. Next, an efficient morphology-based drainage simulator is developed, providing phase distributions for each sub-image. I evaluate various deep learning architectures and analyse their accuracy and adherence to physical principles. A recurrent encoder-decoder model outperforms the commonly used U-Net in capturing phase connectivity, though it exhibits flow-direction bias and high computational demands. I subsequently introduce a hybrid transformer-convolutional neural network that performs drainage based solely on pore size, with phase connectivity enforced as a post-processing step. This approach facilitates inference for images of various sizes and accommodates any fluid inlet-outlet configuration. The trained models exhibit high efficiency and accuracy across unseen and larger sandstone and carbonate images. I further validate the models against data from microfluidic experiments and Lattice-Boltzmann (LBM) simulations, demonstrating similar capillary pressure curves and phase distributions with significantly faster performance. These models can replace slow direct simulations or costly experiments, generate finer pressure steps between existing results, and serve as data validation tools. They deliver results in seconds to minutes with minimal preprocessing across a range of realistic rock types, rock-fluid properties, resolutions, and image sizes. I show that the final deep learning models can integrate with an efficient optimiser to estimate wettability if phase distributions are already available. I apply this inverse-problem technique to determine the average contact angle from an LBM-generated phase distribution image in a core-scale Bentheimer sandstone, where supercritical CO2 displaces brine. This scenario has applications in CO2 sequestration. I find that the model achieves results comparable to the GPU-accelerated LBM method, 5,000 times faster. I then generate phase distributions over 101 pressure steps and build the complete capillary pressure curve in minutes. Through these studies, it becomes clear that the developed models can be seamlessly integrated into downstream workflows to provide further insight into pore-scale flow."]},{"key":"dc:title","label":"Title","values":["Deep learning for size-agnostic two-phase flow simulation with realistic pore structures and rock-fluid properties"]}]}],"canonical_facts":{"dc:contributor.advisor":["Jiang, Doctor Zeyun","Lewis, Doctor Helen","Buckman, Doctor James"],"dc:creator":["Asadolahpour, Seyed Reza"],"dc:date.accessioned":["2025-10-30T17:38:43Z"],"dc:date.available":["2025-10-30T17:38:43Z"],"dc:date.issued":["2025-02"],"dc:description.abstract":["The study of pore-scale flow in porous media is essential across numerous fields, including petroleum engineering, environmental science, chemical engineering, and biomedicine. Recently, deep learning techniques have shown significant potential in enhancing pore-scale flow modelling. However, existing research predominantly addresses single-phase flow, and studies focusing on the prediction of two-phase flow fields remain sparse. Current deep learning research in two-phase flow typically involves simplified pore structures, limited training datasets, and fixed rock-fluid and flow parameters. In this work, I develop deep neural networks as data-driven proxy models for generating phase distributions during a two-phase, capillary-dominated drainage process, where a non-wetting phase invades a wetting-phase-saturated porous rock. My approach integrates complex Computerised Tomography (CT) images and incorporates pixel size (i.e., imaging resolution), interfacial tension, contact angle (wettability), and capillary pressure as direct inputs. Leveraging these capabilities, I showcase several real-world applications of the trained models. First, I construct an extensive and diverse dataset by subsampling both synthetic and real rock images. Next, an efficient morphology-based drainage simulator is developed, providing phase distributions for each sub-image. I evaluate various deep learning architectures and analyse their accuracy and adherence to physical principles. A recurrent encoder-decoder model outperforms the commonly used U-Net in capturing phase connectivity, though it exhibits flow-direction bias and high computational demands. I subsequently introduce a hybrid transformer-convolutional neural network that performs drainage based solely on pore size, with phase connectivity enforced as a post-processing step. This approach facilitates inference for images of various sizes and accommodates any fluid inlet-outlet configuration. The trained models exhibit high efficiency and accuracy across unseen and larger sandstone and carbonate images. I further validate the models against data from microfluidic experiments and Lattice-Boltzmann (LBM) simulations, demonstrating similar capillary pressure curves and phase distributions with significantly faster performance. These models can replace slow direct simulations or costly experiments, generate finer pressure steps between existing results, and serve as data validation tools. They deliver results in seconds to minutes with minimal preprocessing across a range of realistic rock types, rock-fluid properties, resolutions, and image sizes. I show that the final deep learning models can integrate with an efficient optimiser to estimate wettability if phase distributions are already available. I apply this inverse-problem technique to determine the average contact angle from an LBM-generated phase distribution image in a core-scale Bentheimer sandstone, where supercritical CO2 displaces brine. This scenario has applications in CO2 sequestration. I find that the model achieves results comparable to the GPU-accelerated LBM method, 5,000 times faster. I then generate phase distributions over 101 pressure steps and build the complete capillary pressure curve in minutes. Through these studies, it becomes clear that the developed models can be seamlessly integrated into downstream workflows to provide further insight into pore-scale flow."],"dc:identifier.uri":["http://hdl.handle.net/10399/5196"],"dc:language.iso":["en"],"dc:publisher":["Heriot-Watt University","Energy, Geoscience, Infrastructure and Society"],"dc:rights":["All items in ROS are protected by the Creative Commons copyright license (http://creativecommons.org/licenses/by-nc-nd/2.5/scotland/), with some rights reserved."],"dc:title":["Deep learning for size-agnostic two-phase flow simulation with realistic pore structures and rock-fluid properties"],"dc:type":["Thesis"]},"updated_at":"2026-07-24T02:31:07Z"}