{"id":20063,"date":"2022-03-08T10:12:13","date_gmt":"2022-03-08T02:12:13","guid":{"rendered":"https:\/\/www.fst.um.edu.mo\/personal\/?page_id=20063"},"modified":"2022-04-11T10:02:12","modified_gmt":"2022-04-11T02:02:12","slug":"p2pflow","status":"publish","type":"page","link":"https:\/\/www.fst.um.edu.mo\/personal\/liluo\/p2pflow\/","title":{"rendered":"P2Pflow"},"content":{"rendered":"<h3 style=\"padding-left: 40px\"><span style=\"color: #0000ff;font-family: arial, helvetica, sans-serif\">P2Pflow:\u00a0 a Parallel two-Phase flow solver<\/span><\/h3>\n<p dir=\"ltr\" style=\"padding-left: 40px\"><span style=\"font-family: arial, helvetica, sans-serif;font-size: 18pt\">A parallel finite element solver for incompressible two-phase flow problems on 3D unstructured mesh. The solver is scalable on supercomputers such as Tianhe2 and Shaheen2 with 10,000+ cores.<\/span><\/p>\n<p dir=\"ltr\" style=\"padding-left: 40px\"><span style=\"font-family: arial, helvetica, sans-serif\"><span style=\"font-size: 18pt\"><a href=\"https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/P2Pflow.zip\"><strong><span style=\"color: #0000ff\">Download<\/span><\/strong><\/a><\/span><\/span><\/p>\n<hr \/>\n<p dir=\"ltr\" style=\"padding-left: 40px\"><span style=\"font-family: arial, helvetica, sans-serif\"><span style=\"font-size: 18pt\"><span style=\"color: #0000ff\"><strong>Module 1<\/strong><\/span>.\u00a0 A semi-implicit linear solver for the phase-field model with Cahn-Hilliard-Navier-Stokes equations, used for the simulation of liquid-gas-solid interaction, i.e. the wetting phenomenon.<\/span> <a href=\"https:\/\/www.sciencedirect.com\/science\/article\/pii\/S0021999117305818\">Ref.<\/a><\/span><\/p>\n<p dir=\"ltr\" style=\"padding-left: 40px\"><span style=\"font-family: arial, helvetica, sans-serif\">The study of the wetting phenomenon is of critical importance in many industrial applications such as coating, ink-jet printing, and microfluidics. Interesting wetting behavior occurs when micrometric spatial dimension comes into play, as a result roughness-enhanced wetting has become the subject of extensive investigation.<\/span><\/p>\n<p dir=\"ltr\" style=\"padding-left: 40px\"><span style=\"font-family: arial, helvetica, sans-serif\"><strong>Features of Module 1<\/strong>:<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul style=\"list-style-type: disc\">\n<li><span style=\"font-family: arial, helvetica, sans-serif\">A phase-field model consisting of the coupled Cahn\u2013Hilliard-Navier\u2013Stokes equations with a generalized Navier boundary condition (GNBC).<\/span><\/li>\n<li><span style=\"font-family: arial, helvetica, sans-serif\">A semi-implicit time discretization method is used to decouple the system into three subsystems for the phase function, the velocity, and the pressure, respectively.<\/span><\/li>\n<li><span style=\"font-family: arial, helvetica, sans-serif\">A linearly convex-splitting method is used to handle the high order derivatives and high nonlinearity in the Cahn\u2013Hilliard equation.<\/span><\/li>\n<li><span style=\"font-family: arial, helvetica, sans-serif\">A finite element method on unstructured 3D meshes for problems in complex geometries.<\/span><\/li>\n<li style=\"text-align: left\"><span style=\"font-family: arial, helvetica, sans-serif\">A highly parallel solution strategy using different solvers for different components of the discretization. <span style=\"text-align: center\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0<\/span><\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p style=\"text-align: left\"><img fetchpriority=\"high\" decoding=\"async\" class=\"size-full wp-image-20494 aligncenter\" src=\"https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/1.png\" alt=\"\" width=\"377\" height=\"351\" srcset=\"https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/1.png 377w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/1-300x279.png 300w\" sizes=\"(max-width: 377px) 100vw, 377px\" \/><\/p>\n<p style=\"text-align: center\"><span style=\"font-family: arial, helvetica, sans-serif\">Partition of unstructured mesh into subdomains<\/span><img decoding=\"async\" class=\"size-full wp-image-20495 aligncenter\" src=\"https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/2.png\" alt=\"\" width=\"304\" height=\"181\" srcset=\"https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/2.png 304w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/2-300x179.png 300w\" sizes=\"(max-width: 304px) 100vw, 304px\" \/><span style=\"font-family: arial, helvetica, sans-serif\">Spreading of a droplet over a rough surface<\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\"><img decoding=\"async\" class=\"alignnone size-large wp-image-20502 aligncenter\" src=\"https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/3-1024x217.png\" alt=\"\" width=\"640\" height=\"136\" srcset=\"https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/3-1024x217.png 1024w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/3-300x64.png 300w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/3-768x163.png 768w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/3-1536x326.png 1536w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/3-1568x332.png 1568w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/3.png 1627w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-20503 aligncenter\" src=\"https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/4-1024x203.png\" alt=\"\" width=\"640\" height=\"127\" srcset=\"https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/4-1024x203.png 1024w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/4-300x59.png 300w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/4-768x152.png 768w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/4-1536x304.png 1536w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/4-1568x310.png 1568w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/4.png 1627w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/> <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-20504 aligncenter\" src=\"https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/5-1024x196.png\" alt=\"\" width=\"640\" height=\"123\" srcset=\"https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/5-1024x196.png 1024w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/5-300x57.png 300w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/5-768x147.png 768w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/5-1536x294.png 1536w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/5-1568x300.png 1568w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/5.png 1617w\" sizes=\"(max-width: 640px) 100vw, 640px\" \/><\/span><\/p>\n<p style=\"text-align: center\"><span style=\"font-family: arial, helvetica, sans-serif\">Spreading of a droplet over a substrate with micropillars<\/span><\/p>\n<p style=\"padding-left: 40px\"><span style=\"font-family: arial, helvetica, sans-serif\"><span style=\"font-size: 18pt\"><strong><span style=\"color: #0000ff\">Module 2<\/span><\/strong>. \u00a0 A fully implicit nonlinear solver for the two-phase flow governed by Darcy law in porous media, used for oil reservoir simulation.<\/span>\u00a0<a href=\"https:\/\/www.sciencedirect.com\/science\/article\/pii\/S0021999120300863\">Ref.<\/a><\/span><\/p>\n<p style=\"padding-left: 40px\"><span style=\"font-family: arial, helvetica, sans-serif\">Simulation of flows in subsurface porous media plays an important role in the performance of petroleum reservoir and the assessment of groundwater contamination. The extended Darcy\u2019s law accounting for the properties of both fluid and media is often used to address multiphase flow, and the complexity of this model lies in the interaction of various modeling features, including gravity, capillary pressure effects, heterogeneity of the absolute permeability, and relative permeability functions. Extra difficulties are induced by complex geometry, faults, channels and deviated wells, etc. In general, useful results for a large-scale geological model with complex heterogeneity are obtained by using numerical methods on meshes with millions or even billions of points, accurate discretization schemes, and efficient parallel solution algorithms.<\/span><\/p>\n<p style=\"padding-left: 40px\"><span style=\"font-family: arial, helvetica, sans-serif\"><strong>Features of Module 2<\/strong>:<\/span><\/p>\n<ul>\n<li style=\"list-style-type: none\">\n<ul style=\"list-style-type: disc\">\n<li><span style=\"font-family: arial, helvetica, sans-serif\">A fully implicit discontinuous Galerkin discretization for the extended Darcy\u2019s law on 3D unstructured meshes.<\/span><\/li>\n<li><span style=\"font-family: arial, helvetica, sans-serif\">An inexact Newton-Krylov algorithm with analytic Jacobian is used to solve the nonlinear systems.<\/span><\/li>\n<li><span style=\"font-family: arial, helvetica, sans-serif\">A hybrid two-level version of the additive Schwarz preconditioner consisting of a nested coarse space is used to improve the robustness and scalability.<\/span><\/li>\n<li><span style=\"font-family: arial, helvetica, sans-serif\">Nonlinear preconditioning is applied to balance the nonlinearities of the overall system so that fast convergence can be realized.<\/span><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><span style=\"font-family: arial, helvetica, sans-serif\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-20507 \" src=\"https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/6-1024x359.png\" alt=\"\" width=\"794\" height=\"278\" srcset=\"https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/6-1024x359.png 1024w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/6-300x105.png 300w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/6-768x269.png 768w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/6.png 1401w\" sizes=\"(max-width: 794px) 100vw, 794px\" \/><\/span><\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-20508 aligncenter\" src=\"https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/7-1024x366.png\" alt=\"\" width=\"800\" height=\"285\" srcset=\"https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/7-1024x366.png 1024w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/7-300x107.png 300w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/7-768x275.png 768w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/7.png 1412w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/span><\/p>\n<p style=\"text-align: center\"><span style=\"font-family: arial, helvetica, sans-serif\">Simulation of two-phase flows in oil reservoir (Case SPE10)<\/span><\/p>\n<hr \/>\n<p><span style=\"font-family: arial, helvetica, sans-serif\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-20511 aligncenter\" src=\"https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/Picture3-1024x584.png\" alt=\"\" width=\"915\" height=\"522\" srcset=\"https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/Picture3-1024x584.png 1024w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/Picture3-300x171.png 300w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/Picture3-768x438.png 768w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/Picture3-1536x877.png 1536w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/Picture3-1568x895.png 1568w, https:\/\/www.fst.um.edu.mo\/personal\/wp-content\/uploads\/2022\/03\/Picture3.png 1705w\" sizes=\"(max-width: 915px) 100vw, 915px\" \/><\/span><\/p>\n<p style=\"text-align: center\"><span style=\"font-family: arial, helvetica, sans-serif\">The framework of P2Pflow<\/span><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>P2Pflow:\u00a0 a Parallel two-Phase flow solver A parallel finite element solver for incompressible two-phase flow problems on 3D unstructured mesh. The solver is scalable on supercomputers such as Tianhe2 and Shaheen2 with 10,000+ cores. Download Module 1.\u00a0 A semi-implicit linear solver for the phase-field model with Cahn-Hilliard-Navier-Stokes equations, used for the simulation of liquid-gas-solid interaction, &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.fst.um.edu.mo\/personal\/liluo\/p2pflow\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;P2Pflow&#8221;<\/span><\/a><\/p>\n","protected":false},"author":162,"featured_media":0,"parent":16944,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-20063","page","type-page","status-publish","hentry","entry"],"_links":{"self":[{"href":"https:\/\/www.fst.um.edu.mo\/personal\/wp-json\/wp\/v2\/pages\/20063","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fst.um.edu.mo\/personal\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.fst.um.edu.mo\/personal\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.fst.um.edu.mo\/personal\/wp-json\/wp\/v2\/users\/162"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fst.um.edu.mo\/personal\/wp-json\/wp\/v2\/comments?post=20063"}],"version-history":[{"count":11,"href":"https:\/\/www.fst.um.edu.mo\/personal\/wp-json\/wp\/v2\/pages\/20063\/revisions"}],"predecessor-version":[{"id":20960,"href":"https:\/\/www.fst.um.edu.mo\/personal\/wp-json\/wp\/v2\/pages\/20063\/revisions\/20960"}],"up":[{"embeddable":true,"href":"https:\/\/www.fst.um.edu.mo\/personal\/wp-json\/wp\/v2\/pages\/16944"}],"wp:attachment":[{"href":"https:\/\/www.fst.um.edu.mo\/personal\/wp-json\/wp\/v2\/media?parent=20063"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}