Hydraulic erosion simulation method, apparatus, device, and storage medium
By acquiring the state and position information of water droplets, calculating soil changes and slippage, and combining this with vegetation cover information, the problem of poor simulation results in hydraulic erosion was solved, and more accurate landform simulation was achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING FORESTRY UNIVERSITY
- Filing Date
- 2022-05-13
- Publication Date
- 2026-05-01
AI Technical Summary
The complexity of existing water erosion processes leads to poor simulation results of water erosion effects on landforms.
By acquiring the state and position information of water droplets, the amount of soil change is determined, the height difference and soil slippage are calculated, and simulation is performed in conjunction with vegetation cover information.
It improves the accuracy and realism of hydraulic erosion simulation and enhances the simulation effect of landform changes.
Smart Images

Figure CN115099166B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of computer technology, and in particular to a method, apparatus, device and storage medium for simulating hydraulic erosion. Background Technology
[0002] Environmental erosion plays a crucial role in the formation of landforms, and among the many factors of landform erosion, hydraulic erosion has the most significant and widespread impact. Under the influence of precipitation, runoff, and other factors, soil and other surface components are gradually destroyed, eroded, transported, and deposited, thus forming specific landforms. Therefore, the simulation of hydraulic erosion in landforms is widely used in virtual reality, animation, games, and other applications, and is of great significance for realistically reproducing landforms in these scenarios.
[0003] In practical applications, water erosion processes include a series of complex processes such as water infiltration, erosion, transport, and deposition. They are also related to other environmental factors, resulting in poor simulation effects of water erosion on landforms. Summary of the Invention
[0004] This disclosure provides a method, apparatus, device, and storage medium for simulating hydraulic erosion, which addresses the problem of poor simulation results for the hydraulic erosion of landforms due to the complexity of the water erosion process.
[0005] In a first aspect, this disclosure provides a method for simulating hydraulic erosion, including:
[0006] The state information of the water droplet particles and the first position of the water droplet particles are obtained, and the state information includes water content, sand content and flow velocity;
[0007] Based on the status information, determine the amount of soil change at the first location;
[0008] Based on the soil change, determine the height difference between the first location and the adjacent location;
[0009] The amount of soil sliding at the first location is determined based on the height difference;
[0010] Based on the soil change and soil slippage, simulation results for the first location are generated.
[0011] According to embodiments of this disclosure, after obtaining the state information of the water droplet particles, the method further includes:
[0012] Obtain vegetation cover information at the first location;
[0013] The state information of the water droplet particles is updated based on the vegetation cover information.
[0014] According to embodiments of this disclosure, the method further includes:
[0015] Based on the velocity direction of the flow velocity and the gradient direction of the water droplet particle at the first position, the second position of the water droplet particle at the next moment is determined;
[0016] Based on the preset evaporation rate, the state information of the water droplet particles at the second position is updated.
[0017] According to embodiments of this disclosure, the amount of soil change includes a decrease in height;
[0018] Determining the soil change at the first position of the water droplet particle based on the state information includes:
[0019] The erosion shear stress generated by the water droplet particles on the soil at the first location is determined based on the flow velocity.
[0020] The maximum shear strength of the soil at the first location is determined based on the moisture content.
[0021] The erosion rate of the water droplet particle relative to the first position is determined based on the erosion shear stress and the maximum shear resistance.
[0022] The height reduction is determined based on the sand content, erosion rate, and maximum sand content of the water droplet particles.
[0023] According to embodiments of this disclosure, the amount of soil change includes an increase in height;
[0024] Determining the soil change at the first position of the water droplet particle based on the state information includes:
[0025] The deposition rate of the water droplet particles relative to the first position is obtained;
[0026] The increase in height is determined based on the deposition rate and the sand content.
[0027] According to embodiments of this disclosure, the soil change includes a broadening change;
[0028] Determining the soil change at the first position of the water droplet particle based on the state information includes:
[0029] The direction of soil expansion at the first location is determined based on the velocity direction of the flow rate;
[0030] The width of the soil at the first location is determined based on the flow velocity and the moisture content.
[0031] The amount of widening change is determined based on the widening direction and the widening width.
[0032] According to an embodiment of this disclosure, determining the soil slippage amount at the first location based on the height difference includes:
[0033] Obtain the slope value between the first position and the adjacent position;
[0034] When the slope value meets the preset conditions, the soil sliding amount is determined based on the height difference and the horizontal distance between the first position and the adjacent position.
[0035] Secondly, this disclosure provides a hydraulic erosion simulation device, comprising:
[0036] The acquisition module is used to acquire the state information of the water droplet particles and the first position of the water droplet particles. The state information includes water content, sand content and flow velocity.
[0037] The determining module is configured to determine the amount of soil change at the first location based on the status information; determine the height difference between the first location and adjacent locations based on the amount of soil change; and determine the amount of soil slippage at the first location based on the height difference.
[0038] The generation module is used to generate simulation results for the first location based on the soil change and the soil slippage.
[0039] Thirdly, this disclosure provides an electronic device, including: a memory and a processor; wherein, the memory stores executable code, and when the executable code is executed by the processor, the processor performs the hydraulic erosion simulation method as described in the first aspect.
[0040] Fourthly, this disclosure provides a non-transitory machine-readable storage medium storing executable code, which, when executed by a processor of an electronic device, causes the processor to perform the hydraulic erosion simulation method as described in the first aspect.
[0041] In this embodiment, to simulate water erosion, firstly, the state information of water droplet particles, including water content, sediment content, and flow velocity, as well as the first position of the water droplet particles, is acquired. Then, the soil change at the first position is determined based on the state information such as water content, sediment content, and flow velocity. Next, the height of the first position is determined based on the soil change, and the height difference between the first position and adjacent positions is obtained based on this height, thereby determining the soil slippage between the first position and adjacent positions. Finally, the water erosion at the first position can be simulated based on the soil change and soil slippage at the first position. This disclosure improves the simulation effect of water erosion by determining the soil change at the first position using the state information of water droplet particles, determining the soil slippage between the first position and adjacent positions based on the soil change, and finally simulating water erosion at the first position using the soil change and soil slippage.
[0042] These or other aspects of this disclosure will become more apparent in the following description of embodiments. Attached Figure Description
[0043] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0044] Figure 1 A flowchart of a hydraulic erosion simulation method provided in an embodiment of this disclosure.
[0045] Figure 2 A flowchart illustrating a method for determining soil height reduction as provided in an embodiment of this disclosure.
[0046] Figure 3 A flowchart illustrating a method for determining the increase in soil height provided in an embodiment of this disclosure.
[0047] Figure 4 A flowchart illustrating a method for determining the change in channel width provided in an embodiment of this disclosure.
[0048] Figure 5 This is a schematic diagram of an extension direction provided for an embodiment of this disclosure.
[0049] Figure 6 This is a schematic diagram of the structure of a hydraulic erosion simulation device provided in an embodiment of this disclosure.
[0050] Figure 7This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure.
[0051] Figure 8 This is a schematic diagram of the structure of another electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0052] To enable those skilled in the art to better understand the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
[0053] In some of the processes described in this disclosure, the claims, and the accompanying drawings, multiple operations are included in a specific order. However, it should be clearly understood that these operations may not be executed in the order they appear herein, or they may be executed in parallel. The operation numbers, such as 101, 102, etc., are merely used to distinguish different operations and do not represent any execution order. Furthermore, these processes may include more or fewer operations, and these operations may be executed sequentially or in parallel. It should be noted that the descriptions such as "first," "second," etc., in this document are used to distinguish different messages, devices, modules, etc., and do not represent a sequential order, nor do they limit "first" and "second" to different types.
[0054] Topography is a crucial element in the formation of natural landscapes. In applications such as virtual reality, animation, and games, terrain simulation is often necessary to enhance realism. However, terrain is constantly changing due to environmental factors such as water, wind, temperature, and gravity. Among these factors, water erosion has the most significant and widespread impact on landforms. For example, a heavy rainfall or runoff erosion can alter the Earth's surface in a short period.
[0055] However, the process of water erosion involves a series of complex processes such as water infiltration, erosion, transport, and deposition, and is related to many factors such as precipitation, soil texture, vegetation, and topography, resulting in poor simulation of the effects of water erosion on landforms.
[0056] To address the aforementioned technical problems, the core idea of the hydraulic erosion simulation method provided in this disclosure is as follows: First, obtain the state information of water droplet particles, including water content, sediment content, and flow velocity, as well as the first position of the water droplet particles. Then, determine the soil change at the first position based on the state information such as water content, sediment content, and flow velocity of the water droplet particles. Next, determine the height of the first position based on the soil change, and obtain the height difference between the first position and adjacent positions based on this height, thereby determining the soil slippage between the first position and adjacent positions. Finally, simulate the first position after hydraulic erosion based on the soil change and soil slippage at the first position.
[0057] The hydraulic erosion simulation method provided in this disclosure can be executed by a control device, which can be an access terminal device such as a mobile phone, PC, or laptop, or a server. The server can be a physical server or a virtual server. The server can be a physical or virtual server on the user side, or a cloud server.
[0058] The technical solutions of the embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, and not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0059] Figure 1 A flowchart illustrating a hydraulic erosion simulation method provided in this disclosure. Figure 1 As shown, the method includes S101 to S105.
[0060] S101, obtain the state information of the water droplet particles and the first position of the water droplet particles. The state information includes water content, sand content and flow velocity.
[0061] S102, Based on the status information, determine the soil change at the first location.
[0062] S103, determine the height difference between the first location and the adjacent location based on the amount of soil change.
[0063] S104, determine the amount of soil sliding at the first location based on the height difference.
[0064] S105 generates simulation results for the first location based on soil change and soil slippage.
[0065] In the embodiments of this disclosure, for a given moment, the interaction between each water droplet particle in the water body and the ground can be simulated first. Specifically, during water erosion, water droplet particles are the main agents eroding the ground, affecting the soil in their area and causing changes in the landform. Then, by calculating the trajectory of each water droplet particle during its life cycle and the interaction between each water droplet particle and the ground in parallel, the changes in terrain are simulated, thereby simulating the changes in terrain caused by water erosion.
[0066] First, the state information of the water droplet particles and their initial positions are obtained. In this embodiment, the state information of the water droplet particles may include their water content, sand content, flow velocity, and flow direction.
[0067] Based on the state information of the water droplet particles, the amount of soil change at the first location of the water droplet particles can be determined. In this embodiment, the amount of soil change may include the decrease in soil height, the increase in soil height, and the change in ditch widening.
[0068] Specifically, after surface runoff occurs, the flowing runoff will exert shear stress on the surface soil, thereby loosening the surface soil.
[0069] When the sediment content of water droplets in runoff is below the maximum sediment content of water droplets, the runoff erodes the surface soil, stripping away and carrying away some soil, thus reducing the surface soil height. Conversely, when the sediment content of water droplets in runoff exceeds the maximum sediment content of water droplets, the runoff deposits some soil from the water droplets onto the surface soil, thus increasing the surface soil height.
[0070] In addition, erosion of surface soil by runoff creates erosion channels. As the runoff continues to flow, it constantly erodes both sides of the channel. After being eroded to a certain extent, the channel may collapse, causing it to widen laterally. The width of this lateral widening is the change in channel width.
[0071] When the soil at the first location is eroded or deposited, the change in elevation causes a corresponding change in the height difference between the soil at the first location and the adjacent locations. Once the height difference between the soil at the first location and the adjacent locations reaches a certain level, soil sliding will occur.
[0072] In practical applications, after the surface soil at the first location is eroded or deposited, the change in surface soil height will cause the terrain to lose its stable structure. Under the influence of gravity, the surface soil at the first location will begin to slide down to the area adjacent to the first location, or the surface soil in the area adjacent to the first location will slide down to the first location, until the terrain returns to a stable state.
[0073] Specifically, the height difference between the first location and the adjacent locations can be determined based on the amount of soil change. Then, the amount of soil sliding at the first location can be determined based on the height difference.
[0074] After determining the amount of soil change and soil degradation at the first location, the topography and soil changes at the first location can be simulated.
[0075] It should be noted that in actual erosion, if the soil moisture content at the first location is unsaturated, the surface soil will absorb water first, and therefore, runoff cannot occur on the surface. When the soil moisture content reaches saturation, the soil can no longer absorb water, and therefore, runoff occurs on the soil, and erosion begins from this runoff. In other words, erosion occurs when the time for runoff to occur. When the soil moisture content reaches the saturation threshold, that moment is considered the time for runoff to occur.
[0076] The soil moisture content at the time of runoff can be determined according to the following formula (1):
[0077] T e =31.412-2.71T i (1)
[0078] Among them, T e T represents the soil moisture content at the time of runoff. i This represents the initial moisture content of the soil.
[0079] Below, in conjunction with Figures 2 to 4 The soil variation in the embodiments of this disclosure is explained.
[0080] If the sand content of the water droplets does not reach the maximum sand content, the water droplets will have an erosive effect on the soil, stripping some of the soil from the surface and reducing the height of the surface soil. Figure 2 A flowchart illustrating a method for determining soil height reduction according to an embodiment of this disclosure. Figure 2 As shown, the method includes S201 to S204.
[0081] S201, determine the erosion shear stress generated by water droplet particles on the soil at the first location based on the flow velocity.
[0082] S202, determine the maximum shear strength of the soil at the first location based on the moisture content.
[0083] S203, the erosion rate of the water droplet particles relative to the first position is determined based on the erosion shear stress and the maximum shear capacity.
[0084] S204, the height reduction is determined based on the sand content, erosion rate and maximum sand content of water droplet particles.
[0085] In real-world erosion scenarios, the shear stress of water flow is the most critical factor in the erosive effect of runoff on the land surface. Shear stress is the force exerted by water flow on the soil in a parallel direction. Soil is composed of solid particles; under the shear stress of water flow, these particles shift and move, causing some soil material to be stripped away and carried away by the water flow. Simultaneously, the soil develops the ability to resist this stripping effect, known as soil shear resistance.
[0086] First, the erosion shear stress generated by the water droplets on the soil at the first location is determined based on the flow velocity of the water droplets.
[0087] Specifically, the erosion shear stress can be determined according to the following formula (2):
[0088] τ=Kθ n (2)
[0089] Where K = 1 is the shear stress constant; θ is the shear rate; n = 0.5 is the flow behavior index; and τ is the erosion shear stress.
[0090] The shear rate θ can be determined according to the following formula (3):
[0091]
[0092] Where V is the velocity of the water droplet particles; l is the distance between the water droplet particles and the soil surface.
[0093] Then, the maximum shear strength of the soil at the first location is determined based on the water content of the water droplets.
[0094] Specifically, the maximum shear capacity can be determined according to the following formula (4):
[0095]
[0096] Where, τ c denoted as maximum shear capacity; c is the soil cohesion coefficient; ΔR is the shear capacity increment; σ is the normal stress on the shear surface; Angle of repose for soil.
[0097] It should be noted that the increase in shear resistance can include the increase in shear resistance provided by the plant root system, etc.
[0098] The normal stress σ on the shear plane can be determined according to the following formula (5):
[0099]
[0100] Where W represents the water content of the water droplet particles.
[0101] In this embodiment, the soil angle of repose refers to the smallest angle formed between a stationary object on a slope and the horizontal plane when the object is about to slide down the slope. Different soil materials have different angles of repose. Specifically, the soil angle of repose can be determined according to the following formula (6):
[0102]
[0103] in, θ is the soil angle of repose; T is the soil moisture content at the current moment.
[0104] When the erosion shear stress exceeds the soil's maximum shear capacity, the surface soil is eroded. Specifically, the erosion rate of a water droplet relative to its first position can be determined based on the erosion shear stress and the maximum shear capacity. The erosion rate can be determined using the following formula (7):
[0105] ε=K ε (τ-τ c (7)
[0106] Where ε is the erosion rate; K ε τ is the erosion intensity coefficient; τ is the erosion shear stress; τ c This represents the maximum shear resistance.
[0107] Finally, the height reduction is determined based on the sediment content, erosion rate, and maximum sediment content of water droplets. Specifically, the height reduction can be determined according to the following formula (8):
[0108] ΔMe=(M c -M)*ε (8)
[0109] Where ΔMe is the height reduction; M c ε represents the maximum sand content of the water droplet particle; M represents the sand content of the water droplet particle at the current moment; and ε represents the erosion rate.
[0110] It should be noted that the above-mentioned shear stress constant and flow behavior index are only illustrative examples. The shear stress constant, flow behavior index, soil cohesion coefficient, and shear capacity increment can be set according to specific implementation needs.
[0111] If the sand content of the water droplets exceeds the maximum sand content, the water droplets will have a sedimentation effect on the soil, depositing some of the soil from the water droplets onto the surface and increasing the height of the surface soil. Figure 3 A flowchart illustrating a method for determining soil height increase according to an embodiment of this disclosure. Figure 3 As shown, the method includes S301 to S302.
[0112] S301, obtain the deposition rate of water droplet particles relative to the first position.
[0113] S302, the height increase is determined based on the deposition rate and sand content.
[0114] Deposition is a crucial step in the process of water erosion. Deposition refers to the continuous settling of solid particles suspended in water at the Earth's surface. The deposition of sand, gravel, mud, and other materials from water onto the surface leads to an increase in land elevation.
[0115] Specifically, the deposition rate of the water droplet particles relative to the first position can be obtained first, and then the height increase can be determined based on the deposition rate and sand content. The height increase can be determined according to the following formula (9):
[0116] ΔΔd=M*v d (9)
[0117] Where ΔMd is the increase in height; M is the current sediment content of the water droplet particle; v d denoted as deposition rate.
[0118] It should be noted that the above deposition rate can be set according to specific implementation needs.
[0119] The change in channel widening is caused by the continuous scouring of both sides of the channel during the continuous flow of runoff. Figure 4 A flowchart illustrating a method for determining channel widening variation according to an embodiment of this disclosure. Figure 4 As shown, the method includes S401 to S404.
[0120] S401, determine the broadening direction of the soil at the first location based on the velocity direction of the flow rate.
[0121] S402, determine the width of the soil spread at the first location based on the flow velocity and moisture content.
[0122] S403, determine the amount of width change based on the width direction and width.
[0123] First, determine the direction of soil expansion at the first location based on the velocity direction of the flow.
[0124] Specifically, such as Figure 5 As shown, two initial broadening directions N1 and N2 perpendicular to the velocity direction of the water droplet particle can be determined first. Then, based on the current first position P of the water droplet particle... k Determine the position P with respect to the first position. k The eight neighboring regions are then selected. From these eight neighboring regions, the position P with the smallest Euclidean distance (let's say D1) to the widening direction N1 is chosen. N1 The position P with the minimum Euclidean distance (let's say D2) from the direction of expansion N2 is... N2 Finally, the values of D1 and D2 are compared, and the position corresponding to the smaller value is selected as the widening element. The direction corresponding to this widening element is taken as the widening direction. In this embodiment, it is assumed that D1 is less than D2, so the position P... N1 For the element to be expanded, the expansion direction N1 is used as the expansion direction.
[0125] Then, the expansion width of the soil at the first location is determined based on the flow velocity and moisture content. In this embodiment, the expansion width can be determined according to the following formula (10):
[0126] D=k*W*V a (10)
[0127] Where D is the width of the droplet; V is the velocity of the water droplet; W is the water content of the water droplet; k = 1 is the proportionality coefficient; and a = 0.5 is the proportionality coefficient.
[0128] It should be noted that the above proportionality coefficients k and a can be set according to specific implementation needs.
[0129] Finally, the amount of widening variation can be determined based on the widening direction and the widening width. Specifically, the channel width can be extended by the widening width (let's say D) by a distance along the widening direction (N1) in the horizontal space.
[0130] After undergoing processes such as erosion, deposition, and widening, the change in soil height causes the terrain to lose its stable structure. At the same time, under the influence of gravity, the soil will slide between adjacent locations.
[0131] In the actual simulation process, the slope value between the first position and the adjacent position can be obtained first; if the slope value meets the preset conditions, the soil sliding amount can be determined according to the height difference between the first position and the adjacent position and the horizontal distance between the first position and the adjacent position.
[0132] Specifically, the above-mentioned method determines whether the slope value meets the preset conditions, namely, whether the slope value between the first position and the adjacent position is greater than the soil angle of repose at the first position. If the slope value is greater than the soil angle of repose at the first position, the amount of soil sliding is determined based on the height difference and the horizontal distance between the first position and the adjacent position.
[0133] Specifically, the soil sliding amount can be determined according to the following formula (11):
[0134]
[0135] Where ΔMs is the soil sliding amount; ΔH is the height difference between the first position and the adjacent position; and ΔL is the horizontal distance between the first position and the adjacent position. Angle of repose for soil.
[0136] During erosion, the aforementioned soil changes and soil slippage are influenced not only by the state of water droplets but also by vegetation on the soil. Vegetation is a crucial element in the ecosystem, playing a significant role in simulating surface erosion.
[0137] Therefore, after obtaining the state information of the water droplet particles, the vegetation cover information of the first location can also be obtained; then, the state information of the water droplet particles is updated according to the vegetation cover information.
[0138] Specifically, vegetation is rooted in the soil, and its growth depends on soil moisture. Plants also influence and react upon the soil in many ways. For example, influenced by temperature, plants transpire their own internal water while simultaneously absorbing water from the soil for their own growth; plant leaves provide shade, reducing the rate of soil moisture evaporation; and plant roots, anchored in the soil, slightly loosen its internal structure, accelerating water infiltration. Furthermore, plant roots possess soil-stabilizing properties, significantly impacting erosion, deposition, widening, and soil sliding. For instance, plant roots enhance the soil's shear strength to some extent, thus mitigating erosion and widening; during deposition, vegetation can intercept soil particles in surface runoff, ensuring their deposition at the current location; finally, plant roots rooted on slopes, their soil-stabilizing properties also inhibit sliding effects caused by changes in soil stability.
[0139] In addition, vegetation in the soil can intercept solid matter in water droplets, thereby increasing the deposition rate and reducing the maximum sand content of water droplet particles, etc.
[0140] According to embodiments of this disclosure, by introducing the timing of runoff generation, incorporating the effect of channel widening, and considering the role of vegetation, the realism of hydraulic erosion simulation can be improved.
[0141] In the above embodiments, the terrain changes are simulated based on the trajectory of each water droplet particle during its life cycle and the interaction between each water droplet particle and the ground. Since the erosion process is continuous, the state information of each water droplet particle is also constantly changing. To ensure the simulation effect, the second position of the water droplet particle at the next moment can be determined based on the velocity direction of the flow velocity and the gradient direction of the water droplet particle at the first position. Then, based on the preset evaporation rate, the state information of the water droplet particle at the second position is updated.
[0142] By calculating the second position of each water droplet particle in the next moment, the trajectory of each particle can be obtained. Based on preset evaporation rates, the state information of the particles at their second position is updated. Therefore, the entire lifecycle of each water droplet particle can be simulated, thereby improving the effectiveness of hydraulic erosion.
[0143] Figure 6 This is a schematic diagram of the structure of a hydraulic erosion simulation device provided in an embodiment of this disclosure; as shown below. Figure 6 As shown, this embodiment provides a hydraulic erosion simulation device 600, which includes an acquisition module 601, a determination module 602, and a generation module 603.
[0144] The acquisition module 601 is used to acquire the state information of water droplet particles and the first position of the water droplet particles. The state information includes water content, sand content and flow velocity.
[0145] The determining module 602 is used to determine the amount of soil change at a first location based on the status information; determine the height difference between the first location and adjacent locations based on the amount of soil change; and determine the amount of soil sliding at the first location based on the height difference.
[0146] The generation module 603 is used to generate simulation results for the first location based on soil change and soil slip.
[0147] According to an embodiment of this disclosure, after obtaining the state information of the water droplet particles, the acquisition module 601 is further configured to obtain the vegetation cover information of the first location; and update the state information of the water droplet particles according to the vegetation cover information.
[0148] According to an embodiment of this disclosure, the determining module 602 is further configured to determine the second position of the water droplet particle at the next moment based on the velocity direction of the flow velocity and the gradient direction of the water droplet particle at the first position; and update the state information of the water droplet particle at the second position based on a preset evaporation rate.
[0149] According to embodiments of this disclosure, the amount of soil change includes a decrease in height.
[0150] The determining module 602 is further configured to determine the erosion shear stress generated by the water droplet particles on the soil at the first location based on the flow velocity; determine the maximum shear capacity of the soil at the first location based on the water content; determine the erosion rate of the water droplet particles relative to the first location based on the erosion shear stress and the maximum shear capacity; and determine the height reduction based on the sand content, the erosion rate, and the maximum sand content of the water droplet particles.
[0151] According to embodiments of this disclosure, the amount of soil change includes the amount of height increase.
[0152] The determination module 602 is also used to obtain the deposition rate of the water droplet particles relative to the first position; and to determine the height increase based on the deposition rate and the sand content.
[0153] According to embodiments of this disclosure, soil change includes broadening change.
[0154] The determining module 602 is also used to determine the broadening direction of the soil at the first location based on the velocity direction of the flow velocity; determine the broadening width of the soil at the first location based on the flow velocity and water content; and determine the amount of broadening change based on the broadening direction and the broadening width.
[0155] According to an embodiment of this disclosure, the determining module 602 is further configured to obtain the slope value between the first position and the adjacent position; and, if the slope value meets the preset conditions, determine the amount of soil sliding based on the height difference and the horizontal distance between the first position and the adjacent position.
[0156] Figure 6 The aforementioned hydraulic erosion simulation device can perform Figure 1 The implementation principle and technical effects of the hydraulic erosion simulation method described in the illustrated embodiments will not be repeated here. The specific operation methods of each module in the hydraulic erosion simulation device described above have been detailed in the embodiments related to this method, and will not be elaborated upon here.
[0157] In one possible design, the above Figure 6 The structure of the hydraulic erosion simulation device shown can be implemented as an electronic device. For example... Figure 7 As shown, the electronic device 700 may include a processor 701 and a memory 702. The memory 702 stores executable code, which, when executed by the processor 701, enables the processor 701 to perform at least the aforementioned functions. Figure 1 The hydraulic erosion simulation method provided in the illustrated embodiment.
[0158] The control device may also include a communication interface 703 for communicating with other devices.
[0159] Figure 8 A schematic diagram of the structure of another electronic device provided in this disclosure embodiment, such as... Figure 8 As shown, the above-mentioned electronic device 800 may include one or more of the following components: processing component 802, memory 804, power supply component 806, multimedia component 808, audio component 810, input / output (I / O) interface 812, sensor component 814, and communication component 816.
[0160] Processing component 802 typically controls the overall operation of electronic device 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps in methods S101-S105 described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.
[0161] Memory 804 is configured to store various types of data to support the operation of electronic device 800. Examples of this data include instructions for any application or method operating on electronic device 800, contact data, phonebook data, messages, pictures, videos, etc. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0162] Power supply component 806 provides power to various components of electronic device 800. Power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 800.
[0163] Multimedia component 808 includes a screen that provides an output interface between electronic device 800 and user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When electronic device 800 is in an operating mode, such as a shooting mode or video mode, the front-facing camera and / or rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0164] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when electronic device 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
[0165] Input / output interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0166] Sensor assembly 814 includes one or more sensors for providing state assessments of various aspects of electronic device 800. For example, sensor assembly 814 can detect the on / off state of electronic device 800, the relative positioning of components such as the display and keypad of electronic device 800, changes in position of electronic device 800 or a component of electronic device 800, the presence or absence of user contact with electronic device 800, orientation or acceleration / deceleration of electronic device 800, and temperature changes of electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0167] Communication component 816 is configured to facilitate wired or wireless communication between electronic device 800 and other devices. Electronic device 800 can access wireless networks based on communication standards, such as WiFi, 2G, 3G, 4G, or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0168] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0169] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions that can be executed by a processor 820 of an electronic device 800 to perform the above-described method. For example, the non-transitory computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0170] Furthermore, embodiments of this disclosure provide a non-transitory machine-readable storage medium storing executable code. When the executable code is executed by a processor of an electronic device, the processor performs the aforementioned... Figure 1 The hydraulic erosion simulation method provided in the illustrated embodiment.
[0171] The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separate. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0172] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of a necessary general-purpose hardware platform, or by a combination of hardware and software. Based on this understanding, the above technical solutions, in essence or the parts that contribute to this disclosure, can be embodied in the form of a computer product. This disclosure can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0173] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this disclosure, and are not intended to limit them. Although this disclosure has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this disclosure.
Claims
1. A method for simulating hydraulic erosion, characterized in that, include: The state information of the water droplet particles and the first position of the water droplet particles are obtained, and the state information includes water content, sand content and flow velocity; Obtain vegetation cover information at the first location; the vegetation cover information includes information on the impact of plant roots on the soil, and the information on the impact of plant roots on the soil includes information on the soil-fixing properties of plant roots; the information on the soil-fixing properties of plant roots is used to enhance the soil's shear resistance and to suppress the sliding effect caused by changes in the soil's stable structure. The state information of the water droplets is updated based on the vegetation cover information. Based on the status information, determine the amount of soil change at the first location; Based on the soil change, determine the height difference between the first location and the adjacent location; The amount of soil sliding at the first location is determined based on the height difference; Based on the soil change and soil slippage, simulation results for the first location are generated; The soil change includes the broadening change; The change in widening is determined by the lateral widening caused by erosion and collapse on both sides of the gully; determining the soil change at the first position of the water droplet particle based on the state information includes: The direction of soil expansion at the first location is determined based on the velocity direction of the flow rate; The width of the soil at the first location is determined based on the flow velocity and the moisture content. The amount of widening change is determined based on the widening direction and the widening width.
2. The method according to claim 1, characterized in that, The method further includes: Based on the velocity direction of the flow velocity and the gradient direction of the water droplet particle at the first position, the second position of the water droplet particle at the next moment is determined; Based on the preset evaporation rate, the state information of the water droplet particles at the second position is updated.
3. The method according to claim 1, characterized in that, The soil change also includes the decrease in height; The step of determining the soil change at the first position of the water droplet particle based on the state information includes: The erosion shear stress generated by the water droplet particles on the soil at the first location is determined based on the flow velocity. The maximum shear strength of the soil at the first location is determined based on the moisture content. The erosion rate of the water droplet particle relative to the first position is determined based on the erosion shear stress and the maximum shear resistance. The height reduction is determined based on the sand content, erosion rate, and maximum sand content of the water droplet particles.
4. The method according to claim 1, characterized in that, The soil changes also include the increase in height; The step of determining the soil change at the first position of the water droplet particle based on the state information includes: The deposition rate of the water droplet particles relative to the first position is obtained; The increase in height is determined based on the deposition rate and the sand content.
5. The method according to claim 1, characterized in that, Determining the soil slippage amount at the first location based on the height difference includes: Obtain the slope value between the first position and the adjacent position; When the slope value meets the preset conditions, the soil sliding amount is determined based on the height difference and the horizontal distance between the first position and the adjacent position.
6. A hydraulic erosion simulation device, characterized in that, include: The acquisition module is used to acquire the state information of water droplets and the first position of the water droplets, the state information including water content, sediment content, and flow velocity; acquire vegetation cover information at the first position, and update the state information of the water droplets according to the vegetation cover information; the vegetation cover information includes information on the impact of plant roots on the soil, the information on the soil-fixing properties of plant roots; the soil-fixing property information of plant roots is used to enhance the shear resistance of the soil and suppress the sliding effect caused by changes in the soil stability structure. The determination module is used to determine the amount of soil change at the first location based on the status information; Based on the soil change, determine the height difference between the first location and the adjacent location; The amount of soil sliding at the first location is determined based on the height difference; The soil change includes the widening change; the widening change is determined by the lateral widening caused by scouring and collapse on both sides of the gully; the determining module is specifically used to determine the widening direction of the soil at the first location based on the velocity direction of the flow velocity; determine the widening width of the soil at the first location based on the flow velocity and water content; and determine the widening change based on the widening direction and the widening width. The generation module is used to generate simulation results for the first location based on the soil change and the soil slippage.
7. An electronic device, characterized in that, include: A memory and a processor; wherein the memory stores executable code, and when the executable code is executed by the processor, the processor performs the hydraulic erosion simulation method as described in any one of claims 1 to 5.
8. A non-transitory machine-readable storage medium, characterized in that, The non-transitory machine-readable storage medium stores executable code that, when executed by a processor of an electronic device, causes the processor to perform the hydraulic erosion simulation method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Water-sand process calculation method based on layered soil
CN110188476A