A Parallel Two-Phase Flow Solver on Unstructured Mesh in 3D

  • Li LuoEmail author
  • Qian Zhang
  • Xiao-Ping Wang
  • Xiao-Chuan Cai
Conference paper
Part of the Lecture Notes in Computational Science and Engineering book series (LNCSE, volume 116)


Two-phase flow problem plays an important role in many scientific and engineering processes. The problem can be described by a phase-field model consisting of the coupled Cahn-Hilliard and Navier-Stokes equations with the generalized Navier boundary condition. Accurate simulation of the interface and contact line motion requires very fine meshes, and the computation in 3D is even more challenging. Thus, the use of high performance computers and scalable parallel algorithms are indispensable. In this paper, we introduce a finite element method on unstructured 3D meshes with a semi-implicit time integration scheme, and a highly parallel solution strategy using different solvers for different components of the discretization. More precisely, we apply a restricted additive Schwarz preconditioned GMRES method to solve the systems arising from implicit discretization of the Cahn-Hilliard equation and the velocity equation, and an algebraic multigrid preconditioned CG method to solve the pressure Poisson system. Numerical experiments show that the strategy is efficient and scalable for 3D problems with complex geometry and on a supercomputer with a large number of processors.


  1. S. Balay, S. Abhyankar, M.F. Adams, J. Brown, P. Brune, K. Buschelman, L. Dalcin, V. Eijkhout, W.D. Gropp, D. Kaushik, M.G. Knepley, L.C. McInnes, K.R., B.F. Smith, S. Zampini, H. Zhang, PETSc Users Manual, Technical Report, ANL-95/11 - Revision 3.7, Argonne National Laboratory, 2016Google Scholar
  2. K. Bao, Y. Shi, S. Sun, X.-P. Wang, A finite element method for the numerical solution of the coupled Cahn-Hilliard and Navier-Stokes system for moving contact line problems. J. Comput. Phys. 231, 8083–8099 (2012)MathSciNetCrossRefzbMATHGoogle Scholar
  3. M. Gao, X.-P. Wang, An efficient scheme for a phase field model for the moving contact line problem with variable density and viscosity. J. Comput. Phys. 272, 704–718 (2014)MathSciNetCrossRefzbMATHGoogle Scholar
  4. C. Geuzaine, J.-F. Remacle, Gmsh: a three-dimensional finite element mesh generator with built-in pre- and post-processing facilities. Int. J. Numer. Methods Eng. 79 (11), 1309–1331 (2009)CrossRefzbMATHGoogle Scholar
  5. J.-L. Guermond, A. Salgado, A splitting method for incompressible flows with variable density based on a pressure Poisson equation. J. Comput. Phys. 228, 2834–2846 (2009)MathSciNetCrossRefzbMATHGoogle Scholar
  6. V.E. Henson, U.M. Yang, BoomerAMG: a parallel algebraic multigrid solver and preconditioner. Appl. Numer. Math. 41, 155–177 (2002)MathSciNetCrossRefzbMATHGoogle Scholar
  7. G. Karypis, V. Kumar, METIS – Unstructured graph partitioning and sparse matrix ordering system, V2.0, Technical Report, 1995Google Scholar
  8. B.S. Kirk, J.W. Peterson, R.H. Stogner, G.F. Carey, libMesh: A C++ library for parallel adaptive mesh refinement/coarsening simulations. Eng. Comput. 22 (3–4), 237–254 (2006)Google Scholar
  9. S. Shin, J. Chergui, D. Juric, A solver for massively parallel direct numerical simulation of three-dimensional multiphase flows (2014), arXiv:1410.8568Google Scholar

Copyright information

© Springer International Publishing AG 2017

Authors and Affiliations

  • Li Luo
    • 1
    • 2
    Email author
  • Qian Zhang
    • 1
  • Xiao-Ping Wang
    • 1
  • Xiao-Chuan Cai
    • 3
  1. 1.Department of MathematicsThe Hong Kong University of Science and TechnologyKowloonHong Kong
  2. 2.Shenzhen Institutes of Advanced TechnologyShenzhenPeople’s Republic of China
  3. 3.Department of Computer ScienceUniversity of Colorado BoulderBoulderUSA

Personalised recommendations