FluTAS

A GPU-accelerated finite difference code for multiphase flows

Journal Article (2023)
Author(s)

Marco Crialesi-Esposito (Istituto Nazionale di Fisica Nucleare, Sezione di Torino, KTH Royal Institute of Technology)

Nicolò Scapin (KTH Royal Institute of Technology)

Andreas D. Demou (The Cyprus Institute)

Marco Edoardo Rosti (Okinawa Institute of Science and Technology Graduate University)

Pedro Costa (University of Iceland)

Filippo Spiga (NVIDIA Corporation)

Luca Brandt (KTH Royal Institute of Technology, Norwegian University of Science and Technology (NTNU))

Affiliation
External organisation
DOI related publication
https://doi.org/10.1016/j.cpc.2022.108602
More Info
expand_more
Publication Year
2023
Language
English
Affiliation
External organisation
Journal title
Computer Physics Communications
Volume number
284
Article number
108602
Downloads counter
278

Abstract

We present the Fluid Transport Accelerated Solver, FluTAS, a scalable GPU code for multiphase flows with thermal effects. The code solves the incompressible Navier-Stokes equation for two-fluid systems, with a direct FFT-based Poisson solver for the pressure equation. The interface between the two fluids is represented with the Volume of Fluid (VoF) method, which is mass conserving and well suited for complex flows thanks to its capacity of handling topological changes. The energy equation is explicitly solved and coupled with the momentum equation through the Boussinesq approximation. The code is conceived in a modular fashion so that different numerical methods can be used independently, the existing routines can be modified, and new ones can be included in a straightforward and sustainable manner. FluTAS is written in modern Fortran and parallelized using hybrid MPI/OpenMP in the CPU-only version and accelerated with OpenACC directives in the GPU implementation. We present different benchmarks to validate the code, and two large-scale simulations of fundamental interest in turbulent multiphase flows: isothermal emulsions in HIT and two-layer Rayleigh-Bénard convection. FluTAS is distributed through a MIT license and arises from a collaborative effort of several scientists, aiming to become a flexible tool to study complex multiphase flows. Program summary: Program Title: : Fluid Transport Accelerated Solver, FluTAS. CPC Library link to program files: https://doi.org/10.17632/tp6k8wky8m.1 Developer's repository link: https://github.com/Multiphysics-Flow-Solvers/FluTAS.git. Licensing provisions: MIT License. Programming language: Fortran 90, parallelized using MPI and slab/pencil decomposition, GPU accelerated using OpenACC directives. External libraries/routines: FFTW, cuFFT. Nature of problem: FluTAS is a GPU-accelerated numerical code tailored to perform interface resolved simulations of incompressible multiphase flows, optionally with heat transfer. The code combines a standard pressure correction algorithm with an algebraic volume of fluid method, MTHINC [1]. Solution method: the code employs a second-order-finite difference discretization and solves the two-fluid Navier-Stokes equation using a projection method. It can be run both on CPU-architectures and GPU-architectures.

No files available

Metadata only record. There are no files for this record.