Next Article in Journal
Extended Tanh-Function Method and Its Applications in Nonlocal Complex mKdV Equations
Next Article in Special Issue
Development and Research of a Modified Upwind Leapfrog Scheme for Solving Transport Problems
Previous Article in Journal
The Discrete Carnivorous Plant Algorithm with Similarity Elimination Applied to the Traveling Salesman Problem
Previous Article in Special Issue
The Construction and Research of the Modified “Upwind Leapfrog” Difference Scheme with Improved Dispersion Properties for the Korteweg–de Vries Equation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Solving Hydrodynamic Problems Based on a Modified Upwind Leapfrog Scheme in Areas with Complex Geometry

Department of Mathematics and Computer Science, Don State Technical University, 344000 Rostov-on-Don, Russia
*
Author to whom correspondence should be addressed.
Mathematics 2022, 10(18), 3248; https://doi.org/10.3390/math10183248
Submission received: 31 July 2022 / Revised: 1 September 2022 / Accepted: 3 September 2022 / Published: 7 September 2022

Abstract

:
In recent years, the number of adverse and dangerous natural and anthropogenic phenomena has increased in coastal zones around the world. The development of mathematical modeling methods allows us to increase the accuracy of the study of hydrodynamic processes and the prediction of extreme events. This article discusses the application of the modified Upwind Leapfrog scheme to the numerical solution of hydrodynamics and convection–diffusion problems. To improve the accuracy of solving the tasks in the field of complex shapes, the method of filling cells is used. Numerical experiments have been carried out to simulate the flow of a viscous liquid and the transfer of substances using a linear combination of Upwind and Standard Leapfrog difference schemes. It is shown that the application of the methods proposed in the article allows us to reduce the approximation error in comparison with standard schemes in the case of large grid numbers of Péclet and to increase the smoothness of the solution accuracy at the boundary. The soil dumping and suspended matter propagation problems are solved using the developed schemes.

1. Introduction

Over the past decade, the number of adverse and dangerous phenomena has increased worldwide, including those affecting coastal, marine and river systems. Dangerous phenomena arise both as a result of increased human industrial activity and as a result of global changes in climatic conditions. Solving problems of hydrodynamics is an important field of science that allows modeling and forecasting adverse and dangerous natural and anthropogenic phenomena in coastal systems, such as run-up phenomena under wind influences, the spread of pollutants, blooming waters and mass death of commercial fish species due to the lack of or absence of dissolved oxygen. In the first part of this article, a difference scheme is considered, which is a linear combination of the Upwind and Standard Leapfrog schemes, which has greater accuracy and a margin of stability in the numerical solution of transfer problems in the case of large Péclet numbers. Using this scheme allows us to increase the accuracy of transport problem solutions in the case of a predominance of convective transport over diffusion, which occurs when modeling and predicting such dangerous phenomena as storm surges and the transport of pollutants, including their intake from river drains.
Researchers around the world are engaged in the development of mathematical models and methods for solving problems of hydrodynamics. In the work [1], three-dimensional models of hydrodynamics and sediment transport are used to model erosion and transport of severely contaminated sediments from the Rove Canal into the Etang De Berre. The MUSTANG sediment module was used in conjunction with the MARS3D model [2] for sediment transport modeling, and numerical experiments were carried out. Numerical experiments on the simulation of particle-laden flows are described in [3]. The ellipsoidal particle motion problem based on the Navier–Stokes equations for incompressible flow solved by the partitioned volume penalization-discrete element method is examined in this work. Viscous incompressible flows were modeled in [4]. The finite difference method and the finite particle method are used for simulation of Taylor–Green vortices and lid-driven shear cavity flows in this article. The reflection behavior of tidal waves at abrupt bathymetrical changes in estuaries is researched in [5]. The authors use an analytical energy-based approach and a hydrodynamic numerical model to estimate the reflection coefficients. Numerical experiments were carried out using the program TELEMAC2D for 2D simulation [6]. In the work [7], the method of hydrodynamics of smoothed incompressible particles (SPH) together with the approach of modeling large vortices (LES) is used to simulate the coastal mechanics of solitary waves. The two-step fractional method was used for the solution of this problem based on the Navier–Stokes incompressible fluid equations. The problem of numerical implementation of the model of wave propagation along uneven inclined surfaces is described in [8]. The hydrodynamics of smoothed particles is used in this work, which allows simulation of the processes of deformation of the free surface. In [9], the hydrodynamics model described by three-dimensional Navier–Stokes equations is used for breaking wave simulation. The authors propose a difference scheme based on a new fifth-order reconstruction method for the point values of the conserved variables on the cell face. In [10], the continuity equation with the Leapfrog scheme was coupled with the large-scale particle image velocimetry method for measurement of the bathymetry and the surface velocity of rivers, respectively, and estimated the discharge.
The purpose of this work is to apply the difference scheme developed and studied in the first part to solve problems of hydrodynamics and suspension transport. The previously proposed approach to modeling problems in areas with complex geometry of the computational domain is described based on the function of the fullness of cells. A difference scheme combining the above approaches is constructed. The novelty of this study is that improved Upwind Leapfrog schemes are used for the approximation of convective terms in the equations of motion, which allows us to increase accuracy and have a large margin of stability for large values of the grid Péclet number. The developed hydrodynamics model has computational stability at significant differences in depths (15–30 times) and density of the aquatic environment. The solution obtained using the proposed difference schemes has the best smoothness at the boundary, since there are no oscillations that occur during the stepwise approximation of the boundary. The application of the described methods allows us to more accurately describe vortexes of various scales, including small ones that arise in coastal systems. The results of numerical calculations of the problem of transport of substances on the basis of the developed scheme are presented. The proposed three-dimensional hydrodynamic model has been repeatedly used for diagnostic and predictive calculations of the water flow vector velocity in shallow water bodies, for example, in [11] for the Lagoon Etang de Berre (south of France) and the Azov Sea (south of Russia).
The second part of the article is devoted to the application of the difference scheme described in the first part of the article, based on a linear combination of Upwind and Standard Leapfrog schemes, to solve the problem of hydrodynamics in the field of complex shapes. The second part of the article is organized as follows. Section 2 presents the formulation of the problem of hydrodynamics in a two-dimensional domain. Section 3 describes the application of the pressure correction method to solve the above problem. Section 4 describes approximation of the convection–diffusion problem using the method of cell fullness. Section 5 describes the approximation of the equations obtained in Section 3 on the basis of the proposed modified scheme, while additionally considering the fullness of the computational domain cells, which allows us to increase the calculations accuracy. Section 6 provides an example of solving a model problem based on the difference scheme described above and compares the accuracy of the resulting solution. Section 7 presents the formulation of the suspension transport and three-dimentional hydrodynamics problems and the results of numerical experiments. In conclusion, an analysis of the results obtained in the work is given.

2. Statement of the Hydrodynamics Problem

Consider the test problem of the flow of a viscous incompressible fluid between two infinitely long coaxial circular cylinders based on Navier–Stokes equations. In the two-dimensional computational domain, we place the coordinate system xOy perpendicular to the axis of the cylinders, the origin of which lies on the axis of the cylinders. In a section of the cylinder, the velocity field is set by the plane x = 0 . It is required to determine the movement of the liquid. For the mathematical description of the fluid dynamics problem, the initial equations are:
  • The motion equations [12]:
    u t + u u x + v u y = 1 ρ P x + x μ u x + y μ u y ,
    v t + u v x + v v y = 1 ρ P y + x μ v x + y μ v y ,
  • The continuity equation for an incompressible fluid [13]:
u x + v y = 0 ,
where V = u , v is fluid flow velocity vector [m/s], ρ is the moving medium density [kg/m 3 ], P is the pressure [Pa], μ is the turbulent exchange coefficient [m 2 /s], t is the variable in time [s], x and y are the variables in spatial coordinates [m].
Boundary conditions are added to Equations (1)–(3):
  • The condition at the input and output boundaries is fluid flow:
    u = u 0 , v = v 0 , P / n = 0 ,
  • The condition of non-flowing and sliding is set on the side surfaces (in the case of τ = 0 ):
    P / n = 0 , V , n = 0 , ρ μ V / n = τ
    or the condition of sticking:
P / n = 0 , u = 0 , v = 0 ,
where n is the inside normal vector, and τ = { τ x , τ y } is the tangential stress vector at the researched coastal system bottom.
The expression for the tangential stress resulting from bottom friction, determined by Van Dorn’s law, has the form:
τ τ x , τ y = ρ C p V V ,
where C p is a dimensionless coefficient. Tangential stress occurs at the interfaces between two media.
The hydrodynamic model in the three-dimensional case is built similarly.

3. Method of Splitting by Physical Processes for Solving Hydrodynamic Problems

Consider the numerical implementation of the hydrodynamics mathematical model in a rectangular computational domain. A uniform grid is introduced with respect to a time variable:
w h = t n = n τ , n = 0 , , N t , N t τ = T ,
where τ is the time step, n is the index indicating the number of the time layer, N t is the number of time steps, and T is the upper bound in time.
Le us use the splitting schemes for physical processes [14]. In this case, the solution of the original problem is reduced to solving the following equations:
The method of splitting by physical processes is used for the numerical solution of the proposed problem. As a result, instead of the original Equations (1)–(3), equations in the following form are solved:
  • The equations systems for calculating the velocity vector field without taking into account pressure:
    u n + σ u n τ + u u x + v u y = x μ u x + y μ u y ,
    v n + σ v n τ + u v x + v v y = x μ v x + y μ v y ,
  • Poisson’s equations for calculating pressure:
    2 P x 2 + 2 P y 2 = ρ τ u n + σ x + v n + σ y ,
  • Systems of equations for recalculation of the velocity vector field considering pressure:
    u n + 1 u n + σ τ = 1 ρ P x , v n + 1 v n + σ τ = 1 ρ P y .
Here u , v is the water flow velocity vector in the previous (n-th) time layer, u n + σ , v n + σ is the water flow velocity vector on the intermediate ( ( n + σ ) -th) time layer, and u n + 1 , v n + 1 is the water flow velocity vector at the current ( ( n + 1 ) -th) time layer.

4. Approximation of Diffusion and Convective Transport Operator

Consider the two-dimensional convection–diffusion equation:
c t + u c x + v c y = x μ c x + y μ c y + f
with boundary conditions:
c / n = α n c + β n ,
where c is a calculated function (for example, the concentration of suspended matter in water), f is a source function describing the position in space and the intensity of the suspended matter input, and α n and β n are dimensionless coefficients.
The test problem (12)–(13) is solved in a rectangular area. The discrete analogue of the continuous problem is implemented on a uniform grid:
w h = t n = n τ , x i = i h x , y j = j h y , n = 0 , , N t , i = 0 , , N x , j = 0 , , N y ;
N t τ = T , N x h x = L x , N y h y = L y ,
where τ is the time step; N t is the time steps number; T is the time interval value; h x , h y are steps in spatial directions; N x , N y are the space steps number; and L x , L y are the maximum dimensions of the area in the direction of the axes O x , O y .
To approximate Equation (12) by the time coordinate, we use schemes with weights:
c n + 1 c n τ + u c n + σ x + v c n + σ y = x μ c n + σ x + y μ c n + σ y + f ,
where c n + σ = σ c n + 1 + 1 σ c n , and 0 σ 1 is the scheme weight.
The calculation cells have a rectangular shape and varying degrees of fullness. They may be completely filled, incompletely filled with medium or not filled at all. Cell centers are at distances h x / 2 and h y / 2 from nodes in the direction of the axes O x and O y , respectively. Consider o i , j is the cell ( i , j ) fullness. Cells ( i , j ) , ( i + 1 , j ) , ( i , j + 1 ) , ( i + 1 , j + 1 ) form the neighborhood of the node ( i , j ) .
Introduce the coefficients q 0 , q 1 , q 2 , q 3 , q 4 , describing the fullness of the control areas located in the cell neighborhood. Consider q 0 is the fullness of the domain D 0 : x x i 1 / 2 , x i + 1 / 2 , y y j 1 / 2 , y j + 1 / 2 , q 1 D 1 : x x i , x i + 1 / 2 , y y j 1 / 2 , y j + 1 / 2 , q 2 D 2 : x x i 1 / 2 , x i , y y j 1 / 2 , y j + 1 / 2 , q 3 D 3 : x x i 1 / 2 , x i + 1 / 2 , y y j , y j + 1 / 2 , q 4 D 4 : x x i 1 / 2 , x i + 1 / 2 , y y j 1 / 2 , y j . Consider Ω m , where m = 0 , , 4 the filled parts of the domains D m . The expressions for calculating the coefficients q m have the form:
q m i , j = S Ω m S D m , q 0 i , j = o i , j + o i + 1 , j + o i + 1 , j + 1 + o i , j + 1 4 , q 1 i , j = o i + 1 , j + o i + 1 , j + 1 2 ,
q 2 i , j = o i , j + o i , j + 1 2 , q 3 i , j = o i + 1 , j + 1 + o i , j + 1 2 , q 4 i , j = o i , j + o i + 1 , j 2 .
A discrete analogue of the diffusion-convection Equation (12) with boundary conditions (13) is written as [15]:
q 0 i , j c i , j n + 1 c i , j n τ + q 1 i , j u i + 1 / 2 , j c i + 1 , j n + σ c i , j n + σ 2 h x + q 2 i , j u i 1 / 2 , j c i , j n + σ c i 1 , j n + σ 2 h x +
+ q 3 i , j v i , j + 1 / 2 c i , j + 1 n + σ c i , j n + σ 2 h y + q 4 i , j v i , j 1 / 2 c i , j n + σ c i , j 1 n + σ 2 h y =
= q 1 i , j μ i + 1 / 2 , j c i + 1 , j n + σ c i , j n + σ h x 2 q 2 i , j μ i 1 / 2 , j c i , j n + σ c i 1 , j n + σ h x 2
q 1 i , j q 2 i , j μ i , j α x c i , j n + σ + β x h x + q 3 i , j μ i , j + 1 / 2 c i , j + 1 n + σ c i , j n + σ h y 2
q 4 i , j μ i , j 1 / 2 c i , j n + σ c i , j 1 n + σ h y 2 q 3 i , j q 4 i , j μ i , j α y c i , j n + σ + β y h y + q 0 i , j f i , j .
Thus, discrete analogues of convective and diffusion transfer operators were obtained in the case of partial cell fullness. Discrete analogues of the convective u c x and diffusion transfer operators x μ c x in the case of partial cell fullness have the form:
q 0 i , j u c x q 1 i , j u i + 1 / 2 , j c i + 1 , j c i , j 2 h x + q 2 i , j u i 1 / 2 , j c i , j c i 1 , j 2 h x ,
q 0 i , j x μ c x q 1 i , j μ i + 1 / 2 , j c i + 1 , j c i , j h x 2 q 2 i , j μ i 1 / 2 , j c i , j c i 1 , j h x 2
q 1 i , j q 2 i , j μ i , j α x c i , j + β x h x .
The approximation error for this scheme is O τ + h x 2 + h y 2 at the inner nodes of the grid and O τ + h x + h y at the boundary nodes. The scheme is stable for the pressure correction method based on the maximum principle with restrictions on space steps [16]: h x < 2 μ / u , h y < 2 μ / v or restrictions on the Reynolds number R e = u l / μ 2 N [17], and l is the maximum domain size. If the stability condition of the difference scheme is not met, you can do the following: either increase the size of the computational grid, which entails an increase in computational labor costs, or change the difference scheme. Switching to “against the flow” schemes [18] is not recommended because they have a mesh viscosity. In test calculations, when solving the system of Equations (8)–(9) based on the difference scheme (15) in case of failure to meet the stability condition h x < 2 μ / u , the coefficient of turbulent exchange in the direction of Ox will be taken equal to u h x / 2 , in the direction of Oy – equal to v h y / 2 . It should also be noted that in the case of “against the flow” schemes, the coefficient of turbulent exchange in the Ox direction becomes equal to μ + u h x / 2 , in the Oy direction – equal to μ + v h y / 2 , which makes a greater contribution to the error of the solution compared to the approach described above.

5. Approximation of the Convection–Diffusion Equations by a Modified Upwind Leapfrog Scheme

Consider the modified Upwind Leapfrog difference scheme for the numerical solution of the convection–diffusion equation:
c t + u c x = x μ c x ,
where x 0 , l , t 0 , T . The boundary conditions and initial distribution are added:
c ( 0 , x ) = c 0 ( x ) , c ( t , 0 ) = c ( t , l ) = 0 , u = c o n s t .
To solve problem (16) for large Pèclet grid numbers, the difference scheme, built as a linear combination of the Upwind and Standard Leapfrog schemes, combined with weights coefficients 2/3 and 1/3, which are obtained from the condition of maximizing the approximation accuracy, will be written as:
c i n + 1 c i n τ + 4 3 c i 1 n c i 1 n 1 2 τ + u c i n c i 1 n h x + c i n c i n 1 3 τ +
+ u c i + 1 n c i 1 n 3 h x = 2 μ c i + 1 n 2 c i n + c i 1 n h x 2 , u 0 ,
c i n + 1 c i n τ + 4 3 c i + 1 n c i + 1 n 1 2 τ + u c i + 1 n c i n h x + c i n c i n 1 3 τ +
+ u c i + 1 n c i 1 n 3 h x = 2 μ c i + 1 n 2 c i n + c i 1 n h x 2 , u < 0 .
The spatial splitting scheme is used to numerically implement the homogeneous two-dimensional convection–diffusion Equation (12):
c n + 1 / 2 c n τ + u c n x = x μ c n x ,
c n + 1 c n + 1 / 2 τ + v c n + 1 / 2 y = y μ c n + 1 / 2 y .
For the numerical implementation of the resulting equations system (17)–(18), add the cell fullness coefficients in the linear combination of the Upwind and Standard Leapfrog schemes:
  • Equation (17) describing the transfer processes along the O x axis is approximated as:
    2 q 2 , i , j + q 0 , i , j 3 c i , j n + 1 / 2 c i , j n τ + 5 u i 1 / 2 , j q 2 , i , j c i , j n c i 1 , j n 3 h x +
    + u i + 1 / 2 , j min q 1 , i , j , q 2 , i , j c i + 1 , j n c i , j n 3 h x + 2 Δ x c i 1 , j n q 2 , i , j + Δ x c i , j n q 0 , i , j 3 =
    = 2 μ i + 1 / 2 , j q 1 , i , j c i + 1 , j n c i , j n h x 2 2 μ i 1 / 2 , j q 2 , i , j c i , j n c i 1 , j n h x 2
    q 1 , i , j q 2 , i , j μ i , j α x c i , j n + β x h x , u i , j 0 ;
    2 q 1 , i , j + q 0 , i , j 3 c i , j n + 1 / 2 c i , j n τ + 5 u i + 1 / 2 , j q 1 , i , j c i + 1 , j n c i , j n 3 h x +
    + u i 1 / 2 , j min q 1 , i , j , q 2 , i , j c i , j n c i 1 , j n 3 h x + 2 Δ x c i + 1 , j n q 1 , i , j + Δ x c i , j n q 0 , i , j 3 =
    = 2 μ i + 1 / 2 , j q 1 , i , j c i + 1 , j n c i , j n h x 2 2 μ i 1 / 2 , j q 2 , i , j c i , j n c i 1 , j n h x 2
    q 1 , i , j q 2 , i , j μ i , j α x c i , j n + β x h x , u i , j < 0 , where Δ x c i , j n = c i , j n 1 / 2 c i , j n 1 τ ;
  • Equation (18) describing the transfer processes along the O y axis is approximated as:
    2 q 4 , i , j + q 0 , i , j 3 c i , j n + 1 c i , j n + 1 / 2 τ + 5 v i , j 1 / 2 q 4 , i , j c i , j n + 1 / 2 c i , j 1 n + 1 / 2 3 h y +
    + v i , j + 1 / 2 min q 3 , i , j , q 4 , i , j c i , j + 1 n + 1 / 2 c i , j n + 1 / 2 3 h y + 2 Δ y c i , j 1 n + 1 / 2 q 4 , i , j + Δ y c i , j n + 1 / 2 q 0 , i , j 3 =
    = 2 μ i , j + 1 / 2 q 3 , i , j c i , j + 1 n + 1 / 2 c i , j n + 1 / 2 h y 2 2 μ i , j 1 / 2 q 4 , i , j c i , j n + 1 / 2 c i , j 1 n + 1 / 2 h y 2
    q 3 , i , j q 4 , i , j μ i , j α y c i , j n + 1 / 2 + β y h y , v i , j 0 ;
    2 q 3 , i , j + q 0 , i , j 3 c i , j n + 1 c i , j n + 1 / 2 τ + 5 v i , j + 1 / 2 q 3 , i , j c i , j + 1 n + 1 / 2 c i , j n + 1 / 2 3 h y +
    + v i , j 1 / 2 min q 3 , i , j , q 4 , i , j c i , j n + 1 / 2 c i , j 1 n + 1 / 2 3 h y + 2 Δ y c i , j + 1 n + 1 / 2 q 3 , i , j + Δ y c i , j n + 1 / 2 q 0 , i , j 3 =
    = 2 μ i , j + 1 / 2 q 3 , i , j c i , j + 1 n + 1 / 2 c i , j n + 1 / 2 h y 2 2 μ i , j 1 / 2 q 4 , i , j c i , j n + 1 / 2 c i , j 1 n + 1 / 2 h y 2
    q 3 , i , j q 4 , i , j μ i , j α y c i , j n + 1 / 2 + β y h y , v i , j < 0 , where Δ y c i , j n + 1 / 2 = c i , j n c i , j n 1 / 2 τ .

6. Solving of Hydrodynamics Test Problems

An important point in modeling hydrodynamics is the description of the vortex motion of the aquatic environment, a narrow class of hydrodynamic problems with an analytical solution. Therefore, to solve problems of the movement of the aquatic environment, we resort to numerical methods of solution, which are detected on the basis of the presence of an error. To check the accuracy of numerical methods, it is necessary to have an analytical solution. Incorporating a well-known use of hydrodynamics, an available analytical solution is Couette–Taylor analysis (flow between tested cylinders). Consider stationary fluid flow between two infinitely long coaxial circular cylinders [19]:
u u x + v u y = 1 ρ P x + μ Δ u , u v x + v v y = 1 ρ P y + μ Δ v ,
r 1 r r 2 , r = x 2 + y 2 .
Test Problem I. Find the numerical solution of the fluid flow between two coaxial semi-cylinders ( x 0 ). The radius of the inner cylinder r 1 = 5 m. The radius of the outer cylinder r 2 = 10 m. The calculation domain has a rectangular shape, and the size of the side in the direction of the axis O x is 10 m. In the direction of the axis, it is O y – 20 m. The components of the water flow velocity vector are u 0 , y = 5 / y m/s, v 0 , y = 0 m/s at x = 0 . All other grid nodes are calculated in relation to the fluid flow velocity vector. Sliding and non-flowing conditions are set on the inner and outer walls of the cylinder.
Test problem I has the analytical solution, which in a rectangular coordinate system is determined by the expressions:
u x , y = 5 y x 2 + y 2 , v x , y = 5 x x 2 + y 2 , P x , y = P r 1 12.5 ρ x 2 + y 2 + ρ / 2 .
Consider the numerical solution of the proposed problem on a coarse grid, which allows us to more accurately estimate the approximation error. The coarse grid has the following parameters: the time step is 0.1 s, the space steps in the direction of the axes O x , O y , respectively are 1 m. The grid has 21 × 11 nodes, the time interval value is 10 s, the coefficient of turbulent exchange μ = 1 m 2 /s, and the density of the water medium is ρ = 1000 kg/m 3 .
To calculate the fullness of cells between circular cylinders, the formula was used:
o i , j = 1 h x x i x i + 1 g f 1 ( x ) / h y j g f 2 ( x ) / h y j d x , g ( x ) = 1 , x > 1 , x , 0 x 1 , 0 , x < 0 ,
f 1 ( x ) = 100 ( 10 x ) 2 , 0 x 20 , 0 , x < 0 , x > 20 , f 2 ( x ) = 25 ( 10 x ) 2 , 5 x 15 , 0 , x < 5 , x > 15 .
Based on cell fullness rates o i , j , the filling factors of the control areas ( q k ) i , j , 0 k 5 are calculated. The cell fullness function for a coarse computational grid is presented as an array with the size 21 × 11 at Table 1.
Figure 1 shows the approximation of the problem (23). The color shows the water flow k 0 u between two coaxial cylinders; the arrows show the direction of the fluid flow velocity vector.
As a result of applying the cell fullness method, a fairly smooth solution of the problem of water flow between two coaxial cylinders is obtained, which is shown in Figure 1a. If the boundary between two media is approximated by steps, then there is a significant error in determining the direction of the flow velocity vectors, which Figure 1b demonstrates as a stepwise approximation. Figure 1c,d illustrate the accuracy of the obtained numerical solutions (the difference between exact analytical and approximate solutions) in the case of of using partial cell fullness (smooth boundary) and in the case of a stepped boundary, respectively.
The approximation error in the numerical solution of the test problem (23) with and without the cell fullness method, that is, with stepwise approximation of the boundary, is shown in Figure 2.
A series of experiments was carried out on grids of various dimensions to study the accuracy of the approximation by the proposed schemes. Table 2 shows the error values of the numerical solution of the problem of fluid flow between two coaxial half-cylinders depending on the size of the computational grid with and without the cell fullness method.
As a result of a series of experiments performed on a sequence of computational grids of different dimensions, which are presented in Table 2, it can be concluded that the problem of water flow between two cylinders is more smoothly approximated at the boundary in the case of using the cell fullness method. An analysis of the data presented in Table 2 shows that the splitting of the computational grid by eight times in the direction of the axes O x and O y does not lead to a decrease in the approximation error of test problem I as much as the cell fullness method allows.
Figure 3a demonstrates the numerical solution of the convection–diffusion equations for the test problem (23) using the difference scheme (15), while Figure 3b shows it using the difference schemes (19)–(22). Figure 3c shows the difference between the velocity vector fields vector obtained using the difference scheme (15) and the difference schemes (19)–(22).
Test Problem II. Find a solution to the problem of transport of substances (12) between two coaxial cylinders based on the difference scheme (15) and schemes (19)–(22). The fluid flow field is given by the expression (24) with initial conditions:
c 0 x , y = θ ( 8.5 y ) θ ( 9 y ) θ ( 1 x ) θ ( 0.5 x ) .
Figure 4 shows a numerical solution to the problem of the transfer of substances, which is described by a one-dimention non-stationary convection–diffusion equation, at small grid Péclet numbers (where P e h = u h / μ , h is the step in the corresponding spatial direction). The case of fulfilling the stability condition of the difference scheme (15) is considered. The coefficient of turbulent exchange is taken to be equal to 0.5 m 2 /s. The calculated interval is 20 s.
Figure 5 demonstrates the numerical solution of the test problem for large values of the grid Péclet number. For this, the value of the turbulent exchange coefficient is taken equal to 0.01 m 2 /s, which indicates a significant predominance of convective transfer over diffusion.
Figure 4 and Figure 5 show that a linear combination of the Upwind Leapfrog difference scheme with weight parameter 2/3 and Standard Leapfrog difference schemes with weight parameter 1/3 have lower approximation error for the convection–diffusion problem solution at large grid Péclet numbers and therefore more accurately describes eddy currents, including small-sized eddies in coastal systems.

7. Mathematical Model of Suspension Transport and Hydrodynamics

To describe the suspended particles transport problem based on the convection–diffusion equation, which has the form [20,21,22], we use:
c t + ( u c ) x + ( v c ) y + ( ( w + w g ) c ) z = μ 2 c x 2 + 2 c y 2 + z ν c z + f ,
where c is the suspended matter concentration; V = u , v , w is the water flow velocity vector; μ , ν are horizontal and vertical turbulent diffusion coefficients; w g is the rate of suspended matter sedimentation under the influence of gravity; and f is a source function describing the position in space and the intensity of the contaminants input.
Boundary conditions are added to Equation (25):
c / n = 0 , ( V , n ) > 0 ,
μ c / n w g ( V , n ) = 0 , ( V , n ) 0 .
Set the initial data for modeling the propagation of suspended particles during soil dumping. Let the depth of a shallow reservoir be 10 m, the water flow velocity be 0.2 m/s. The loading volume is 741 m 3 , the density of the bottom matter is 1600 kg/m 3 , the sedimentation rate according to Stokes is 2.042 mm/s and the proportion of dust particles in the soil with diameter d less than 0.05 mm is 26.83%. Calculations are performed on a rectangular computational area with a length is 3 km and a width is 1.4 km. The time interval is 2 h; the space step along the O x axis is 20 m, space step along the O y axis is 1 m.
Figure 6 shows the dynamics of changes in the concentration of suspended particles (mg/L) over time. The values of the suspension concentration field in the section of the calculated area by a plane passing through the discharge point and formed by vectors directed vertically and along the flow are given.
A numerical experiment was carried out to calculate the dynamics of changes in the suspended matter concentration. The movement of suspended particles in time from the moment of soil discharge was calculated. Figure 6 shows a cutting plane passing through the starting point of the soil discharge and vectors co-directed with the direction of the fluid flow and the vertical axis. The time intervals were: 15 min, 30 min, 1 h, 2 h, respectively. The currents are directed from left to right.
The processes of distribution of the mass of suspended particles and changes in the topography of the bottom surface as a result of the sedimentation of particles can be modeled on the basis of mathematical models of the transport of suspended particles. Prediction of suspended-matter-spreading processes allows us to optimize the size of the area used for soil dumping. Reduction of the used areas allows minimizing the damage to the environment and marine life.
Consider modeling the transfer of suspended particles at different water flow velocities (Figure 7).
When using central-difference schemes in the case of a high water flow velocity, it is required to increase the size of the grids. When the size increases by N times, the number of arithmetic operations increases by N 5 times due to the increase in the number of calculation nodes by N 3 times and the decrease in the time step by N 2 times. When using the presented modification of the Upwind Leapfrog scheme, an increase in the speed of the fluid flow does not lead to an increase in labor costs.
To calculate the components of the velocity vector of the water medium, a three-dimensional model of the hydrodynamics of shallow reservoirs was used [11,23].
The initial equations of hydrodynamics of shallow water bodies are:
  • Equation of motion (Navier–Stokes):
    u t + u u x + v u y + w u z = 1 ρ P x + x μ u x + y μ u y + z ν u z ,
    v t + u v x + v v y + w v z = 1 ρ P y + x μ v x + y μ v y + z ν v z ,
    w t + u w x + v w y + w w z = 1 ρ P z + x μ w x + y μ w y + z ν w z + g ;
  • Continuity equation in the case of variable density:
    ρ t + ( ρ u ) x + ( ρ v ) y + ( ρ w ) z = 0 ,
where g is the acceleration of gravity.
Add the following boundary conditions to the system of Equations (26) and (27):
  • On input:
    u = u 0 , v = v 0 , w = w 0 , P / n = 0 , V / n = 0 ,
  • Lateral boundary (shore and bottom):
    ρ μ u / n = τ x , ρ μ v / n = τ y , V , n = 0 , P / n = 0 ,
  • Upper boundary:
    ρ μ u / n = τ x , ρ μ v / n = τ y , w = ω P / t / ρ g , P / n = 0 ,
where τ x , τ y is the tangential stress components, and ω is the liquid evaporation rate.
Tangential stress components for free surface τ x , τ y = ρ a C d s w w x , w y , where w is the vector of wind speed relative to water, ρ a is the atmospheric density, and C d s is the dimensionless coefficient of surface resistance, which depends on the wind speed, which is considered in the range 0.0016–0.0032 (in this article C d s = 0.0026 ).
The components of the tangential stress for the bottom, considering the movement of water, can be written as τ x , τ y = ρ C d b V u , v , where C d b = g n 2 / h 1 / 3 , n = 0.04 is the group coefficient of roughness in the Manning formula, 0.025–0.2; h = H + η is the water area depth; H is the depth to undisturbed surface; and η is the free surface height relative to the geoid (sea level).
For the software implementation of the two-dimensional and three-dimensional hydrodynamic models described in Section 2 and Section 7, respectively, using the pressure correction method described in Section 3, the authors of this article developed the software module “Calculation of the aquatic environment movement” (“Azov3D.exe”). Figure 8 shows the flow diagram of the developed software module.
Another practical problem is numerical modeling of wave processes in the coastal zone. The solution of this problem is based on models of suspension transport and hydrodynamics. The computational area had dimensions of 50 × 50 m and a depth of 2 m; the highest point was 2 m above the undisturbed level. The source of disturbances was at a distance of 200 m from the coastline. At the initial moment of time, the fluid was at rest. For the numerical solution, a grid of 100 × 100 × 40 cells was used, with a time step of 0.01 s. The distribution of suspended solids in the aquatic environment is given. A situation was simulated in which a suspension ejection occurs at the zero moment of time. The suspension source is located along the O x coordinate, 5 m from the oscillation source (the left boundary of the region), in the center of the computational region along the O y axis, and 20 cm below the liquid level along the O z axis. The fluid was at rest at the initial moment of time. With the help of computational experiments simulating the propagation of a suspension in an aquatic environment in the presence of surface waves and with a suspension density equal to the density of the aquatic environment, we could study the effect of waves on the momentum transfer in the horizontal and vertical directions. The results of calculations of the simulation of the propagation of suspended matter with a density of 2700 kg/m 3 are shown in Figure 9.
Figure 9 shows the simulation of such an important effect as the “jet effect” in which an accelerated initial immersion of a “heavy” jet occurs during a volley of soil discharge. Verification of the suspended matter transport model (horizontal turbulent exchange coefficient) was carried out on the basis of a study of the dependence of the mixing zone width and is described in the work. A set of unified mathematical models has been developed to describe the transfer of multicomponent suspension and bottom materials under conditions of complex, dynamically changing bottom geometry and the level elevation function. The mathematical model of hydrodynamics includes three equations of motion, describes the behavior of the level elevation function, flooding-drainage of the coastal area and considers the change in the depth of the bottom of the water body and the variable density, depending on the suspension concentration. The developed mathematical model and the developed problem-oriented set of programs allow us to predict the appearance of sea ridges and spits, their growth and transformation, and a change in the concentration field in the event of a release from a source. We are also able to predict the silting of approach navigation channels and the drift of hydraulic structures and structures.

8. Discussion

In this paper, mathematical models of hydrodynamics based on the Navier–Stokes equations and the transport of substances based on the convection–diffusion reaction equation are considered. When solving the problem of hydrodynamics, the pressure correction method is used, which imposes a restriction on the Reynolds number to fulfill the stability condition of the difference scheme. The stability condition is satisfied in the case of an increase in the number of calculation nodes and reducing the step in space, or by applying another difference scheme. It is not recommended to use schemes “against the flow” [14], since in this case a mesh viscosity appears. The construction of discrete analogs of hydrodynamics and transport models was carried out on the basis of the developed vortex-resolving difference scheme based on a linear combination of the difference scheme Upwind and Standard Leapfrog with weight coefficients 2/3 and 1/3, respectively. The weight coefficients for the linear combination are obtained to minimize the approximation error. Numerical experiments have shown that the difference scheme proposed in the first part of the article gives a lower grid viscosity, which increases the accuracy of modeling. It should also be noted that in the numerical solution of the transfer problem using the proposed difference scheme, in the case of large values of the grid Péclet number, there are no oscillations associated with the approximation of the boundary by a polyline. The weight coefficients for this linear combination of difference schemes are obtained as a result of minimizing the approximation error.
The paper considers the development and application of the method by filling rectangular cells with a material medium, in particular, water. This method allows us to improve the accuracy and smoothness of the numerical solution of the hydrodynamic problem in regions of complex shapes. A number of numerical experiments were carried out, demonstrating the advantages of the proposed difference schemes for solving problems of computational fluid dynamics. Problems such as the flow of a viscous fluid between two coaxial half-cylinders and the transfer of substances between coaxial half-cylinders were studied on the basis of two-dimensional convection–diffusion models. An analysis of the performed experiments showed that the relative error in the case of stepwise approximation of the boundaries reaches 70%. The use of the cell filling method (smooth approximation of the boundary) allows us to minimize the error, which in this case is equal to 6%. A series of experiments was carried out, consisting of the fragmentation of the computational grid. As a result, it is shown that an increase in the number of grid nodes does not lead to an increase in accuracy, in contrast to the case of using the method of filling the cells with a material medium. As a practical example of the application of the proposed schemes, the problem of soil dumping is considered. The developed algorithms allow us to improve the accuracy of modeling the transport of suspension plumes in the aquatic environment.

Author Contributions

Conceptualization, A.S.; methodology, A.C.; software, A.C.; validation, Y.B.; formal analysis, A.C.; investigation, I.K.; resources, E.R.; data curation, Y.B.; writing—original draft preparation, I.K., Y.B., E.R.; writing—review and editing, A.S., A.C.; visualization, I.K.; supervision, A.S.; project administration, A.C.; funding acquisition, A.S. All authors have read and agreed to the published version of the manuscript.

Funding

The study was supported by a grant from the Russian Science Foundation (project No. 21-71-20050).

Institutional Review Board Statement

The study does not include human or animal research.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data sharing not applicable.

Acknowledgments

The authors would like to acknowledge the administration of Don State Technical University for resource and financial support.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Alekseenko, E.; Roux, B.; Kuznetsov, K. Wind-Induced Resuspension and Transport of Contaminated Sediment from the Rove Canal into the Etang De Berre, France. Water 2022, 14, 62. [Google Scholar] [CrossRef]
  2. MARS. Système de Modélisation de l’Environnement Côtier. Available online: https://wwz.ifremer.fr/mars3d (accessed on 28 July 2022).
  3. Lambert, B.; Weynans, L.; Bergmann, M. Methodology for numerical simulations of ellipsoidal particle-laden flows. Int. J. Num. Meth. Fluids 2020, 92, 855–873. [Google Scholar] [CrossRef]
  4. Huang, C.; Long, T.; Liu, M.B. Coupling finite difference method with finite particle method for modeling viscous incompressible flows. Int. J. Num. Meth. Fluids 2019, 90, 564–583. [Google Scholar] [CrossRef]
  5. Sohrt, V.; Hein, S.S.V.; Nehlsen, E.; Strotmann, T.; Fröhle, P. Model Based Assessment of the Reflection Behavior of Tidal Waves at Bathymetric Changes in Estuaries. Water 2021, 13, 489. [Google Scholar] [CrossRef]
  6. TELEMAC-2D-Two-Dimensional Hydrodynamic. Available online: http://www.opentelemac.org/index.php/presentation?id=17 (accessed on 28 July 2022).
  7. Lo, E.; Shao, S. Simulation of near-shore solitary wave mechanics by an incompressible SPH method. Appl. Ocean Res. 2002, 24, 275–286. [Google Scholar]
  8. Hejazi, K.; Ghavami, A.; Aslani, A. Numerical modeling of breaking solitary wave run up in surf zone using incompressible smoothed particle hydrodinamics (isph). In Proceedings of the Coastal Engineering Conference, Antalya, Turkey, 17–20 November 2016. [Google Scholar]
  9. Iele, B.; Palleschi, F.; Cannata, G.; Gallerano, F. A New Turbulence Model for Breaking Wave Simulations. Water 2022, 14, 2050. [Google Scholar] [CrossRef]
  10. Lin, Y.-C.; Ho, H.-C.; Lee, T.-A.; Chen, H.-Y. Application of Image Technique to Obtain Surface Velocity and Bed Elevation in Open-Channel Flow. Water 2022, 14, 1895. [Google Scholar] [CrossRef]
  11. Sukhinov, A.I.; Chistyakov, A.E.; Alekseenko, E.V. Numerical realization of the three-dimensional model of hydrodynamics for shallow water basins on a high-performance system. Math. Model. Comput. Simul. 2011, 3, 562–574. [Google Scholar] [CrossRef]
  12. Galdi, G.P. An Introduction to the Mathematical Theory of the Navier-Stokes Equations; Springer: New York, NY, USA, 2011. [Google Scholar] [CrossRef]
  13. Hutten, I.M. Handbook of Nonwoven Filter Media; Elsevier: Amsterdam, The Netherlands, 2007. [Google Scholar]
  14. Belotserkovskii, O.M.; Gushchin, V.A.; Kon’shin, V.N. The splitting method for investigating flows of a stratified liquid with a free surface. USSR Comput. Math. Math. Phys. 1975, 15, 190–200. [Google Scholar] [CrossRef]
  15. Sukhinov, A.I.; Chistakov, A.E. Mathematical model for calculating coastal wave processes. Math. Model. Comput. Simulations 2013, 5, 122–129. [Google Scholar] [CrossRef]
  16. Samarskii, A.A. Classes of stable schemes. USSR Comput. Math. Math. Phys. 1967, 7, 171–223. [Google Scholar] [CrossRef]
  17. Landau, L.D.; Lifshits, E.M. Fluid Mechanics (Volume 6 of A Course of Theoretical Physics); Pergamon Press: Oxford, UK, 1959. [Google Scholar]
  18. Samarskiy, A.A.; Vabishchevich, P.N. Numerical Methods for Solving Convection–Diffusion Problems; Editorial URSS: Moscow, Russia, 1999. [Google Scholar]
  19. Wallander, S.V. Lectures on Hydroaeromechanics; Textbook Allowance; Publishing House of Leningrad State University: Leningrad, Russia, 1978. [Google Scholar]
  20. Krasnov, M.M.; Kuchugov, P.A. Discontinuous Galerkin method on three-dimensional tetrahedral meshes. The usage of the operator programming method. Math. Model. Comput. Simul. 2017, 9, 529–543. [Google Scholar] [CrossRef]
  21. Milyukova, O.Y.; Tishkin, V.F. A multigrid method for the heat equation with discontinuous coefficients with the special choice of grids. Math. Model. Comput. Simul. 2016, 8, 118–128. [Google Scholar] [CrossRef]
  22. Gasilov, V.A.; Gasilova, I.V. Difference schemes based on the support operator method for fluids dynamics problems in a collector containing gas hydrates. Comput. Math. Math. Phys. 2015, 55, 1310–1323. [Google Scholar] [CrossRef]
  23. Sukhinov, A.I.; Chistyakov, A.E.; Nikitina, A.V.; Filina, A.A.; Belova, Y.V. Application of high-performance computing for modeling the hydrobiological processes in shallow water. Commun. Comput. Inf. Sci. 2019, 1129, 166–181. [Google Scholar]
Figure 1. Numerical solution of Test Problem I: (a) the case of smooth boundary (the method of cells fullness); (b) the case of a stepped boundary between two media; (c,d) the difference between analytical and numerical solutions of the problem in the case of using partial cell fullness and in the case of a stepped boundary, respectively.
Figure 1. Numerical solution of Test Problem I: (a) the case of smooth boundary (the method of cells fullness); (b) the case of a stepped boundary between two media; (c,d) the difference between analytical and numerical solutions of the problem in the case of using partial cell fullness and in the case of a stepped boundary, respectively.
Mathematics 10 03248 g001aMathematics 10 03248 g001b
Figure 2. The dependences of the error in solving test problem I on the cylinders radius: (a) using the method of cells fullness; (b) the case of a stepped boundary between two media.
Figure 2. The dependences of the error in solving test problem I on the cylinders radius: (a) using the method of cells fullness; (b) the case of a stepped boundary between two media.
Mathematics 10 03248 g002
Figure 3. Numerical solution of the water flow between two coaxial cylinders problem: (a) based on the difference scheme (15); (b) based on the difference schemes (19)–(22); (c) the difference of the velocity vector fields calculated on the basis of the difference scheme (15) and the difference schemes (19)–(22).
Figure 3. Numerical solution of the water flow between two coaxial cylinders problem: (a) based on the difference scheme (15); (b) based on the difference schemes (19)–(22); (c) the difference of the velocity vector fields calculated on the basis of the difference scheme (15) and the difference schemes (19)–(22).
Mathematics 10 03248 g003
Figure 4. Numerical solution of the problem of the transfer of substances between two coaxial cylinders at small grid Péclet numbers: (a) the initial distribution of the concentration field; (b) and (c) the result of calculating the concentration field based on the difference scheme (15) and (19)–(22), respectively.
Figure 4. Numerical solution of the problem of the transfer of substances between two coaxial cylinders at small grid Péclet numbers: (a) the initial distribution of the concentration field; (b) and (c) the result of calculating the concentration field based on the difference scheme (15) and (19)–(22), respectively.
Mathematics 10 03248 g004
Figure 5. Numerical solution of the problem of the transfer of substances between two coaxial cylinders at large grid Péclet numbers: (a) the initial distribution of the concentration field; (b) and (c) the result of calculating the concentration field based on the difference scheme (15) and (19)–(22), respectively.
Figure 5. Numerical solution of the problem of the transfer of substances between two coaxial cylinders at large grid Péclet numbers: (a) the initial distribution of the concentration field; (b) and (c) the result of calculating the concentration field based on the difference scheme (15) and (19)–(22), respectively.
Mathematics 10 03248 g005
Figure 6. The values of the concentration field of suspended particles for different calculated intervals after the moment of unloading the hold: (a) after 15 min; (b) after 30 min; (c) after 1 h; (d) after 2 h.
Figure 6. The values of the concentration field of suspended particles for different calculated intervals after the moment of unloading the hold: (a) after 15 min; (b) after 30 min; (c) after 1 h; (d) after 2 h.
Mathematics 10 03248 g006
Figure 7. Modeling the propagation of suspended particles during soil dumping at different water flow velocities and different time intervals: (a) time interval is 30 min and initial velocity; (b) time interval is 15 min and velocity increased by 2 times; (c) time interval is 6 min and velocity increased by 5 times; (d) time interval is 3 min and velocity increased by 10 times.
Figure 7. Modeling the propagation of suspended particles during soil dumping at different water flow velocities and different time intervals: (a) time interval is 30 min and initial velocity; (b) time interval is 15 min and velocity increased by 2 times; (c) time interval is 6 min and velocity increased by 5 times; (d) time interval is 3 min and velocity increased by 10 times.
Mathematics 10 03248 g007
Figure 8. The software module flow diagram.
Figure 8. The software module flow diagram.
Mathematics 10 03248 g008
Figure 9. Modeling the release (at the initial moment of time) and spread of suspended particles in the aquatic environment: (a,c) suspension concentration after 2 s and 5 s, respectively; (b,d) pressure field after 2 s and 5 s, respectively.
Figure 9. Modeling the release (at the initial moment of time) and spread of suspended particles in the aquatic environment: (a,c) suspension concentration after 2 s and 5 s, respectively; (b,d) pressure field after 2 s and 5 s, respectively.
Mathematics 10 03248 g009
Table 1. Cell fullness function for grid 21 × 11 nodes.
Table 1. Cell fullness function for grid 21 × 11 nodes.
0123456789
00.9830.8820.6770.3620.03000000
111110.8940.3440000
21111110.5890.01000
311111110.58900
4111111110.3440
50.0330.2390.682111110.8940.030
60000.452111110.362
700000.68211110.677
800000.23911110.882
900000.03311110.983
1000000.03311110.983
1100000.23911110.882
1200000.68211110.677
130000.452111110.362
140.0330.2390.682111110.8940.030
15111111110.3440
1611111110.58900
171111110.5890.01000
1811110.8940.3440000
190.9830.8820.6770.3620.03000000
Table 2. Dependence of the approximation error values on the computational grid size.
Table 2. Dependence of the approximation error values on the computational grid size.
Grid Sizes 11 × 21 21 × 41 41 × 81 81 × 161
The maximum error value in the case of a smooth border, m/s0.0530.0520.0580.056
The average error value in the case of a smooth border, m/s0.0230.0120.0060.003
The maximum error value in the case of a stepped boundary, m/s0.2720.7310.7170.75
The average error value in the case of a stepped boundary, m/s0.1650.1320.0690.056
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Sukhinov, A.; Chistyakov, A.; Kuznetsova, I.; Belova, Y.; Rahimbaeva, E. Solving Hydrodynamic Problems Based on a Modified Upwind Leapfrog Scheme in Areas with Complex Geometry. Mathematics 2022, 10, 3248. https://doi.org/10.3390/math10183248

AMA Style

Sukhinov A, Chistyakov A, Kuznetsova I, Belova Y, Rahimbaeva E. Solving Hydrodynamic Problems Based on a Modified Upwind Leapfrog Scheme in Areas with Complex Geometry. Mathematics. 2022; 10(18):3248. https://doi.org/10.3390/math10183248

Chicago/Turabian Style

Sukhinov, Alexander, Alexander Chistyakov, Inna Kuznetsova, Yulia Belova, and Elena Rahimbaeva. 2022. "Solving Hydrodynamic Problems Based on a Modified Upwind Leapfrog Scheme in Areas with Complex Geometry" Mathematics 10, no. 18: 3248. https://doi.org/10.3390/math10183248

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop