(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 +
<!-- metadata commented in wiki content
 
==A Generalized Finite Difference-Volume Hybrid Method Applied to Shallow-Water Equations==
 
==A Generalized Finite Difference-Volume Hybrid Method Applied to Shallow-Water Equations==
  
'''G.&nbsp;Tinoco-Guerrero*, F.&nbsp;J.&nbsp;Domínguez-Mota, J.&nbsp;G.&nbsp;Tinoco-Ruiz, J.&nbsp;S.&nbsp;Lucas-Martínez, N.&nbsp;S.&nbsp;Tinoco-Guerrero'''
+
'''G.&nbsp;Tinoco-Guerrero<sup>a,b</sup>, F.&nbsp;J.&nbsp;Domínguez-Mota<sup>a</sup>, J.&nbsp;G.&nbsp;Tinoco-Ruiz<sup>a</sup>, J.&nbsp;S.&nbsp;Lucas-Martínez<sup>a</sup>, N.&nbsp;S.&nbsp;Tinoco-Guerrero<sup>a</sup>, M.&nbsp;Leppäranta<sup>b</sup>,I.&nbsp;Mammarella<sup>b</sup>'''
 +
-->
  
{|
+
==Abstract==
|-
+
|Facultad de Ciencias Físico-Matemáticas
+
|}
+
  
{|
+
Due to the importance of the shallow-water equations in models of real-life phenomena, in recent years the study and model of problems that involve them have been the object of interest of many people. By reason of this, it is imperative to have efficient numerical methods to obtain an approximation of the solutions of the shallow-water equations.
|-
+
|Universidad Michoacana de San Nicolás de Hidalgo
+
|}
+
  
{|
+
Several authors have worked in approximations using the well-known finite volume and finite element methods, nevertheless, even when these methods compute good approximations to real-life behavior, the computational cost is usually high, which could be a limitation to the application of these methods.
|-
+
|Morelia, Mexico
+
|}
+
  
'''keywords'''
+
This paper presents an explicit Generalized Finite Difference-Volume Hybrid approximation to the solution of the shallow-water equations, solved on irregular regions meshed with logically rectangular grids; the numerical results show the accuracy obtained with a low-cost implementation. The proposed scheme is a hybridization of a generalized finite difference scheme with the finite volume method.
  
hybrid method; finite difference; finite volume; shallow-water equations; irregular regions
+
'''keywords''' hybrid method, finite difference, finite volume, shallow-water equations, irregular regions
  
 
==1 Introduction==
 
==1 Introduction==
Line 68: Line 61:
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
|-
 
|-
|[[Image:Draft_Tinoco Guerrero_568708440-fig01.png|450px|'''Definition of bottom and free surface.''']]
+
|[[Image:Tinoco_Guerrero_et_al_2020a_1041_Tinoco_Guerrero_et_al_2020a-fig01.png|450px|'''Definition of bottom and free surface.''']]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
| colspan="1" | '''Figure 1:''' '''Definition of the bottom and free surface.'''
+
| colspan="1" | '''Figure 1:''' '''Definition of bottom and free surface.'''
 
|}
 
|}
  
Line 184: Line 177:
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
|-
 
|-
|[[Image:Draft_Tinoco Guerrero_568708440-fig02.png|570px|'''Rectangular meshed region Ω.''']]
+
|[[Image:Review_838453312870-fig02.png|570px|'''Rectangular meshed region Ω.''']]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
 
| colspan="1" | '''Figure 2:''' '''Rectangular meshed region <math>\Omega </math>.'''
 
| colspan="1" | '''Figure 2:''' '''Rectangular meshed region <math>\Omega </math>.'''
Line 191: Line 184:
 
====2.1.1 Hybrid scheme for the conservative form====
 
====2.1.1 Hybrid scheme for the conservative form====
  
With this discretization of the region, the proposed scheme approximates the value of <math display="inline">q</math>at the center of each cell by using a classical finite difference approximation. For this case, the partial derivatives can be approximated at a central point <math display="inline">p_{(i, j)}</math> as
+
With this discretization of the region, the proposed scheme approximates the value of <math display="inline">q</math> at the center of each cell by using a classical finite difference approximation. For this case, the partial derivatives can be approximated at a central point <math display="inline">p_{(i, j)}</math> as
  
 
{| class="formulaSCP" style="width: 100%; text-align: left;"  
 
{| class="formulaSCP" style="width: 100%; text-align: left;"  
Line 796: Line 789:
 
|}
 
|}
  
To find the <math display="inline">\Gamma </math> values that satisfy these conditions requires to solve the systems
+
To find the <math display="inline">\Gamma </math> values that satisfy these conditions requiress to solve the systems
  
 
<span id="eq-23"></span>
 
<span id="eq-23"></span>
Line 1,041: Line 1,034:
  
 
Now, an adequate selection of <math display="inline">m</math>, the number of points, used by the scheme has to be done in order to represent different characteristics accurately. In this work, the selection of <math display="inline">m</math> has been done as follows: <math display="inline">m = 4</math> for <math display="inline">q</math>, and <math display="inline">m = 6</math> for <math display="inline">r</math> and <math display="inline">s</math>. The chosen stencils are shown in figure ([[#img-3|3]]).    <div id='img-3'></div>
 
Now, an adequate selection of <math display="inline">m</math>, the number of points, used by the scheme has to be done in order to represent different characteristics accurately. In this work, the selection of <math display="inline">m</math> has been done as follows: <math display="inline">m = 4</math> for <math display="inline">q</math>, and <math display="inline">m = 6</math> for <math display="inline">r</math> and <math display="inline">s</math>. The chosen stencils are shown in figure ([[#img-3|3]]).    <div id='img-3'></div>
 +
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
|-
 
|-
|[[Image:Draft_Tinoco Guerrero_568708440-fig03.png|300px|'''Different stencils used by the scheme.''']]
+
|[[Image:Tinoco_Guerrero_et_al_2020a_2538_Tinoco_Guerrero_et_al_2020a-fig03_a.png|600px|'''Different stencils used by the scheme.''']]
|[[Image:Draft_Tinoco Guerrero_568708440-fig04.png|300px|]]
+
|[[Image:Tinoco_Guerrero_et_al_2020a_7111_Tinoco_Guerrero_et_al_2020a-fig03_b.png|292px|]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
 
| (3) '''Different stencils used by the scheme.'''
 
| (3) '''Different stencils used by the scheme.'''
 
|-
 
|-
| colspan="2"|[[Image:Draft_Tinoco Guerrero_568708440-fig05.png|300px|]]
+
| colspan="2"|[[Image:Tinoco_Guerrero_et_al_2020a_8525_Tinoco_Guerrero_et_al_2020a-fig03_c.png|420px|]]
 
|}
 
|}
  
Line 1,058: Line 1,052:
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
|-
 
|-
|[[Image:Draft_Tinoco Guerrero_568708440-fig06.png|360px|Regular mesh for the unitary square.]]
+
|[[Image:Review_838453312870-fig06.png|360px|Regular mesh for the unitary square.]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
 
| colspan="1" | '''Figure 4:''' Regular mesh for the unitary square.
 
| colspan="1" | '''Figure 4:''' Regular mesh for the unitary square.
Line 1,066: Line 1,060:
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
|-
 
|-
|[[Image:Draft_Tinoco Guerrero_568708440-fig07.png|360px|Mesh for DOME region.]]
+
|[[Image:Review_838453312870-fig07.png|360px|Mesh for DOME region.]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
 
| colspan="1" | '''Figure 5:''' Mesh for DOME region.
 
| colspan="1" | '''Figure 5:''' Mesh for DOME region.
Line 1,074: Line 1,068:
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
|-
 
|-
|[[Image:Draft_Tinoco Guerrero_568708440-fig08.png|360px|Mesh for Zirahuen's Lake region.]]
+
|[[Image:Review_838453312870-fig08.png|360px|Mesh for Zirahuen's Lake region.]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
 
| colspan="1" | '''Figure 6:''' Mesh for Zirahuen's Lake region.
 
| colspan="1" | '''Figure 6:''' Mesh for Zirahuen's Lake region.
Line 1,102: Line 1,096:
 
where <math display="inline">\min \Delta x</math> and <math display="inline">\min \Delta y</math> are the minimum values of <math display="inline">\Delta x</math> and <math display="inline">\Delta y</math> over the region and <math display="inline">c = 0.5\frac{t}{d}</math>. With this, the time interval <math display="inline">(0s,5s)</math> was divided into <math display="inline">50,000</math> steps.
 
where <math display="inline">\min \Delta x</math> and <math display="inline">\min \Delta y</math> are the minimum values of <math display="inline">\Delta x</math> and <math display="inline">\Delta y</math> over the region and <math display="inline">c = 0.5\frac{t}{d}</math>. With this, the time interval <math display="inline">(0s,5s)</math> was divided into <math display="inline">50,000</math> steps.
  
The total amounts of mass and momentum, over all the domain, are given at a time step <math display="inline">k</math> as
+
The total amounts of mass and momentum, over all the domain, are given at a time step <math display="inline">k</math> as
  
 
{| class="formulaSCP" style="width: 100%; text-align: left;"  
 
{| class="formulaSCP" style="width: 100%; text-align: left;"  
Line 1,133: Line 1,127:
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
|-
 
|-
|[[Image:Draft_Tinoco Guerrero_568708440-fig09.png|570px|Results for QUAD in the conservative case.]]
+
|[[Image:Review_838453312870-fig09.png|570px|Results for QUAD in the conservative case.]]
|[[Image:Draft_Tinoco Guerrero_568708440-fig10.png|570px|]]
+
|[[Image:Review_838453312870-fig10.png|570px|]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
 
| (7) Results for QUAD in the conservative case.
 
| (7) Results for QUAD in the conservative case.
 
|-
 
|-
| colspan="2"|[[Image:Draft_Tinoco Guerrero_568708440-fig11.png|570px|]]
+
| colspan="2"|[[Image:Review_838453312870-fig11.png|570px|]]
 
|}
 
|}
  
Line 1,144: Line 1,138:
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
|-
 
|-
|[[Image:Draft_Tinoco Guerrero_568708440-fig12.png|570px|Results for QUAD in the conservative case.]]
+
|[[Image:Review_838453312870-fig12.png|570px|Results for QUAD in the conservative case.]]
|[[Image:Draft_Tinoco Guerrero_568708440-fig13.png|570px|]]
+
|[[Image:Review_838453312870-fig13.png|570px|]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
 
| (8) Results for QUAD in the conservative case.
 
| (8) Results for QUAD in the conservative case.
 
|-
 
|-
| colspan="2"|[[Image:Draft_Tinoco Guerrero_568708440-fig14.png|570px|]]
+
| colspan="2"|[[Image:Review_838453312870-fig14.png|570px|]]
 
|}
 
|}
  
Line 1,155: Line 1,149:
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
|-
 
|-
|[[Image:Draft_Tinoco Guerrero_568708440-fig15.png|570px|Results for QUAD in the non-conservative case.]]
+
|[[Image:Review_838453312870-fig15.png|570px|Results for QUAD in the non-conservative case.]]
|[[Image:Draft_Tinoco Guerrero_568708440-fig16.png|570px|]]
+
|[[Image:Review_838453312870-fig16.png|570px|]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
 
| (9) Results for QUAD in the non-conservative case.
 
| (9) Results for QUAD in the non-conservative case.
 
|-
 
|-
| colspan="2"|[[Image:Draft_Tinoco Guerrero_568708440-fig17.png|570px|]]
+
| colspan="2"|[[Image:Review_838453312870-fig17.png|570px|]]
 
|}
 
|}
  
Line 1,166: Line 1,160:
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
|-
 
|-
|[[Image:Draft_Tinoco Guerrero_568708440-fig18.png|570px|Results for QUAD in the non-conservative case.]]
+
|[[Image:Review_838453312870-fig18.png|570px|Results for QUAD in the non-conservative case.]]
|[[Image:Draft_Tinoco Guerrero_568708440-fig19.png|570px|]]
+
|[[Image:Review_838453312870-fig19.png|570px|]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
 
| (10) Results for QUAD in the non-conservative case.
 
| (10) Results for QUAD in the non-conservative case.
 
|-
 
|-
| colspan="2"|[[Image:Draft_Tinoco Guerrero_568708440-fig20.png|570px|]]
+
| colspan="2"|[[Image:Review_838453312870-fig20.png|570px|]]
 
|}
 
|}
  
Line 1,177: Line 1,171:
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
|-
 
|-
|[[Image:Draft_Tinoco Guerrero_568708440-fig21.png|570px|Results for DOME in the conservative case.]]
+
|[[Image:Review_838453312870-fig21.png|570px|Results for DOME in the conservative case.]]
|[[Image:Draft_Tinoco Guerrero_568708440-fig22.png|570px|]]
+
|[[Image:Review_838453312870-fig22.png|570px|]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
 
| (11) Results for DOME in the conservative case.
 
| (11) Results for DOME in the conservative case.
 
|-
 
|-
| colspan="2"|[[Image:Draft_Tinoco Guerrero_568708440-fig23.png|570px|]]
+
| colspan="2"|[[Image:Review_838453312870-fig23.png|570px|]]
 
|}
 
|}
  
Line 1,188: Line 1,182:
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
|-
 
|-
|[[Image:Draft_Tinoco Guerrero_568708440-fig24.png|570px|Results for DOME in the conservative case.]]
+
|[[Image:Review_838453312870-fig24.png|570px|Results for DOME in the conservative case.]]
|[[Image:Draft_Tinoco Guerrero_568708440-fig25.png|570px|]]
+
|[[Image:Review_838453312870-fig25.png|570px|]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
 
| (12) Results for DOME in the conservative case.
 
| (12) Results for DOME in the conservative case.
 
|-
 
|-
| colspan="2"|[[Image:Draft_Tinoco Guerrero_568708440-fig26.png|570px|]]
+
| colspan="2"|[[Image:Review_838453312870-fig26.png|570px|]]
 
|}
 
|}
  
Line 1,199: Line 1,193:
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
|-
 
|-
|[[Image:Draft_Tinoco Guerrero_568708440-fig27.png|570px|Results for DOME in the non-conservative case.]]
+
|[[Image:Review_838453312870-fig27.png|570px|Results for DOME in the non-conservative case.]]
|[[Image:Draft_Tinoco Guerrero_568708440-fig28.png|570px|]]
+
|[[Image:Review_838453312870-fig28.png|570px|]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
 
| (13) Results for DOME in the non-conservative case.
 
| (13) Results for DOME in the non-conservative case.
 
|-
 
|-
| colspan="2"|[[Image:Draft_Tinoco Guerrero_568708440-fig29.png|570px|]]
+
| colspan="2"|[[Image:Review_838453312870-fig29.png|570px|]]
 
|}
 
|}
  
Line 1,210: Line 1,204:
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
|-
 
|-
|[[Image:Draft_Tinoco Guerrero_568708440-fig30.png|570px|Results for DOME in the non-conservative case.]]
+
|[[Image:Review_838453312870-fig30.png|570px|Results for DOME in the non-conservative case.]]
|[[Image:Draft_Tinoco Guerrero_568708440-fig31.png|570px|]]
+
|[[Image:Review_838453312870-fig31.png|570px|]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
 
| (14) Results for DOME in the non-conservative case.
 
| (14) Results for DOME in the non-conservative case.
 
|-
 
|-
| colspan="2"|[[Image:Draft_Tinoco Guerrero_568708440-fig32.png|570px|]]
+
| colspan="2"|[[Image:Review_838453312870-fig32.png|570px|]]
 
|}
 
|}
  
Line 1,221: Line 1,215:
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
|-
 
|-
|[[Image:Draft_Tinoco Guerrero_568708440-fig33.png|570px|Results for ZIRA in the conservative case.]]
+
|[[Image:Review_838453312870-fig33.png|570px|Results for ZIRA in the conservative case.]]
|[[Image:Draft_Tinoco Guerrero_568708440-fig34.png|570px|]]
+
|[[Image:Review_838453312870-fig34.png|570px|]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
 
| (15) Results for ZIRA in the conservative case.
 
| (15) Results for ZIRA in the conservative case.
 
|-
 
|-
| colspan="2"|[[Image:Draft_Tinoco Guerrero_568708440-fig35.png|570px|]]
+
| colspan="2"|[[Image:Review_838453312870-fig35.png|570px|]]
 
|}
 
|}
  
Line 1,232: Line 1,226:
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
|-
 
|-
|[[Image:Draft_Tinoco Guerrero_568708440-fig36.png|570px|Results for ZIRA in the conservative case.]]
+
|[[Image:Review_838453312870-fig36.png|570px|Results for ZIRA in the conservative case.]]
|[[Image:Draft_Tinoco Guerrero_568708440-fig37.png|570px|]]
+
|[[Image:Review_838453312870-fig37.png|570px|]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
 
| (16) Results for ZIRA in the conservative case.
 
| (16) Results for ZIRA in the conservative case.
 
|-
 
|-
| colspan="2"|[[Image:Draft_Tinoco Guerrero_568708440-fig38.png|570px|]]
+
| colspan="2"|[[Image:Review_838453312870-fig38.png|570px|]]
 
|}
 
|}
  
Line 1,243: Line 1,237:
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
|-
 
|-
|[[Image:Draft_Tinoco Guerrero_568708440-fig39.png|570px|Results for ZIRA in the non-conservative case.]]
+
|[[Image:Review_838453312870-fig39.png|570px|Results for ZIRA in the non-conservative case.]]
|[[Image:Draft_Tinoco Guerrero_568708440-fig40.png|570px|]]
+
|[[Image:Review_838453312870-fig40.png|570px|]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
 
| (17) Results for ZIRA in the non-conservative case.
 
| (17) Results for ZIRA in the non-conservative case.
 
|-
 
|-
| colspan="2"|[[Image:Draft_Tinoco Guerrero_568708440-fig41.png|570px|]]
+
| colspan="2"|[[Image:Review_838453312870-fig41.png|570px|]]
 
|}
 
|}
  
Line 1,254: Line 1,248:
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
|-
 
|-
|[[Image:Draft_Tinoco Guerrero_568708440-fig42.png|570px|Results for ZIRA in the non-conservative case.]]
+
|[[Image:Review_838453312870-fig42.png|570px|Results for ZIRA in the non-conservative case.]]
|[[Image:Draft_Tinoco Guerrero_568708440-fig43.png|570px|]]
+
|[[Image:Review_838453312870-fig43.png|570px|]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
 
| (18) Results for ZIRA in the non-conservative case.
 
| (18) Results for ZIRA in the non-conservative case.
 
|-
 
|-
| colspan="2"|[[Image:Draft_Tinoco Guerrero_568708440-fig44.png|570px|]]
+
| colspan="2"|[[Image:Review_838453312870-fig44.png|570px|]]
 
|}
 
|}
  
Line 1,265: Line 1,259:
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
|-
 
|-
|[[Image:Draft_Tinoco Guerrero_568708440-fig45.png|570px|G<sub>q</sub> and G<sub>v</sub> for QUAD.]]
+
|[[Image:Review_838453312870-fig45.png|570px|G<sub>q</sub> and G<sub>v</sub> for QUAD.]]
|[[Image:Draft_Tinoco Guerrero_568708440-fig46.png|570px|]]
+
|[[Image:Review_838453312870-fig46.png|570px|]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
 
| (19) <math>G_q</math> and <math>G_v</math> for QUAD.
 
| (19) <math>G_q</math> and <math>G_v</math> for QUAD.
Line 1,274: Line 1,268:
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
|-
 
|-
|[[Image:Draft_Tinoco Guerrero_568708440-fig47.png|570px|G<sub>q</sub> and G<sub>v</sub> for DOME.]]
+
|[[Image:Review_838453312870-fig47.png|570px|G<sub>q</sub> and G<sub>v</sub> for DOME.]]
|[[Image:Draft_Tinoco Guerrero_568708440-fig48.png|570px|]]
+
|[[Image:Review_838453312870-fig48.png|570px|]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
 
| (20) <math>G_q</math> and <math>G_v</math> for DOME.
 
| (20) <math>G_q</math> and <math>G_v</math> for DOME.
Line 1,283: Line 1,277:
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
{| class="floating_imageSCP" style="text-align: center; border: 1px solid #BBB; margin: 1em auto; width: 100%;max-width: 100%;"
 
|-
 
|-
|[[Image:Draft_Tinoco Guerrero_568708440-fig49.png|570px|G<sub>q</sub> and G<sub>v</sub> for ZIRA.]]
+
|[[Image:Review_838453312870-fig49.png|570px|G<sub>q</sub> and G<sub>v</sub> for ZIRA.]]
|[[Image:Draft_Tinoco Guerrero_568708440-fig50.png|570px|]]
+
|[[Image:Review_838453312870-fig50.png|570px|]]
 
|- style="text-align: center; font-size: 75%;"
 
|- style="text-align: center; font-size: 75%;"
 
| (21) <math>G_q</math> and <math>G_v</math> for ZIRA.
 
| (21) <math>G_q</math> and <math>G_v</math> for ZIRA.
Line 1,322: Line 1,316:
  
 
<div id="cite-7"></div>
 
<div id="cite-7"></div>
'''[[#citeF-7|[7]]]''' Carlos Parés. (2006) "Numerical Nethods for Nonconservative Hyperbolic Systems: A Theoretical Framework", Volume 44. SIAM Journal on Numerical Analysis 1 300-321
+
'''[[#citeF-7|[7]]]''' Carlos Parés. (2006) "Numerical Methods for Nonconservative Hyperbolic Systems: A Theoretical Framework", Volume 44. SIAM Journal on Numerical Analysis 1 300-321
  
 
<div id="cite-8"></div>
 
<div id="cite-8"></div>

Latest revision as of 07:58, 21 July 2022


Abstract

Due to the importance of the shallow-water equations in models of real-life phenomena, in recent years the study and model of problems that involve them have been the object of interest of many people. By reason of this, it is imperative to have efficient numerical methods to obtain an approximation of the solutions of the shallow-water equations.

Several authors have worked in approximations using the well-known finite volume and finite element methods, nevertheless, even when these methods compute good approximations to real-life behavior, the computational cost is usually high, which could be a limitation to the application of these methods.

This paper presents an explicit Generalized Finite Difference-Volume Hybrid approximation to the solution of the shallow-water equations, solved on irregular regions meshed with logically rectangular grids; the numerical results show the accuracy obtained with a low-cost implementation. The proposed scheme is a hybridization of a generalized finite difference scheme with the finite volume method.

keywords hybrid method, finite difference, finite volume, shallow-water equations, irregular regions

1 Introduction

In nature, there exist many types of flow that can be characterized as shallow-water flows. The main characteristic of these kinds of flows is that the vertical scales are much smaller than the horizontal ones. This happens in many regions all over the world, such as lakes, some rivers and, in some special cases, in parts of the oceans.

Since the flow in these cases is almost horizontal, a great number of simplifications can be done in the physical and mathematical formulation taking into account that the value of the pressure is essentially the hydrostatic one. It is important to remark that, even with these simplifications, the formulations are not two-dimensional, since the bottom friction must be taken into account in the boundary layers. In the literature, these effects are often not essential for the models, and it is only necessary to consider the two-dimensional depth-averaged form [1].

Due to the simplicity of the finite difference methods, some important advances have been done in the approximation to the solution of these equations; Po-Wei and Chia-Ming present in [2] a generalized finite difference method that can produce very good results, with the limitation that the average flow direction has to be known a priori in order to use the generalized finite difference method.

Young discusses a meshless method in [3,4] that can produce very good results in very irregular domains by using a local radial-basis-functions differential-quadrature approach; the results presented in his papers have very good quality and can be applied to real-life scenarios. One more time, even when this method produces very good results, even for inflow problems, the computational cost can be very high.

One of the most common problems that are presented in many works is the treatment of discontinuities and singularities; it is well known that one way to overcome these problems is using a conservative form of the equations. Nevertheless, Ulrik Skre Fjordhol [5], Bruno Gabutti [6], and Carlos Parés [7] have proposed accurate numerical schemes to approximate the solution of non-conservative Hyperbolic Equations, discussing upwind like and splitting schemes for solving numerically this version of the equations. Following the previous ideas, in this paper we present numerical schemes for the conservative form and non-conservative form of the shallow-water equations; the main aim of this work is to obtain an explicit method that can be applied to irregular domains.

In order to do that, let us first consider the problem of obtaining an approximation to the solution of the conservative form of the shallow-water equations

in a simply connected planar domain defined by a polygonal boundary, where is the water level, and are the velocity fields in the and directions respectively, is the water-body depth, is the Coriolis force and represents the external forces (see figure (1)).

Definition of bottom and free surface.
Figure 1: Definition of bottom and free surface.

In these equations, the change of variables

leads to the expressions

(1)

(2)

(3)

here, the unknowns are the conservative quantities , and , that represent the mass and momentum of the physical problem.

After differentiation and some algebra, equations (1) - (3) can be rewritten as

(4)

(5)

(6)

This is the non-conservative form or differential form of the shallow-water equations.

2 Proposed hybrid schemes

The proposed schemes arise from the integral form of equations (2) and (3), (5) and (6), and a finite difference approximation of equations (1) and (4).

2.1 Hybrid schemes on rectangular regions

On rectangular regions, the space region can be discretized by taking a grid formed by uniform cells defined as

as shown on figure (2).

Rectangular meshed region Ω.
Figure 2: Rectangular meshed region .

2.1.1 Hybrid scheme for the conservative form

With this discretization of the region, the proposed scheme approximates the value of at the center of each cell by using a classical finite difference approximation. For this case, the partial derivatives can be approximated at a central point as

and

where the subscripts and superscripts represent the spatial position on the grid and the time level, respectively.

Taking into account these approximations, the first equation can be approximated as

From here, solving for , the approximation

(7)

can be obtained.

Then, the values of and are approximated with a hybrid Finite Difference-Volume scheme on the edges of each cell. In order to do so the integral form of equations (2) and (3) must be taken into account.

The integral form of equation (2) evaluated over an arbitrary cell is

In this expression the partial derivatives can be replaced by their finite difference approximations, calculated on the edges of the cell,

and

to obtain

Since this integral must vanish for every cell , the expression

can be obtained. Now here, solving for ,

(8)

Following a similar logic, the integral form of equation (3)

can be treated to obtain an approximation to ,

(9)

Now, equations (7), (8) and (9) define a hybrid Finite Difference-Volume scheme for the conservative form of the shallow-water Equations, in rectangular regions.

2.1.2 Hybrid scheme for the non-conservative form

In the case of the non-conservative form of shallow-water equations, a similar approach, as the one taken for the conservative form, can be chosen. In this occasion we could to take into account a finite difference scheme for equation (4),

and the integral form of equations (5) and (6),

Doing this, a scheme defined by

(10)

(11)

and

(12)

can be obtained. This scheme can be applied to the non-conservative form of the shallow-water equations, in rectangular regions.

2.2 Hybrid schemes on non-rectangular regions

The hybrid schemes for non-rectangular regions are obtained analogously as the ones for rectangular regions, with the difference that, in this case, instead of replacing the spatial partial derivatives for their finite difference approximation, they are replaced for the generalized finite difference approximations. To learn further about generalized finite difference method see [8,9,10,11,12,13].

2.2.1 Hybrid scheme for the conservative form

For the case of the integral form of (2) and (3),

the spatial partial derivatives can be replaced by their generalized finite difference approximation, while the temporal partial derivatives will be replaced with their finite difference approximation.

In order to address the definition of generalized finite difference, it is convenient to consider, for each case, the approximation to the first order operator

(13)

where , , , , , , , and are given functions; the operator at some point can be approximated using values of in some neighbor points

Thus, a finite difference scheme at is a linear combination

where are suitable weights.

Since operator (13) is partially separable, it can be rewritten as

where

and

Each operator can be approximated separately, i.e.

(14)

(15)

and

(16)

A finite difference scheme is consistent if the local truncation error satisfies

as [14,15].

In this case, this means that

(17)

(18)

and

(19)

Expanding (17), (18) and (19) in Taylor series and regrouping terms, they can be written as

(20)

(21)

and

(22)

where , for .

The consistency condition yields the undetermined systems

and

To find the values that satisfy these conditions requiress to solve the systems

(23)

(24)

and

(25)

it has to be noted that each system has equations and unknowns so, in general, in a suitable grid, there is a non trivial kernel. To select a solution, we use a subset of the normal equations of the corresponding least-squares problem; then, considering the last equations in each system

and

which can be solved through a reduced Cholesky factorization, the values of can be obtained.

After this, in order to obtain the values of , y , the first equations in (23), (24) and (25), can be used

(26)

(27)

(28)

The resulting coefficients define the scheme (14 - 16).

This scheme can be used to approximate the operators

in order to get, for each equation separately, the approximations

(29)

(30)

Now, for equation (1)

a similar path must be taken in order to get a generalized finite difference approximation

(31)

Equations (29), (30) and (31) define a hybrid Generalized Finite Difference-Volume scheme, for the conservative form, for non-rectangular regions.

2.2.2 Hybrid scheme for the non-conservative form

In an analogous way, for the non-conservative form of the shallow-water equations, if the integral form of equations (5) and (6) is taken into account

and a generalized finite difference scheme is applied to equation (4),

the a scheme defined by

(32)

(33)

(34)

can be found.

Now equations (32), (33) and (34) define a hybrid Generalized Finite Difference-Volume scheme, for the non-conservative form, for non-rectangular regions.

Now, an adequate selection of , the number of points, used by the scheme has to be done in order to represent different characteristics accurately. In this work, the selection of has been done as follows: for , and for and . The chosen stencils are shown in figure (3).
Different stencils used by the scheme. Tinoco Guerrero et al 2020a 7111 Tinoco Guerrero et al 2020a-fig03 b.png
(3) Different stencils used by the scheme.
Tinoco Guerrero et al 2020a 8525 Tinoco Guerrero et al 2020a-fig03 c.png

3 Numerical tests

For the numerical tests, three different regions were selected: The unit square for the classical finite difference-finite volume hybrid scheme (denoted as QUAD), a widely used geometry denoted as DOME [16], that is a concave region limited by the lines , , and and an approximation to Zirahuen's Lake in Mexico (an endorheic basin), denoted as ZIRA. The corresponding normalized meshes with cells can be seen in figures (4-6).

Regular mesh for the unitary square.
Figure 4: Regular mesh for the unitary square.
Mesh for DOME region.
Figure 5: Mesh for DOME region.
Mesh for Zirahuen's Lake region.
Figure 6: Mesh for Zirahuen's Lake region.

For each region 2 different tests were done, the first one using the proposed scheme for the conservative form of the Equations, and the second using the scheme for the non-conservative form.

The initial condition, for both tests, for was chosen to be a droplet with different center, according to the region, as follows:

  • QUAD: center in .
  • DOME: center in
  • ZIRA: center in .

The initial conditions for and where fixed as for all the regions. Also, reflective boundary conditions were chosen for and .

To produce stable calculations [17], the time discretization was chosen by considering

where and are the minimum values of and over the region and . With this, the time interval was divided into steps.

The total amounts of mass and momentum, over all the domain, are given at a time step as

and

In our case, they were approximated by means of a numerical quadrature.

The set of figures (7) and (8) show the results for the test using the conservative form of the equations in QUAD region, while the set of figures (9) and (10) show the results non-conservative form one for the same region. Following the same idea, the results for the region DOME are shown in the sets of figures (11) to (14), the same for ZIRA region in the sets (15) to (18). These sets of figures are shown as follows: the figures on the left show the behavior of the velocities while the figures on the right show the movement of the water. The figures begin showing the second time step (t = 0.001s) and continue with a plot every of the results every second after (t = 1s, t = 2s, t = 3s, t = 4s, t = 5s).

Figures (19) to (21) show the result of the computed total amount of conservative quantities over all the time steps. In all these figures the blue line represents the total amount of mass while the red-dotted line represents the total amount of momentum.

Results for QUAD in the conservative case. Review 838453312870-fig10.png
(7) Results for QUAD in the conservative case.
Review 838453312870-fig11.png
Results for QUAD in the conservative case. Review 838453312870-fig13.png
(8) Results for QUAD in the conservative case.
Review 838453312870-fig14.png
Results for QUAD in the non-conservative case. Review 838453312870-fig16.png
(9) Results for QUAD in the non-conservative case.
Review 838453312870-fig17.png
Results for QUAD in the non-conservative case. Review 838453312870-fig19.png
(10) Results for QUAD in the non-conservative case.
Review 838453312870-fig20.png
Results for DOME in the conservative case. Review 838453312870-fig22.png
(11) Results for DOME in the conservative case.
Review 838453312870-fig23.png
Results for DOME in the conservative case. Review 838453312870-fig25.png
(12) Results for DOME in the conservative case.
Review 838453312870-fig26.png
Results for DOME in the non-conservative case. Review 838453312870-fig28.png
(13) Results for DOME in the non-conservative case.
Review 838453312870-fig29.png
Results for DOME in the non-conservative case. Review 838453312870-fig31.png
(14) Results for DOME in the non-conservative case.
Review 838453312870-fig32.png
Results for ZIRA in the conservative case. Review 838453312870-fig34.png
(15) Results for ZIRA in the conservative case.
Review 838453312870-fig35.png
Results for ZIRA in the conservative case. Review 838453312870-fig37.png
(16) Results for ZIRA in the conservative case.
Review 838453312870-fig38.png
Results for ZIRA in the non-conservative case. Review 838453312870-fig40.png
(17) Results for ZIRA in the non-conservative case.
Review 838453312870-fig41.png
Results for ZIRA in the non-conservative case. Review 838453312870-fig43.png
(18) Results for ZIRA in the non-conservative case.
Review 838453312870-fig44.png
Gq and Gv for QUAD. Review 838453312870-fig46.png
(19) and for QUAD.
Gq and Gv for DOME. Review 838453312870-fig48.png
(20) and for DOME.
Gq and Gv for ZIRA. Review 838453312870-fig50.png
(21) and for ZIRA.

It must be pointed out that, in figures (19) to (21), the conservation of mass and momentum can be appreciated, since the losses and gains of these conservative quantities, over all the computed time, is small (around ).

4 Conclusions and future work

Figures (19) to (21) show that, with the criteria used to select , neither spurious oscillations nor instabilities are observed in the tests. Even when these schemes can be applied to non-rectangular regions with ease, the quality of the grid is an important issue that must be taken into account; it is convenient to have quality grids to obtain better results, in all the tests of the present work quality grids were used.

It is important to remark that, in the tests, the boundary conditions where selected to be reflective and the tests show that, both proposed Generalized Finite Difference-Volume hybrid schemes, show a remarkable ability to produce stable results in the selected regions, even in the irregular cases; the numerical tests show that the conservation laws (mass and momentum) are fulfilled, correctly reflecting the expected behavior of a water body. As future work, these schemes need to be implemented in more realistic scenarios, which include inflows, outflows and non-slip boundary conditions.

Acknowledgments

We want to thank AULA CIMNE-Morelia and Finnish Government Scholarship Pool KM-17-10397 for the financial support for this work. We are grateful to the University of Helsinki for giving all the necessary work materials and the space to work at the Department of Physics in Helsinki, Finland.

BIBLIOGRAPHY

[1] C. B. Vreugdenhil. (1994) "Numerical Methods for Shallow-Water Flow". Springer

[2] Po-Wei Li and Chia-Ming Fan. (2017) "Generalized Finite Difference Method for Two-Dimensional Shallow Water Equations", Volume 80. Engineering Analysis with Boundary Elements 58-71

[3] C. K. Chou and C. P. Sun and D. L. Young and J. Sladek and V. Sladek. (2015) "Extrapolated Local Radial Basis Function Collocation Method for Shallow Water Problems", Volume 50. Engineering Analysis with Boundary Elements 275-290

[4] C. P. Sun and D. L. Young and T. F. Chen and C. C. Hsian. (2013) "Application of Localized Meshless Methods to 2D Shallow Water Equation Problems", Volume 37. Engineering Analysis with Boundary Elements 1339-1350

[5] Ulrik Skre Fjordholm and Siddhartha Mishra. (2012) "Accurate numerical discretizations of non-conservative hyperbolic systems", Volume 46. ESAIM: Mathematical Modelling and Numerical Analysis 1 187-206

[6] Bruno Gabutti. (1983) "On Two Upwind Finite-Difference Schemes for Hyperbolic Equations in Non-Conservative Form", Volume 11. Computers & Fluids 3 207 - 230

[7] Carlos Parés. (2006) "Numerical Methods for Nonconservative Hyperbolic Systems: A Theoretical Framework", Volume 44. SIAM Journal on Numerical Analysis 1 300-321

[8] Francisco Javier Domínguez-Mota and Pablo Michel Fernández-Valdez and Erika Ruiz-Díaz and Gerardo Tinoco-Guerrero and José Gerardo Tinoco-Ruiz. (2014) "An Heuristic Finite Difference Scheme on Irregular Plane Regions", Volume 8. Applied Mathematical Sciences 14 671-683

[9] Francisco Javier Domínguez-Mota and Sanzon Mendoza-Armenta and José Gerardo Tinoco-Ruiz. (2011) "Finite Difference Schemes Satisfying an Optimality Condition", Volume 17. IMACS. IMACS. MASCOT11 Proceedings 195

[10] Francisco Javier Domínguez-Mota and José Gerardo Tinoco-Ruiz and Gerardo Tinoco-Guerrero and Pablo Michel Fernández-Valdez and Erika Ruiz-Díaz. (2012) "A Modified Lax-Wendroff Scheme for Irregular 2D Space Regions", Volume 18. MASCOT12 Proceedings 101-110

[11] Gerardo Tinoco-Guerrero and Francisco Javier Domínguez-Mota and Ariana Gaona-Arias and Martha Leticia Ruiz-Zavala and José Gerardo Tinoco-Ruiz. (2018) "A Stability Analysis for a Generalized Finite-Difference Scheme Applied to the Pure Advection Equation", Volume 147. Mathematics and Computers in Simulation 293-300

[12] Gerardo Tinoco-Guerrero and Francisco Javier Domínguez-Mota and José Gerardo Tinoco-Ruiz and Erika Ruiz-Díaz. (2013) "An Implicit Modified Lax-Wendroff Scheme for Irregular 2D Space Regions", Volume 19. MASCOT13 Proceedings

[13] Gerardo Tinoco-Guerrero and Francisco Javier Domínguez-Mota and José Gerardo Tinoco-Ruiz and Erika Ruiz-Díaz. (2015) "Stability Aspects of a Modified Lax-Wendroff Scheme for Irregular 2D Regions", Volume 20. MASCOT15 Proceedings 161-170

[14] John C. Strikwerda. (2004) "Finite Difference Schemes and Partial Differential Equations". Society for Industrial and Applied Mathematics

[15] J. W. Thomas. (1998) "Numerical Partial Differential Equations: Finite Difference Methods". Springer

[16] Joe F. Thompson and Bharat K. Soni and Nigel P. Weatherill. (1999) "Handbook of Grid Generation". CRC Press 239 - 240

[17] Francisco Alcrudo and Pilar García-Navarro. (1993) "A high-resolution Godunov-type scheme in finite volumes for the 2D shallow-water equations", Volume 16. International Journal of Numerical Methods in Fluids 489 - 505

Back to Top

Document information

Published on 09/03/20
Submitted on 14/02/20

Volume 4, 2020
Licence: CC BY-NC-SA license

Document Score

0

Views 178
Recommendations 0

Share this document

claim authorship

Are you one of the authors of this document?