Small-scale wind field simulation method under terrain influence

By coupling WRF and CFD models, high-resolution terrain data is used for unstructured meshing to simulate small-scale wind fields, which solves the problem in the existing technology that typhoon simulations are difficult to accurately depict the wind fields in island and reef areas, and realizes the wind field The precise characterization of changing characteristics has important application value.

CN118657082APending Publication Date: 2024-09-17GUANGDONG OCEAN UNIVERSITY
View PDF 0 Cites 8 Cited by

Patent Information

Application Number
CN202410905831.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-08
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

When simulating typhoons, the existing WRF model is difficult to accurately depict the small-scale wind field in the island and reef areas, resulting in rough simulation results and inability to effectively capture the characteristics of the typhoon wind field in complex terrain.

Method used

By coupling the WRF model and the CFD model, high-resolution terrain data is used to construct a three-dimensional terrain geometry model, perform unstructured meshing, run the Fluent solver to simulate small-scale wind fields, obtain high-resolution wind field data, and conduct quantitative analysis and Qualitative description to identify wind field change characteristics in key areas.

Benefits of technology

It achieves a detailed description of the local change characteristics of the typhoon wind field and reveals the changes in the wind field under the influence of islands and reefs. It has important application value in disaster prevention and reduction, port site selection and distress search and rescue in complex islands and reefs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118657082A
    Figure CN118657082A
Patent Text Reader

Abstract

The invention discloses a small-scale wind field simulation method under terrain influence, and relates to the technical field of wind field simulation, and the method comprises the steps: obtaining wind field data of a simulation region through a WRF mode, taking the wind field data obtained in the WRF mode as an initial condition and a boundary condition of a CFD model, operating the CFD model on a calculation platform, and simulating a small-scale wind field through a Fluent solver. And processing high-resolution wind field data output by the CFD model to obtain a spatial distribution state of fluid elements, and carrying out quantitative analysis and qualitative description on the spatial distribution state to identify wind field change characteristics of the key area. The simulation system performs downscaling simulation and analysis on the wind field influenced by the island reef by coupling the WRF mode and the CFD model, realizes fine description of the small-scale space distribution state of the wind field influenced by the terrain, reveals the local change characteristics of the typhoon wind field under the influence of the island reef, and has important application value.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of wind field simulation, and in particular to a method for simulating a small-scale wind field under the influence of terrain. Background Art

[0002] Typhoons are one of the most frequent and influential natural disasters in the world. Strong winds, heavy rains, and storm surges are the main factors of typhoon disasters. Especially in areas near the landing point, typhoons often cause huge economic losses and casualties. Strong winds are one of the main types of typhoon disasters. Affected by the island and reef terrain, special dynamic processes such as narrow channel effect, island circulation, and Karman vortex street will occur, resulting in local small-scale changes in the wind field; At present, the resolution of the WRF (Weather-Research & Forecasting-Model) model simulation is at the kilometer scale, which makes it difficult to accurately depict the small-scale wind field in the island and reef areas. CFD (Computational-Fluid-Dynamics) technology can downscale the wind field simulated by the WRF model by solving the Stokes equation to accurately depict the local small-scale spatial distribution state; This application uses ERA5 reanalysis data and CMA tropical cyclone best path data, and through the coupling of WRF model and CFD model, downscaling simulation and analysis of wind fields affected by islands and reefs is carried out, so as to accurately depict the small-scale spatial distribution state of wind fields affected by terrain, reveal the local change characteristics of typhoon wind fields under the influence of islands and reefs, and has important application value for disaster prevention and mitigation, micro-site selection of ports and wind farms, and distress search and rescue in complex island and reef waters. Summary of the invention

[0003] The purpose of the present invention is to provide a method for simulating a small-scale wind field under the influence of terrain to solve the shortcomings of the background technology.

[0004] In order to achieve the above object, the present invention provides the following technical solution: a method for simulating a small-scale wind field under the influence of terrain, the simulation method comprising the following steps: The simulation system automatically selects the simulation area and sets the initial and boundary conditions of the WRF model according to user needs, and gradually reduces the grid scale of the simulation area through multiple nesting technology, runs the WRF model to obtain wind field data in the simulation area, and collects and processes terrain data in the simulation area; A three-dimensional terrain geometry model of the CFD model is constructed based on high-resolution terrain data. The mesh is divided on the geometry model using the unstructured grid method. The wind field data obtained by the WRF model is used as the initial conditions and boundary conditions of the CFD model. The simulation parameters of the Fluent solver are automatically generated. The CFD model is run on the computing platform, and the small-scale wind field is simulated using the Fluent solver. The high-resolution wind field data output by the CFD model is processed to obtain the spatial distribution state of the fluid elements. The spatial distribution state is then quantitatively analyzed and qualitatively described to identify the wind field change characteristics in key areas, and the simulation results are visualized using visualization tools.

[0005] In a preferred embodiment, a three-dimensional terrain geometric model of a CFD model is constructed based on high-resolution terrain data, and high-precision meshing is performed on the geometric model using an unstructured grid method, including the following steps: Download the required high-resolution terrain data according to the geographical scope of the simulation area, use GIS software to convert the downloaded terrain data into the CFD software processing format, import the processed terrain data into the CFD pre-processing software, and use the imported terrain data to generate a three-dimensional terrain geometry model. The meshing tool provided by the CFD pre-processing software is used to set the meshing parameters according to the simulation requirements, generate an unstructured mesh on the three-dimensional terrain geometry model, and conduct a comprehensive quality assessment of the unstructured mesh. When the quality of the unstructured mesh is assessed to be qualified, the unstructured mesh is exported to the format used by the CFD model.

[0006] In a preferred embodiment, the comprehensive quality assessment of the unstructured grid includes the following steps: After the unstructured grid of the CFD model is generated, the grid unit orthogonality index, distortion and volume change rate of the unstructured grid are obtained, and the grid coefficient is obtained by comprehensively calculating the grid unit orthogonality index, distortion and volume change rate. The expression is: ; In the formula, is the grid coefficient, is the grid cell orthogonality index, is the distortion, is the volume change rate, , , are the grid unit orthogonality index, distortion, and proportionality coefficient of volume change rate, and all are greater than 0; The obtained grid coefficient is compared with the quality threshold. The quality threshold is used to judge whether the quality of the unstructured grid is qualified. If the grid coefficient is less than the quality threshold, the quality of the unstructured grid is judged to be unqualified. If the grid coefficient is greater than or equal to the quality threshold, the quality of the unstructured grid is judged to be qualified.

[0007] In a preferred embodiment, the wind field data obtained by the WRF model is used as the initial condition and boundary condition of the CFD model, including the following steps: Through multiple nested simulations in the WRF model, kilometer-scale wind field data were obtained. The required meteorological element data were extracted from the WRF output file using a Python script. The processed WRF data were imported into the CFD software. The initial wind speed, wind direction, temperature, and pressure in the simulation area were set. The WRF model data were used as the boundary conditions of the CFD model, including inlet wind speed, wind direction, temperature, and pressure.

[0008] In a preferred embodiment, the high-resolution wind field data output by the CFD model is processed to obtain the spatial distribution state of the fluid elements, including the following steps: Use the post-processing tool of the CFD software to export the simulation results, and use the programming language to read the exported simulation result files; Extract the velocity vector field from the simulation results ( u,v,w Component), calculate the wind speed, the expression is: , calculate the wind direction, the expression is: , where Indicates wind speed, Indicates the wind direction angle. u,v,w Represents the velocity components in three directions; Extract turbulent kinetic energy from simulation results ( TKE,k ) and the average velocity field, the turbulence intensity is calculated using the expression: , where is the turbulence intensity, is the average wind speed, is the turbulent kinetic energy.

[0009] In a preferred embodiment, running the WRF model to obtain wind field data of the simulation area includes the following steps: Run geogrid.exe to generate geographic data files for each layer of nested grids, download initial and boundary condition data, run ungrib.exe and metgrid.exe to generate meteorological data files, configure namelist.input file to run real.exe and wrf.exe, perform numerical simulation, post-process and visualize the results of WRF output, and generate wind field distribution maps and related data reports.

[0010] In a preferred embodiment, the simulation system automatically selects the simulation area and sets the initial conditions and boundary conditions of the WRF model according to user requirements, including the following steps: Based on the geographic area input by the user, the center point and coverage of the simulation area are determined. The number of layers of multiple nested grids and the resolution of each layer are determined according to the required simulation accuracy. The atmospheric reanalysis dataset is automatically selected as the data source for the initial and boundary conditions according to the simulation area and time range. The required initial and boundary condition data, including meteorological elements and surface data, are automatically downloaded.

[0011] In a preferred embodiment, the logic for obtaining the grid cell orthogonality index is as follows: obtain the number of grid cells of the unstructured grid, and calculate the absolute value of the orthogonality angle of each grid cell by using the Open-FOAM software. The absolute value of the orthogonality angle is obtained by taking the absolute value of the angle between the adjacent surface normal vectors of the grid cell by 90 degrees, and obtaining the average orthogonality angle and the standard deviation of the orthogonality angle. The expression is: ; In the formula, is the standard deviation of the orthogonality angle, , represents the number of grid cells, is a positive integer, represents the absolute value of the orthogonality angle of the i-th grid cell, represents the average orthogonality angle; If the average orthogonality angle is greater than the angle threshold, and the standard deviation of the orthogonality angle is less than or equal to the standard deviation threshold, the grid cell orthogonality index ; If the average orthogonality angle is greater than the angle threshold and the standard deviation of the orthogonality angle is greater than the standard deviation threshold, the grid cell orthogonality index ; If the average orthogonality angle is less than or equal to the angle threshold, and the standard deviation of the orthogonality angle is greater than the standard deviation threshold, the grid cell orthogonality index ; If the average orthogonality angle is less than or equal to the angle threshold, and the standard deviation of the orthogonality angle is less than or equal to the standard deviation threshold, the grid cell orthogonality index .

[0012] In the above technical solution, the technical effects and advantages provided by the present invention are: The present invention obtains wind field data of the simulation area by running the WRF mode, uses the wind field data obtained by the WRF mode as the initial conditions and boundary conditions of the CFD model, automatically generates simulation parameters of the Fluent solver, runs the CFD model on the computing platform, simulates the small-scale wind field by the Fluent solver, processes the high-resolution wind field data output by the CFD model to obtain the spatial distribution state of the fluid elements, and then quantitatively analyzes and qualitatively describes the spatial distribution state to identify the wind field change characteristics in the key area. The simulation system performs downscaling simulation and analysis on the wind field affected by the islands and reefs by coupling the WRF mode and the CFD model, realizes the fine characterization of the small-scale spatial distribution state of the wind field affected by the terrain, reveals the local change characteristics of the typhoon wind field under the influence of the islands and reefs, and has important application value for disaster prevention and mitigation, micro-site selection of ports and wind farms, and distress search and rescue in complex island and reef waters. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0014] Figure 1 The present invention is a flow chart of the method.

[0015] Figure 2 Schematic diagram of setting up triple nested simulation range in the WRF model simulation of the present invention.

[0016] Figure 3 This is the moving path map of Typhoon Hagibis No. 202007.

[0017] Figure 4 This is a simulated regional topographic map of the Wanshan Islands.

[0018] Figure 5 Set up a schematic diagram for the terrain and extraction points of the Wanshan Islands.

[0019] Figure 6 This is a schematic diagram of the overall grid division results of the Wanshan Islands terrain. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0021] The WRF model is an important means of conducting typhoon research. By using WRF combined with the WRF-Var three-dimensional variational system, radar data and conventional and unconventional observation data were assimilated to numerically simulate the 200608 small super typhoon "Saomi". The actual WRF basically reproduced the typhoon evolution process and simulated the rainstorm process of "Saomi" well. The two-layer test scheme designed with the WRF model reproduced the "Fanapi" typhoon well, simulated the cumulative precipitation distribution of the "Fanapi" typhoon well, and grasped the precipitation characteristics of the typhoon. However, in South China, it is speculated that the small-scale information in the initial model field is weak and the model underestimates the topographic effect, resulting in a certain deviation in the simulation of precipitation. In the three-dimensional WRF simulation test of the physical process of heavy rain in Typhoon Fit, the simulation of typhoon precipitation was compared with the actual situation, indicating that in the control experiment, the simulation effect of the spatial distribution and temporal evolution characteristics and changes of typhoon precipitation during the integration period of 12 hours to 36 hours was good, but in the study of the mechanism of typhoon heavy precipitation, sensitivity experiments on topography and other aspects are still lacking, and the accuracy needs to be improved; Based on the GFS data with a resolution of 5km and the WRF model, a high-resolution numerical simulation of the 202009 typhoon "Saomai" was carried out, and a simulation diagnostic study was conducted on the heavy precipitation caused by the landing of "Saomai". The study shows that the model has reproduced the development and evolution process of Typhoon "Saomai" before and after landing, and has also successfully simulated the typhoon's cumulative precipitation during the simulation period. With the help of the WRF model, 7 parameterization schemes were selected to simulate the wind field of Typhoon "Maria", and compared with the parameter wind field, and finally the wind field evolution process was analyzed. After comparing the parameter wind field with the WRF simulated wind field, it was found that the wind speed contour line ranges of the two were similar; The WRF model was combined with 30m resolution DEM data to improve the terrain and simulate the 10m horizontal wind field of Typhoon "Meranti" No. 201614. The simulation effects of the three schemes, nested 3km, non-nested 5km and non-nested 3km, were compared. The results show that the simulation of the direction and speed of the typhoon by the three schemes are similar to the actual situation, but the non-nested 3km scheme has the best effect on the construction of the refined typhoon wind field. From the above research on typhoons using the WRF model, it can be found that the WRF model can simulate the changes in typhoon elements well, but the research on the fine element field under complex terrain is not ideal. The simulation resolution is only at the km scale and the terrain factors make the simulation area results rough, and the characteristics of the typhoon element field under complex small-scale terrain cannot be well grasped.

[0022] Example 1: Please refer to Figure 1 As shown, the present embodiment provides a method for simulating a small-scale wind field under the influence of terrain, and the simulation method includes the following steps: The simulation system automatically selects the simulation area and sets the initial and boundary conditions of the WRF model according to user needs. It gradually reduces the grid scale of the simulation area through multiple nesting technology, runs the WRF model to obtain the wind field data of the simulation area. The wind field data includes meteorological elements such as wind speed, wind direction, temperature and pressure, collects and processes high-resolution terrain data (such as digital elevation model DEM) of the simulation area to provide detailed terrain information required by the CFD model, builds a three-dimensional terrain geometry model of the CFD model based on the high-resolution terrain data, and performs high-precision grid division on the geometric model through the unstructured grid method. The wind field data obtained by the WRF model is used as the initial and boundary conditions of the CFD model, including importing kilometer-scale wind speed and wind The Fluent solver can automatically generate simulation parameters for the Fluent solver, including time step, calculation accuracy, convergence standard, etc., based on data such as wind direction, temperature, and pressure. The CFD model can be run on a high-performance computing platform. The Fluent solver can be used to simulate small-scale wind fields. The computing resources and parallel computing strategies can be adjusted as needed to improve computing efficiency. The high-resolution wind field data output by the CFD model can be processed to obtain the spatial distribution of fluid elements such as wind speed, wind direction, and turbulence intensity. The spatial distribution can then be quantitatively analyzed and qualitatively described to identify the wind field change characteristics in key areas. Professional visualization tools (such as Para-View and Tecplot) can be used to visualize the simulation results and generate wind field distribution maps, streamline maps, etc.

[0023] This application obtains wind field data of the simulation area by running the WRF model, uses the wind field data obtained by the WRF model as the initial conditions and boundary conditions of the CFD model, automatically generates simulation parameters of the Fluent solver, runs the CFD model on the computing platform, simulates small-scale wind fields through the Fluent solver, processes the high-resolution wind field data output by the CFD model to obtain the spatial distribution state of fluid elements, and then quantitatively analyzes and qualitatively describes the spatial distribution state to identify the wind field change characteristics in key areas. This simulation system downscales and analyzes the wind field affected by islands and reefs by coupling the WRF model and the CFD model, and achieves a fine depiction of the small-scale spatial distribution state of the wind field affected by the terrain, revealing the local change characteristics of the typhoon wind field under the influence of islands and reefs, and has important application value for disaster prevention and mitigation, micro-site selection of ports and wind farms, and distress search and rescue in complex island and reef waters.

[0024] Initial settings: Select the simulation area (such as Wanshan Islands), set the initial and boundary conditions of the WRF model, including atmospheric data (such as GFS, ERA-Interim data) and surface data (such as topography, land use).

[0025] Multiple nesting: Through multiple nesting technology, the grid scale is gradually reduced. The outer grid is usually a few kilometers to tens of kilometers in scale, and the inner grid is gradually reduced to a kilometer scale.

[0026] Run WRF mode: Run the WRF mode to obtain high-resolution regional wind field data, including meteorological elements such as wind speed, wind direction, temperature and pressure.

[0027] Geometric model construction: Collect and process high-resolution terrain data (such as digital elevation model DEM) of the target area to provide detailed terrain information required for the CFD model. Based on the high-resolution terrain data, build a three-dimensional terrain geometry model of the CFD model.

[0028] Meshing: Perform high-precision meshing on the geometric model. Since CFD simulation requires fine spatial resolution, unstructured meshing or adaptive mesh encryption technology must be used when meshing to adapt to complex terrain.

[0029] Import WRF data: Use the wind field data obtained by the WRF model as the initial and boundary conditions of the CFD model, including importing kilometer-scale wind speed, wind direction, temperature, pressure and other data.

[0030] Solution settings: Set simulation parameters, including time step, calculation accuracy, convergence criteria, etc.; Run the solution: Run the CFD model on a high-performance computing platform to simulate small-scale wind fields. Adjust computing resources and parallel computing strategies as needed to improve computing efficiency. Data processing: Process the high-resolution wind field data output by the CFD model to obtain the spatial distribution of fluid elements such as wind speed, wind direction, and turbulence intensity.

[0031] Result analysis: Analyze the simulation results, including quantitative analysis and qualitative description of the spatial distribution state, and identify the wind field change characteristics in key areas.

[0032] Visualization: Use professional visualization tools (such as Para-View and Tecplot) to visualize the simulation results and generate wind field distribution maps, streamline diagrams, etc.

[0033] Embodiment 2: The simulation system automatically selects the simulation area and sets the initial conditions and boundary conditions of the WRF model according to user requirements, including the following steps: The user inputs the simulation objective (such as typhoon impact assessment, wind energy resource assessment), geographical area (such as Wanshan Islands), time range (such as the time period of a specific typhoon event), simulation accuracy requirements, etc. The system verifies whether the area and time range entered by the user have sufficient observation and reanalysis data support to ensure data availability.

[0034] Based on the geographic area input by the user, the system determines the center point and coverage of the simulation area. For example, the boundaries of the simulation area are determined based on the geographic coordinates of the Wanshan Islands and the coverage specified by the user. According to the required simulation accuracy, the system determines the number of layers of multiple nested grids and the resolution of each layer. Usually, the system gradually nests from large-scale areas (outer grids) to small-scale areas (inner grids). According to the simulation area and time range, the system automatically selects appropriate atmospheric reanalysis datasets (such as GFS, ERA-Interim) as the data source for initial and boundary conditions, automatically downloads the required initial and boundary condition data, including meteorological elements (such as temperature, humidity, wind speed, wind direction, air pressure) and surface data (such as topography, land use), and preprocesses the data, including data format conversion, spatial interpolation and time alignment, to ensure that the data is compatible with the WRF model.

[0035] Automatically generate the configuration files required by the WRF model (such as namelist.input and namelist.wps), including the following: Time settings: simulation start time and end time.

[0036] Area settings: number of grid layers, resolution of each grid layer, and boundary coordinates of the simulation area.

[0037] Physical parameterization scheme: Select appropriate parameterization schemes for microphysics, radiation, boundary layer, and surface processes.

[0038] Initial and boundary conditions: Set the data source path, time interval, and interpolation method.

[0039] The terrain and land use data are used to generate high-resolution terrain and surface attribute files for the simulation area, ensuring that the WRF model accurately reflects the actual terrain and surface conditions.

[0040] Assume that the user needs to simulate the wind field distribution in the Wanshan Islands during a typhoon event: User demand input: The user inputs the geographical area of ​​the Wanshan Islands, the simulation time range (such as the time period of a typhoon event), the required spatial resolution, etc.

[0041] The system automatically selects the area: The system determines the simulation area of ​​the Wanshan Islands and its surroundings and sets up multiple nested grids (e.g., 27 km for the outer layer, 9 km for the middle layer, and 3 km and 1 km for the inner layers).

[0042] Initial and boundary condition setting: The system automatically selects GFS data as initial and boundary conditions, and downloads and preprocesses relevant data.

[0043] Generate configuration file: The system automatically generates a configuration file for the WRF model, setting simulation time, area boundaries, physical parameters, etc.

[0044] The simulation area grid scale is gradually reduced through multiple nesting techniques, including the following steps: According to the required simulation accuracy, determine the number of multi-layer nested grids and the resolution of each layer. For example, the outer layer grid resolution is 27 km, the middle layer is 9 km, and the inner layer is 3 km and 1 km; The information of multiple nested grids is defined in the WRF mode configuration files (namelist.wps and namelist.input), including the resolution, coverage, center coordinates, etc. of each layer of grid.

[0045] Example namelist.wps file configuration: &share wrf_core='ARW', max_dom=3, start_date='YYYY-MM-DD_HH:00:00','YYYY-MM-DD_HH:00:00','YYYY-MM-DD_HH:00:00', end_date='YYYY-MM-DD_HH:00:00','YYYY-MM-DD_HH:00:00','YYYY-MM-DD_HH:00:00', interval_seconds=21600, / &geogrid parent_id=1,1,2, parent_grid_ratio=1,3,3, i_parent_start=1,30,40, j_parent_start=1,30,40, e_we=100,121,91, e_sn=100,121,91, geog_data_res='30s','30s','30s', dx=27000, dy=27000, / Using high-resolution geographic data such as terrain and land use, run geogrid.exe to generate geographic data files for each layer of grid, download meteorological data of the required time range from the selected atmospheric reanalysis dataset (such as GFS, ERA-Interim), use ungrib.exe to decode the downloaded meteorological data, generate intermediate files, combine geographic data and decoded meteorological data, run metgrid.exe, generate initial and boundary condition files for each layer of nested grids, configure the operating parameters of the WRF model in the namelist.input file, including time settings, physical parameterization schemes, number of grid layers, grid information of each layer, etc.

[0046] Example namelist.input file configuration: &time_control run_days=0, run_hours=24, run_minutes=0, run_seconds=0, start_year=2023,2023,2023, start_month=06,06,06, start_day=01,01,01, start_hour=00,00,00, end_year=2023,2023,2023, end_month=06,06,06, end_day=02,02,02, end_hour=00,00,00, interval_seconds=21600, / &domains time_step=90, time_step_fract_num=0, time_step_fract_den=1, max_dom=3, e_we=100,121,91, e_sn=100,121,91, parent_id=1,1,2, parent_grid_ratio=1,3,3, i_parent_start=1,30,40, j_parent_start=1,30,40, / Run real.exe to convert the preprocessed initial and boundary condition files into a format that can be used by the WRF model, and run wrf.exe to start the numerical simulation of the WRF model. The system will simulate each layer of nested grids in turn, from the outer layer to the inner layer, and gradually refine the simulation results.

[0047] Run the WRF model to obtain wind field data in the simulation area. The wind field data includes meteorological elements such as wind speed, wind direction, temperature and pressure, including the following steps: Run geogrid.exe to generate geodata files for each nested grid. Download the initial and boundary condition data, run ungrib.exe and metgrid.exe to generate meteorological data files. Configure the namelist.input file, run real.exe and wrf.exe to perform numerical simulation. Post-process and visualize the WRF output results to generate wind field distribution maps and related data reports.

[0048] Collect and process high-resolution terrain data (such as digital elevation model DEM) of the simulation area to provide detailed terrain information required by the CFD model. Construct a three-dimensional terrain geometry model of the CFD model based on the high-resolution terrain data. Perform high-precision meshing on the geometry model using an unstructured grid method, including the following steps: Download the required high-resolution terrain data based on the geographic scope of the simulation area. Ensure that the data covers the entire simulation area and meets the required spatial resolution requirements, and convert the downloaded terrain data into a format that the CFD software can handle (such as STL, XYZ, etc.). Use GIS software (such as QGIS, ArcGIS) or dedicated data processing tools (such as GDAL) to perform format conversion and data processing, interpolate the terrain data, fill in missing data or improve data resolution. Smooth the terrain data to remove noise and outliers, improve data quality, and import the processed terrain data into CFD pre-processing software (such as Solid-Works, Blender). Use the imported terrain data to generate a three-dimensional terrain geometry model, adjust and optimize the terrain geometry model as needed, and ensure that the model accurately reflects the actual terrain characteristics. Ensure that the details and resolution of the terrain model meet the simulation requirements; Use the meshing tool provided by the CFD pre-processing software (such as ICEMCFD), or use dedicated mesh generation software (such as Pointwise, Gmsh), set the meshing parameters according to the simulation requirements, including mesh type (such as tetrahedral mesh, hexahedral mesh), mesh size, growth rate, boundary layer mesh, etc., generate unstructured mesh on the three-dimensional terrain geometry model, conduct a comprehensive quality assessment of the unstructured mesh to ensure that the quality of the unstructured mesh is good, and when the quality of the unstructured mesh is assessed to be qualified, export the unstructured mesh to a format that can be used by the CFD model (such as Fluent's .msh file, Open-FOAM's .obj file).

[0049] In practical applications, when the quality of unstructured grid is unqualified, it will have the following impacts on the CFD model: 1. Increased numerical error Mesh distortion: Severely distorted mesh elements will lead to increased numerical errors. Distorted elements may make the discrete form of the fluid mechanics equations inaccurate, thus affecting the simulation results.

[0050] Non-uniformity: Uneven grid distribution will reduce the accuracy of the solution. The grid is too dense in some areas and too sparse in other areas, which will lead to waste of computing resources and unstable solutions.

[0051] 2. Convergence Problem Poor mesh quality leads to convergence difficulties: Low-quality meshes may lead to poor convergence or even no convergence during CFD solution. Highly distorted mesh elements can lead to non-physical oscillations and numerical divergence.

[0052] Increased number of iterations: Poor quality meshes may require more iterations to reach convergence, increasing computational time and resource consumption.

[0053] 3. Reduced simulation accuracy Inaccurate boundary layer capture: Poor mesh quality near the boundary layer will lead to inaccurate simulation of the flow characteristics of the boundary layer (such as velocity gradient, vorticity, etc.), affecting the accuracy of the overall flow field.

[0054] Inaccurate simulation of eddy currents and separation phenomena: Poor mesh quality can lead to large errors when simulating complex flow phenomena such as eddy currents and fluid separation, or even the inability to capture these phenomena.

[0055] 4. Incorrect representation of physical phenomena Loss of details in critical areas: The mesh in critical areas (such as boundary layers, eddy regions, etc.) is too coarse or of poor quality, which may result in the fluid dynamics characteristics in these areas not being correctly represented.

[0056] Numerical diffusion: An unqualified mesh may introduce numerical diffusion, which can make the simulation results appear unrealistically smooth, especially when capturing subtle structures such as fronts and shear layers.

[0057] 5. Increased computing costs More computational resources consumed: The overall computational cost will increase due to poor quality meshes leading to convergence difficulties and requiring more iterations.

[0058] Post-processing becomes more difficult: Low-quality meshes may lead to increased interpolation errors in data during post-processing, and reduced accuracy in data analysis and visualization.

[0059] In the prior art, after an unstructured grid is generated, a single parameter is usually compared with a corresponding threshold value, that is, when any parameter exceeds or falls below the corresponding threshold value, the quality of the unstructured grid is judged to be unqualified. However, in practical applications, when multiple monitoring parameters of the unstructured grid are developing in a bad trend, even if none of them exceeds or falls below the corresponding threshold value, the unstructured grid will still have quality defects. Therefore, the present application performs a comprehensive evaluation of multiple data on the unstructured grid to ensure the quality of the unstructured grid.

[0060] Comprehensive quality assessment of unstructured grids includes the following steps: After the unstructured grid of the CFD model is generated, the grid unit orthogonality index, distortion and volume change rate of the unstructured grid are obtained, and the grid coefficient is obtained by comprehensively calculating the grid unit orthogonality index, distortion and volume change rate. The expression is: ; In the formula, is the grid coefficient, is the grid cell orthogonality index, is the distortion, is the volume change rate, , , are the grid unit orthogonality index, distortion, and proportional coefficient of volume change rate, and all are greater than 0.

[0061] The logic for obtaining the grid cell orthogonality index is as follows: obtain the number of grid cells of the unstructured grid, and calculate the absolute value of the orthogonality angle of each grid cell through the Open-FOAM software. The absolute value of the orthogonality angle is obtained by taking the absolute value of the angle between the adjacent surface normal vectors of the grid cell and dividing it by 90 degrees. The average orthogonality angle and the standard deviation of the orthogonality angle are obtained. The expression is: ; In the formula, is the standard deviation of the orthogonality angle, , represents the number of grid cells, is a positive integer, represents the absolute value of the orthogonality angle of the i-th grid cell, It represents the average orthogonality angle. The larger the standard deviation of the orthogonality angle, the greater the data fluctuation. The smaller the standard deviation of the orthogonality angle, the smaller the data fluctuation. The larger the average orthogonality angle, the larger or smaller the orthogonality angle of the grid unit, and the closer the unstructured grid is to a high distortion state. Therefore, the grid unit orthogonality index is obtained based on the average orthogonality angle and the standard deviation of the orthogonality angle. If the average orthogonality angle is greater than the angle threshold and the standard deviation of the orthogonality angle is less than or equal to the standard deviation threshold, it indicates that the overall grid cell shape of the unstructured grid is irregular and the grid cell orthogonality index is ; If the average orthogonality angle is greater than the angle threshold and the standard deviation of the orthogonality angle is greater than the standard deviation threshold, it indicates that the grid cells of the unstructured grid are irregular in shape (the average orthogonality angle of some grid cells is less than or equal to the angle threshold), and the grid cell orthogonality index is ; If the average orthogonality angle is less than or equal to the angle threshold, and the standard deviation of the orthogonality angle is greater than the standard deviation threshold, it indicates that the grid cell shape of the unstructured grid is regular (there are some grid cells with an average orthogonality angle greater than the angle threshold), and the grid cell orthogonality index is ; If the average orthogonality angle is less than or equal to the angle threshold, and the standard deviation of the orthogonality angle is less than or equal to the standard deviation threshold, it indicates that the overall grid cell shape of the unstructured grid is regular, and the grid cell orthogonality index is .

[0062] The logic for obtaining the distortion is as follows: the distortion is obtained by calculating the Jacobian matrix or other shape measurement indicators of the grid unit through Open-FOAM, which belongs to the existing technology and will not be elaborated here.

[0063] The logic for obtaining the volume change rate is as follows: the volume change rate is obtained by calculating the ratio of the volume change of the grid unit to the initial volume through Open-FOAM, which belongs to the prior art and will not be elaborated here.

[0064] The larger the grid coefficient is, the higher the overall quality of the unstructured grid is. The obtained grid coefficient is compared with the quality threshold. The quality threshold is used to judge whether the quality of the unstructured grid is qualified. If the grid coefficient is less than the quality threshold, the quality of the unstructured grid is judged to be unqualified. If the grid coefficient is greater than or equal to the quality threshold, the quality of the unstructured grid is judged to be qualified. When the quality of the unstructured grid is judged to be unqualified, it is necessary to optimize the unstructured grid parameters or regenerate the unstructured grid.

[0065] The wind field data obtained by the WRF model is used as the initial conditions and boundary conditions of the CFD model, including the import of kilometer-scale wind speed, wind direction, temperature, pressure and other data, including the following steps: Through multiple nested simulations in WRF mode, kilometer-scale wind field data is obtained. It mainly includes meteorological elements such as wind speed, wind direction, temperature and pressure. Use Python scripts (such as PyWRF) to extract the required meteorological element data from the WRF output file (usually in NetCDF format). Confirm that the extracted data covers the CFD simulation area, and the resolution and time step meet the CFD simulation requirements. Import the processed WRF data into the CFD software (such as ANSYS Fluent) and set the initial wind speed, wind direction, temperature and pressure in the simulation area. Import the data into the CFD model using the specified format (such as Profile or UDS) to ensure that the initial conditions are accurately distributed throughout the area, and use the WRF model data as the boundary conditions of the CFD model. Usually includes inlet wind speed, wind direction, temperature and pressure. Specify the type of boundary conditions (such as velocity inlet, pressure outlet) in the CFD software and import the corresponding data file. Use interpolation methods to ensure that the boundary condition data matches the CFD boundary grid; In order to obtain the inflow wind field of the CFD downscaling simulation area, it is necessary to fit the wind field of the inflow wind profile. The fitting formula is as follows: , where U is the wind speed value, unit: m / s; z is the altitude, unit: m. The altitude in this application is set to 10m to 800m.

[0066] Suppose we need to simulate the wind field in the Wanshan Islands area. For example, the following steps are included: Through multiple nested simulations in WRF mode, kilometer-scale wind speed, wind direction, temperature, and pressure data in the Wanshan Islands area were obtained. The required meteorological element data were extracted from the NetCDF file output by WRF using Python scripts. The .dat file was imported into ANSYS Fluent to set the initial wind speed, wind direction, temperature, and pressure in the simulation area. The data was assigned to the corresponding initial condition fields using the Profile tool. The interpolated WRF data was used as the boundary conditions of the CFD model, and the velocity inlet and pressure outlet boundary conditions were specified in ANSYS Fluent, and the corresponding data files were imported.

[0067] Automatically generate simulation parameters of the Fluent solver, including time step, calculation accuracy, convergence standard, etc., run the CFD model on a high-performance computing platform, simulate the small-scale wind field through the Fluent solver, and adjust the computing resources and parallel computing strategies as needed to improve the computing efficiency, including the following steps: Select an appropriate time step (TimeStepSize) to ensure the stability and accuracy of the simulation. The time step usually needs to be determined based on the characteristic time scale of the flow (such as turbulence time scale, speed of sound, etc.). For example, an initial estimate can be obtained from the time step output by WRF and adjusted according to the CFL (Courant–Friedrichs–Lewy) condition; set the calculation accuracy (Precision). Generally, double precision can provide higher calculation accuracy. Set the convergence criterion (ConvergenceCriteria). Residuals are usually used as the convergence criterion. You can set the residual threshold (such as 10-6) and global convergence criteria (such as mass conservation, momentum conservation, etc.) for each variable. You can define the residual limit for each variable (such as velocity, pressure, energy, etc.), and use Fluent's standard tools to monitor these residuals. Write a FluentJournal file (.jou) containing all simulation parameters and setting information. Journal files can automatically set up and run Fluent simulations. The typical contents of a Journal file include reading the grid, defining material properties, setting boundary conditions, initializing the flow field, setting solution parameters, and starting the calculation. Example Journal file content: / file / read-case-datayour_mesh_file.cas; / define / models / solver / steadyyes; / define / models / viscous / ke-standardyes; / solve / set / time-step0.01; / solve / initialize / initialize-flow; / solve / monitors / residual / criteria1e-6; / solve / iterate1000; / file / write-case-datayour_result_file.dat; / exityes; Set up computing nodes and parallel computing strategies. According to the availability of computing resources and the simulation scale, select appropriate parallel computing methods (such as MPI, OpenMP), optimize parallel computing strategies to improve computing efficiency, for example, reasonably divide grid partitions to ensure load balancing, write HPC job scripts (such as Slurm scripts, PBS scripts), configure computing resource requests (such as the number of nodes, the number of processor cores, the running time, etc.), call Fluent and Journal files in the script, and start CFD simulation; Example Slurm job script contents: #! / bin / bash; #SBATCH--job-name=CFD_Simulation; #SBATCH--output=fluent_output.log; #SBATCH--error=fluent_error.log; #SBATCH --ntasks=64; #SBATCH --time=24:00:00; #SBATCH --partition=compute; moduleloadansys / 2022r2; srunfluent3d-g-iyour_journal_file.jou.

[0068] The high-resolution wind field data output by the CFD model is processed to obtain the spatial distribution of fluid elements such as wind speed, wind direction, and turbulence intensity, including the following steps: Use the post-processing tools of CFD software (such as ANSYSFluent) to export simulation results into common data formats (such as VTK, CSV, HDF5). Ensure that the exported data includes key fluid elements such as wind speed, wind direction, and turbulence intensity, and use programming languages ​​(such as Python) to read the exported simulation result files. You can use corresponding libraries (such as PyFluent, PyVista, Pandas) to process data files in different formats; Extract the velocity vector field from the simulation results ( u,v,w Component), calculate the wind speed, the expression is: , calculate the wind direction, the expression is: , where Indicates wind speed, Indicates the wind direction angle. u,v,w Represents the velocity components in three directions.

[0069] Extract turbulent kinetic energy from simulation results ( TKE,k ) and the average velocity field, the turbulence intensity is calculated using the expression: , where is the turbulence intensity, is the average wind speed, is the turbulent kinetic energy; Use visualization tools (such as ParaView, Tecplot, Matplotlib) to draw spatial distribution maps of fluid elements such as wind speed, wind direction, and turbulence intensity. Generate vector plots (VectorPlot) to show the direction and magnitude of the velocity vector field. Generate contour plots (ContourPlot) or heat maps (HeatMap) to show the spatial distribution of wind speed and turbulence intensity. Use profile plots (ProfilePlot) or slice plots (SlicePlot) to show flow characteristics on a specific plane, such as surface wind speed distribution, wind field distribution around buildings, etc. Determine the slice position of the area of ​​interest and generate the corresponding two-dimensional image.

[0070] Quantitative analysis and qualitative description of the spatial distribution state to identify the wind field change characteristics in key areas include the following steps: The simulation results were statistically analyzed to calculate the average, maximum, minimum, standard deviation and other statistics of each fluid element. Data analysis tools such as Pandas were used to summarize and statistically calculate the data, analyze the distribution characteristics of wind speed, wind direction and turbulence intensity in the entire simulation area, identify key areas such as high wind speed areas and areas with high turbulence intensity, and analyze their causes and impacts.

[0071] Mean: The average value of each fluid element in the entire simulation area. It is obtained by calculating the average value of all data points.

[0072] Maximum: The maximum value of each fluid element in the entire simulation area. It is determined by comparing the values ​​of all data points.

[0073] Minimum: The minimum value of each fluid element in the entire simulation area. Determined by comparing the values ​​of all data points.

[0074] Standard Deviation: A measure of the degree of dispersion of the data distribution of each fluid element in the entire simulation area. The larger the standard deviation, the more dispersed the data.

[0075] Wind Speed: Areas of high wind speed may occur in the following locations: High relief areas: Winds speed up as they pass over valleys and ridges.

[0076] Around flow obstacles: such as buildings, trees, etc.

[0077] Causes of formation: influence of topography, surface cover and surrounding environment.

[0078] Impact: It may lead to problems such as abundant wind energy resources and wind disturbance.

[0079] Wind Direction: The distribution characteristics of wind direction may be affected by topography and surface cover, such as mountains, oceans, etc.

[0080] Changes in wind direction may develop between different terrain or surface features.

[0081] Turbulence-Intensity: Areas of high turbulence intensity may occur in the following locations: High relief areas: Turbulence may increase between valleys and ridges.

[0082] Around flow obstacles: such as buildings, trees, etc.

[0083] Cause of formation: the combined influence of factors such as topography, surface cover, and meteorological conditions.

[0084] Impact: It may lead to problems such as wind farm instability and changes in wind energy resources.

[0085] Use professional visualization tools (such as Para-View, Tecplot) to visualize the simulation results and generate wind field distribution maps, streamline maps, etc., including the following steps: Start professional visualization software such as Para-View or Tecplot, and import CFD simulation result data files through the interface or command line. These files are usually stored in VTK, CGNS, HDF5 and other formats. Select the variables to be visualized from the imported data set, such as wind speed, pressure, temperature, etc. According to the numerical range of the variables, select appropriate color mapping schemes, such as rainbow colors, temperature color spectrum, etc., and adjust display parameters such as graphic size, transparency, line thickness, etc. to obtain clear visualization effects; Create vector plots to show the magnitude and direction of the wind speed vector. You can adjust the vector length and density to fit different scales, and generate contour plots to show the contour distribution of variables such as wind speed and pressure. You can select different variables and contour intervals as needed, and create 3D surface plots to show the 3D distribution of the flow field. You can use contours or color mapping to represent different fluid elements, and generate streamline plots to show the paths and streamlines of the fluid in space. You can adjust the streamline density and starting point position to explore the flow field characteristics, and create trajectory plots to show the movement trajectories of fluid particles in space. You can select different starting points and trajectory lengths as needed, adjust the viewing angle of the visualization results through operations such as rotation, zooming, and translation to better observe the flow field distribution, and use the interactive tools provided by the software, such as translation, rotation, and zooming, to interact with the visualization results to gain a deeper understanding of the flow field characteristics, and save the adjusted visualization results as pictures or video formats for subsequent analysis and reporting.

[0086] Example 3: This application selects 114.01082°E, 22.0068°N as the center of the simulation area. Figure 2 The following are the three-layer simulation range and topography of the mesoscale simulation calculation area. Figure 3 The wind field of Typhoon Haigos No. 202007 that landed in Jinwan, Zhuhai, was simulated by WRF. The example data of the WRF model uses the hourly ERA5 atmospheric reanalysis data updated every 6 hours as the initial field and boundary of the model, with a spatial resolution of 0.25°×0.25°. The grid division adopts a three-layer (d01, d02, d03) bidirectional nesting scheme, with horizontal resolutions of 9km, 3km, and 1km from outside to inside, the outermost grid points are 120×90, the second layer is 124×109, and the innermost layer is 154×145; the vertical direction is divided into 70 layers, and the bottom 30 layers use encrypted grids. The map projection adopts the Mercator scheme. The calculation start and end time of d01, d02, and d03 regions are all from 00:00 on August 18, 2020 to 00:00 on August 20, 2020, and the simulation results of d01 region are set to be output every 3 hours, for a total of 17 times; the simulation results of d02 and d03 regions are output every 1 hour, for a total of 49 times. For the microphysical process in the numerical simulation, the WSM3 scheme is used, the cumulus convection parameterization adopts the Kain-Fritsch scheme, the boundary layer scheme uses the YSU scheme, the land surface process adopts the NOAH scheme, and the longwave and shortwave radiation adopt the RRTMG scheme. The terrain data is provided by the GMTED2010 data with a resolution of 30s.

[0087] Analysis of the 10m wind field of Typhoon Hagos in the ERA5 reanalysis data shows that, on the whole, the low-level typhoon wind field converges toward its center and moves counterclockwise around the typhoon eye area; the wind speed in the typhoon eye area is low. There is a maximum wind speed belt around the typhoon eye area, namely the typhoon vortex area, where the wind speed can reach 14m / s or above. From the typhoon high wind belt outward, the wind speed of the outer circle of the typhoon weakens, which is consistent with the characteristics of typhoons in the northern hemisphere. The typhoon wind field presents a significant asymmetric structure, and this asymmetric structure shows obvious differences in different periods. Before landing, the high wind area is mainly distributed in the north to the northeast of the typhoon center; when it is about to land, there are high wind centers in the east and west of the typhoon center. After landing, the wind speed at sea is relatively high, while the wind speed on land is relatively low. This is mainly because the typhoon is affected by the friction of hilly terrain and surface buildings, the low-level wind speed is weakened, and the typhoon intensity is weakened.

[0088] Comparing the WRF simulation and the CMA tropical cyclone best path data, it can be seen that the WRF simulated typhoon path is roughly consistent with the CMA tropical cyclone best path data, indicating that the WRF model has a good simulation effect on the typhoon movement path. Comparing the WRF simulated wind field and the ERA5 reanalysis data wind field, it can be seen that the spatial distribution characteristics of the 10m wind field are relatively similar, indicating that the WRF model can simulate the typhoon wind field well, and only before and after landing, the WRF simulation has a certain deviation. Analysis of the wind fields of different height layers (10m, 100m, 420m) simulated by the WRF model shows that the typhoon wind field shows differences before and after landing at different height layers. Before and after the typhoon lands, the typhoon wind field increases with the increase in height. After the typhoon lands, the surface friction affects the low-level wind speed, and the low-level wind speed begins to weaken rapidly. The difference between the bottom wind speed at 10m and 100m and the wind speed at the higher layer of 420m increases.

[0089] The Wanshan Islands are often affected by strong winds from typhoons, which is an important factor leading to meteorological disasters in the Wanshan Islands. The Wanshan Islands are located in the southeast of Zhuhai City, at the mouth of the Pearl River. The terrain is mostly hilly. There are large and small islands and reefs scattered in the archipelago. The altitude of the islands and reefs is mostly 200m to 400m. It is close to Hong Kong and Macao and is the throat of the Pearl River Delta and even the hinterland of South China. Figure 4 As shown, there are four islands with higher altitudes in the simulation area, namely Dong'ao Island in the north, with the highest point of about 163m; Baili Island in the east, with the highest point of 294m; Dawanshan Island in the south, which is the highest island in the Wanshan Islands, with the highest peak of about 422m; Xiaowanshan Island in the southwest, with the highest point of 241m above sea level.

[0090] 11UTC on August 19, 2020 was selected, and the CFD model was used to perform a detailed simulation of the wind field at that time. Figure 5The schematic diagram of the terrain and extraction point settings of Wanshan Islands. According to the WRF simulation results, the horizontal horizontal wind direction angle below 500m in the Wanshan Islands at this moment is 164°. The simulation area is a 15km×15km rectangular area (black bold box ABCD), which includes the four larger main islands of Wanshan Islands. The red bold straight line CD is the inflow boundary, which is perpendicular to the 164° wind direction angle. The third layer of nested output wind field simulated by WRF is used as the inflow wind profile data of the CFD simulation area. In order to realize the nested operation of different resolutions between the WRF mode and the CFD model, in the horizontal direction, the wind speed data of the inflow wind profile is interpolated and extracted every 1km at the south inflow boundary, with a total of 16 points; in the vertical direction, according to the highest peak of Dawanshan Island in the simulation area of ​​422 meters, 10m to 500m is interpolated every 10m, with a total of 50 layers, and 500m to 800m is interpolated every 50m, with 6 layers.

[0091] First, import the terrain elevation data of ASTERGDEMV2 version into ArcMap10.4 software of ArcGIS platform and convert it into three-dimensional space coordinates; because there is a large area of ​​sea level in the simulation area, and the modeling elevation data does not have sea level elevation data, it will lead to the inability to correctly divide the grid, and the sea level elevation data points need to be supplemented. Then, import the terrain three-dimensional space coordinate data into CATIA software for island and reef terrain modeling, and the sea level elevation data points added in the previous step will automatically connect with the island boundary to form the sea level.

[0092] After the terrain modeling is successful, it is handed over to ICEM software for meshing. The overall meshing result is as follows: Figure 6 As shown, the entire grid size is 15000m long × 15000m wide × 2500m high, the origin of the coordinate system is X=0m, Y=0m, and the section with X=-7500m is the velocity entrance. The example is divided by unstructured grids, the maximum grid size is 200m, and the grid near the ground is encrypted with a basic size of 20m. Because this application focuses on the small-scale variation characteristics of wind speed near and between islands and reefs, a rounded rectangular grid density box is applied to the two islands near the entrance and the channel between them, and a hemispherical density box is used for the remaining two islands. The grid size at the center of all density boxes is 10m, and it spreads outward at an extension ratio of 1.2 times. The total number of grids is 19.23 million.

[0093] The example is solved using the RANS method. The inlet boundary uses Equation 1 to generate the inlet turbulence. The parameter settings for each calculation are shown in Table 1: Table 1 CFD solution parameter settings

[0094] Solving with actual grid division will lead to divergence of calculation results. When calculating in FLUENT, the grid is reduced by 500:1 to make the calculation results converge. The simulation area is 15000m long × 15000m wide × 800m high, which is reduced to 30m long × 30m wide × 1.6m high. Analysis of the surface wind field simulated by CFD shows that the surface wind field is affected by the island and reef terrain, resulting in vortex and climbing phenomena. The wind speed at the regional entrance boundary is about 7m / s. On the windward side of the terrain, the wind speed decreases due to the obstruction of the mountain, and the wind field produces a climbing effect. Near the top of the mountain, the acceleration characteristics are obvious, and the top of the mountain can reach 10m / s; after the airflow passes through the top of the mountain, a significant deceleration phenomenon can be seen on the leeward slope, and the wind speed on the leeward slope decreases to 1m / s; on both sides of the mountain, the airflow produces vortex phenomenon, and near the side of the mountain, the wind speed decreases due to the friction on the side of the mountain. After the airflow passes through the ridge and the top of the mountain, small-scale vortices similar to the Karman vortex street appear in the area where the wind speed decreases on the leeward slope. The vortices rotate both clockwise and counterclockwise. According to the streamline, the direction of vortex rotation is determined by the terrain of the island and reef mountain and the shear direction of the airflow adapting to the terrain after passing through. The wind speed in the vortex area will show signs of decreasing to stagnation. When the airflow behind the vortex flows to the sea level, it merges with the surrounding airflow and eventually forms a long tail behind the islands and reefs. Affected by the trumpet-shaped terrain, vortices and wind speed minimum areas appear near the sea level of the islands and reefs.

[0095] Comparing the spatial distribution of the wind fields at 20m, 50m and 100m, it can be found that, affected by the topography of islands and reefs, the spatial variation characteristics of the wind fields at each altitude layer are generally similar to the surface wind fields. The wind speed decreases on the windward and leeward slopes, and small-scale vortices appear on the leeward slopes. The wind speed acceleration phenomenon caused by the circumferential flow occurs on both sides of the islands and reefs. At the same time, there are obvious differences in the wind fields at different altitude layers. The lower the altitude layer, the more obvious the weakening effect of the islands and reefs on the wind field, and the higher the altitude layer, the smaller the weakening effect. For example, at an altitude of 20m, the 7m wind speed contour line is mainly distributed on the left side of Dawanshan Island, and with the increase of altitude, the 7m wind speed contour line can extend to the channel between the islands and reefs, and the higher the altitude layer, the longer the distance extended downstream. It shows that due to the effect of surface friction, the wind speed increases with the increase of altitude above the ground, and because each island and reef is quasi-conical in shape, as the altitude increases, the area of ​​the island and reef affecting the airflow decreases. By comparing the vortex characteristics behind the island at different altitude layers, it can be found that the intensity of the vortex increases with the increase of altitude layer. This is because the airflow around the island is strong, which leads to greater horizontal shear between it and the weak wind area behind the island, thus strengthening the vortex behind the island.

[0096] Analysis of the vertical profile characteristics of the wind field shows that when the airflow passes through the undulating mountains, it will show movement that adapts to the terrain, and there will be a climbing effect, which will lead to convergence of wind speed, increase of wind speed gradient, and increase of wind speed. The horizontal straight line from the entrance basically conforms to the terrain changes. It can be clearly seen that on this section, the streamlines are adaptable to the three undulations of the island and reef terrain. Among them, the streamlines on the windward slope conform to the terrain convergence, and the streamlines on the leeward slope will diverge due to the wind falling on the top of the mountain. In the area with high surface wind speed, the streamlines are obviously denser. As the height above the ground increases, the streamlines are less affected by the terrain. Analysis of wind speed changes shows that the wind speed of the profile at the entrance is basically about 7m / s. The wind speed passing through the terrain can obviously change with the height gradient. The wind speed of the bottom part of the windward slope decreases due to terrain obstruction and friction. As the terrain height increases, the Bernoulli effect appears, and the airflow is compressed, resulting in a significant increase in wind speed. Near the top of each ridge, the wind speed surges and accelerates significantly. Here, the wind speed in a large area above the ground increases to more than 8m / s. The locally enlarged section shows the situation when the airflow passes through the highest point (422m) in the simulation area. In terms of vertical height, the wind speed in a large area is increased to more than 9m / s, and the maximum wind speed area of ​​more than 10m / s even appears on the top of the mountain; the wind speed on the leeward slope decreases, and the wind speed reaches the minimum in the valley and at the foot of the mountain. After the airflow passes, the leeward slope is close to sea level at the foot of the mountain, where the minimum wind speed is close to 0m / s.

[0097] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters in the formula are set by technicians in this field according to actual conditions.

[0098] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0099] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to only specific implementation methods. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.

Claims

1. A method for simulating a small-scale wind field under the influence of terrain, characterized in that: The simulation method comprises the following steps: The simulation system automatically selects the simulation area and sets the initial and boundary conditions of the WRF model according to user needs, and gradually reduces the grid scale of the simulation area through multiple nesting technology, runs the WRF model to obtain wind field data in the simulation area, and collects and processes terrain data in the simulation area; A three-dimensional terrain geometry model of the CFD model is constructed based on high-resolution terrain data. The mesh is divided on the geometry model using the unstructured grid method. The wind field data obtained by the WRF model is used as the initial conditions and boundary conditions of the CFD model. The simulation parameters of the Fluent solver are automatically generated. The CFD model is run on the computing platform, and the small-scale wind field is simulated using the Fluent solver. The high-resolution wind field data output by the CFD model is processed to obtain the spatial distribution state of the fluid elements. The spatial distribution state is then quantitatively analyzed and qualitatively described to identify the wind field change characteristics in key areas, and the simulation results are visualized using visualization tools.

2. The method for simulating a small-scale wind field under terrain influence according to claim 1, characterized in that: The three-dimensional terrain geometry model of the CFD model is constructed based on the high-resolution terrain data, and high-precision meshing is performed on the geometry model using the unstructured grid method, including the following steps: Download the required high-resolution terrain data according to the geographical scope of the simulation area, use GIS software to convert the downloaded terrain data into the CFD software processing format, import the processed terrain data into the CFD pre-processing software, and use the imported terrain data to generate a three-dimensional terrain geometry model. The meshing tool provided by the CFD pre-processing software is used to set the meshing parameters according to the simulation requirements, generate an unstructured mesh on the three-dimensional terrain geometry model, and conduct a comprehensive quality assessment of the unstructured mesh. When the quality of the unstructured mesh is assessed to be qualified, the unstructured mesh is exported to the format used by the CFD model.

3. The method for simulating a small-scale wind field under terrain influence according to claim 2, characterized in that: Comprehensive quality assessment of unstructured grids includes the following steps: After the unstructured grid of the CFD model is generated, the grid unit orthogonality index, distortion and volume change rate of the unstructured grid are obtained, and the grid coefficient is obtained by comprehensively calculating the grid unit orthogonality index, distortion and volume change rate. The expression is: ; In the formula, is the grid coefficient, is the grid cell orthogonality index, is the distortion, is the volume change rate, , , are the grid unit orthogonality index, distortion, and proportionality coefficient of volume change rate, and all are greater than 0; The obtained grid coefficient is compared with the quality threshold. The quality threshold is used to judge whether the quality of the unstructured grid is qualified. If the grid coefficient is less than the quality threshold, the quality of the unstructured grid is judged to be unqualified. If the grid coefficient is greater than or equal to the quality threshold, the quality of the unstructured grid is judged to be qualified.

4. The method for simulating a small-scale wind field under the influence of terrain according to claim 3, characterized in that: The wind field data obtained by the WRF model is used as the initial conditions and boundary conditions of the CFD model, including the following steps: Through multiple nested simulations in the WRF model, kilometer-scale wind field data were obtained. The required meteorological element data were extracted from the WRF output file using a Python script. The processed WRF data were imported into the CFD software. The initial wind speed, wind direction, temperature, and pressure in the simulation area were set. The WRF model data were used as the boundary conditions of the CFD model, including inlet wind speed, wind direction, temperature, and pressure.

5. The method for simulating a small-scale wind field under terrain influence according to claim 4, characterized in that: The high-resolution wind field data output by the CFD model is processed to obtain the spatial distribution state of the fluid elements, including the following steps: Use the post-processing tool of the CFD software to export the simulation results, and use the programming language to read the exported simulation result files; Extract the velocity vector field from the simulation results ( u,v,w Component), calculate the wind speed, the expression is: , calculate the wind direction, the expression is: , where Indicates wind speed, Indicates the wind direction angle. u,v,w Represents the velocity components in three directions; Extract turbulent kinetic energy from simulation results ( TKE,k ) and the average velocity field, the turbulence intensity is calculated using the expression: , where is the turbulence intensity, is the average wind speed, is the turbulent kinetic energy.

6. The method for simulating a small-scale wind field under terrain influence according to claim 5, characterized in that: Running the WRF model to obtain wind field data for the simulation area includes the following steps: Run geogrid.exe to generate geographic data files for each layer of nested grids, download initial and boundary condition data, run ungrib.exe and metgrid.exe to generate meteorological data files, configure namelist.input file to run real.exe and wrf.exe, perform numerical simulation, post-process and visualize the results of WRF output, and generate wind field distribution maps and related data reports.

7. The method for simulating a small-scale wind field under the influence of terrain according to claim 6, characterized in that: The simulation system automatically selects the simulation area and sets the initial and boundary conditions of the WRF model according to user requirements, including the following steps: Based on the geographic area input by the user, the center point and coverage of the simulation area are determined. The number of layers of multiple nested grids and the resolution of each layer are determined according to the required simulation accuracy. The atmospheric reanalysis dataset is automatically selected as the data source for the initial and boundary conditions according to the simulation area and time range. The required initial and boundary condition data, including meteorological elements and surface data, are automatically downloaded.

8. The method for simulating a small-scale wind field under the influence of terrain according to claim 3, characterized in that: The logic for obtaining the grid cell orthogonality index is as follows: obtain the number of grid cells of the unstructured grid, and calculate the absolute value of the orthogonality angle of each grid cell through the Open-FOAM software. The absolute value of the orthogonality angle is obtained by taking the absolute value of the angle between the adjacent surface normal vectors of the grid cell and dividing it by 90 degrees. The average orthogonality angle and the standard deviation of the orthogonality angle are obtained. The expression is: ; In the formula, is the standard deviation of the orthogonality angle, , represents the number of grid cells, is a positive integer, represents the absolute value of the orthogonality angle of the i-th grid cell, represents the average orthogonality angle; If the average orthogonality angle is greater than the angle threshold, and the standard deviation of the orthogonality angle is less than or equal to the standard deviation threshold, the grid cell orthogonality index ; If the average orthogonality angle is greater than the angle threshold and the standard deviation of the orthogonality angle is greater than the standard deviation threshold, the grid cell orthogonality index ; If the average orthogonality angle is less than or equal to the angle threshold, and the standard deviation of the orthogonality angle is greater than the standard deviation threshold, the grid cell orthogonality index ; If the average orthogonality angle is less than or equal to the angle threshold, and the standard deviation of the orthogonality angle is less than or equal to the standard deviation threshold, the grid cell orthogonality index .

Citation Information

Cited By

  • Valley region wind, light and water resource element simulation-oriented parameter optimization method and device

    CN118917116A

  • Sea and land wind identification method and system for surrounding and Bohai sea areas

    CN119202803A

  • Rapid simulation method and system for micro-scale meteorological elements in complex terrain area

    CN119227386A

  • Three-dimensional huge plant submerging numerical calculation data extraction and post-processing method

    CN119598563A

  • A method for extracting and post-processing numerical calculation data of a three-dimensional giant factory building flooding

    CN119598563B