A method for reconstructing the wave surface profile of ship-made wave rolling and breaking areas based on numerical simulation
Through partitioned vertex query and iterative interpolation method based on the viscous flow VOF method, the problem of inaccurate wave surface interpolation in the traditional numerical simulation is solved, and the accurate reconstruction of the highest peak of the wave surface and the capture of time calendar features are achieved. It provides effective support for research on unstable phenomena.
Patent Information
- Application Number
- CN202410588285.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-13
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-05-13
AI Technical Summary
When the existing numerical simulation method calculates the wave-rolling and crushing area of ships, the traditional spatial two-dimensional interpolation method is affected by the water vapor interface and cannot accurately represent the highest peak profile of the wave surface, which affects the wave surface time calendar distribution and analysis of non-constant features.
The viscous flow VOF method is used to perform numerical calculations, and the plane subdomain is divided and the reference longitudinal coordinates are determined by partitioning vertex query and iterative interpolation method. The Z-axis coordinates of the points to be interpolated are obtained by using the two-dimensional interpolation algorithm to reconstruct the ship's wave-resurfacing rolling The vertex profile of the wave surface of the broken area.
Accurate interpolation reconstruction of the highest peak profile of the wave surface is achieved, the wave surface profile of the water-vaporized state is captured, and the time-date fluctuation characteristics under the same coordinates are obtained, providing support for the study of the non-static phenomenon of broken waves.
Smart Images

Figure CN118468749B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of numerical simulation of ships, and in particular to a method for reconstructing the wave surface profile of a ship's wave-making, rolling and breaking area based on numerical simulation. Background Art
[0002] When a ship is sailing at sea, it will produce significant wave-making, rolling and breaking phenomena, which involves complex multiphase flow problems and brings great challenges to both experiments and numerical simulations. The ship's wave-making and breaking process has significant unsteady phenomena, mainly manifested in the violent fluctuation of the wave surface height. In the process of experiments and numerical simulations, it is necessary to pay attention to the time history and statistical characteristics of the wave surface.
[0003] For the currently commonly used numerical simulation methods, the computational grid will be rebuilt at each iteration step, which will cause the coordinates of the computational grid to change. Therefore, the calculation results of each time step need to be uniformly interpolated to the same coordinates to obtain the time history of the wave surface vertex contour. However, for areas where the wave-making, rolling and breaking are more severe, such as the bow wave of a ship, due to the existence of water vapor mixing and air entrainment, there will be multiple water vapor interfaces in the free surface results obtained by solution. In this case, when the traditional spatial two-dimensional interpolation method is used to calculate the wave height of a specified point, it will be affected by the interface formed by the entrained air below the wave surface in some areas, resulting in the wave height obtained by interpolation being unable to represent the highest peak contour of the wave surface, affecting the analysis of the wave surface time history distribution and unsteady characteristics. Summary of the invention
[0004] In view of the above problems and technical requirements, this application proposes a method for reconstructing the wave surface profile of the ship wave-making, rolling and breaking area based on numerical simulation. The technical solution of this application is as follows:
[0005] A method for reconstructing the wave surface contour of a ship's wave-making, rolling and breaking area based on numerical simulation, the method for reconstructing the wave surface contour of a ship's wave-making, rolling and breaking area comprising:
[0006] Based on the viscous flow VOF method, the spatial coordinates of the three-dimensional point clouds of each free surface in the ship's wave-making, rolling and breaking area at the current time step in the spatial coordinate system are obtained. The XOY plane of the spatial coordinate system OXYZ is parallel to the horizontal plane, and the positive direction of the Z axis is upward along the vertical direction;
[0007] For any projection coordinate (x i ,y i ), the projection coordinates to be interpolated (x i ,y i ) is divided into multiple plane subdomains, and a reference longitudinal coordinate is determined according to the spatial coordinates of the free surface 3D point cloud within each plane subdomain, and the projection coordinate to be interpolated (xi ,y i )’s Z-axis coordinate z i , and obtain the projection coordinates to be interpolated (x i ,y i ) is the spatial coordinate of the contour point in the spatial coordinate system (x i ,y i , z i ), wherein the free surface three-dimensional point cloud within each plane subdomain is the free surface three-dimensional point cloud whose plane projection coordinates are within the plane subdomain;
[0008] The spatial coordinates of the contour points at the projection coordinates to be interpolated are combined to reconstruct the reconstructed contour of the wave surface vertices in the ship's wave-making, rolling and breaking area at the current time step.
[0009] A further technical solution is to determine a reference longitudinal coordinate according to the spatial coordinates of the free surface three-dimensional point cloud within each plane subdomain, including:
[0010] The maximum longitudinal coordinate of the spatial coordinates of all free surface three-dimensional point clouds within each plane subdomain is taken as the reference longitudinal coordinate.
[0011] A further technical solution is to interpolate the projection coordinates (x i ,y i ) is divided into multiple plane subdomains including:
[0012] According to the four-quadrant form, the projection coordinates to be interpolated (x i ,y i ) is divided into four plane subdomains. The first plane subdomain includes the plane query domain X≥x i And Y ≥ y i The second plane subdomain includes the plane query domain X<x i And Y ≥ y i The third plane subdomain includes the plane query domain X<x i And Y<y i The fourth plane subdomain includes X≥x in the plane query domain. i And Y<y i part.
[0013] A further technical solution is to interpolate the multiple reference longitudinal coordinates to obtain the projection coordinates to be interpolated (x i ,y i )’s Z-axis coordinate z i include:
[0014] The four reference longitudinal coordinates are interpolated using a two-dimensional interpolation algorithm to obtain the projection coordinates to be interpolated (x i ,yi )’s Z-axis coordinate z i .
[0015] A further technical solution is that the method for reconstructing the wave surface profile of the ship's wave-making, rolling and breaking area also includes:
[0016] Count the number of free surface 3D point clouds within each plane subdomain;
[0017] When the number of free surface three-dimensional point clouds within all plane subdomains reaches a quantity threshold, a step of determining a reference longitudinal coordinate according to the spatial coordinates of the free surface three-dimensional point clouds within each plane subdomain is performed;
[0018] When the number of free surface 3D point clouds within at least one plane subdomain does not reach the quantity threshold, the interpolation projection coordinates (x i ,y i ) around the plane query domain, and re-execute the interpolation projection coordinates (x i ,y i ) is divided into a plurality of planar subdomains.
[0019] Its further technical solution is that the projection coordinates to be interpolated (x i ,y i ) is a square area with a query distance of d, and the plane query domain covers X∈[x i -d,x i +d] and Y∈[y i -d,y i +d] range.
[0020] A further technical solution is to expand the projection coordinates to be interpolated (x i ,y i ) The scope of the plane query domain around includes:
[0021] The projection coordinates to be interpolated (x i ,y i ) is expanded to d×r, where r is a growth rate parameter greater than 1.
[0022] The beneficial technical effects of this application are:
[0023] The present application discloses a method for reconstructing the wave surface contour of a ship's wave-making, rolling and breaking area based on numerical simulation. After the method performs numerical calculation based on the viscous flow VOF method to obtain a three-dimensional point cloud of a free surface, the method adopts a partitioned vertex query and iterative interpolation method to perform interpolation operations, which can accurately interpolate the contour of the highest peak of the wave surface and realize the interpolation reconstruction of the wave-making top surface contour of the specified coordinates, thereby effectively capturing the wave surface contour in the water vapor mixing state, and obtaining the time-history fluctuation characteristics of the wave surface under the same coordinates, providing support for the study of the unsteady phenomenon of breaking waves. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 This is a method flow chart of a method for reconstructing the wave surface profile of a ship's wave-making, rolling and breaking area according to an embodiment of the present application.
[0025] Figure 2 This is a schematic diagram of the distribution of the three-dimensional point cloud of the free surface in the spatial coordinate system obtained by numerical calculation based on the viscous flow VOF method.
[0026] Figure 3 yes Figure 2 The projection distribution diagram of the free surface 3D point cloud on the XOY plane and the schematic diagram of the interpolated projection coordinates and the surrounding plane query domain.
[0027] Figure 4 yes Figure 3 A local enlarged view of the projection coordinates to be interpolated and the surrounding plane query domain, as well as a schematic diagram of four plane subdomains obtained by dividing the plane query domain in quadrant form.
[0028] Figure 5 yes Figure 3 and Figure 4 A schematic diagram of the distribution of the plane projection coordinates of the free surface three-dimensional point cloud in the plane query domain in the example, and a schematic diagram of the free surface three-dimensional point cloud of the maximum longitudinal coordinate determined in each plane subdomain.
[0029] Figure 6 yes Figure 2 Schematic diagram of the final reconstructed contour of the wave surface vertices in the example. DETAILED DESCRIPTION
[0030] The specific implementation of the present application is further described below in conjunction with the accompanying drawings.
[0031] This application discloses a method for reconstructing the wave surface profile of the ship's wave-making, rolling and breaking area based on numerical simulation. Please refer to Figure 1 As shown in the flowchart, the method for reconstructing the wave surface profile of the ship's wave-making, rolling and breaking area includes the following steps:
[0032] Step 1: Based on the viscous flow VOF method, numerical calculation is performed to obtain the spatial coordinates of the three-dimensional point clouds of each free surface in the ship's wave-making, rolling and breaking area in the current time step in the spatial coordinate system.
[0033] The specific method of numerical calculation based on the viscous flow VOF method used in this step is a common method in the existing numerical simulation process, which will not be elaborated in this step. The common areas of ship wave-making, rolling and breaking, such as the bow of the ship, can be determined according to actual needs.
[0034] The XOY plane of the spatial coordinate system OXYZ is parallel to the horizontal plane, and the positive direction of the Z axis is upward along the vertical direction. The spatial coordinates of any j-th free surface three-dimensional point cloud calculated in the spatial coordinate system OXYZ can be written as (X j , Y j , Z j ), whose Z-axis coordinate represents the wave height, integer parameter 1≤j≤N, integer parameter N is the total number of free surface 3D point clouds and is determined according to actual conditions. For example, in an example, the spatial coordinates of each free surface 3D point cloud obtained at the current time step in the spatial coordinate system are as follows Figure 2 shown.
[0035] Step 2: For any projection coordinate (x i ,y i ), the projection coordinates to be interpolated (x i ,y i ) is divided into multiple plane subdomains. i is the X-axis coordinate of the projection coordinate to be interpolated, y i Is the Y-axis coordinate of the projection coordinate to be interpolated.
[0036] Each projection coordinate to be interpolated (x i ,y i ) is the two-dimensional coordinate of a position that needs to be interpolated. All positions that need to be interpolated are known, so all the projection coordinates to be interpolated are known. i ,y i ) around the plane query domain to be interpolated projection coordinates (x i ,y i ) as the center and covers a predetermined range. In theory, the plane query domain can adopt various regional shapes. However, in order to facilitate data processing and have a better wavefront profile reconstruction effect, in one embodiment, the projection coordinate to be interpolated (x i ,y i ) is a square area with a query distance of d, and the plane query domain covers the X-axis coordinate X∈[x i -d,x i+d] and the Y-axis coordinate Y∈[y i -d,y i +d]. The query distance d is a custom preset value, which is set according to actual experience. For example, in an example, the projection coordinate to be interpolated is located at Figure 3 At the red point and (x i ,y i )=(0.125,0.075), and the query distance is pre-set to d=0.003, so the interpolation projection coordinate (x i ,y i ) around the plane query domain such as Figure 3 The positive direction area within the green box includes the range of X-axis coordinate X∈[0.122, 0.128] and Y-axis coordinate Y∈[0.072, 0.078].
[0037] Depend on Figure 3 It can be seen that each free surface 3D point cloud has a corresponding plane projection coordinate on the XOY plane. Figure 3 Each black dot in the figure represents the plane projection of a free surface 3D point cloud on the XOY plane. Some of the plane projection coordinates of the free surface 3D point cloud are between the projection coordinates to be interpolated (x i ,y i ) in the plane query domain around, for example Figure 3 The core of this application is to use the plane projection coordinates in (x i ,y i ) The free surface 3D point cloud in the surrounding plane query domain is interpolated to obtain the projection coordinates to be interpolated (x i ,y i ) at the Z-axis coordinate.
[0038] In order to achieve a better interpolation effect, the projection coordinates to be interpolated (x i ,y i ) at a more accurate and reasonable Z-axis coordinate, further dividing the plane query domain into multiple plane subdomains. When dividing the plane query domain into subdomains, the interpolation projection coordinate (x i ,y i ) is used as the center to evenly divide the plane query domain along the circumference so that the projection coordinates to be interpolated (x i ,y i ) is located in the middle of each plane subdomain, and the interpolated projection coordinates (x i ,y i ), thereby improving the interpolation reliability and interpolation accuracy.
[0039] In order to facilitate data processing and achieve better wavefront profile reconstruction, in one embodiment, the projection coordinates to be interpolated (xi ,y i ) is divided into four plane subdomains. The first plane subdomain includes the plane query domain X≥x i And Y ≥ y i The second plane subdomain includes X in the plane query domain. <x i And Y ≥ y i The third plane subdomain includes X in the plane query domain. <x i And Y<y i The fourth plane subdomain includes X≥x in the plane query domain. i And Y <y i part.
[0040] For example, Figure 3 In the example, the projection coordinates to be interpolated (x i ,y i ) is an enlarged view of the plane query domain around Figure 4 As shown, the plane query domain is divided into four plane subdomains according to the purple dividing line. Combined with the range of the plane query domain, it can be determined that the first plane subdomain includes the part of X∈[0.125, 0.128] and Y∈[0.075, 0.078], the second plane subdomain includes the part of X∈[0.122, 0.125] and Y∈[0.075, 0.078], the third plane subdomain includes the part of X∈[0.122, 0.125) and Y∈[0.072, 0.075), and the fourth plane subdomain includes the part of X∈[0.125, 0.128] and Y∈[0.072, 0.075).
[0041] After dividing the plane subdomain, we can further determine the plane projection coordinates in the interpolation projection coordinates (x i ,y i ) in which plane subdomain the free surface 3D point cloud in the plane query domain around it specifically falls, that is, the free surface 3D point cloud within each plane subdomain can be determined. The free surface 3D point cloud within each plane subdomain is the free surface 3D point cloud whose plane projection coordinates are within the plane subdomain. For example, Figure 3 and Figure 4 In the example, the plane projection coordinates of the free surface 3D point cloud in the four plane subdomains are represented by different marks.
[0042] Step 3, determine a reference longitudinal coordinate based on the spatial coordinates of the free surface three-dimensional point cloud within each plane subdomain. Since this application needs to capture the wave surface contour of the water vapor mixing state, it is necessary to capture the maximum wave height. Therefore, the maximum longitudinal coordinate of the spatial coordinates of all free surface three-dimensional point clouds within each plane subdomain is used as the reference longitudinal coordinate of the plane subdomain, and the reference longitudinal coordinate is the maximum wave surface height within the plane subdomain. In this way, the reference longitudinal coordinates of each plane subdomain can be obtained respectively, and the reference longitudinal coordinates are the longitudinal coordinates of the free surface three-dimensional point cloud of the wave surface top surface within the plane subdomain. For example, in Figure 3 and Figure 4 In the example of and , the spatial coordinates of all free surface 3D point clouds in the plane query domain are as follows: Figure 5 As shown, the four red free surface 3D point clouds are the free surface 3D point clouds with the maximum longitudinal coordinates within the four plane subdomains.
[0043] Then, the projection coordinates to be interpolated (x i ,y i )’s Z-axis coordinate z i , and obtain the projection coordinates to be interpolated (x i ,y i ) is the spatial coordinate of the contour point in the spatial coordinate system (x i ,y i , z i In one embodiment, each plane subdomain is distributed in the projection coordinates to be interpolated (x i ,y i ), so the multiple reference vertical coordinates obtained are (x i ,y i ), so the four reference longitudinal coordinates are interpolated using a two-dimensional interpolation algorithm to obtain the projection coordinates to be interpolated (x i ,y i )’s Z-axis coordinate z i , the projection coordinates to be interpolated (x i ,y i )’s Z-axis coordinate z i The wave top surface can be better characterized.
[0044] Since the distribution of the free surface 3D point cloud obtained in step 1 is irregular, if the plane subdomain is only divided into 2 or 3 plane subdomains, it may not be possible to ensure that the projection coordinates to be interpolated (x i ,y i) must be between the free surface 3D point clouds of the maximum longitudinal coordinates of each plane subdomain, which will make it difficult to ensure the interpolation accuracy. Therefore, an embodiment of the present application divides the plane query domain into four plane subdomains according to the quadrant division method, which can basically ensure that (x i ,y i ) between the selected free surfaces, so that interpolation can be performed to avoid the situation where the free surface 3D point cloud with the maximum longitudinal coordinate is all in (x i ,y i ), so this plane division method is also conducive to further improving the reliability of interpolation. In addition, the four-quadrant division method can also ensure the uniformity of free surface selection, thereby ensuring interpolation accuracy. Of course, it is also possible to divide it into more plane subdomains, but it may lead to a decrease in calculation efficiency. Therefore, the comprehensive performance of the four-quadrant division method is better.
[0045] In addition, due to the irregularity of the distribution of the free surface three-dimensional point cloud, if the range of the plane query domain is set too small, or the distribution of the free surface three-dimensional point cloud in the plane query domain is too discrete, it may cause the three-dimensional point clouds in some plane subdomains to not be the top surface of the wave surface. In this way, even if the maximum longitudinal coordinate is taken in each plane subdomain, it is impossible to avoid the interpolation result being too small. Therefore, in another embodiment, after being divided into multiple plane subdomains, the number of free surface three-dimensional point clouds within the scope of each plane subdomain is first counted. When the number of free surface three-dimensional point clouds within the scope of all plane subdomains reaches the quantity threshold, the step of determining a reference longitudinal coordinate according to the spatial coordinates of the free surface three-dimensional point cloud within the scope of each plane subdomain is executed, and then the interpolation operation is performed. When there is at least one plane subdomain where the number of free surface three-dimensional point clouds does not reach the quantity threshold, it may not be possible to accurately obtain the top surface of the wave surface at this time, and the projection coordinate to be interpolated (x i ,y i ) around the plane query domain, and then re-interpolate the projection coordinates to be interpolated (x i ,y i ) is divided into multiple plane subdomains, and the number of free surface 3D point clouds within each plane subdomain is recounted until the number of free surface 3D point clouds within all plane subdomains reaches the quantity threshold. The quantity threshold here can ensure that the number of free surface 3D point clouds in each plane subdomain is not too small. It can generally be selected based on experience, or determined in combination with the density of the grid and some preliminary tests, so as to improve the calculation efficiency while ensuring the accuracy of interpolation.
[0046] When the plane query domain is a square area with a query distance d, the interpolated projection coordinates (x i ,y i) is expanded to d×r, where r is a growth rate parameter greater than 1 and can be customized to expand the plane query domain proportionally.
[0047] Step 4: Through the above steps 2 and 3, the spatial coordinates of the contour points at the projection coordinates to be interpolated can be obtained respectively, and then the contour points at the projection coordinates to be interpolated can be reconstructed to obtain the wave surface vertex reconstructed contour of the ship's wave-making, rolling and breaking area at the current time step. Figure 2 In the example of Figure 6 shown.
[0048] The above is only a preferred embodiment of the present application, and the present application is not limited to the above embodiments. It is understood that other improvements and changes directly derived or associated by those skilled in the art without departing from the spirit and concept of the present application should be considered to be included in the protection scope of the present application.
Claims
1. A method for reconstructing the wave surface profile of a ship's wave-making, rolling and breaking area based on numerical simulation, characterized in that: The method for reconstructing the wave surface profile of the ship's wave-making, rolling and breaking area comprises: Based on the viscous flow VOF method, the spatial coordinates of the three-dimensional point clouds of each free surface in the ship's wave-making, rolling and breaking area at the current time step in the spatial coordinate system are obtained. of The plane is parallel to the horizontal plane, The positive direction of the axis is upward along the vertical direction; for Any projection coordinate to be interpolated on the plane , the projection coordinates to be interpolated The surrounding plane query domain is divided into multiple plane subdomains. A reference longitudinal coordinate is determined according to the spatial coordinates of the free surface 3D point cloud within each plane subdomain, and the projection coordinates to be interpolated are obtained by interpolating the obtained multiple reference longitudinal coordinates. of Axis coordinates , and get the projection coordinates to be interpolated The spatial coordinates of the contour points in the spatial coordinate system ; Wherein, the free surface three-dimensional point cloud within each plane subdomain is the free surface three-dimensional point cloud whose plane projection coordinates are within the plane subdomain; The spatial coordinates of the contour points at the projection coordinates to be interpolated are combined to reconstruct the wave surface vertex reconstructed contour of the ship's wave-making, rolling and breaking area at the current time step; The projection coordinates to be interpolated The surrounding plane query domain is divided into multiple plane subdomains including: the projection coordinates to be interpolated are divided into four quadrants The surrounding plane query domain is divided into four plane subdomains. The first plane subdomain includes the plane query domain and The second plane subdomain includes the plane query domain and The third plane subdomain includes the plane query domain and The fourth plane subdomain includes the plane query domain and part of; The method for reconstructing the wave surface contour of the ship wave-making, rolling and breaking area also includes: counting the number of free surface three-dimensional point clouds within each plane subdomain, and when the number of free surface three-dimensional point clouds within all plane subdomains reaches a number threshold, executing the step of determining a reference longitudinal coordinate according to the spatial coordinates of the free surface three-dimensional point clouds within each plane subdomain; when there is at least one plane subdomain within which the number of free surface three-dimensional point clouds does not reach the number threshold, the projection coordinates to be interpolated are calculated. The query distance of the surrounding plane query domain is expanded to , is a growth rate parameter greater than 1, and re-executes the method of interpolating the projection coordinates to be interpolated The steps of dividing the surrounding plane query domain into multiple plane subdomains; the projection coordinates to be interpolated The surrounding plane query domain is the query distance square area, and the plane query domain covers and range.
2. The method for reconstructing the wave surface profile of the ship wave-making, rolling and breaking area according to claim 1 is characterized in that: Determining a reference longitudinal coordinate based on the spatial coordinates of the free surface 3D point cloud within each plane subdomain includes: The maximum longitudinal coordinate of the spatial coordinates of all free surface three-dimensional point clouds within each plane subdomain is taken as the reference longitudinal coordinate.
3. The method for reconstructing the wave surface profile of the ship wave-making, rolling and breaking area according to claim 1 is characterized in that: The projection coordinates to be interpolated are obtained by interpolating the multiple reference longitudinal coordinates. of Axis coordinates include: Use the two-dimensional interpolation algorithm to interpolate the four reference longitudinal coordinates to obtain the projection coordinates to be interpolated of Axis coordinates .
