Method and device for determining stream function and velocity potential of underlying surface in complex terrain
Through the automatic search method and the harmonic-cosine spectrum expansion perturbation method combined with the Green's function method, the problem of accuracy decline and algorithm failure in the calculation of flow functions and velocity potential under complex terrain is solved, and efficient and accurate calculation of the flow field is achieved.
Patent Information
- Application Number
- CN202211718297.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-29
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2042-12-29
AI Technical Summary
In complex terrain, it is difficult for existing technologies to accurately calculate stream functions and velocity potentials, resulting in reduced flow field accuracy or algorithm failure, especially under irregular boundary conditions.
The automatic search method is used to determine the position information of the inner and outer boundaries of the target area, and the harmonic-cosine spectrum expansion perturbation method is used to split the flow field into average and perturbation components. The Green's function method is combined with the Green's function method to process the data missing area to ensure that the flow function and velocity potential are reliable. solutionability and accuracy.
It improves the accuracy and stability of flow field calculations under complex terrain, solves the problem of algorithm failure caused by irregular boundaries, and ensures that the solvability and accuracy of the flow field are significantly improved.
Smart Images

Figure CN116776060B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the fields of meteorological technology, environmental science technology and marine science technology, and in particular to a method, device, equipment, medium and program product for determining stream function and velocity potential for underlying surfaces with complex terrain. Background Art
[0002] Stream function and velocity potential energy can well reflect the vorticity and divergence characteristics of fluid, and have been widely used in meteorology, environmental science, ocean science and other fields.
[0003] With the substantial improvement in the spatiotemporal resolution of global observation data and the performance of high-performance supercomputers, and the reality that the frequency and intensity of extreme weather and climate events in different regions vary significantly under the background of global warming, there is an urgent need for stream function and velocity potential calculation methods suitable for surfaces on complex terrain in order to solve the problem of significantly reduced accuracy of technologies such as the design of high-resolution regional numerical forecast models for the atmosphere and ocean, early warning of extreme weather and climate events, and quantitative tracking of atmospheric pollutants on surfaces on complex terrain such as urban agglomerations.
[0004] In the related technologies, the finite area stream function and velocity potential algorithm are not suitable for irregular boundary flow fields driven by complex terrain underlying surfaces, and often have problems such as significant decrease in accuracy or algorithm failure. Summary of the invention
[0005] In view of the above problems, the present disclosure provides a method, apparatus, device, medium and program product for determining stream function and velocity potential of a surface underlying complex terrain.
[0006] According to a first aspect of the present disclosure, there is provided a method for determining stream function and velocity potential for underlying surfaces of complex terrain, comprising: determining vorticity and divergence in a target area based on velocities in an observed velocity field;
[0007] Based on the automatic search method, determine the search information and the location information of the discretized grid points where the inner and outer boundaries of the target area are located, wherein the search information includes the number of areas where data are missing;
[0008] Based on the harmonic-cosine spectrum expansion perturbation method, the internal component is determined according to the position information, the vorticity and the divergence, wherein the internal component includes an average component and a perturbation component, the average component includes a stream function average component and a velocity potential average component, and the perturbation component includes a stream function perturbation component and a velocity potential perturbation component;
[0009] The stream function and velocity potential are determined based on the components corresponding to the above-mentioned data-missing area, the above-mentioned internal components and the harmonic components, wherein the components corresponding to the above-mentioned data-missing area are determined by using the Green's function method, the above-mentioned harmonic components are determined by using the harmonic-cosine spectrum expansion method, the components corresponding to the above-mentioned data-missing area include the stream function components and the velocity potential components corresponding to the above-mentioned data-missing area, and the above-mentioned harmonic components include the stream function harmonic components and the velocity potential harmonic components.
[0010] According to an embodiment of the present disclosure, the automatic search method is used to determine the search information and the location information of the discretized grid points where the inner and outer boundaries of the target area are located, including:
[0011] Determine a regular shape area, wherein the regular shape area covers the target area;
[0012] According to a preset rule, searching and determining a first normal speed value point, wherein the first normal speed value point represents a starting point of an outer boundary of the target area;
[0013] Based on the outer boundary starting point, according to the preset rules, searching for the outer boundary point of the target area and recording the position information corresponding to the outer boundary point and the normal component and tangential component of the velocity of the line element corresponding to the outer boundary point, so as to locate the outer boundary of the target area;
[0014] Determine a starting point of the kth data-missing region boundary, wherein the data-missing region boundary represents an inner boundary of the target region, the number of the data-missing regions is K, K is an integer greater than or equal to 0, and k is an integer greater than or equal to 0 and less than or equal to K;
[0015] Record the normal component and tangential component of the velocity of each line element corresponding to the above grid point between the target point and the starting point of the kth boundary of the data-missing area, so as to achieve the connection from the outer boundary to the inner boundary of the above target area, wherein the above target point is determined according to the outer boundary of the above target area and the starting point of the kth boundary of the data-missing area;
[0016] According to the starting point of the boundary of the kth data-missing area, according to the preset rules, the boundary point of the kth data-missing area is searched and the position information corresponding to the boundary point of the kth data-missing area and the normal component and tangential component of the velocity of the line element corresponding to the boundary point of the kth data-missing area are recorded to locate the inner boundary of the target area.
[0017] According to an embodiment of the present disclosure, the harmonic-cosine spectrum expansion perturbation method is used to determine the internal component according to the position information, the vorticity and the divergence, including:
[0018] Determine a vorticity component and a divergence component according to the vorticity, the divergence and the total number of grid points in the target area, wherein the total number of grid points in the target area is determined according to the position information, the vorticity component includes a vorticity mean component and a vorticity disturbance component, and the divergence component includes a divergence mean component and a divergence disturbance component;
[0019] Determine the stream function average component and the velocity potential average component according to the vorticity average component, the divergence average component and the grid point distance, wherein the grid point distance is determined according to the position information;
[0020] The stream function disturbance component and the velocity potential disturbance component are determined according to the vorticity disturbance component, the divergence disturbance component and preset conditions.
[0021] According to an embodiment of the present disclosure, the component corresponding to the data missing area is determined using the Green's function method, including:
[0022] Determining a stream function component corresponding to the kth data-missing area according to the vorticity and the position information corresponding to the boundary point of the kth data-missing area, wherein the number of the data-missing areas is K, K is an integer greater than or equal to 0, and k is an integer greater than or equal to 0 and less than or equal to K;
[0023] Determining the velocity potential component corresponding to the kth data-missing area according to the divergence and the position information corresponding to the boundary point of the kth data-missing area;
[0024] Determining the stream function component corresponding to the data missing area according to the sum of the stream function components corresponding to the K data missing areas;
[0025] The velocity potential component corresponding to the data missing area is determined according to the sum of the velocity potential components corresponding to the K data missing areas.
[0026] According to an embodiment of the present disclosure, the above harmonic components are determined using a harmonic-cosine spectrum expansion method, including:
[0027] Determine the internal component of the stream function according to the average component of the stream function and the disturbance component of the stream function;
[0028] Determine the internal component of the velocity potential according to the velocity potential average component and the velocity potential disturbance component;
[0029] Determine the velocity internal component of the velocity field according to the stream function internal component and the velocity potential internal component;
[0030] Determining a velocity harmonic component on an outer boundary of the target area according to the velocity in the velocity field and the velocity internal component;
[0031] According to the speed harmonic component, the harmonic component is determined.
[0032] According to an embodiment of the present disclosure, determining the stream function and the velocity potential according to the component corresponding to the inner boundary of the target area, the internal component and the harmonic component includes:
[0033] determining the stream function according to the sum of the stream function component corresponding to the boundary within the target area, the average stream function component, the stream function disturbance component and the stream function harmonic component; and
[0034] The velocity potential is determined according to the sum of the velocity potential component corresponding to the inner boundary of the target area, the velocity potential average component, the velocity potential disturbance component and the velocity potential harmonic component.
[0035] The second aspect of the present disclosure provides a stream function and velocity potential determination device for a complex terrain underlying surface, comprising: a first determination module, a second determination module, a third determination module and a fourth determination module. Among them, the first determination module is used to determine the vorticity and divergence in the target area according to the velocity in the observed velocity field. The second determination module is used to determine the search information and the position information of the discretized grid points where the inner and outer boundaries of the above-mentioned target area are located based on the automatic search method, wherein the above-mentioned search information includes the number of data missing areas. The third determination module is used to determine the internal components based on the harmonic-cosine spectrum expansion perturbation method according to the above-mentioned position information, the above-mentioned vorticity and the above-mentioned divergence, wherein the above-mentioned internal components include average components and perturbation components, the above-mentioned average components include stream function average components and velocity potential average components, and the above-mentioned perturbation components include stream function perturbation components and velocity potential perturbation components. The fourth determination module is used to determine the stream function and the velocity potential based on the components corresponding to the above-mentioned data-missing area, the above-mentioned internal components and the harmonic components, wherein the components corresponding to the above-mentioned data-missing area are determined by using the Green's function method, the above-mentioned harmonic components are determined by using the harmonic-cosine spectrum expansion method, the components corresponding to the above-mentioned data-missing area include the stream function components and the velocity potential components corresponding to the above-mentioned data-missing area, and the above-mentioned harmonic components include the stream function harmonic components and the velocity potential harmonic components.
[0036] A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the above method.
[0037] The fourth aspect of the present disclosure also provides a computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the above method.
[0038] The fifth aspect of the present disclosure also provides a computer program product, including a computer program, which implements the above method when executed by a processor.
[0039] According to the method, device, equipment, medium and program product for determining the stream function and velocity potential of the underlying surface of complex terrain provided by the present invention, based on the automatic search method, the position information of the inner and outer boundaries of the target area can be determined, the search efficiency is high, the accuracy is high and it is suitable for irregular inner and outer boundaries of any shape, and the algorithm failure problem caused by the irregular shape of the inner and outer boundaries can be solved. Based on the harmonic-cosine spectrum expansion perturbation method, by determining the perturbation components, any flow field can meet the solvability conditions and solve the problem of significant decrease in accuracy. Finally, according to the components corresponding to the data missing area, the internal components and the harmonic components, the stream function and velocity potential can be determined. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0041] Figure 1 A schematic diagram showing an application scenario of a method, device, equipment, medium, and program product for determining a stream function and velocity potential for a surface under complex terrain according to an embodiment of the present disclosure;
[0042] Figure 2 A flow chart schematically shows a method for determining a stream function and velocity potential for a surface under complex terrain according to an embodiment of the present disclosure;
[0043] Figure 3 A flowchart of an automatic search method according to an embodiment of the present disclosure is schematically shown;
[0044] Figure 4 A schematic diagram schematically shows an automatic search method according to an embodiment of the present disclosure;
[0045] Figure 5 Schematically shows a flow chart of determining internal components based on the HC disturbance method according to an embodiment of the present disclosure;
[0046] Figure 6 A diagram schematically shows an application device of a method for determining a stream function and velocity potential for a surface under complex terrain according to an embodiment of the present disclosure;
[0047] Figure 7 A schematic diagram schematically shows the terrain height and inner boundary of the Qinghai-Tibet Plateau outline embodiment according to an embodiment of the present disclosure;
[0048] Figure 8 A schematic diagram schematically shows the wind field distribution and terrain height in the Yili River Valley area of Xinjiang according to an embodiment of the present disclosure;
[0049] Fig. 9 A schematic diagram showing the distribution of the tangential component and the normal component of the velocity reconstructed along the boundary by the HC method according to an embodiment of the present disclosure and the Green's function mixed HC perturbation method of the present application;
[0050] Fig.10 A structural block diagram of a device for determining stream function and velocity potential for a surface under complex terrain according to an embodiment of the present disclosure is schematically shown; and
[0051] Fig.11 A block diagram of an electronic device suitable for implementing a method for determining a stream function and velocity potential for an underlying surface of complex terrain according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0052] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0053] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0054] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.
[0055] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0056] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision, disclosure and application of user personal information involved comply with the provisions of relevant laws and regulations, take necessary confidentiality measures, and do not violate public order and good morals.
[0057] In the technical solution disclosed in the present invention, the acquisition, collection, storage, use, processing, transmission, provision, disclosure and application of data are in compliance with the provisions of relevant laws and regulations, necessary confidentiality measures are taken, and do not violate public order and good morals.
[0058] In the process of implementing the present disclosure, it is found that complex terrain underlying surfaces and extreme weather and climate events often cause the regular regional flow field to have different degrees of complex forms, which do not meet the solvability conditions. At the same time, complex terrain underlying surfaces often lead to irregular external boundaries of the region, and irregular internal boundaries caused by missing data due to terrain obstruction. However, in the related art, the limited area stream function and velocity potential algorithm are not suitable for complex terrain underlying surfaces. There are problems such as discontinuity of the flow field near the regional boundary, introduction of false weather systems, and a significant decrease in the accuracy of the reconstructed flow field, as well as algorithm failure caused by irregular internal and external boundaries of the region.
[0059] To this end, an embodiment of the present disclosure provides a method for determining a stream function and a velocity potential for a complex terrain underlying surface, comprising: determining the vorticity and the divergence in a target area according to the velocity in the observed velocity field; determining search information and the position information of discretized grid points where the inner and outer boundaries of the target area are located based on an automatic search method, wherein the search information includes the number of data-missing areas; determining internal components based on the position information, the vorticity and the divergence based on a harmonic-cosine spectrum expansion perturbation method, wherein the internal components include average components and perturbation components, the average components include stream function average components and velocity potential average components, and the perturbation components include stream function perturbation components and velocity potential perturbation components; determining the stream function and the velocity potential according to the components corresponding to the data-missing areas, the internal components and the harmonic components, wherein the components corresponding to the data-missing areas are determined using the Green's function method, the harmonic components are determined using the harmonic-cosine spectrum expansion method, the components corresponding to the data-missing areas include the stream function components and the velocity potential components corresponding to the data-missing areas, and the harmonic components include the stream function harmonic components and the velocity potential harmonic components.
[0060] Figure 1 The application scenario diagram for determining the stream function and velocity potential of a surface underlying complex terrain according to an embodiment of the present disclosure is schematically shown.
[0061] like Figure 1 As shown, the application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 is used to provide a medium for a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.
[0062] The user can use the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 through the network 104 to receive or send messages, etc. Various communication client applications can be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).
[0063] The first terminal device 101, the second terminal device 102, and the third terminal device 103 may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.
[0064] The server 105 may be a server that provides various services, such as a background management server (only as an example) that provides support for websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.
[0065] For example, the server 105 can determine the search information and the location information of the discretized grid points where the inner and outer boundaries of the target area are located based on the automatic search method, and determine the internal components based on the harmonic-cosine spectrum expansion perturbation method according to the location information, vorticity and divergence, and determine the stream function and velocity potential based on the components corresponding to the data-missing area, the internal components and the harmonic components.
[0066] It should be noted that the stream function and velocity potential determination method for the underlying surface of complex terrain provided by the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the stream function and velocity potential determination device for the underlying surface of complex terrain provided by the embodiment of the present disclosure can generally be set in the server 105. The stream function and velocity potential determination method for the underlying surface of complex terrain provided by the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105. Accordingly, the stream function and velocity potential determination device for the underlying surface of complex terrain provided by the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105.
[0067] It should be understood that Figure 1The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0068] The following will be based on Figure 1 The scene described by Figure 2 to Figure 9 The method for determining the stream function and velocity potential for a complex terrain underlying surface in the disclosed embodiment is described in detail.
[0069] Figure 2 The flowchart of the method for determining the stream function and velocity potential of a surface underlying complex terrain according to an embodiment of the present disclosure is schematically shown.
[0070] like Figure 2 As shown, the method 200 includes operations S210 to S240.
[0071] In operation S210 , vorticity and divergence in a target region are determined according to the velocity in the observed velocity field.
[0072] According to an embodiment of the present disclosure, the velocity in the velocity field may include a tangential component and a normal component of the velocity. According to the observed tangential component and normal component of the velocity in the velocity field, the vorticity and divergence in the target area may be determined. Alternatively, the vorticity and divergence in the target area may be directly observed.
[0073] In operation S220, based on the automatic search method, the search information and the position information of the discretized grid points where the inner and outer boundaries of the target area are located are determined.
[0074] According to an embodiment of the present disclosure, the search information may include the number of data missing areas. The search information may also include whether the shape of the outer boundary of the target area is regular and whether there is data missing inside the target area. Based on the automatic search method, the outer boundary and the inner boundary of the target area can be located, and the position information of the discretized grid points where the inner and outer boundaries are located and the search information can be determined. The boundary of the data missing area can represent the inner boundary of the target area, and the number of data missing areas is the same as the number of inner boundaries of the target area.
[0075] In operation S230, internal components are determined based on the harmonic-cosine spectrum expansion perturbation method according to the position information, vorticity, and divergence.
[0076] According to an embodiment of the present disclosure, the internal component includes an average component and a disturbance component, the average component includes a stream function average component and a velocity potential average component, and the disturbance component includes a stream function disturbance component and a velocity potential disturbance component.
[0077] According to an embodiment of the present disclosure, the harmonic cosine spectrum expansion (HC) perturbation method can characterize that the flow field can be split into two components, namely, the mean field and the disturbance field, and the internal component can be split into the mean component and the disturbance component, wherein the disturbance component satisfies the solvability condition.
[0078] In operation S240, a stream function and a velocity potential are determined based on the component corresponding to the data missing region, the internal component, and the harmonic component.
[0079] According to an embodiment of the present disclosure, the component corresponding to the data-missing area is determined using the Green's function method, the harmonic component is determined using the harmonic-cosine spectrum expansion method, the component corresponding to the data-missing area includes the stream function component and the velocity potential component corresponding to the data-missing area, and the harmonic component includes the stream function harmonic component and the velocity potential harmonic component.
[0080] According to the embodiments of the present disclosure, based on the automatic search method, the position information of the inner and outer boundaries of the target area can be determined. The search has high efficiency and accuracy and is suitable for irregular inner and outer boundaries of any shape. The algorithm failure problem caused by the irregular shapes of the inner and outer boundaries can be solved. Based on the harmonic-cosine spectrum expansion perturbation method, by determining the perturbation components, any flow field can meet the solvability conditions and solve the problem of significant decrease in accuracy. Finally, according to the components corresponding to the data missing area, the internal components and the harmonic components, the stream function and the velocity potential can be determined.
[0081] Figure 3 The flowchart of the automatic search method according to the embodiment of the present disclosure is schematically shown.
[0082] like Figure 3 As shown, the method 300 includes operations S310 to S360.
[0083] In operation S310, a regular shape area is determined.
[0084] According to an embodiment of the present disclosure, a regular shape area can cover the target area. The regular shape may include a rectangle and a square.
[0085] According to an embodiment of the present disclosure, when the regular shape is a rectangle, a rectangular coordinate system is established with the lower boundary of the rectangular area as the x-axis and the left boundary of the rectangular area as the y-axis.
[0086] According to the embodiment of the present disclosure, a pre-processing technical operation is performed, and the pre-processing technical operation can characterize and determine a regular shape that can completely cover the target area of any shape. For example, in the case where the regular shape is a rectangle, the velocity v of the grid point on the rectangular area that exceeds the target area is recorded e =(U0,V0),U0=V0=999ms-1 Used to mark points outside the target area; record v on the grid point in the kth data missing area e =(U k ,V k ), U k =V k =-k×999ms -1 Used to mark the point in the kth data missing area, where the number of data missing areas is K, K is an integer greater than or equal to 0, and k is an integer greater than or equal to 0 and less than or equal to K; v on other grid points e It is equivalent to the external field velocity vector at the corresponding point of the target area, and the external field velocity vector is obtained based on observation.
[0087] According to an embodiment of the present disclosure, U0 and U k It can represent the speed along the x-axis, V0 and V k It can represent the speed along the y-axis.
[0088] In operation S320, according to a preset rule, a first normal speed value point is searched and determined.
[0089] According to an embodiment of the present disclosure, the first normal speed value point may represent the outer boundary starting point of the target area. The normal speed value point may indicate that the tangential component and the normal component of the speed are not equal to 999ms. -1 It is also not equal to -k×999ms -1 The point, and the tangential component and normal component of the velocity are within ±50ms -1 within the range.
[0090] According to the embodiment of the present disclosure, starting from the vertex of the lower left corner (southwest corner) of the rectangular area, search to the right (east) first until the first normal speed value point is found, and record its position as (i0, j0). If the normal speed value point is still not found after searching to the right (east) until the right boundary (east boundary) of the rectangular area, move one grid point upward (northward) at the left boundary and continue searching to the right until the first normal speed value point is found. The first normal speed value point is the starting point of the outer boundary of the target area, recorded as x l =x0=(x0,y0)=(i0,j0)δ s , where l = 0, δ s It can represent the grid distance, x0 can represent the position coordinate vector of the origin of the established rectangular coordinate system pointing to the outer boundary starting point of the target area, x0 can represent the horizontal coordinate value of the position coordinate vector, and y0 can represent the vertical coordinate value of the position coordinate vector.
[0091] In operation S330, based on the outer boundary starting point and according to preset rules, the outer boundary points of the target area are searched and the position information corresponding to the outer boundary points and the normal component and tangential component of the velocity of the line element corresponding to the outer boundary points are recorded to locate the outer boundary of the target area.
[0092] According to the embodiment of the present disclosure, taking the counterclockwise direction as positive, we start from the outer boundary starting point and search to the right. If we cannot find a point with a normal speed value, we move one grid point upward from the outer boundary starting point and search to the right again. If we find a point with a normal speed value that is close to a point with a speed value of (U0, V0), we determine this point as the second outer boundary point, which is recorded as x l =x1=(x1,y1)=(i1,j1)δ s , where l = 1, and record the average velocity v on the line element s0 = x1-x0 e The normal component and tangential component of s0 can represent the line element corresponding to the starting point of the outer boundary. Starting from the outer boundary point searched each time, move one grid point up or down in the counterclockwise direction, search left or right, repeat the above operation, and record the line element s l =x l+1 -x l The average speed v e When the (l+1)th boundary point found is x0, the outer boundary positioning and search sorting process of the target area is completed.
[0093] According to the embodiment of the present disclosure, starting from the lth boundary point, find the (l+1)th boundary point, that is, (i l+1 ,j l+1 )=(i l ±1,j l ), or (i l+1 ,j l+1 )=(i l ,j l ±1). The position of the point is determined by the gray area, and the x and y positions are determined by i and j. It is a two-dimensional array. The position in the gray area corresponding to the x-axis direction is i. l+1 , the corresponding position on the y-axis is j l+1 .
[0094] According to an embodiment of the present disclosure, the entire outer boundary is continuous, and the distance between the lth boundary point and the (l+1)th boundary point in the l direction is plus 1 or minus 1, (i l+1 ,j l+1 )=(i l +1,j l ) corresponds to the (l+1)th boundary point to the right of the lth boundary point; (i l+1 ,j l+1)=(i l ,j l +1) corresponds to the (l+1)th boundary point being above the lth boundary point; (i l+1 ,j l+1 )=(i l -1,j l ) corresponds to the (l+1)th boundary point to the left of the lth boundary point; (i l+1 ,j l+1 )=(i l ,j l -1) corresponds to the (l+1)th boundary point being below the lth boundary point.
[0095] In operation S340 , a starting point of a boundary of the k-th data missing region is determined.
[0096] According to an embodiment of the present disclosure, the boundary of the data-missing region may represent the inner boundary of the target region, the number of the data-missing regions is K, K is an integer greater than or equal to 0, and k is an integer greater than or equal to 0 and less than or equal to K.
[0097] According to an embodiment of the present disclosure, the first v e =(U k ,V k ), the normal velocity value point immediately below (to the south of) this point is determined as the starting point of the boundary of the data missing area, denoted by x k,0 .
[0098] In operation S350, the normal component and the tangential component of the velocity of each grid point corresponding to the line element between the target point and the starting point of the kth data missing area boundary are recorded to achieve connection from the outer boundary to the inner boundary of the target area.
[0099] According to an embodiment of the present disclosure, the target point is determined based on the outer boundary of the target area and the starting point of the kth data missing area boundary. The target point is found on the outer boundary of the target area at a distance x from the starting point of the data missing area. k,0 The nearest point due south of it.
[0100] According to an embodiment of the present disclosure, the starting point x from the target point upward (northward) to the boundary of the data missing area is recorded. k,0 The average velocity v corresponding to each grid point on the line element e The normal component and tangential component of the target area are used to achieve the connection from the outer boundary to the inner boundary.
[0101] In operation S360, based on the starting point of the boundary of the kth data-missing area and according to preset rules, the boundary point of the kth data-missing area is searched and the position information corresponding to the boundary point of the kth data-missing area and the normal component and tangential component of the velocity of the line element corresponding to the boundary point of the kth data-missing area are recorded to locate the inner boundary of the target area.
[0102] According to the embodiment of the present disclosure, the clockwise direction is positive, starting from the starting point of the data missing area boundary, moving one grid point upward, and then searching to the right, after searching for a normal speed value point and a speed value (U k ,V k ) is close to each other, this point is determined as the second boundary point of the data missing area, denoted by x k,1 , and record the average velocity v on the corresponding line element e The normal component and tangential component of each searched boundary point are moved up or down by one grid point in the clockwise direction, and searched to the left or right. The above operation is repeated until the boundary point of the next data-missing area is searched as the starting point of the boundary of the data-missing area, thus realizing the boundary positioning and search sorting process of the data-missing area, that is, realizing the inner boundary positioning and search sorting process of the target area.
[0103] According to the embodiments of the present disclosure, based on the automatic search method, the position information of the inner and outer boundaries of the target area and the normal component and tangential component of the velocity of the corresponding line element can be determined. The search efficiency is high, the accuracy is high and it is suitable for irregular inner and outer boundaries of any shape. It can solve the problem of algorithm failure caused by irregular shapes of inner and outer boundaries.
[0104] Figure 4 The figure schematically shows a schematic diagram of an automatic search method according to an embodiment of the present disclosure.
[0105] like Figure 4 As shown in the figure, for the outer boundary search process of the target area, starting from the outer boundary starting point of the target area, the outer boundary is determined point by point in the counterclockwise direction as shown by the arrow in the figure. For the inner boundary search process of the target area, starting from the starting point of the boundary of the data missing area, the inner boundary is determined point by point in the clockwise direction as shown by the arrow in the figure.
[0106] Figure 5 The flowchart of determining the internal component based on the HC disturbance method according to an embodiment of the present disclosure is schematically shown.
[0107] like Figure 5 As shown, the method 500 includes operations S510 to S530.
[0108] In operation S510, a vorticity component and a divergence component are determined according to the vorticity, the divergence, and the total number of grid points of the target area.
[0109] According to an embodiment of the present disclosure, the total number of grid points in the target area is determined based on the position information, the vorticity component includes a vorticity mean component and a vorticity disturbance component, and the divergence component includes a divergence mean component and a divergence disturbance component.
[0110] According to an embodiment of the present disclosure, the vorticity is split into a vorticity mean component and a vorticity disturbance component, and the divergence is split into a divergence mean component and a divergence disturbance component, which can be expressed as the following formula (1).
[0111] (ζ,α)=(ζ m ,α m )+(ζ p ,α p ) (1)
[0112] Among them, ζ can represent vorticity, α can represent divergence, ζ m It can represent the average vorticity component, α m can represent the average component of the divergence, ζ p can represent the vorticity disturbance component, α p can represent the divergence disturbance component.
[0113] According to an embodiment of the present disclosure, the vorticity component and the divergence component are determined based on the vorticity, divergence and the total number of grid points in the target area, which can be expressed as the following formulas (2) and (3).
[0114] A m =∑A / (M*N) (2)
[0115] A p =AA m (3)
[0116] Among them, A can represent vorticity or divergence, A m It can represent the corresponding vorticity average component or divergence average component, A p It can represent the corresponding vorticity disturbance component or divergence disturbance component, can represent the total number of grid points in the target area along the axial direction, can represent the total number of grid points in the target area along the y-axis direction, and M*N can represent the total number of grid points in the target area.
[0117] In operation S520, a stream function average component and a velocity potential average component are determined according to the vorticity average component, the divergence average component, and the grid point distance.
[0118] According to an embodiment of the present disclosure, the grid point distance is determined based on the position information.
[0119] According to an embodiment of the present disclosure, the stream function average component and the velocity potential average component are determined based on the vorticity average component, the divergence average component and the grid point distance, which can be expressed as the following formulas (4) and (5).
[0120]
[0121]
[0122] Among them, ψ im It can be expressed as the average component of the stream function, χ im It can be expressed as the average component of velocity potential, s x It can represent the grid distance within the target area along the x-axis, s y It can represent the grid point distance within the target area along the y-axis.
[0123] In operation S530, a stream function disturbance component and a velocity potential disturbance component are determined according to the vorticity disturbance component, the divergence disturbance component and a preset condition.
[0124] According to an embodiment of the present disclosure, the stream function disturbance component and the velocity potential disturbance component satisfy the Poisson equation under the second type of zero-value boundary condition, which can be expressed as the following formulas (6), (7), (8) and (9).
[0125]
[0126]
[0127]
[0128]
[0129] Among them, according to the Stokes and Gauss theorems, it can be proved that compared with the HC method that requires the regional integral (ζ, α) to be approximately equal to zero, formulas (6) to (9) do not have this restriction, meet the solvability conditions, and are theoretically applicable to the calculation of any flow field.
[0130] According to the embodiments of the present disclosure, it can be found from formulas (6) to (9) that, for the disturbance component, the sum of the vorticity disturbance component values of all points inside the outer boundary is equal to 0, and the sum of the divergence disturbance component values of all points inside the outer boundary is equal to 0.
[0131] According to the embodiment of the present disclosure, according to Stokes and Gauss theorems, it is found from formula (6) to formula (9) that (ψ ip ,x ip ) can be expressed as the following formulas (10) and (11).
[0132]
[0133]
[0134] Among them, S can represent the boundary of the target area, and D can represent the target area.
[0135] According to an embodiment of the present disclosure, the left side of formula (10) can represent a circle along the outer boundary of the target area, and the wind speed v at each point on the outer boundary is s Adding them together equals the sum of the vorticity disturbance component values of all points inside the outer boundary represented by the right side of formula (10). The left side of formula (11) can be expressed as a circle along the outer boundary of the target area, and the wind speed v at each point on the outer boundary is n All added together equals the sum of the divergence disturbance component values of all points inside the outer boundary represented by the right side of formula (11).
[0136] According to the embodiments of the present disclosure, based on the harmonic-cosine spectrum expansion perturbation method, the disturbance component can be determined according to the vorticity, divergence and position information, so that any flow field satisfies the solvability conditions, avoiding problems such as discontinuity of the flow field near the regional boundary, introduction of false weather systems, and a significant decrease in the accuracy of reconstructed flow field.
[0137] According to an embodiment of the present disclosure, a component corresponding to a data-missing area is determined using a Green's function method, including: determining a stream function component corresponding to the kth data-missing area based on vorticity and position information corresponding to a boundary point of the kth data-missing area, wherein the number of data-missing areas is, is an integer greater than or equal to 0, and k is an integer greater than or equal to 0 and less than or equal to; determining a velocity potential component corresponding to the kth data-missing area based on divergence and position information corresponding to a boundary point of the kth data-missing area; determining a stream function component corresponding to the data-missing area based on the sum of the stream function components corresponding to the data-missing areas; determining a velocity potential component corresponding to the data-missing area based on the sum of the velocity potential components corresponding to the data-missing areas.
[0138] According to an embodiment of the present disclosure, the component corresponding to the data missing area is determined according to the Green's function method, which can be expressed as the following formulas (12) and (13).
[0139]
[0140]
[0141] Where x can represent the coordinate vector value of the boundary of the kth data missing area determined based on the automatic search method, M can represent the data missing, and ψ Mk (x) can represent the stream function component corresponding to the kth data missing area, χ Mk(x) can represent the velocity potential component corresponding to the kth data missing area, It can represent the stream function components corresponding to the data missing areas, It can represent the velocity potential component corresponding to the data missing area.
[0142] According to the embodiments of the present disclosure, the Green's function method can be used to separately calculate the stream function component and velocity potential component corresponding to the data-missing area caused by terrain obstruction, without being restricted by boundary conditions, and can greatly improve the calculation accuracy.
[0143] According to an embodiment of the present disclosure, the harmonic component is determined by using the harmonic-cosine spectrum expansion method, including: determining the internal component of the stream function based on the average component of the stream function and the disturbance component of the stream function; determining the internal component of the velocity potential based on the average component of the velocity potential and the disturbance component of the velocity potential; determining the velocity internal component of the velocity field based on the internal component of the stream function and the internal component of the velocity potential; determining the velocity harmonic component on the outer boundary of the target area based on the velocity in the velocity field and the velocity internal component; determining the harmonic component based on the velocity harmonic component.
[0144] According to an embodiment of the present disclosure, splitting the internal component into an average component and a disturbance component can be expressed as the following formula (14).
[0145] (ψ i ,x i )=(ψ im ,x im )+(ψ ip ,x ip ) (14)
[0146] Among them, (ψ i ,x i ) can represent the internal component, (ψ im ,x im ) can represent the average component, (ψ ip ,x ip ) can represent the disturbance component, ψ i It can represent the internal component of the stream function, χ i It can represent the internal component of the velocity potential.
[0147] According to an embodiment of the present disclosure, u and v on different boundaries of the rectangular area correspond to different v s and v n Therefore, when a rectangular coordinate system is established with the lower boundary of the rectangular area as the axis and the left boundary of the rectangular area as the axis, on the lower boundary, u corresponds to v s , v corresponds to v n ; On the right boundary, u corresponds to -v n , v corresponds to v s; Walk counterclockwise along the border of the rectangular area, and the direction of the rectangle is v s , perpendicular to v s The one pointing to the center is v n , where v s It can represent the tangential component of velocity, v n can represent the normal component of the velocity, can represent the velocity along the axis direction, and v can represent the velocity along the y-axis direction.
[0148] According to an embodiment of the present disclosure, the velocity internal component of the velocity field can be determined based on the internal component of the stream function and the internal component of the velocity potential, which can be expressed as the following formulas (15) and (16).
[0149]
[0150]
[0151] Among them, u i The internal component of the velocity, v, can be expressed as i The internal component of the velocity that can be used to reconstruct the velocity field.
[0152] According to an embodiment of the present disclosure, the velocity harmonic component on the outer boundary of the target area is determined based on the velocity and the velocity internal component in the velocity field, which can be expressed as the following formulas (17) and (18).
[0153] u h =uu i (17)
[0154] v h =vv i (18)
[0155] Among them, u h It can represent the harmonic component of the velocity on the outer boundary of the target area, v h The harmonic component of the velocity on the outer boundary of the target area can be represented.
[0156] According to an embodiment of the present disclosure, the harmonic component is determined based on the speed harmonic component, which can be expressed as the following formulas (19), (20), (21) and (22).
[0157]
[0158]
[0159]
[0160]
[0161] Among them, ψh can represent the harmonic component of the stream function, and χh can represent the harmonic component of the velocity potential.
[0162] According to an embodiment of the present disclosure, the HC method is used to calculate the harmonic components of the stream function and the velocity potential based on the internal components of the stream function and the internal components of the velocity potential.
[0163] According to an embodiment of the present disclosure, the stream function and velocity potential are determined based on the components corresponding to the inner boundary of the target area, the internal components and the harmonic components, including: determining the stream function based on the sum of the stream function component, the average component of the stream function, the disturbance component of the stream function and the harmonic component of the stream function corresponding to the inner boundary of the target area; and determining the velocity potential based on the sum of the velocity potential component, the average component of the velocity potential, the disturbance component of the velocity potential and the harmonic component of the velocity potential corresponding to the inner boundary of the target area.
[0164] According to an embodiment of the present disclosure, the determined stream function can be expressed as the following formula (23).
[0165]
[0166] Among them, ψ can represent the stream function of the target area.
[0167] According to an embodiment of the present disclosure, the velocity potential can be expressed as the following formula (24).
[0168]
[0169] Among them, χ can represent the velocity potential of the target area.
[0170] According to the embodiments of the present disclosure, the stream function can be determined by summing the stream function component, the average stream function component, the stream function disturbance component and the stream function harmonic component corresponding to the inner boundary of the target area, and the velocity potential can be determined by summing the velocity potential component, the average velocity potential component, the velocity potential disturbance component and the velocity potential harmonic component corresponding to the inner boundary of the target area.
[0171] Figure 6 A diagram schematically shows an application device of a method for determining a stream function and velocity potential for a surface underlying complex terrain according to an embodiment of the present disclosure.
[0172] like Figure 6 As shown, the application device may include I. an input module, VI. an implementation module, II. a preliminary analysis and selection module, III. a calculation module, IV. an accuracy verification module and V. an output module.
[0173] According to the embodiments of the present disclosure, the input module can provide an interactive input interface for the user, and the user can choose between the two modes of self-inputting data and using the embodiment module. If you choose to input data by yourself, then according to the screen prompts, enter the latitude and longitude (or xy axis) range and grid spacing of the target area, vertical and time resolution and number of layers, and u and v component data of the observed flow field in sequence. If you choose the embodiment module, it will automatically jump to the embodiment module.
[0174] According to the embodiment of the present disclosure, the preliminary analysis and selection module enables the device to perform preliminary analysis based on the data information obtained by the input module, analyze whether the target area is regular, whether there is a data missing area, and judge whether the data missing area meets the solvability condition. If the data missing area meets the solvability condition, it can be calculated by the existing technology. The user is provided with a selection scheme of the existing technology and the technical solution of the present disclosure through screen prompts; the user can choose to use the existing HC technology or the Green's function mixed HC perturbation technology of the present disclosure according to personal preferences or the prompts obtained by the preliminary analysis of the device.
[0175] According to the embodiment of the present disclosure, the calculation module can make the system execute the HC technology submodule or the Green's function mixed HC perturbation technology submodule according to the technical solution selected by the user. The calculated value of each step, the calculation accuracy of each step and the CPU (Central Processing Uint) time consumption are output through the screen display, which can be used as a reference indicator of accuracy and calculation efficiency by the user.
[0176] According to the embodiments of the present disclosure, the accuracy verification module can use the vector field accuracy verification index to provide users with two accuracy products for selection, namely text format data and graphic format files. Users can choose according to the screen prompts.
[0177] According to the embodiments of the present disclosure, after the stream function and velocity potential are calculated, the accuracy verification module is used to use the correlation coefficient and root mean square error between vector fields, replacing the corresponding statistics between scalar fields used in the prior art as the accuracy judgment standard. The vector correlation coefficient SCC (Spatial Correlation Coefficient) and the vector root mean square error RRD (Relative Root-mean-square Difference) between the reconstructed wind field and the original wind field in the entire area are examined, rather than expanding or reducing the area.
[0178] According to an embodiment of the present disclosure, the appropriate correlation coefficient can be expressed as the following formula (25).
[0179] SCC(v)=[∑ i,j v′ con(i,j)v′ ori (i,j)][∑ i,j |v′ ori (i,j)| 2 ] -1 / 2 [∑ i,j |v′ con (i,j)| 2 ] -1 / 2 (25)
[0180] According to an embodiment of the present disclosure, the vector root mean square error can be expressed as the following formula (26).
[0181] RRD(v)=[∑ i,j |v con (i,j)-v ori (i,j)| 2 ] 1 / 2 [∑ i,j |v′ ori (i,j)| 2 ] -1 / 2 (26)
[0182] The subscripts con and ori can represent the reconstructed component and the original component respectively, and the superscript ' can represent the removal of the regional average value. The larger the SCC value, the smaller the RRD value, and the higher the accuracy. In the numerical experiment part, SCC ≥ 0.98 and RRD ≤ 0.15 are used as quantitative indicators of high-precision algorithms.
[0183] According to the embodiments of the present disclosure, the output module can provide four products to the user, namely, stream function field, velocity potential field, and reconstructed u and v velocity component fields. Similar to the accuracy verification module, two file formats, data format and graphic format, are provided respectively, and the user can make a choice according to the screen prompts.
[0184] According to an embodiment of the present disclosure, the calculation formula for reconstructing the wind field can be expressed as the following formulas (27), (28) and (29).
[0185] v con =v χ +v ψ (27)
[0186]
[0187]
[0188] in, con can represent the reconstructed velocity component, χ The velocity potential component of the reconstructed wind field can be expressed as ψ The stream function components of the reconstructed wind field can be represented.
[0189] According to the embodiments of the present disclosure, the embodiment module, in order to facilitate new users to master the operation process of the device of the present disclosure, has two sets of embodiment modules and test data embedded, A: Qinghai-Tibet Plateau outline embodiment and B: Different degrees of complex morphological velocity field embodiment, both of which use the existing technology and the technical solution of the present disclosure, with accuracy as an indicator, and output the comparison of the two technical results. At the same time, the module also has an interactive exit for old users to carry out high-level operations such as changing test data and embedding other technical sub-modules. When the test data is changed, the preliminary analysis and selection module will be entered, and when the test data is not changed, the calculation module will be entered.
[0190] Figure 7 A schematic diagram schematically shows the terrain height and inner boundary of the Qinghai-Tibet Plateau outline embodiment according to an embodiment of the present disclosure.
[0191] like Figure 7 Shown are examples of the Qinghai-Tibet Plateau outline with terrain heights exceeding 4000 m (a) and 3000 m (b), and the corresponding inner boundaries identified by the automatic search method (c and d).
[0192] According to the embodiments of the present disclosure, for the extremely complex terrain features of the Qinghai-Tibet Plateau (including Kunlun Mountains, Tianshan Mountains, etc.), the automatic search and positioning boundary solution in the technical solution of the present disclosure is used to automatically search and quickly locate the irregular inner boundaries of the Qinghai-Tibet Plateau on the middle and low-level isobaric surfaces, and it is found that even the complex areas ( Figure 7 c and Figure 7 d) It can also locate irregular boundary conditions well. This embodiment can select other different terrain heights and can also replace other terrain data.
[0193] Figure 8 A schematic diagram schematically shows the wind field distribution and terrain height in the Yili River Valley area of Xinjiang according to an embodiment of the present disclosure.
[0194] like Figure 8 As shown, it is a group B of embodiments, taking a short-term snowstorm process that occurred in the Yili River Valley area of Xinjiang from 06:00 on November 30, 2018 to 08:00 on December 1, 2018 as an example. (a) is the wind field distribution at a height of about 0.5 km above the ground in the Yili River Valley area of Xinjiang at 22:00 on November 30, 2018 (the black frame shows the range of D1, D2, and D3 areas, and the shadow represents the wind speed value, unit: m / s); (b) is the terrain height (unit: m).
[0195] According to the embodiments of the present disclosure, Figure 8 The numerical model (a) shows the 3 km resolution near-surface wind field and Figure 8(b) shows that the size and direction of the flow field in this area are very complex. This is called the actual wind field test, and the three methods are tested to see how well they meet the solvability conditions and the accuracy of the reconstructed wind field in different internal regions (respectively marked as D1, D2 and D3).
[0196] As shown in Table 1, the normalized values and accuracy indicators of the left-hand side terms of the solvability conditions calculated by different methods are shown (bold represents the achieved accuracy indicators).
[0197] Table 1
[0198]
[0199]
[0200] According to the embodiments of the present disclosure, Table 1 shows the degree to which the normalized value of the left end term of the solvability condition (the third and fourth columns) is close to 1. It can be seen that in the three groups of actual wind field tests, the calculation results of the Green's function hybrid HC perturbation method meet the solvability condition to the highest degree, especially when the regional boundary and internal wind field are more complex (tests RealD2 (test of region D2) and RealD3 (test of region D3)). It can be seen from the accuracy indicators shown in the test (the two rightmost columns of Table 1) that the Green's function hybrid HC perturbation method has the highest accuracy and is the only method that meets the accuracy threshold standard in the three groups of actual wind field tests.
[0201] Fig. 9 A schematic diagram showing the distribution of the tangential component and the normal component of the reconstructed velocity along the boundary using the HC method according to an embodiment of the present disclosure and the Green's function mixed HC perturbation method of the present application is shown schematically.
[0202] like Fig. 9 As shown, the original wind fields (dashed lines) of RealD1 (experiment in area D1) (a, b), RealD2 (c, d) and RealD3 (e, f) and the v reconstructed by the three methods s (left column) and v n (Right column) Distribution along the boundary. Three methods can include the successive over-relaxation iteration method, the HC method and the Green's function hybrid HC perturbation method.
[0203] According to the embodiment of the present disclosure, the lines corresponding to the horizontal axis coordinate 198 in (a) are, from top to bottom, the v reconstructed by the Green function mixed HC perturbation method. s The distribution along the boundary, v reconstructed by HC method s Distribution along the boundary, the original wind field of RealD1; (b) The line corresponding to the horizontal coordinate 170, from top to bottom, is the v reconstructed by the successive super-relaxation iteration method n Distribution along the boundary, original wind field of RealD1, v reconstructed by Green's function hybrid HC perturbation method nThe distribution along the boundary, v reconstructed by HC method n Distribution along the boundary; (c) The line corresponding to the horizontal coordinate 45, from top to bottom, is the original wind field of RealD2, and the v reconstructed by the successive super-relaxation iteration method s The distribution along the boundary, v reconstructed by HC method s Distribution along the boundary, Green's function mixed with HC perturbation method to reconstruct v s Distribution along the boundary; (d) The horizontal axis is the line corresponding to 160, from top to bottom are the v reconstructed by the HC method n Distribution along the boundary, Green's function mixed with HC perturbation method to reconstruct v n Distribution along the boundary, original wind field of RealD2, v reconstructed by successive super-relaxation iterations n Distribution along the boundary; (e) The horizontal axis is the line corresponding to 90, from top to bottom, the v reconstructed by successive super-relaxation iterations s The distribution along the boundary, v reconstructed by HC method s Distribution along the boundary, Green's function mixed with HC perturbation method to reconstruct v s Distribution along the boundary, the original wind field of RealD3; (f) The line corresponding to the horizontal axis 115, from top to bottom, is the v reconstructed by the HC method n The distribution along the boundary, v reconstructed by successive super-relaxation iterations n Distribution along the boundary, Green's function mixed with HC perturbation method to reconstruct v n Distribution along the boundary, the original wind field from RealD3.
[0204] According to an embodiment of the present disclosure, Fig. 9 It further shows the similarity between the reconstructed flow field near the boundary by the HC method and the Green's function mixed HC perturbation method and the observed flow field. It can be seen that the reconstructed flow field by the technical solution of the present disclosure (v s ,v n ) in the three regions almost maintains the same distribution trend of the corresponding components of the original flow field (dashed line), and the size and position of the extreme value are also the most accurate. Although the degree of satisfaction of the solvability conditions and the calculation accuracy are slightly reduced in the experiment RealD2, the Green's function hybrid HC perturbation method is still far superior to the existing HC method and the successive super-relaxation iterative method.
[0205] Based on the above-mentioned method for determining stream function and velocity potential for underlying surfaces of complex terrain, the present disclosure also provides a device for determining stream function and velocity potential for underlying surfaces of complex terrain. Fig.10 The device is described in detail.
[0206] Fig.10 The structural block diagram of the device for determining the stream function and velocity potential of a surface underlying complex terrain according to an embodiment of the present disclosure is schematically shown.
[0207] like Fig.10 As shown, the stream function and velocity potential determination device 1000 for a complex terrain underlying surface of this embodiment includes a first determination module 1010 , a second determination module 1020 , a third determination module 1030 and a fourth determination module 1040 .
[0208] The first determination module 1010 is used to determine the vorticity and divergence in the target area according to the velocity in the observed velocity field. In one embodiment, the first determination module 1010 can be used to perform the operation S210 described above, which will not be described in detail here.
[0209] The second determination module 1020 is used to determine the search information and the location information of the discretized grid points where the inner and outer boundaries of the target area are located based on the automatic search method, wherein the search information includes the number of data missing areas. In one embodiment, the second determination module 1020 can be used to perform the operation S220 described above, which will not be repeated here.
[0210] The third determination module 1030 is used to determine the internal component based on the harmonic-cosine spectrum expansion perturbation method according to the position information, vorticity and divergence, wherein the internal component includes an average component and a perturbation component, the average component includes a stream function average component and a velocity potential average component, and the perturbation component includes a stream function perturbation component and a velocity potential perturbation component. In one embodiment, the third determination module 1030 can be used to perform the operation S230 described above, which will not be repeated here.
[0211] The fourth determination module 1040 is used to determine the stream function and the velocity potential according to the component corresponding to the data missing area, the internal component and the harmonic component, wherein the component corresponding to the data missing area is determined by the Green's function method, the harmonic component is determined by the harmonic-cosine spectrum expansion method, the component corresponding to the data missing area includes the stream function component and the velocity potential component corresponding to the data missing area, and the harmonic component includes the stream function harmonic component and the velocity potential harmonic component. In one embodiment, the fourth determination module 1040 can be used to perform the operation S240 described above, which will not be repeated here.
[0212] According to an embodiment of the present disclosure, the second determining module 1020 includes a first determining unit, a first searching unit, a second searching unit, a second determining unit, a recording unit, and a third searching unit.
[0213] The first determining unit is configured to determine a regular shape area, wherein the regular shape area covers the target area.
[0214] The first search unit is used to search and determine a first normal speed value point according to a preset rule, wherein the first normal speed value point represents a starting point of an outer boundary of a target area.
[0215] The second search unit is used to search for the outer boundary points of the target area according to the outer boundary starting point and preset rules, and record the position information corresponding to the outer boundary points and the normal component and tangential component of the velocity of the line element corresponding to the outer boundary points, so as to locate the outer boundary of the target area.
[0216] The second determining unit is used to determine the starting point of the kth data-missing area boundary, wherein the data-missing area boundary represents the inner boundary of the target area, the number of data-missing areas is K, K is an integer greater than or equal to 0, and k is an integer greater than or equal to 0 and less than or equal to K.
[0217] A recording unit is used to record the normal component and the tangential component of the velocity of each grid point corresponding to the line element between the target point and the starting point of the boundary of the k-th data-missing area, so as to realize the connection from the outer boundary to the inner boundary of the target area, wherein the target point is determined according to the outer boundary of the target area and the starting point of the boundary of the k-th data-missing area.
[0218] The third search unit is used to search for the boundary point of the kth data-missing area according to the starting point of the boundary of the kth data-missing area and the preset rules, and record the position information corresponding to the boundary point of the kth data-missing area and the normal component and tangential component of the velocity of the line element corresponding to the boundary point of the kth data-missing area, so as to locate the inner boundary of the target area.
[0219] According to an embodiment of the present disclosure, the third determining module 1030 includes a third determining unit, a fourth determining unit, and a fifth determining unit.
[0220] The third determination unit is used to determine the vorticity component and the divergence component according to the vorticity, divergence and the total number of grid points in the target area, wherein the total number of grid points in the target area is determined based on the position information, the vorticity component includes the vorticity average component and the vorticity disturbance component, and the divergence component includes the divergence average component and the divergence disturbance component.
[0221] The fourth determination unit is used to determine the stream function average component and the velocity potential average component according to the vorticity average component, the divergence average component and the grid point distance, wherein the grid point distance is determined according to the position information.
[0222] The fifth determination unit is used to determine the stream function disturbance component and the velocity potential disturbance component according to the vorticity disturbance component, the divergence disturbance component and preset conditions.
[0223] According to an embodiment of the present disclosure, the fourth determining module 1040 includes a sixth determining unit, a seventh determining unit, an eighth determining unit, and a ninth determining unit.
[0224] The sixth determination unit is used to determine the stream function component corresponding to the kth data-missing area according to the vorticity and the position information corresponding to the boundary point of the kth data-missing area, wherein the number of data-missing areas is K, K is an integer greater than or equal to 0, and k is an integer greater than or equal to 0 and less than or equal to K.
[0225] The seventh determination unit is used to determine the velocity potential component corresponding to the kth data-missing area according to the divergence and the position information corresponding to the boundary point of the kth data-missing area.
[0226] The eighth determination unit is used to determine the stream function component corresponding to the data missing area according to the sum of the stream function components corresponding to the K data missing areas.
[0227] The ninth determining unit is used to determine the velocity potential component corresponding to the data-missing area according to the sum of the velocity potential components corresponding to the K data-missing areas.
[0228] According to an embodiment of the present disclosure, the fourth determining module 1040 further includes a tenth determining unit, an eleventh determining unit, a twelfth determining unit, a thirteenth determining unit, and a fourteenth determining unit.
[0229] The tenth determining unit is used to determine the internal component of the stream function according to the average component of the stream function and the disturbance component of the stream function.
[0230] The eleventh determining unit is used to determine the internal component of the velocity potential according to the average component of the velocity potential and the disturbance component of the velocity potential.
[0231] The twelfth determination unit is used to determine the velocity internal component of the velocity field according to the internal component of the stream function and the internal component of the velocity potential.
[0232] The thirteenth determining unit is used to determine the velocity harmonic component on the outer boundary of the target area according to the velocity and the velocity internal component in the velocity field.
[0233] The fourteenth determining unit is used to determine the harmonic component according to the speed harmonic component.
[0234] According to an embodiment of the present disclosure, the fourth determining module 1040 further includes a fifteenth determining unit and a sixteenth determining unit.
[0235] The fifteenth determination unit is used to determine the stream function according to the sum of the stream function component corresponding to the inner boundary of the target area, the stream function average component, the stream function disturbance component and the stream function harmonic component.
[0236] A sixteenth determination unit is used to determine the velocity potential according to the sum of the velocity potential component corresponding to the inner boundary of the target area, the velocity potential average component, the velocity potential disturbance component and the velocity potential harmonic component.
[0237] According to an embodiment of the present disclosure, any multiple modules of the first determination module 1010, the second determination module 1020, the third determination module 1030, and the fourth determination module 1040 can be combined in one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the first determination module 1010, the second determination module 1020, the third determination module 1030, and the fourth determination module 1040 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware, and firmware or in a suitable combination of any of them. Alternatively, at least one of the first determination module 1010 , the second determination module 1020 , the third determination module 1030 , and the fourth determination module 1040 may be at least partially implemented as a computer program module, and when the computer program module is executed, a corresponding function may be performed.
[0238] Fig.11 A block diagram of an electronic device suitable for implementing a method for determining a stream function and velocity potential for an underlying surface of complex terrain according to an embodiment of the present disclosure is schematically shown.
[0239] like Fig.11 As shown, the electronic device 1100 according to an embodiment of the present disclosure includes a processor 1101, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1102 or a program loaded from a storage part 1108 to a random access memory (RAM) 1103. The processor 1101 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 1101 may also include an onboard memory for caching purposes. The processor 1101 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0240] In RAM 1103, various programs and data required for the operation of electronic device 1100 are stored. Processor 1101, ROM 1102 and RAM 1103 are connected to each other through bus 1104. Processor 1101 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 1102 and / or RAM 1103. It should be noted that the program can also be stored in one or more memories other than ROM 1102 and RAM 1103. Processor 1101 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.
[0241] According to an embodiment of the present disclosure, the electronic device 1100 may further include an input / output (I / O) interface 1105, which is also connected to the bus 1104. The electronic device 1100 may further include one or more of the following components connected to the I / O interface 1105: an input portion 1106 including a keyboard, a mouse, etc.; an output portion 1107 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 1108 including a hard disk, etc.; and a communication portion 1109 including a network interface card such as a LAN card, a modem, etc. The communication portion 1109 performs communication processing via a network such as the Internet. A drive 1110 is also connected to the I / O interface 1105 as needed. A removable medium 1111, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1110 as needed, so that a computer program read therefrom is installed into the storage portion 1108 as needed.
[0242] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0243] According to an embodiment of the present disclosure, a computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus, or a device. For example, according to an embodiment of the present disclosure, a computer-readable storage medium may include the ROM 1102 and / or RAM 1103 described above and / or one or more memories other than ROM 1102 and RAM 1103.
[0244] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the item recommendation method provided by the embodiment of the present disclosure.
[0245] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 1101. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0246] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 1109, and / or installed from a removable medium 1111. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0247] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1109, and / or installed from the removable medium 1111. When the computer program is executed by the processor 1101, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.
[0248] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).
[0249] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0250] It will be appreciated by those skilled in the art that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways without departing from the spirit and teachings of the present disclosure. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0251] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A method for determining stream function and velocity potential for a complex terrain underlying surface, comprising: Determine the vorticity and divergence in the target area based on the velocities in the observed velocity field; Based on the automatic search method, determining search information and location information of discretized grid points where inner and outer boundaries of the target area are located, wherein the search information includes the number of data missing areas; Wherein, the determining of the search information and the location information of the discretized grid points where the inner and outer boundaries of the target area are located based on the automatic search method includes: Determine a regular shape area, wherein the regular shape area covers the target area; According to a preset rule, searching and determining a first normal speed value point, wherein the first normal speed value point represents a starting point of an outer boundary of the target area; According to the outer boundary starting point, in accordance with the preset rule, the outer boundary point of the target area is searched and the position information corresponding to the outer boundary point and the normal component and the tangential component of the velocity of the line element corresponding to the outer boundary point are recorded to locate the outer boundary of the target area; Determine The starting point of the data missing area boundary, wherein the data missing area boundary represents the inner boundary of the target area, and the number of the data missing areas is , is an integer greater than or equal to 0, is greater than or equal to 0 and less than or equal to integer; Record from the target point to the The normal component and tangential component of the velocity of each grid point corresponding to the line element between the starting points of the boundary of the data missing area are calculated to achieve the connection from the outer boundary to the inner boundary of the target area, wherein the target point is based on the outer boundary of the target area and the first The starting point of the boundary of the data missing area is determined; According to The starting point of the boundary of the missing data area is searched according to the preset rules. The boundary points of the data missing area are recorded The location information corresponding to the boundary point of the data missing area and the The normal component and the tangential component of the velocity of the line element corresponding to the boundary point of the data missing area are used to locate the inner boundary of the target area; Based on the harmonic-cosine spectrum expansion perturbation method, the internal component is determined according to the position information, the vorticity and the divergence, wherein the internal component includes an average component and a perturbation component, the average component includes a stream function average component and a velocity potential average component, and the perturbation component includes a stream function perturbation component and a velocity potential perturbation component; Wherein, the harmonic-cosine spectrum expansion perturbation method is based on the position information, the vorticity and the divergence to determine the internal component, including: Determining a vorticity component and a divergence component according to the vorticity, the divergence and the total number of grid points in the target area, wherein the total number of grid points in the target area is determined according to the position information, the vorticity component includes a vorticity mean component and a vorticity disturbance component, and the divergence component includes a divergence mean component and a divergence disturbance component; Determining the stream function average component and the velocity potential average component according to the vorticity average component, the divergence average component and the grid point distance, wherein the grid point distance is determined according to the position information; Determining the stream function disturbance component and the velocity potential disturbance component according to the vorticity disturbance component, the divergence disturbance component and a preset condition; The stream function and the velocity potential are determined according to the components corresponding to the data-missing area, the internal components and the harmonic components, wherein the components corresponding to the data-missing area are determined using the Green's function method, the harmonic components are determined using the harmonic-cosine spectrum expansion method, the components corresponding to the data-missing area include the stream function components and the velocity potential components corresponding to the data-missing area, and the harmonic components include the stream function harmonic components and the velocity potential harmonic components.
2. The method according to claim 1, wherein: The component corresponding to the data missing area is determined using the Green's function method, including: According to the vorticity and The position information corresponding to the boundary point of the data missing area is determined The stream function components corresponding to the data missing areas, where the number of data missing areas is , is an integer greater than or equal to 0, is greater than or equal to 0 and less than or equal to integer; According to the divergence and The position information corresponding to the boundary point of the data missing area is determined The velocity potential component corresponding to the data missing area; According to The sum of the stream function components corresponding to the data missing area is used to determine the stream function component corresponding to the data missing area; According to The velocity potential component corresponding to the data missing area is determined by summing the velocity potential components corresponding to the data missing area.
3. The method according to claim 1, wherein: The harmonic components are determined using a harmonic-cosine spectrum expansion method, including: Determining the internal component of the stream function according to the average component of the stream function and the disturbance component of the stream function; Determining the velocity potential internal component according to the velocity potential average component and the velocity potential disturbance component; Determining the velocity internal component of the velocity field according to the stream function internal component and the velocity potential internal component; determining a velocity harmonic component on an outer boundary of the target area based on the velocity in the velocity field and the velocity internal component; The harmonic component is determined according to the speed harmonic component.
4. The method according to any one of claims 1 to 3, wherein Determining the stream function and the velocity potential according to the component corresponding to the boundary of the target area, the internal component and the harmonic component comprises: determining the stream function according to the sum of the stream function component corresponding to the boundary within the target area, the stream function average component, the stream function disturbance component and the stream function harmonic component; and The velocity potential is determined according to the sum of the velocity potential component corresponding to the inner boundary of the target area, the velocity potential average component, the velocity potential disturbance component and the velocity potential harmonic component.
5. A device for determining stream function and velocity potential for a complex terrain underlying surface, comprising: A first determination module is used to determine the vorticity and divergence in the target area according to the velocity in the observed velocity field; A second determination module is used to determine search information and location information of discretized grid points where inner and outer boundaries of the target area are located based on an automatic search method, wherein the search information includes the number of data missing areas; Wherein, the determining of the search information and the location information of the discretized grid points where the inner and outer boundaries of the target area are located based on the automatic search method includes: Determine a regular shape area, wherein the regular shape area covers the target area; According to a preset rule, searching and determining a first normal speed value point, wherein the first normal speed value point represents a starting point of an outer boundary of the target area; According to the outer boundary starting point, in accordance with the preset rule, the outer boundary point of the target area is searched and the position information corresponding to the outer boundary point and the normal component and the tangential component of the velocity of the line element corresponding to the outer boundary point are recorded to locate the outer boundary of the target area; Determine The starting point of the data missing area boundary, wherein the data missing area boundary represents the inner boundary of the target area, and the number of the data missing areas is , is an integer greater than or equal to 0, is greater than or equal to 0 and less than or equal to integer; Record from the target point to the The normal component and tangential component of the velocity of each grid point corresponding to the line element between the starting points of the boundary of the data missing area are calculated to achieve the connection from the outer boundary to the inner boundary of the target area, wherein the target point is based on the outer boundary of the target area and the first The starting point of the boundary of the data missing area is determined; According to The starting point of the boundary of the missing data area is searched according to the preset rules. The boundary points of the data missing area are recorded The location information corresponding to the boundary point of the data missing area and the The normal component and the tangential component of the velocity of the line element corresponding to the boundary point of the data missing area are used to locate the inner boundary of the target area; A third determination module is used to determine the internal component based on the harmonic-cosine spectrum expansion perturbation method according to the position information, the vorticity and the divergence, wherein the internal component includes an average component and a disturbance component, the average component includes a stream function average component and a velocity potential average component, and the disturbance component includes a stream function disturbance component and a velocity potential disturbance component; Wherein, the harmonic-cosine spectrum expansion perturbation method is based on the position information, the vorticity and the divergence to determine the internal component, including: Determining a vorticity component and a divergence component according to the vorticity, the divergence and the total number of grid points in the target area, wherein the total number of grid points in the target area is determined according to the position information, the vorticity component includes a vorticity mean component and a vorticity disturbance component, and the divergence component includes a divergence mean component and a divergence disturbance component; Determining the stream function average component and the velocity potential average component according to the vorticity average component, the divergence average component and the grid point distance, wherein the grid point distance is determined according to the position information; Determining the stream function disturbance component and the velocity potential disturbance component according to the vorticity disturbance component, the divergence disturbance component and a preset condition; The fourth determination module is used to determine the stream function and the velocity potential according to the component corresponding to the data-missing area, the internal component and the harmonic component, wherein the component corresponding to the data-missing area is determined by using the Green's function method, the harmonic component is determined by using the harmonic-cosine spectrum expansion method, the component corresponding to the data-missing area includes the stream function component and the velocity potential component corresponding to the data-missing area, and the harmonic component includes the stream function harmonic component and the velocity potential harmonic component.
6. An electronic device comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors execute the method according to any one of claims 1 to 4.
7. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, causes the processor to execute the method according to any one of claims 1 to 4.
8. A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.
