ARTÍCULO
TITULO

Stable Algorithm Based On Lax-Friedrichs Scheme for Visual Simulation of Shallow Water

Bandung Arry Sanjoyo    
Mochamad Hariadi    
Mauridhi Hery Purnomo    

Resumen

Many game applications require fluid flow visualization of shallow water, especially dam-break flow. A Shallow Water Equation (SWE) is a mathematical model of shallow water flow which can be used to compute the flow depth and velocity.  We propose a stable algorithm for visualization of dam-break flow on flat and flat with bumps topography. We choose Lax-Friedrichs scheme as the numerical method for solving the SWE. Then, we investigate the consistency, stability, and convergence of the scheme. Finally, we transform the strategy into a visualization algorithm of SWE and analyze the complexity. The results of this paper are: 1) the Lax-Friedrichs scheme that is consistent and conditionally stable; furthermore, if the stability condition is satisfied, the scheme is convergent; 2) an algorithm to visualize flow depth and velocity which has complexity O(N) in each time iteration. We have applied the algorithm to flat and flat with bumps topography. According to visualization results, the numerical solution is very close to analytical solution in the case of flat topography. In the case of flat with bumps topography, the algorithm can visualize the dam-break flow and after a long time the numerical solution is very close to the analytical steady-state solution. Hence the proposed visualization algorithm is suitable for game applications containing flat with bumps environments.

 Artículos similares

       
 
Shurong Peng, Lijuan Guo, Haoyu Huang, Xiaoxu Liu and Jiayi Peng    
The integration of large-scale wind power into the power grid threatens the stable operation of the power system. Traditional wind power prediction is based on time series without considering the variability between wind turbines in different locations. ... ver más
Revista: Applied Sciences

 
Margarida Mendonça and Álvaro Figueira    
As social media (SM) becomes increasingly prevalent, its impact on society is expected to grow accordingly. While SM has brought positive transformations, it has also amplified pre-existing issues such as misinformation, echo chambers, manipulation, and ... ver más
Revista: Informatics

 
Rui Qiao, Guili Xu, Ping Wang, Yuehua Cheng and Wende Dong    
The Perspective-n-Point problem is usually addressed by means of a projective imaging model of 3D points, but the spatial distribution and quantity of 3D reference points vary, making it difficult for the Perspective-n-Point algorithm to balance accuracy... ver más
Revista: Applied Sciences

 
Nikolay Nefedov, Bogdan Tishchenko and Natalia Levashova    
An algorithm is presented for the construction of an asymptotic approximation of a stable stationary solution to a diffusion equation system in a two-dimensional domain with a smooth boundary and a source function that is discontinuous along some smooth ... ver más
Revista: Algorithms

 
Atefeh Torkaman, Kambiz Badie, Afshin Salajegheh, Mohammad Hadi Bokaei and Seyed Farshad Fatemi Ardestani    
Over the years, detecting stable communities in a complex network has been a major challenge in network science. The global and local structures help to detect communities from different perspectives. However, previous methods based on them suffer from h... ver más
Revista: AI