Abstract

We present a comprehensive Euler-Lagrange solver, CP3d, for the direct numerical simulation of particle-laden flows. The solver can handle one-way, two-way, interface-unresolved four-way and interface-resolved coupling regime. To make the solver versatile, different numerical approaches are available for fluid, particle as well as the coupling sub-solver. For the sake of computational accuracy and efficiency, a third-order exponential approximation method is proposed for Basset history force in interface-unresolved regime, and a new simplified lubrication force model based on the averaged integration is utilized in interface-resolved simulation to account for the short-range hydrodynamic force. The volume integration approach is also modified to adapt the staggered mesh configuration. The present solver is intensively validated against several benchmarks. A 2D pencil-like domain decomposition is implemented for parallel communication. The resulting solver is able to simulate large scale cases with billions of grid points and millions of moving particles in interface-resolved four-way regime, using only hundreds of computational cores. In addition, a nearly perfect linear strong scaling performance is achieved. In our test, CP3d is more than ten times faster than other similar solver reported in the literature. Program summaryProgram Title: Channel-Particle 3D, CP3d.CPC Library link to program files:https://doi.org/10.17632/7j6kcf8629.1.Developer's repository link:https://github.com/gongzheng-justin/CP3d.Code Ocean capsule:https://codeocean.com/capsule/0609843.Licensing provisions: MIT License.Programming language: Fortran 95, parallelized using MPI.External libraries: FFTW.Nature of problem:CP3d provides a comprehensive tool to perform the direct numerical simulation for particle-laden flows. One-way, two-way, interface-unresolved four-way and interface-resolved coupling regimes can be conducted.Solution method: the code employs second-/fourth-order finite-difference discretization for the fluid Navier-Stokes equation, and numerically solves the Maxey-Riley equation for the particle phase. In four-way regime, particle collisions are considered by discrete-element method. Immersed boundary method is utilized in the interface-resolved coupling regime.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call