The computational simulation of shallow stratified fluids is a very active research topic because these types of systems are very common in a variety of natural environments. The simulation of such systems can be modeled using multilayer shallow-water equations but do impose important computational requirements, especially when applied to large domains.
General Purpose Computing on Graphics Processing Units (GPGPU) has become a vivid research field due to the arrival of massively parallel hardware platforms (based on graphics cards) and adequate programming frameworks which have allowed important speed-up factors with respect to not only sequential but also parallel CPU based simulation systems.
In this work we present simulation of shallow stratified fluids with an arbitrary number of layers using GPUs. The designed system does fully adapt to the many-core architecture of modern GPUs and several experiments have been carried out to illustrate its scalability and behavior on different GPU models. We propose a new multilayer computational scheme for an underlying 2D mathematical model. This scheme is capable of handling an arbitrary number of layers. The system adds no overhead when used for two-layer scenarios, compared to an existing 2D system specifically designed for just two layers.
The GPU computes the evolution in time of the interfaces between several layered fluid types (for a given initial configuration) and displays those interfaces as solid surfaces, as soon as the output from each computing step is available. The user can rotate the view interactively, so he can better observe the layers’ evolution.
Here you can view two screen-shots taken from the simulation program while running. First one the initial layers configuration is shown.
Then It is shown the resulting layers configuration after the simulation has been running for some time.
These screen captured videos (see links below) show the simulation program running in real-time, for various scenerarios. You can observe how the user is able to manipulate the view:
Cite as: Miguel Lastra, Manuel J. Castro Díaz, Carlos Ureña, Marc de la Asunción (2017): Efficient multilayer shallow-water simulation system based on GPUs. Mathematics and Computers in Simulation, Volume 148, 2018, 48-65. DOI: https://doi.org/10.1016/j.matcom.2017.11.008
Students of the third course of Geology of the Alicante University within the subject of Mapping 2: visit Benalúa in the Guadix basin.
The visit took place from October 23th until 26th of 2019 and the professor in charge was Manuel Martín-Martín.