z-logo
open-access-imgOpen Access
Stable Algorithm Based On Lax-Friedrichs Scheme for Visual Simulation of Shallow Water
Author(s) -
Bandung Arry Sanjoyo,
Mochamad Hariadi,
Mauridhi Hery Purnomo
Publication year - 2020
Publication title -
emitter international journal of engineering technology
Language(s) - English
Resource type - Journals
eISSN - 2443-1168
pISSN - 2355-391X
DOI - 10.24003/emitter.v8i1.479
Subject(s) - visualization , convergence (economics) , algorithm , flow (mathematics) , stability (learning theory) , computer science , computer simulation , flow visualization , mathematics , geometry , simulation , artificial intelligence , machine learning , economics , economic growth
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.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here