A method for calculating surface runoff generation and convergence based on smoothed particle hydrodynamics

Through the meshless method of smooth particle hydrodynamics, the complexity of surface flow calculation and infiltration calculation problems in the existing technology are solved, and efficient and accurate simulation of complex terrain is achieved. It supports rainfall and infiltration calculations and is suitable for Design and operation management of drainage pipe network.

CN114330152BActive Publication Date: 2024-09-13TONGJI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111382206.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-22
Publication Date
2024-09-13
Estimated Expiration
2041-11-22

AI Technical Summary

Technical Problem

Existing surface flow generation and confluence calculation methods rely on grid decomposition, which makes calculations difficult and time-consuming under complex terrain and large deformation conditions, and cannot fully simulate the surface flow generation and convergence process, especially infiltration calculations.

Method used

It uses a meshless method based on smooth particle hydrodynamics to solve integral equations through distributed particles, supports rainfall and infiltration calculations, and achieves a complete simulation of surface flow and flow without the need to establish a grid, which improves calculation efficiency and accuracy. .

Benefits of technology

It realizes the calculation of surface production and confluence in complex terrain scenes, supports infiltration calculation, provides more accurate surface runoff data, reduces modeling costs, improves calculation accuracy and efficiency, and is suitable for drainage pipe network design and operation management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114330152B
    Figure CN114330152B
Patent Text Reader

Abstract

The present invention provides a method for calculating surface runoff based on smooth particle fluid dynamics, including the following steps: initializing calculation conditions, using bottom particles to describe surface information, and using fluid particles to describe surface runoff; calculating acceleration according to the velocity and position of fluid particles at the current moment; calculating the velocity and position of the particle at the next moment according to the acceleration and position of the fluid particle; calculating the density and smooth length of the particle after moving to the new position; calculating the mass of the fluid particle according to the amount of rainfall and infiltration water, and performing momentum correction on the fluid particle; adding fluid particles in the initial state to the upstream area without particle coverage; calculating each time step and outputting the calculation result of surface runoff. The method provided by the present invention does not require the establishment of a grid, and the modeling process is more efficient; it supports rainfall and infiltration calculations, and can more completely simulate the surface runoff process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method for calculating surface runoff generation and convergence, and in particular to a method for calculating surface runoff generation and convergence based on smooth particle fluid dynamics. Background Art

[0002] In recent years, waterlogging has become one of the most common and serious problems in cities. When there is heavy rain or short-term heavy rainfall, the low-lying areas in the city cannot drain water in time, which can easily lead to internal water accumulation and waterlogging. There are two ways to alleviate waterlogging. The first is to control the source and reduce the peak flow of surface runoff. The second is to optimize the urban drainage system and reduce the risk of waterlogging by increasing the collection and discharge capacity of drainage facilities. In the implementation of these two measures, the calculation of surface runoff is the basis, which is directly related to the early design and later operation management.

[0003] The calculation of surface runoff has always been a difficult problem and is difficult to obtain through simple calculations. In order to obtain more reliable calculation results, researchers have conducted computer modeling of the runoff process. These physics-based models use detailed and rigorous physical process descriptions based on the laws of conservation of mass, momentum, and energy. These models can be divided into grid methods and gridless methods based on whether the numerical methods used to solve the nonlinear partial differential equations require grid division.

[0004] 1) Grid method

[0005] Most of the existing distributed runoff physical models adopt this method, such as the European Hydrological System Model (SHE), the Institute of Hydrology Distributed Model (IHDM) in the UK, the THALES model and CSIRO TOPOG-dynamic model in Australia, the comprehensive hydrological model of VanderKwaak and Loague in the United States, and the gridded surface / groundwater hydrological analysis model (GSSHA) of Downer et al. "A surface grid layered modeling method and system" (CN110532641B) proposed a surface grid layering method, which divides the surface structure into several layers of grids, calculates rainfall runoff and intra-layer convergence in each layer of grids, and then calculates inter-layer convergence for each layer of grids with convergence relationship, thereby realizing a true simulation of the physical process of runoff generation and convergence of complex multi-layer structures; "A method for simulating surface runoff and convergence in a watershed based on a stable water flow field" (CN107590354B) proposed the concept of a stable water flow field, established the NS equations under the grid mode, and added a water flow mixing simulation link in the runoff simulation, thereby realizing the establishment of a stable water flow field in the watershed under the grid mode.

[0006] Advantages and Disadvantages: These models have been developed for a long time, are well studied, and can achieve satisfactory analytical results, but the mesh limits their application in many problems. In mesh numerical methods, the prerequisite for numerical simulation is to generate a mesh in the calculation area. For Eulerian mesh methods such as the finite difference method, it is very difficult to construct a regular mesh on a complex geometric shape, and additional mathematical transformations are usually required, which are sometimes even more cumbersome than solving the problem itself. It is also difficult to accurately determine the position of free surfaces, deforming boundaries, moving interfaces, and inhomogeneous materials on a fixed Eulerian mesh. For Lagrangian mesh methods such as the finite volume method, a mesh must be established on the object of study before simulation, and this operation often takes up a lot of computational workload. In Lagrangian mesh-based methods, it is generally necessary to re-divide the mesh when dealing with large deformations. The re-division of the mesh is very cumbersome and time-consuming, and will also lead to errors in the solution.

[0007] 2) Meshless method

[0008] It is precisely because of some limitations of the grid that meshless methods are becoming more and more popular in fluid dynamics research, among which the smoothed particle hydrodynamics (SPH) method is the most widely used. The main idea of ​​this method is to obtain accurate and stable numerical solutions by using any series of distributed particles to solve integral equations or partial differential equations with various boundary conditions. Smoothed particle hydrodynamics (SPH) has been applied in many fields, such as: "CN103729555B-A method and device for simulating the interaction between blood flow and blood vessel wall", "CN107633123B-A method for smooth particle hydrodynamics to simulate bleeding and accelerate treatment", "CN106096215B-A realistic fluid simulation method involving heat conduction and dynamic viscosity", "CN106777662B-An optimization method for aircraft fuel tank oil cross-linking characteristics based on smooth particle hydrodynamics", "CN112069689A-A simulation method and system for aircraft engine fuel atomization characteristics", "CN110569541A-Pipeline water hammer analysis method", "CN106570308A-A gridless particle method for analyzing transient flow in pipelines containing trapped air masses".

[0009] Advantages and Disadvantages: Compared with traditional grid-based methods, SPH has significant advantages in modeling, such as: (1) it does not cause numerical oscillations because there are no nonlinear terms in the governing equations and the mass is completely conserved; (2) it can effectively handle mixed flow states including subcritical, supercritical and subcritical flows; (3) complex surface changes can be easily represented using bottom particles, and no additional treatment is required for dry-wet interfaces. However, there is currently no solution that applies SPH to surface runoff and supports infiltration calculations, so it is impossible to simulate the complete surface runoff process. Summary of the invention

[0010] In view of the above problems existing in the prior art, the present invention provides a surface runoff calculation method based on smooth particle fluid dynamics, which does not require the establishment of a grid and makes the modeling process more efficient; it supports rainfall and infiltration calculations and can more completely simulate the surface runoff process.

[0011] The technical solution of the present invention is as follows:

[0012] A surface runoff calculation method based on smooth particle fluid dynamics includes the following steps:

[0013] S1: Initialize calculation conditions: set the spatial dimension to two dimensions; collect surface information data, use bottom particles to describe the surface information data; use fluid particles to describe the flow field of surface flow generation and convergence, and set the initial state data of the fluid particles; the initial state data of the fluid particles includes mass, smooth length, position and velocity; set the simulation time T; set the simulation step length Δt;

[0014] S2: Calculate the acceleration of the particle according to the state data of the fluid particle at time t; calculate the velocity and position of the particle at time t+Δt according to the state data and acceleration of the particle at time t;

[0015] S3: Calculate the density and smooth length of the fluid particle after it moves to the position at time t+Δt;

[0016] S4: Calculate the mass of the fluid particles at time t+Δt according to the amount of rainfall and infiltration water, and perform momentum correction on the fluid particles;

[0017] S5: partition the calculation area, check whether each partition is covered by particles, and add initial particles to the upstream area without particle coverage; the initial particles refer to the fluid particles in the initial state in step S1;

[0018] S6: Check the total calculation time. If it is greater than the simulation time T, the calculation ends and the calculation result is output. If it is less than the simulation time T, return to S2 and calculate the time t+2×Δt.

[0019] Furthermore, the step S3 includes the following steps:

[0020] S31: Equation 1 listing the density of the fluid particles:

[0021]

[0022] Where m j is the mass of fluid particle j, W i (x j ,h i) is the kernel function formula, h i is the smooth length of fluid particle i, x j is the distance between fluid particles i and j;

[0023] S32: Equation 2 listing the smoothing length of a fluid particle:

[0024]

[0025] Where V 0,i and V i are the initial area and the current area of ​​particle i, respectively, d m The space dimension is 2, h 0,i is the initial smooth length of fluid particle i, h i is the smooth length of fluid particle i at the current moment;

[0026] S33: Equation 1 and Equation 2 are combined to obtain the density and smooth length of the fluid particles through numerical calculation methods.

[0027] Furthermore, the numerical calculation method is the Newton-Raphson iterative method.

[0028] Further, the step S4 includes the following steps:

[0029] S41: Obtain the infiltration quantity d at time t+Δt according to the infiltration model i ;

[0030] S42: Obtain the rainfall d at time t+Δt based on the rainfall data r ;

[0031] S43: According to the rainfall amount d i and the amount of infiltration water d r , calculate the height d′ of the fluid particle at time t+Δt t+Δt :

[0032] d′ t+Δt =d t+Δt +d r -d i

[0033] where d t+Δt is the particle height at time t+Δt without considering rainfall and infiltration; d r is the height of the particles added by rainfall; d i is the height of particles reduced by infiltration;

[0034] S44: Particle height d′ calculated according to step S43 t+Δt , correct the mass, volume, velocity and other data of fluid particles.

[0035] Furthermore, the infiltration model is a Horton infiltration model.

[0036] Furthermore, the step S5 includes the following steps:

[0037] S51: Divide the calculation area into several areas, and divide the area to be studied into grids. The length and width of the grid are Where A0 represents the area of ​​the fluid particle in the initial state;

[0038] S52: After the grid is divided, the position of each particle is marked. Here, it is assumed that the length and width of each particle are Among them A i Indicates the area of ​​the fluid particle in the current state;

[0039] S53: Introduce the eight-direction method to determine the upstream and downstream of the grid, and use the parameter D8 (c i ) to indicate the order of cells in the runoff;

[0040] S54: Find the upstream grid without fluid particles and add initial particles.

[0041] Furthermore, the calculation steps of the eight-direction method are as follows:

[0042] S61: Divide the calculation area into two parts with length and width respectively. The cell of , where A0 represents the area of ​​the fluid particle in the initial state;

[0043] S62: assigning the flow direction of each cell to one of the eight adjacent cells, which may be up, down, left, right, or diagonal, with the flow direction being the direction with the steepest slope;

[0044] S63: Using parameter D8 (c i ) to indicate the order of cells in the runoff. This number indicates how many cells, including the current cell, will have their water flow into the current cell. The calculation formula is as follows:

[0045]

[0046] Among them, c i is the cell in the calculation area, N is the flow direction c i adjacent cells.

[0047] The beneficial effects of the present invention are:

[0048] (1) The method provided by the present invention realizes the calculation of surface runoff generation and convergence by means of a smooth particle hydrodynamic model, which is applicable to various complex terrain scenes and can provide more accurate surface runoff data for drainage network design;

[0049] (2) The method provided by the present invention supports infiltration calculation and can more completely simulate the surface runoff generation and convergence process;

[0050] (3) The method provided by the present invention is based on the numerical method of smooth particle fluid dynamics. Due to its gridless nature, no grid needs to be established during computational simulation, and it has the characteristics of low modeling cost and high practicality.

[0051] (4) The present invention proposes a method of adding initial particles to the particle-free area, which replaces the original particle reconstruction method and can effectively supplement the initial particles to provide support for subsequent rainfall runoff calculations. Compared with the original method, a higher calculation accuracy is achieved with fewer particles, which improves the calculation efficiency and accuracy. The surface runoff data obtained can be timely involved in the operation and management of the drainage network. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Attached Figure 1 It is a flowchart of the present invention;

[0053] Attached Figure 2 is a topographic map of the calculation area of ​​the embodiment;

[0054] Attached Figure 3 is the fluid particle distribution diagram at time t0 (initial state) of the embodiment;

[0055] Attached Figure 4 is a schematic diagram of integrated rainfall and infiltration water volume of an embodiment;

[0056] Attached Figure 5 is a schematic diagram of the change in height and area of ​​fluid particles from time t0 to time t in the embodiment;

[0057] Attached Figure 6 is a fluid particle distribution diagram at time t+Δt in the embodiment;

[0058] Attached Figure 7 is a grid division diagram of a study area of ​​an embodiment;

[0059] Attached Figure 8 is a schematic diagram of the area occupied by the labeled particles of the embodiment;

[0060] Attached Fig. 9 is a schematic diagram of calculating upstream and downstream using the eight-direction method of an embodiment;

[0061] Attached Fig.10 is a fluid particle distribution diagram after adding initial particles at time t+Δt of the embodiment;

[0062] Attached Fig.11 Graph showing calculation results of the embodiment. DETAILED DESCRIPTION

[0063] The following is combined with Figures 1 to 11 , the present invention is described in detail through an embodiment.

[0064] The calculation steps are as follows:

[0065] S1: Initialize the calculation conditions. This step can be divided into 4 steps:

[0066] (1) The spatial dimension is set to two dimensions, i.e., d m =2;

[0067] (2) Collect surface information data and use bottom particles to describe the surface information data. The topographic map of the calculation area is as shown in the attached figure. Figure 2 As shown in the figure, it is a natural terrain of 200m×100m. The terrain is high on the right and low on the left. The initial surface water depth is 0, that is, dry surface conditions. Water can only enter the calculation area in the form of rainfall, and the open boundary is set at the downstream outlet on the left, which is a free outflow.

[0068] The specific parameter values ​​are as follows:

[0069] i. Initial fluid particles

[0070]

[0071] ii. Closed boundary particles

[0072] Particle arrangement interval: 0.5m

[0073] Initial smooth length: 0.6m

[0074] Single particle area: 0.25m 2

[0075] iii. Bottom particles

[0076]

[0077] iv. Horton infiltration parameter

[0078] Initial infiltration rate f0: 1.977×10 -4 m / s

[0079] Soil stable infiltration rate f c : 3.272×10 -5 m / s

[0080] Infiltration attenuation coefficient k: 2.43×10 -3 s -1

[0081] v. Rainfall conditions

[0082] Total rainfall: 75000m3

[0083] Rainfall duration: 250min

[0084] (3) Use fluid particles to describe the flow field of surface flow generation and convergence, and set the initial state data of the fluid particles (including mass, smooth length, position and velocity). The distribution diagram of the fluid particles in the initial state is shown in the attached figure. Figure 3 As shown;

[0085] (4) Set the simulation duration T to 350 minutes and the simulation step Δt to 1 minute.

[0086] S2: According to the position of the fluid particles, find the height and roughness conditions of the corresponding bottom particles, and calculate the acceleration a of the fluid particles at time t i :

[0087]

[0088] where t i =T i / m i , S f,i is the friction source term, which can be calculated by the following formula when the Manning coefficient is known:

[0089]

[0090] where n i is the Manning coefficient of particle i, which can be calculated using SPH interpolation at each time step:

[0091]

[0092] in means that the jth bottom particle is located at The Manning coefficient. i The calculation method comes from the literature: Vacondio R, Rogers BD, Stansby PK, Stansby P K. Accurate particle splitting for smoothed particle hydrodynamics in shallow water with shock capturing [J]. International Journal for Numerical Methods in Fluids, 2012, 69 (8): 1377-1410)

[0093] According to the acceleration a i and the position x of the fluid particle at time t i, calculate the velocity v of the fluid particle at time t+Δt i and position x i .

[0094] S3: Calculate the density and smooth length of the fluid particle after it moves to the position at time t+Δt. This step can be divided into 3 steps:

[0095] (1) Equation 1 lists the density of fluid particles:

[0096]

[0097] Where m j is the mass of fluid particle j, W i (x j ,h i ) is the kernel function formula, h i is the smooth length of fluid particle i, x j is the distance between fluid particles i and j;

[0098] (2) Equation 2 lists the smooth length of the fluid particle:

[0099]

[0100] Where V 0,i and V i are the initial area and the current area of ​​particle i, respectively, d m is the dimension of the space, and its value is d m =2,h 0,i is the initial smooth length of fluid particle i, h i is the smooth length of fluid particle i at the current moment;

[0101] (3) By combining equations 1 and 2, the density and smooth length of the fluid particles at time t+Δt are obtained using the Newton-Raphson iteration method.

[0102] S4: Calculate the mass of the fluid particles at time t+Δt based on the amount of rainfall and infiltration water, and perform momentum correction on the fluid particles. This step can be divided into 4 steps:

[0103] (1) According to the Horton infiltration model, the infiltration amount d at time t+Δt is obtained i .

[0104] (2) Obtain the rainfall d at time t+Δt based on the rainfall data r .

[0105] (3) According to the rainfall amount d i and the amount of infiltration water d r, calculate the height of the fluid particle at time t+Δt. Figure 4 As shown in the figure, the height of the particle needs to add the amount of water added due to rainfall and deduct the amount of infiltration water. The figure uses d r The water column and the i The water columns indicated represent the increase in rainfall and the decrease in infiltration. After taking rainfall into account, the particle height can be calculated using the following formula:

[0106] d′ t+Δt =d t+Δt +d r -d i

[0107] where d t+Δt is the particle height at time t+Δt without considering rainfall and infiltration; d r is the height of the particles added by rainfall; d i is the height of particles reduced by infiltration;

[0108] (4) According to the new particle height d′ t+Δt , correct the mass, volume, velocity and other data of the fluid particles. For the case of infiltration only, there is no need to correct the flow rate, but if there is rainfall, because the raindrops fall and become flowing water, due to the conservation of momentum, the flow rate of each fluid particle will change, and the flow rate of fluid particles of different masses needs to be corrected using the following formula:

[0109] (m+Δm i -Δm f )·v′=(m-Δm f )·v

[0110] Where v′ is the corrected flow velocity, Δm i is the increase in particle mass due to rainfall, Δm f It is the reduction in particle mass caused by infiltration.

[0111] S5: partition the calculation area, check whether each partition is covered by particles, and add initial particles (i.e., fluid particles in the initial state in step S1) to the upstream area without particle coverage. Due to the characteristics of the smooth particle fluid dynamics method, the particles can be set to be uniformly distributed at the beginning (time t0) (e.g., the particles in the upper reaches are covered by particles). Figure 3 As shown in the figure, it can be considered that the study area is covered by particles, so the rainfall at this moment can be well expressed by the change in the mass of the particles.

[0112] As the simulation progresses, the fluid particles will move toward lower terrain areas, where the particles will move closer to each other, shrinking in area and increasing in height (e.g. Figure 5This is as expected, simulating the “confluence” of the “rainfall runoff” process, where the lower the terrain, the greater the water depth.

[0113] However, as the particles move, there will inevitably be a moment when there are no particles in some high-lying areas where rainfall occurs, such as the Figure 6 As shown in the figure, the terrain is higher in the lower right corner of the terrain, and there will be no particles in this area after a period of time. This will affect the simulation of the rainfall process, because the area without particles (ie, the "bare area") has no physical quantity to represent the amount of rainfall.

[0114] In response to this situation, Chang et al. adopted the method of reconstructing particles, that is, reinitializing the positions of fluid particles in each calculation step so that they are evenly distributed in the calculation area (making the particle distribution return to the adjacent Figure 3 This method can ensure that all positions are covered by fluid particles, but it will also cause loss of calculation efficiency and accuracy. In order to improve this, the present invention adds initial particles to the area without particles separately to provide physical quantities for subsequent calculations. The method mainly includes the following steps:

[0115] (1) Divide the calculation area into partitions. First, divide the study area into grids, where the length and width of the grid are both the square root of the initial particle area. As attached Figure 7 shown.

[0116] (2) Mark the actual area occupied by each particle. After the grid is divided, mark the position occupied by each particle, as shown in the following figure. Figure 8 Here, it is assumed that the length and width of each particle are the square root of the current area.

[0117] (3) Distinguish the upstream and downstream areas of the terrain. The eight-direction method is introduced to distinguish the upstream and downstream of the grid, and the parameter D8 (c i ) to indicate the order of cells in the runoff, as shown in the attached Fig. 9 The calculation steps of the eight-direction method are as follows:

[0118] i. Divide the calculation area into two parts with length and width respectively The cell of , where A0 represents the area of ​​the fluid particle in the initial state;

[0119] ii. Assign the flow direction of each cell to one of the eight adjacent cells, which can be up, down, left, right, or diagonal, with the flow direction being the direction with the steepest slope;

[0120] iii. Using parameter D8(c i) to indicate the order of the cell in the runoff. This number indicates how many cells' water will flow into the current cell (including itself). The calculation formula is as follows:

[0121]

[0122] Among them, c i is the cell in the calculation area, N is the flow direction c i adjacent cells.

[0123] After the above processing, each cell will have a corresponding D8 (c i ) value. Based on this, the upstream region can be specified by a threshold variable D8. For example, if D8 = 5, then the initial particles will only be added to D8 (c i )≤5. By doing this, particles can be added only to the specified upstream area, thus avoiding calculation errors.

[0124] (4) Find the upstream grid without fluid particles and add initial particles. After the previous two steps, we can know which grids have no particles. Next, we can add initial particles at the center of the grid. The area of ​​the initial particles is A0. The result after adding the initial particles is shown in the figure below. Fig.10 shown.

[0125] After this treatment, it can be guaranteed to the greatest extent that at the current moment, every area in the study area is covered by particles, and the amount of water increased due to rainfall can be reflected in the model. If this method is used to supplement fluid particles at every time step of the calculation, the accuracy of the results can be guaranteed to the greatest extent. Because this method does not require particle reconstruction, it can theoretically improve the calculation efficiency and accuracy compared with the reconstruction method. At the same time, it is not difficult to find that the accuracy of this method depends on the area of ​​the initial particles. If the area is smaller, the grid division is also smaller, and the accuracy is higher, and vice versa.

[0126] S6: Check the total calculation time. If it is greater than the simulation time T, the calculation ends and the calculation result is output. If it is less than the simulation time T, return to S4 and calculate the time t+2×Δt.

[0127] The final calculation results are shown in the attached Fig.11 The horizontal axis is time, and the vertical axis is the outlet flow and total runoff.

[0128] Although the embodiments of the present invention have been disclosed as above, they are not limited to the applications listed in the specification and implementation modes, and can be fully applicable to various fields suitable for the present invention. For those familiar with the art, for those of ordinary skill in the art, various changes, modifications, substitutions and variations can be made to these embodiments without departing from the principle and spirit of the present invention. Therefore, without departing from the general concept defined by the claims and the scope of equivalents, the present invention is not limited to specific details.

Claims

1. A method for calculating surface runoff generation and convergence based on smoothed particle hydrodynamics. It is characterized in that The steps include: S1: Initialize calculation conditions: set the spatial dimension to two dimensions; collect surface information data, use bottom particles to describe the surface information data; use fluid particles to describe the flow field of surface flow generation and convergence, and set the initial state data of the fluid particles; the initial state data of the fluid particles includes mass, smooth length, position and velocity; set the simulation time T; set the simulation step length Δt; S2: Calculate the acceleration of the particle according to the state data of the fluid particle at time t; calculate the velocity and position of the particle at time t+Δt according to the state data and acceleration of the particle at time t; S3: Calculate the density and smooth length of the fluid particle after it moves to the position at time t+Δt; S4: Calculate the mass of the fluid particles at time t+Δt according to the amount of rainfall and infiltration water, and perform momentum correction on the fluid particles; S5: partition the calculation area, check whether each partition is covered by particles, and add initial particles to the upstream area without particle coverage; The initial particles refer to the fluid particles in the initial state in step S1; S6: Check the total calculation time. If it is greater than the simulation time T, the calculation ends and the calculation result is output. If it is less than the simulation time T, return to S2 and calculate the time t+2×Δt.

2. A surface runoff calculation method based on smoothed particle fluid dynamics according to claim 1, It is characterized in that The step S3 comprises the following steps: S31: Equation 1 listing the density of the fluid particles: Where m j is the mass of fluid particle j, W i (x j ,h i ) is the kernel function formula, h i is the smooth length of fluid particle i, x j is the distance between fluid particles i and j; S32: Equation 2 listing the smoothing length of a fluid particle: Where V 0,i and V i are the initial area and the current area of ​​particle i, respectively, d m The space dimension is 2, h 0,i is the initial smooth length of fluid particle i, h i is the smooth length of fluid particle i at the current moment; S33: Equation 1 and Equation 2 are combined to obtain the density and smooth length of the fluid particles through numerical calculation methods.

3. A surface runoff calculation method based on smoothed particle fluid dynamics according to claim 2, Features: The numerical calculation method is the Newton-Raphson iterative method.

4. The surface runoff calculation method based on smoothed particle fluid dynamics according to claim 1, It is characterized in that The step S4 comprises the following steps: S41: Obtain the infiltration quantity d at time t+Δt according to the infiltration model i ; S42: Obtain the rainfall d at time t+Δt based on the rainfall data r ; S43: According to the rainfall amount d i and the amount of infiltration water d r , calculate the height d′ of the fluid particle at time t+Δt t+Δt : d′ t+Δt =d t+Δt +d r -d i where d t+Δt is the particle height at time t+Δt without considering rainfall and infiltration; d r is the height of the particles added by rainfall; d i is the height of particles reduced by infiltration; S44: Particle height d′ calculated according to step S43 t+Δt , correct the mass, volume, and velocity data of fluid particles.

5. A surface runoff calculation method based on smoothed particle fluid dynamics according to claim 4, Features: The infiltration model is the Horton infiltration model.

6. The surface runoff calculation method based on smoothed particle fluid dynamics according to claim 1, It is characterized in that The step S5 comprises the following steps: S51: Divide the calculation area into several areas, and divide the area to be studied into grids. The length and width of the grid are Among them A 0 represents the area of ​​the fluid particle in the initial state; S52: After the grid is divided, the position of each particle is marked. Here, it is assumed that the length and width of each particle are Among them A i Indicates the area of ​​the fluid particle in the current state; S53: Introduce the eight-direction method to determine the upstream and downstream of the grid, and use the parameter D8 (c i ) to indicate the order of cells in the runoff; S54: Find the upstream grid without fluid particles and add initial particles.

7. A method for calculating surface runoff generation and confluence based on smoothed particle fluid dynamics according to claim 6, It is characterized in that The calculation steps of the eight-direction method are as follows: S61: Divide the calculation area into two parts with length and width respectively. The cell A 0 represents the area of ​​the fluid particle in the initial state; S62: assigning the flow direction of each cell to one of the eight adjacent cells, which may be up, down, left, right, or diagonal, with the flow direction being the direction with the steepest slope; S63: Using parameter D8 (c i ) to indicate the order of cells in the runoff. This number indicates how many cells, including the current cell, will have their water flow into the current cell. The calculation formula is as follows: Among them, c i is the cell in the calculation area, N is the flow direction c i adjacent cells.