Mesh partitioning method, apparatus, and electronic device
By using unstructured mesh generation and local refinement, the problem of mesh capture in complex terrain of wind farms was solved, improving mesh quality and the accuracy of simulation calculations.
Patent Information
- Application Number
- CN202210346340.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-02
- Publication Date
- 2025-11-21
- Estimated Expiration
- 2042-04-02
AI Technical Summary
How to efficiently capture spatial data of complex terrain in wind farms and improve the accuracy and quality of grid generation for CFD research.
An unstructured mesh generation method was adopted, combined with Global Mapper and Pointwise software, to construct a 3D topographic map, set vertical auxiliary lines and boundary layers, and perform local mesh refinement to generate a mesh file suitable for CFD research.
It improves mesh quality and division accuracy, enhances the calculation accuracy of wind farm flow field simulation, and simplifies the operation process.
Smart Images

Figure CN114996986B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of wind power generation technology, and in particular to a grid division method, apparatus and electronic equipment. Background Technology
[0002] Computational Fluid Dynamics (CFD) methods are becoming increasingly superior in the study of fluid flow problems. A crucial step in CFD research is mesh generation of the computational domain, and the quality of the mesh directly impacts the results of CFD simulations. In CFD studies of wind farms, the terrain is highly variable and the computational domain is complex; therefore, how to mesh the wind farm to reflect its topographical characteristics is a pressing issue that needs to be addressed. Summary of the Invention
[0003] In view of this, the purpose of the present invention is to provide a grid division method, apparatus and electronic device that can better capture spatial data of complex terrain, fully reflect the terrain characteristics of wind farms, and improve grid quality and grid division accuracy.
[0004] To achieve the above objectives, the technical solutions adopted in the embodiments of the present invention are as follows:
[0005] In a first aspect, embodiments of the present invention provide a grid division method, comprising: acquiring topographic map data of the area where the wind farm is located, establishing a grid model of the wind farm based on the topographic map data; performing unstructured grid division on the grid model to obtain a wall grid model; constructing a spatial grid model based on the wall grid model, and performing local grid densification on the spatial grid model to obtain a grid file of the wind farm.
[0006] Furthermore, the present invention provides a first possible implementation of the first aspect, wherein the step of establishing a grid model of the wind farm based on the topographic map data includes: constructing a 3D topographic map of the wind farm based on the topographic map data; and identifying the 3D topographic map based on preset grid generation software and generating a grid model of the wind farm.
[0007] Furthermore, this embodiment of the invention provides a second possible implementation of the first aspect, wherein the step of constructing a 3D topographic map of the wind farm based on the topographic map data includes: extracting spatial data from the topographic map data based on a level-of-detail model to generate a three-dimensional topographic visualization model; and extracting a 3D topographic map of the wind farm from the three-dimensional topographic visualization model based on the size of the wind farm.
[0008] Furthermore, the present invention provides a third possible implementation of the first aspect, wherein the step of constructing a spatial grid model based on the wall grid model includes: setting vertical auxiliary lines at the boundary angles of the wind farm area in the wall grid model; generating multiple face grids and a top face grid perpendicular to the ground based on the vertical auxiliary lines and preset grid generation software, thereby obtaining the spatial grid model of the wind farm.
[0009] Furthermore, this embodiment of the invention provides a fourth possible implementation of the first aspect, wherein the formula for calculating the height of the vertical auxiliary line is:
[0010] Z top =(Z max -Z min )*A
[0011] Among them, Z top Z is the height of the vertical auxiliary line. max Z represents the highest elevation of the wind farm terrain. min The lowest elevation of the wind farm terrain is denoted by A, where A is the elevation difference coefficient.
[0012] Furthermore, this embodiment of the invention provides a fifth possible implementation of the first aspect, wherein the altitude difference coefficient A ranges from 5 to 8.
[0013] Furthermore, this embodiment of the invention provides a sixth possible implementation of the first aspect, wherein the step of performing local mesh densification on the spatial mesh model includes: setting a boundary layer for the wall mesh formed by the ground of the wind farm in the spatial mesh to divide the ground of the wind farm into multiple layers of mesh; and performing local mesh densification processing on the turbine locations of each wind turbine in the wall mesh to obtain the mesh file of the wind farm.
[0014] Secondly, embodiments of the present invention also provide a grid division device, comprising: a building module, used to acquire topographic map data of the area where the wind farm is located, and to build a grid model of the wind farm based on the topographic map data; a division module, used to perform unstructured grid division on the grid model to obtain a wall grid model; and a construction module, used to construct a spatial grid model based on the wall grid model, and to perform grid densification on the spatial grid model to obtain a grid file of the wind farm.
[0015] Thirdly, embodiments of the present invention provide an electronic device, including: a processor and a storage device; the storage device stores a computer program, which, when executed by the processor, performs the method as described in any of the first aspects.
[0016] Fourthly, embodiments of the present invention provide a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, performs the steps of the method described in any of the first aspects above.
[0017] This invention provides a mesh generation method, apparatus, and electronic device. The method includes: acquiring topographic map data of the wind farm's location; establishing a mesh model of the wind farm based on the topographic map data; performing unstructured mesh generation on the mesh model to obtain a wall mesh model; constructing a spatial mesh model based on the wall mesh model; and performing local mesh refinement on the spatial mesh model to obtain a mesh file of the wind farm. This invention, by constructing a mesh model based on the wind farm's topographic data and dividing the mesh model into unstructured meshes, can better capture the spatial data of the complex terrain of the wind farm, thus fully reflecting the terrain characteristics of the wind farm and improving mesh quality. By constructing a spatial mesh model and performing mesh refinement processing on the spatial mesh model, a mesh file suitable for wind farm CFD research is output, improving the mesh generation accuracy and calculation accuracy.
[0018] Other features and advantages of the embodiments of the present invention will be set forth in the following description, or some features and advantages may be inferred from the description or determined without doubt, or may be learned by practicing the techniques described above in the embodiments of the present invention.
[0019] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description
[0020] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0021] Figure 1 A flowchart of a mesh generation method provided by an embodiment of the present invention is shown;
[0022] Figure 2 This invention provides a measured topographic map of a wind farm according to an embodiment of the invention.
[0023] Figure 3 This illustration shows a 3D topographic map of a wind farm provided by an embodiment of the present invention;
[0024] Figure 4 This diagram illustrates a wind farm grid model provided in an embodiment of the present invention.
[0025] Figure 5 A schematic diagram of a wall grid provided by an embodiment of the present invention is shown;
[0026] Figure 6 This diagram illustrates a wind farm spatial grid model provided in an embodiment of the present invention.
[0027] Figure 7 This diagram illustrates a spatial grid boundary layer configuration provided by an embodiment of the present invention.
[0028] Figure 8 This diagram illustrates a local grid encryption process provided by an embodiment of the present invention.
[0029] Figure 9 A schematic diagram of a grid division device provided in an embodiment of the present invention is shown. Detailed Implementation
[0030] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be described below in conjunction with the accompanying drawings. Obviously, the described embodiments are some embodiments of the present invention, but not all embodiments.
[0031] Currently, numerous fluid-related phenomena exist in nature and engineering, and all these fluid-related motion processes obey fundamental physical laws such as conservation of mass, momentum, and energy. For fluid flow problems, computational fluid dynamics (CFD) methods are becoming increasingly superior. A crucial step in CFD research is mesh generation of the computational domain. The quality of the mesh directly impacts the results of CFD simulations. Generally, there are three main types of mesh topologies: 1) structured meshes; 2) unstructured meshes; and 3) hybrid meshes.
[0032] Numerical simulation of wind characteristics in wind farms also requires CFD research. However, due to the varied terrain of wind farms, the computational domain becomes very complex after grid generation. In order to better capture the terrain characteristics, how to divide the wind farm into grids becomes a problem that needs to be considered.
[0033] To address the aforementioned problems, embodiments of the present invention provide a mesh generation method, apparatus, and electronic device. This technology can be applied to better capture spatial data of complex terrain, improving mesh quality and mesh generation accuracy. The embodiments of the present invention are described in detail below.
[0034] This embodiment provides a mesh generation method that can be applied to electronic devices such as computers. See [link to documentation]. Figure 1 The flowchart shown illustrates the mesh generation method, which includes the following steps:
[0035] Step S102: Obtain topographic map data of the area where the wind farm is located, and establish a grid model of the wind farm based on the topographic map data.
[0036] The above topographic map data is the measured topographic data of the area where the wind farm is located. The topographic map data includes contour lines and the elevation of each contour line.
[0037] In one implementation, a 3D topographic map of the wind farm is constructed based on the topographic map data. The topographic map data of the wind farm's location is input into a preset map-making software, and the data in the topographic map is extracted based on the preset map-making software to generate a 3D topographic map of the wind farm's location. The preset map-making software can be Global Mapper software.
[0038] Spatial data is extracted from topographic map data based on the level of detail model to generate a 3D topographic visualization model; 3D topographic maps of wind farms are extracted from the 3D topographic visualization model based on the size of the wind farm.
[0039] In the generation and display of 3D topographic maps, the aforementioned Global Mapper software can use Level of Detail (LOD) technology to extract spatial data from topographic map data, generate a three-dimensional topographic visualization model, and then determine the coverage area of the wind farm based on the minimum and maximum values of the X and Y coordinates of each wind turbine location. According to the size and area corresponding to the coverage area of the wind farm, the 3D topographic map of the wind farm is extracted and exported from the generated three-dimensional topographic visualization model. This 3D topographic map can be exported as a *.stl file to facilitate the generation of a mesh model.
[0040] The system uses pre-defined mesh generation software to identify 3D topographic maps and generate a mesh model of the wind farm. The 3D topographic map of the wind farm is imported into the pre-defined mesh generation software, which automatically identifies and generates a mesh model of the wind farm. This pre-defined mesh generation software can be Pointwise software.
[0041] Step S104: Perform unstructured mesh generation on the mesh model to obtain the wall mesh model.
[0042] To better capture the features of the ground model, an unstructured approach is used to mesh the wind farm's grid model. During unstructured meshing, the grid model also needs to be meshed based on the user-input horizontal resolution. The horizontal resolution of the unstructured mesh can be related to the actual area occupied by each wind turbine. For example, if the actual area occupied by each wind turbine foundation is approximately 25m x 25m, the horizontal resolution of the unstructured mesh could be 25m.
[0043] In one embodiment, the aforementioned preset mesh generation software can perform mesh division on the mesh model through an unstructured functional module. When performing unstructured mesh division, the aforementioned preset mesh generation software can automatically obtain the horizontal and elevation data of the wind farm terrain (i.e., the altitude of each contour line) from the mesh model and generate the corresponding wall network model.
[0044] Step S106: Construct a spatial mesh model based on the wall mesh model, and perform local mesh refinement on the spatial mesh model to obtain the mesh file of the wind farm.
[0045] The wall network model formed by the wind farm terrain is further modified with surface meshes perpendicular to the ground and top surface meshes to form a closed spatial network model, facilitating subsequent simulation calculations of the wind farm flow field. Using pre-defined mesh generation software, the wall network formed by the ground in this spatial mesh model is locally refined, generating and outputting recognizable mesh files in Fluent or OpenFOAM formats, thereby improving the accuracy of wind farm flow field simulation calculations.
[0046] The grid division method provided in this embodiment constructs a grid model based on the topographic data of the wind farm and divides the grid model into unstructured grids. This method can better capture the spatial data of complex terrain, thereby fully reflecting the topographic characteristics of the wind farm and improving the grid quality. By constructing a spatial grid model and performing grid densification processing on the spatial grid model, a grid file suitable for wind farm CFD research is output, which improves the grid division accuracy and calculation accuracy.
[0047] In one embodiment, the implementation of constructing a spatial mesh model based on a wall mesh model can be performed by referring to the following steps (1) to (2):
[0048] Step (1): Set vertical auxiliary lines for the boundary corners of the wind farm area in the wall mesh model.
[0049] Four vertical auxiliary lines perpendicular to the ground are generated from the four vertices of the wind farm terrain area in the wall mesh model. The height of these vertical auxiliary lines can be determined based on the highest and lowest elevation lines of the wind farm terrain map.
[0050] In one specific implementation, the formula for calculating the height of the vertical auxiliary line is:
[0051] Z top =(Z max -Z min )*A
[0052] Among them, Z top Z is the height of the vertical auxiliary line. max Z is the highest elevation of the wind farm terrain.min Let A be the lowest elevation of the wind farm terrain, and let A be the elevation difference coefficient. The elevation difference coefficient A ranges from 5 to 8, and A can be an integer.
[0053] Step (2): Based on the vertical auxiliary lines and the preset mesh generation software, generate multiple face meshes perpendicular to the ground and the top face mesh to obtain the spatial mesh model of the wind farm.
[0054] Once the four vertical auxiliary lines of the wind farm terrain area in the wall mesh model are determined, four surface meshes perpendicular to the ground and a surface mesh at the top are generated one by one using the preset mesh generation software.
[0055] In one embodiment, the implementation of local mesh refinement for a spatial mesh model can be performed by referring to steps 1) to 2):
[0056] Step 1): Set boundary layers for the wall grid formed by the ground of the wind farm in the spatial grid to divide the ground of the wind farm into multiple grids.
[0057] Because the generation and dissipation of near-surface turbulence are very dense, the design of the boundary layer is particularly important. In this spatial grid, the ground surface of the wind farm is vertically layered, resulting in multiple grids. The height of the first grid layer can be determined based on the dimensionless coordinate y. + It is determined that in wind farm flow field simulation, the Ke turbulence model based on the Reynolds-averaged Navier-Stokes equations and wall functions are typically used to simulate near-wall flow. + The value range is typically 30 to 300. The height of the first grid layer can be 3 to 6 m, with 4 m being the preferred value. Multiple grid layers are then set upwards based on the first grid layer. The height of each grid layer can be the same as the height of the first grid layer, or a height increase factor greater than 1 can be set so that the height of the grid layers increases sequentially from bottom to top.
[0058] Step 2): Perform local mesh refinement processing on the location of each wind turbine in the wall mesh to obtain the mesh file of the wind farm.
[0059] Based on the pre-defined mesh generation software, local densification can be applied to any space within the spatial mesh. Since the aforementioned wall mesh is a mesh model formed by the wind farm's terrain, densification is applied to the mesh at the turbine locations (the areas occupied by each turbine location) within the wall mesh. This improves the accuracy of subsequent wind farm flow field simulation results and avoids the increased computational complexity that would result from densifying all meshes in the spatial network. The aforementioned wind farm mesh file can be a Fluent or OpenFOAM-compatible mesh file, allowing for subsequent CFD simulation calculations based on this mesh file.
[0060] The mesh generation method provided in this embodiment uses both Global Mapper and Pointwise software to perform mesh generation on wind farms, which is simple to operate. By using unstructured meshes, spatial data of complex terrain can be better captured, improving mesh quality. Based on boundary layer and local area densification processing, the accuracy of wind farm simulation (such as wind speed simulation and air pressure simulation and other flow field simulations) can be improved. It can output mesh files applicable to various CFD software, making it highly versatile.
[0061] Based on the foregoing embodiments, this embodiment provides an example of applying the aforementioned mesh generation method to perform mesh generation on a wind farm in China. The specific steps are as follows:
[0062] Step 1: Obtain the original topographic map data of the area where the wind farm is located.
[0063] See also Figure 2 The map shown is a measured topographic map of the wind farm. Figure 2 The rectangular area in the map is a measured topographic map of the wind farm. The map shows the contour lines and their corresponding altitudes. The highest precision point in the map shows an altitude difference of 5m between adjacent contour lines.
[0064] Step 2: Import the original topographic map data into Global Mapper software, use LOD technology to extract the spatial data of the measured topographic map, and generate a three-dimensional topographic visualization model.
[0065] Based on the minimum and maximum X and Y coordinates of each wind turbine location, the approximate coverage area of the wind farm can be estimated. Following the coverage area of a domestic wind farm mentioned above, a topographic map of an 8km x 8km area was selected to obtain a 3D topographic map of the wind farm. This 3D topographic map was then exported in *.stl format. (See also...) Figure 3 The diagram shows a 3D topographic map of a wind farm in China.
[0066] Step 3: Directly import the 3D topographic map of the wind farm in *.stl format into Pointwise software (mesh generation software) to generate the mesh model of the wind farm.
[0067] See also Figure 4 The diagram shows a wind farm grid model. Figure 4 The image shows a mesh model of a wind farm generated from a 3D topographic map of the aforementioned domestic wind farm.
[0068] Step 4: Use a Pointwise unstructured method to mesh the wind farm's grid model and generate wall meshes.
[0069] Since the actual area occupied by each wind turbine foundation in the aforementioned domestic wind farm is approximately 25m x 25m, a horizontal resolution of 25m is recommended for the unstructured mesh. Pointwise's unstructured mesh module can automatically acquire the terrain's horizontal and elevation data and generate the corresponding wall mesh. (See example...) Figure 5 The diagram shown is a schematic of the wall mesh. Figure 5 The image shows the wall mesh generated after dividing the grid model of the wind farm into an unstructured grid.
[0070] Step 5: Construct a spatial grid model of the wind farm based on the wall grid of the wind farm.
[0071] Four vertical auxiliary lines are generated from the four vertices of the wind farm terrain. The height of the auxiliary lines can be determined by referring to the lowest and highest elevations on the topographic map. top =(Z max -Z min )*A, Z top Z is the height of the vertical auxiliary line. max Z is the highest elevation of the wind farm terrain. min Let A be the lowest elevation of the wind farm terrain, and A be the elevation difference coefficient (which can be an integer between 5 and 8). After rounding the calculation of the auxiliary line height for a domestic wind farm, the height of the auxiliary line is found to be 5000m. Once the four auxiliary lines are determined, the Pointwise non-mesh tool can be used to automatically generate four vertical surface meshes and a top surface mesh, resulting in a wind farm spatial mesh model as shown below. Figure 6 As shown.
[0072] Step 6: Set the boundary layer based on the spatial grid model.
[0073] Because the generation and dissipation of turbulence near the ground are very dense, the design of the boundary layer is particularly important. Among these settings, determining the height of the first mesh layer becomes a representative parameter setting. This height can be determined using the dimensionless coordinate y-axis. + Confirmed. In wind farm flow field simulation, the Ke turbulence model based on the Reynolds-averaged Navier-Stokes equations and wall functions are typically used to simulate near-wall flow. + The value ranges from 30 to 300. In the aforementioned wind farm, the height of the first grid layer can be 4 meters. See below. Figure 7 The diagram shown illustrates the spatial grid boundary layer setup. Figure 7 The image shows an image of a wind farm surface with boundary layer settings, dividing the surface into multiple meshes from bottom to top. Figure 7 As can be seen, the height of each grid layer increases from bottom to top.
[0074] Step 7: Perform local encryption processing on the spatial grid of the wind farm based on Pointwise regional grid encryption, and output the grid file.
[0075] By locally refining the mesh in arbitrary spaces (such as the turbine locations of wind turbines) within a wind farm's spatial mesh model, the accuracy of wind farm simulation results can be improved. Outputting recognizable mesh files in Fluent or OpenFOAM facilitates subsequent CFD calculations. See also... Figure 8 The diagram shown illustrates the local mesh refinement process. Figure 8 The image shown is an image after grid encryption of an arbitrary space.
[0076] Corresponding to the mesh generation method provided in the above embodiments, this invention provides a mesh generation device, see [link to previous embodiment]. Figure 9 The diagram shown illustrates the structure of a mesh generation device, which includes the following modules:
[0077] Module 91 is established to acquire topographic map data of the area where the wind farm is located, and to build a grid model of the wind farm based on the topographic map data.
[0078] The meshing module 92 is used to perform unstructured meshing on the mesh model to obtain the wall mesh model.
[0079] Module 93 is used to construct a spatial mesh model based on the wall mesh model, refine the spatial mesh model, and obtain the mesh file of the wind farm.
[0080] The grid division device provided in this embodiment constructs a grid model based on the topographic data of the wind farm and divides the grid model into unstructured grids. This can better capture the spatial data of complex terrain, thereby fully reflecting the terrain characteristics of the wind farm and improving the grid quality. By constructing a spatial grid model and performing grid densification processing on the spatial grid model, a grid file suitable for wind farm CFD research is output, which improves the grid division accuracy and calculation accuracy.
[0081] In one embodiment, the aforementioned establishment module 91 is further used to construct a 3D topographic map of the wind farm based on topographic map data; and to identify the 3D topographic map and generate a grid model of the wind farm based on preset grid generation software.
[0082] In one implementation, the aforementioned building module 91 is further used to extract spatial data from the topographic map data based on the level of detail model to generate a three-dimensional terrain visualization model; and to extract the 3D topographic map of the wind farm from the three-dimensional terrain visualization model based on the size of the wind farm.
[0083] In one embodiment, the aforementioned construction module 93 is further used to set vertical auxiliary lines at the boundary corners of the wind farm area in the wall mesh model; based on the vertical auxiliary lines and the preset mesh generation software, multiple face meshes and a top face mesh perpendicular to the ground are generated to obtain a spatial mesh model of the wind farm.
[0084] In one embodiment, the formula for calculating the height of the aforementioned vertical auxiliary line is:
[0085] Z top =(Z max -Z min )*A
[0086] Among them, Z top Z is the height of the vertical auxiliary line. max Z is the highest elevation of the wind farm terrain. min The lowest elevation of the wind farm terrain is represented by A, where A is the elevation difference coefficient.
[0087] In one embodiment, the altitude difference coefficient A ranges from 5 to 8.
[0088] In one embodiment, the aforementioned construction module 93 is further configured to set a boundary layer for the wall grid formed by the ground of the wind farm in the spatial grid, so as to divide the ground of the wind farm into multiple layers of grid; and to perform local grid densification processing on the turbine locations of each wind turbine in the wall grid to obtain the grid file of the wind farm.
[0089] The mesh generation device provided in this embodiment uses Global Mapper and Pointwise software to perform mesh generation on wind farms, which is easy to operate. By using unstructured meshes, it can better capture spatial data of complex terrain and improve mesh quality. Based on boundary layer and local area densification processing, it can improve the accuracy of wind farm simulation (such as wind speed simulation and air pressure simulation and other flow field simulations). It can output mesh files applicable to various CFD software, which has strong versatility.
[0090] The device provided in this embodiment has the same implementation principle and technical effect as the aforementioned embodiments. For the sake of brevity, any parts not mentioned in the device embodiment can be referred to the corresponding content in the aforementioned method embodiment.
[0091] This invention provides an electronic device, including a processor and a memory. The memory stores a computer program that can run on the processor. When the processor executes the computer program, it implements the steps of the method provided in the above embodiments.
[0092] This invention provides a computer-readable medium storing computer-executable instructions. When these computer-executable instructions are invoked and executed by a processor, they cause the processor to implement the methods described in the above embodiments.
[0093] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working process of the system described above can be referred to the corresponding process in the foregoing embodiments, and will not be repeated here.
[0094] The computer program products of the mesh generation method, apparatus, and electronic device provided in the embodiments of the present invention include a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods described in the preceding method embodiments. For specific implementation, please refer to the method embodiments, which will not be repeated here.
[0095] Furthermore, in the description of the embodiments of the present invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in the present invention based on the specific circumstances.
[0096] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, essentially, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0097] In the description of this invention, it should be noted that the terms "center," "upper," "lower," "left," "right," "vertical," "horizontal," "inner," and "outer," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing the invention and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0098] Finally, it should be noted that the above-described embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit it. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A mesh generation method, characterized in that, include: Obtain topographic map data of the area where the wind farm is located, and establish a grid model of the wind farm based on the topographic map data; The mesh model is divided into unstructured meshes to obtain a wall mesh model; A spatial mesh model is constructed based on the wall mesh model, and the spatial mesh model is locally refined to obtain the mesh file of the wind farm; The step of constructing a spatial mesh model based on the wall mesh model includes: Vertical auxiliary lines are set at the boundary angles of the wind farm area in the wall mesh model; based on the vertical auxiliary lines and the preset mesh generation software, multiple face meshes and a top face mesh perpendicular to the ground are generated to obtain the spatial mesh model of the wind farm. The formula for calculating the height of the vertical auxiliary line is: From top =(Z max -Z min )*A Among them, Z top Z is the height of the vertical auxiliary line. max Z represents the highest elevation of the wind farm terrain. min The lowest elevation of the wind farm terrain is denoted by A, where A is the elevation difference coefficient. The step of locally refining the spatial grid model includes: A boundary layer is set on the wall grid formed by the ground of the wind farm in the spatial grid to divide the ground of the wind farm into multiple layers; local grid densification is performed at the turbine locations of each wind turbine in the wall grid to obtain the grid file of the wind farm.
2. The method according to claim 1, characterized in that, The step of establishing a grid model of the wind farm based on the topographic map data includes: A 3D topographic map of the wind farm is constructed based on the topographic map data; The 3D topographic map is identified using preset grid generation software, and a grid model of the wind farm is generated.
3. The method according to claim 2, characterized in that, The step of constructing a 3D topographic map of the wind farm based on the topographic map data includes: Spatial data is extracted from the topographic map data based on the level of detail model to generate a three-dimensional terrain visualization model. The 3D topographic map of the wind farm is extracted from the 3D terrain visualization model based on the size of the wind farm.
4. The method according to claim 1, characterized in that, The altitude difference coefficient A ranges from 5 to 8.
5. A grid dividing device, characterized in that, include: A module is established to acquire topographic map data of the area where the wind farm is located, and to establish a grid model of the wind farm based on the topographic map data; The meshing module is used to perform unstructured meshing on the mesh model to obtain a wall mesh model; A construction module is used to construct a spatial mesh model based on the wall mesh model, and to refine the spatial mesh model to obtain the mesh file of the wind farm; The construction module is used to set vertical auxiliary lines at the boundary angles of the wind farm area in the wall mesh model; and to generate multiple face meshes and a top face mesh perpendicular to the ground based on the vertical auxiliary lines and the preset mesh generation software, thereby obtaining the spatial mesh model of the wind farm. The formula for calculating the height of the vertical auxiliary line is: From top =(Z max -Z min )*A Among them, Z top Z is the height of the vertical auxiliary line. max Z represents the highest elevation of the wind farm terrain. min The lowest elevation of the wind farm terrain is denoted by A, where A is the elevation difference coefficient. The construction module is used to set boundary layers for the wall grid formed by the ground of the wind farm in the spatial grid, so as to divide the ground of the wind farm into multiple layers of grid; and to perform local grid densification processing on the turbine locations of each wind turbine in the wall grid to obtain the grid file of the wind farm.
6. An electronic device, characterized in that, include: Processors and storage devices; The storage device stores a computer program that, when executed by the processor, performs the method as described in any one of claims 1 to 4.
7. A computer-readable storage medium storing a computer program thereon, characterized in that, The computer program is executed by the processor to perform the steps of the method described in any one of claims 1 to 4.
Citation Information
Patent Citations
Unstructured boundary layer grid generation method based on grid framework
CN112632869A