P2Pflow:  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.  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. Ref.

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.

Features of Module 1:

 

Partition of unstructured mesh into subdomainsSpreading of a droplet over a rough surface

Spreading of a droplet over a substrate with micropillars

Module 2.   A fully implicit nonlinear solver for the two-phase flow governed by Darcy law in porous media, used for oil reservoir simulation. Ref.

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’s 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.

Features of Module 2:

Simulation of two-phase flows in oil reservoir (Case SPE10)


The framework of P2Pflow