A method and system for extracting characteristic parameters of confined space ship traveling wave environment fields
Through wave height filtering and polar coordinate conversion of CFD simulation information, combined with three-dimensional wave surface search, the characteristic parameters of the ship's traveling wave environment field are extracted, which solves the problem of poor simulation results in the existing technology, and realizes the realistic three-dimensional ship's traveling wave environment field model Development.
Patent Information
- Application Number
- CN202410227520.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-29
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-02-29
AI Technical Summary
In the simulation research of ship traveling wave environmental field, the simulation effect is poor, and it is difficult to achieve realistic three-dimensional effects. Adaptive modeling and physical movement of rising waves are not considered, and dynamics are lacking.
Wave height filtering is performed through CFD-based ship traveling wave environment field simulation information, converted into polar coordinate system, limited angle filtering and three-dimensional wave surface search, extract peak and valley information and tangent angles of the peripheral wave restricted angle area, and generate elliptical contour heights Wire.
It realizes the accurate extraction of the characteristic parameters of the ship's traveling wave environment field in confined areas, supports the development of a realistic ship's traveling wave environment field model under sea conditions, and improves the real-time and dynamic nature of the simulation results.
Smart Images

Figure CN118070632B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a method and system for extracting characteristic parameters, in particular to a method and system for extracting characteristic parameters suitable for a restricted domain ship traveling wave environment field. Background Art
[0002] The characteristic parameters of the ship-traveling wave environment field are essential information features in the process of constructing the ship-traveling wave environment field. The accurate extraction of characteristic parameters is extremely important for analyzing the characteristics of the ship-traveling wave environment field and reconstructing a three-dimensional ship-traveling wave environment field that is close to the real one.
[0003] With the progress of the times and the continuous improvement of ecological requirements, the impact of ship waves on inland waterways, offshore buildings and the external structure of ships has received more and more attention. Therefore, it is necessary to effectively construct a ship wave environment field that is close to the real environment, and then study the impact of ship waves on waterways, external structures of ships and buildings, so as to understand the real hull motion characteristics and laws.
[0004] The simulation of ship waves is one of the most challenging topics in the field of computer graphics. Most of the existing research on ship waves is based on modeling and simulation by simplifying the real problem and using numerical simulation software. The simulation results are poor in real-time performance and effect, and are very different from the real ship wave environment.
[0005] At present, the mainstream research algorithms for the simulation of ship waves include the Lwave method, the Goss and particle combination method, the particle system simulation, and the Perfectly Matched Layers method. The simulated effects are not consistent with the actual situation, and the adaptive modeling of the ship during navigation and the physical movement of the waves are not considered. In addition, the numerical simulation method has a strong dependence on the number of grids, grid size, and calculation model, and it is difficult to achieve a realistic three-dimensional effect. Although some existing three-dimensional modeling software considers the wake phenomenon of ship waves, the patterns they present are fixed, rigid, and lack dynamics.
[0006] In summary, there is an urgent need to develop a realistic visualization of three-dimensional ship wave environment field, and the accurate extraction of the characteristic parameters of the ship wave environment field plays a vital role in the visualization scene development process. Accurate characteristic parameters can construct a wave model that is closer to reality. Therefore, how to effectively realize the extraction of characteristic parameters of the ship wave environment field is a difficult problem that needs to be solved urgently. Summary of the invention
[0007] The purpose of the present invention is to overcome the deficiencies in the prior art and to provide a method and system for extracting characteristic parameters of a ship wave environment field in a restricted domain, which can effectively realize the extraction of characteristic parameters of a ship wave environment field in a restricted domain and provide technical support for the development of a ship wave environment field model under realistic sea conditions.
[0008] According to the technical solution provided by the present invention, a method for extracting characteristic parameters suitable for a restricted domain ship traveling wave environment field, the method for extracting characteristic parameters comprises:
[0009] Providing CFD-based ship wave environment field simulation information, and filtering the ship wave environment field simulation information by wave height to obtain an obvious wave height environment field after wave height filtering, and extracting the total lateral length of the ship wave environment field based on the obvious wave height environment field;
[0010] The coordinate system of the apparent wave height environment field is transformed to generate the apparent wave height environment field in polar coordinates;
[0011] Performing restricted angle filtering on the above-mentioned obvious wave height environment field under polar coordinates to obtain a peripheral wave restricted angle area after restricted angle filtering, wherein the peripheral wave restricted angle area includes a left peripheral wave area located on the left side of the ship and a right peripheral wave area located on the right side of the ship;
[0012] Performing a three-dimensional wave surface search on the above peripheral wave restricted angle region to extract peak and valley information of the peripheral wave restricted angle region, wherein the peak and valley information includes all wave crest positions, wave valley positions, wave height information of the peripheral wave restricted angle region, peak and valley contours of the left peripheral wave region, and peak and valley contours of the right peripheral wave region;
[0013] Based on the peak-valley information determined above, the tangent angle of any peak position and / or trough position is extracted.
[0014] A wave height filtering threshold is configured, and wave height filtering is performed on the ship wave environment field simulation information based on the wave height filtering threshold, wherein:
[0015] The areas where the wave height is lower than the wave height filtering threshold in the ship wave environment field simulation information are filtered to obtain an obvious wave height environment field.
[0016] When the restricted angle filtering is performed on the apparent wave height environment field in polar coordinates to obtain the restricted angle area of the peripheral waves, it includes:
[0017] For the [-90°, +90°] area centered on the bow and where the obvious wave height environment field is located in polar coordinates, the wave height information on the polar radius is interpolated and scanned from the +90° position and / or the -90° position to the 0° position until the outer circle polar radius position where the wave height amplitude on the polar radius begins to increase obviously is scanned, so as to generate the outer circle angle value based on the outer circle polar radius position, wherein the outer circle polar radius position between the -90° position and the 0° position is set as the outer circle angle value on the left side Set the outer circle polar radius position between +90° and 0° to the outer circle angle value on the right.
[0018] Take the above outer circle polar radius position as the starting point and interpolate the wave height information on the polar radius to the 0° position until the inner circle polar radius position where the wave height amplitude on the polar radius increases and decreases significantly is scanned, so as to generate the inner circle angle value based on the inner circle polar radius position, wherein the outer circle angle value on the left is The inner circle polar radius position between the 0° position is set to the inner circle angle value on the left Set the outer circle angle value on the right The inner circle polar radius position between the 0° position is set to the inner circle angle value on the right
[0019] Based on the outer circle angle value on the left above Angle value with the inner circle on the left The left peripheral wave area is formed;
[0020] Based on the outer circle angle value on the right above Angle value with the inner circle on the right Forming the right outer wave area.
[0021] When searching for the outer circle polar radius position, the scanning angular velocity is ω0;
[0022] When searching for the inner circle polar radius position, the scanning angular velocity is ω1, where ω1 is less than ω0.
[0023] When performing a three-dimensional wavefront search on the peripheral wave restricted angle area, it includes a three-dimensional wavefront search step on the left peripheral wave area and a three-dimensional wavefront search step on the right peripheral wave area, wherein:
[0024] When searching for three-dimensional wavefronts, this includes:
[0025] Configure the area search step length, so as to divide the left peripheral wave area and the right peripheral wave area into a plurality of search areas based on the configured area search step length, wherein the area search step length includes a preset angle and a preset radius Δρ;
[0026] The search starts from the origin of polar coordinates, and the maximum and / or minimum of the current search area is determined for each search area until the search of the left peripheral wave area and the right peripheral wave area is completed, so as to obtain the peak and valley information of the peripheral wave restricted angle area after the search is completed.
[0027] For each search area, configure the intensity threshold based on all the maximum values of the current search area, where
[0028] The extreme value points whose maximum value in the current search area is less than the intensity threshold are filtered, and the extreme value points whose maximum value in the current search area is not less than the intensity threshold are taken as the effective peak position to obtain the peak position in the current search area.
[0029] For the left peripheral wave region, the discrete curvature values corresponding to each crest position and trough position are calculated, and all the discrete curvature values are averaged to obtain the left peripheral wave average curvature of the left peripheral wave region;
[0030] Based on the average curvature of the left peripheral wave, a wake angle of the left peripheral wave region is calculated and generated;
[0031] For the right peripheral wave region, the discrete curvature values corresponding to each crest position and trough position are calculated, and all the discrete curvature values are averaged to obtain the right peripheral wave average curvature of the right peripheral wave region;
[0032] Based on the right peripheral wave average curvature, the wake angle of the right peripheral wave area is calculated and generated.
[0033] When calculating the discrete curvature value of each crest or trough position, we have:
[0034]
[0035] Where K is the discrete curvature value, y is the coordinate value in the y direction at the peak position or the trough position, x is the coordinate value in the x direction at the peak position or the trough position, y′(x) is the first-order derivative of y with respect to x, and y″(x) is the second-order derivative of y with respect to x.
[0036] When extracting the tangent angle, include:
[0037] Select a tangent angle base point, wherein the tangent angle base point is a wave crest position or a wave trough position;
[0038] For the selected tangent angle base point, generate a quasi-ellipse contour line of the tangent angle base point, wherein the two end points of the major axis of the quasi-ellipse contour line are respectively the maximum polar coordinate radius point A and the minimum polar coordinate radius point B;
[0039] Convert the maximum polar coordinate radius point A and the minimum polar coordinate radius point B into data points A' and B' in the Cartesian coordinate system respectively;
[0040] Based on the coordinate values of the data point A' and the data point B' in the Cartesian coordinate system, the tangent angle of the current tangent angle base point is determined.
[0041] A characteristic parameter extraction system suitable for a restricted domain ship wave environment field comprises an extraction processing terminal for extracting characteristic parameters, wherein the extraction processing terminal is used to execute the characteristic parameter extraction method described above to obtain the characteristic parameters of the restricted domain ship wave environment field after extraction.
[0042] The advantages of the present invention are as follows: wave height filtering is performed on the simulation information of the ship wave environment field to obtain the obvious wave height environment field, and the total lateral length can be extracted based on the obvious wave height environment field; the obvious wave height environment field is converted into the obvious wave height environment field under the polar coordinate system, and the restricted angle area of the peripheral wave is obtained by filtering the obvious wave height environment field under the polar coordinate system, and three-dimensional wave surface search is performed to extract peak and valley information, and based on the peak and valley information, ellipse-like contour lines can be generated for each wave crest position / wave valley information, so that the tangent angle can be extracted, that is, the characteristic parameter extraction of the ship wave environment field in the restricted domain can be effectively realized, and technical support is provided for the development of a ship wave environment field model under realistic sea conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 The figure is a flow chart of an embodiment of feature parameter extraction of the present invention.
[0044] Figure 2 The present invention is a schematic diagram of an embodiment of the process of generating a significant wave height environment field in polar coordinates.
[0045] Figure 3 A schematic diagram of an embodiment of obtaining a peripheral wave restricted angle region according to the present invention.
[0046] Figure 4 A schematic diagram of an embodiment of generating peak and valley information according to the present invention.
[0047] Figure 5 A schematic diagram of an embodiment of extracting tangent angles according to the present invention. DETAILED DESCRIPTION
[0048] The present invention will be further described below in conjunction with specific drawings and embodiments.
[0049] In order to effectively realize the extraction of characteristic parameters of the restricted domain ship wave environment field, a characteristic parameter extraction method suitable for the restricted domain ship wave environment field is provided. In one embodiment of the present invention, the characteristic parameter extraction method includes:
[0050] Providing CFD-based ship wave environment field simulation information, and filtering the ship wave environment field simulation information by wave height to obtain an obvious wave height environment field after wave height filtering, and extracting the total lateral length of the ship wave environment field based on the obvious wave height environment field;
[0051] The coordinate system of the apparent wave height environment field is transformed to generate the apparent wave height environment field in polar coordinates;
[0052] Performing restricted angle filtering on the above-mentioned obvious wave height environment field under polar coordinates to obtain a peripheral wave restricted angle area after restricted angle filtering, wherein the peripheral wave restricted angle area includes a left peripheral wave area located on the left side of the ship and a right peripheral wave area located on the right side of the ship;
[0053] Performing a three-dimensional wave surface search on the above peripheral wave restricted angle region to extract peak and valley information of the peripheral wave restricted angle region, wherein the peak and valley information includes all wave crest positions, wave valley positions, wave height information of the peripheral wave restricted angle region, peak and valley contours of the left peripheral wave region, and peak and valley contours of the right peripheral wave region;
[0054] Based on the peak-valley information determined above, the tangent angle of any peak position and / or trough position is extracted.
[0055] Figure 1 , a flow chart of an embodiment of characteristic parameter extraction of a restricted domain ship wave environment field is shown in FIG., wherein, when extracting characteristic parameters, it is necessary to provide ship wave environment field simulation information generated based on CFD, that is, the ship wave environment field simulation information is generated based on CFD (Computational Fluid Dynamics) simulation, and the method and process of generating ship wave environment simulation information based on CFD can be selected according to needs, such as setting a ship model in CFD and constructing a Cartesian rectangular coordinate system, wherein the origin of the constructed Cartesian rectangular coordinate system is the bow at the waterline plane of the ship model, the x direction is the forward direction of the bow, the y direction is the direction of the left side of the ship model, and the z direction is the direction opposite to the keel of the ship model (that is, perpendicular to the waterline plane and upward), such as Figure 3 As shown, in the following description and drawings, Cartesian rectangular coordinate system and Cartesian coordinate system refer to the same coordinate system; therefore, the generated ship wave environment field simulation information is information under the Cartesian coordinate system; generally, the ship wave environment field simulation information can generally be image information and / or point data set generated by CFD, and the generated image information and point data set are generally one-to-one corresponding. The specific situation of generating the ship wave environment field simulation information corresponds to the demand for simulation using CFD, and the ability to obtain the ship wave environment field simulation information shall prevail.
[0056] The ship-borne wave environment field simulation information generally includes wave height data. In order to avoid the influence of the original sea state data during CFD calculation, the ship-borne wave environment field simulation information needs to be subjected to wave height filtering, so as to obtain an obvious wave height environment field after wave height filtering.
[0057] When performing wave height filtering, in one embodiment of the present invention, a wave height filtering threshold is configured, and wave height filtering is performed on the ship wave environment field simulation information based on the wave height filtering threshold, wherein:
[0058] The areas where the wave height is lower than the wave height filtering threshold in the ship wave environment field simulation information are filtered to obtain an obvious wave height environment field.
[0059] The wave height filtering threshold can generally be set according to the simulation parameters of the current CFD generated ship wave environment field simulation information, or can be set in other ways, such as obtaining the maximum absolute value of the wave height under different working conditions according to the simulation parameters of the current generated ship wave environment field simulation information, and then the maximum absolute value*0.2 is used as the wave height filtering threshold. For different working conditions, it generally refers to symmetrical working conditions (drift angle = 0°) and asymmetric working conditions under different drift angles (for example, drift angle = 2°, 4°, 6°, etc.), wherein, when the ship model is moving straight along the x direction, the drift angle is 0°, and a symmetrical environmental field (i.e., symmetrical working condition) is formed on its left and right sides; when the ship model has left and right steering conditions, that is, the drift angle is not 0°, an asymmetric environmental field (i.e., asymmetric working condition) is formed on the left and right sides.
[0060] After setting the wave height filtering threshold, the wave height of the ship wave environment field simulation information can be filtered to obtain the obvious wave height environment field. Of course, after the wave height filtering, it is generally necessary to judge the rationality of the obvious wave height environment field, such as Figure 2 When making a rationality judgment, a feasible implementation scheme is: if the data result of the obvious wave height environment field is in the visually obvious area, it can be considered reasonable. Otherwise, the wave height filtering threshold needs to be adjusted until the data result of the output obvious wave height environment field is in the visually obvious area. Here, the data result of the obvious wave height environment field is the wave height. Generally speaking, the larger the coordinate value of the wave height, the darker the color of the visually obvious area.
[0061] It can be seen from the above description that the ship wave environment field simulation information can be image information or a point data set that corresponds one-to-one with the image information. Therefore, the ship wave environment field simulation information can be represented in the form of cloud maps, etc. Generally, when located in a visually obvious area, the color of the visually obvious area is dark and has the shape of wave making and breaking waves, and the color of the cloud map area in the non-visually obvious area (i.e., the wave height point of the sea condition itself) is very light. Therefore, compared with the wave height in the obvious environment field area, it is very small and the color is light. Therefore, after filtering the wave height through the wave height filtering threshold, it can be judged whether it is reasonable by naked eye observation, etc. Of course, other methods can also be used to judge the reasonable situation of the obvious wave height environment field, and examples will not be given one by one here.
[0062] After obtaining a reasonable obvious wave height environment field, the total lateral length of the ship wave environment field can be extracted based on the obvious wave height environment field, wherein the total lateral length refers to the length along the x-axis direction. Therefore, after obtaining the obvious wave height environment field, the total lateral length can be extracted by using technical means commonly used in the technical field.
[0063] In order to facilitate the subsequent extraction of characteristic parameters, in one embodiment of the present invention, it is necessary to transform the coordinate system of the apparent wave height environment field, that is, transform the apparent wave height environment field in the Cartesian rectangular coordinate system into the apparent wave height environment field in the polar coordinate system, such as Figure 1 The polar coordinate transformation process in the figure can be consistent with the existing method and process of transforming the coordinate system of the apparent wave height environment field, so as to obtain the apparent wave height environment field under polar coordinates. In the polar coordinate system, the apparent wave height environment field under polar coordinates is square, such as Figure 3 The area range indicated by the square area of the polar coordinate obvious environmental field is shown.
[0064] In one embodiment of the present invention, when the restricted angle filtering is performed on the obvious wave height environment field under polar coordinates to obtain the peripheral wave restricted angle area, it includes:
[0065] For the [-90°, +90°] area centered on the bow and where the obvious wave height environment field is located in polar coordinates, the wave height information on the polar radius is interpolated and scanned from the +90° position and / or the -90° position to the 0° position until the outer circle polar radius position where the wave height amplitude on the polar radius begins to increase obviously is scanned, so as to generate the outer circle angle value based on the outer circle polar radius position, wherein the outer circle polar radius position between the -90° position and the 0° position is set as the outer circle angle value on the left side Set the outer circle polar radius position between +90° and 0° to the outer circle angle value on the right.
[0066] Take the above outer circle polar radius position as the starting point and interpolate the wave height information on the polar radius to the 0° position until the inner circle polar radius position where the wave height amplitude on the polar radius increases and decreases significantly is scanned, so as to generate the inner circle angle value based on the inner circle polar radius position, wherein the outer circle angle value on the left is The inner circle polar radius position between the 0° position is set to the inner circle angle value on the left Set the outer circle angle value on the right The inner circle polar radius position between the 0° position is set to the inner circle angle value on the right
[0067] Based on the outer circle angle value on the left above Angle value with the inner circle on the left The left peripheral wave area is formed;
[0068] Based on the outer circle angle value on the right above Angle value with the inner circle on the right Forming the right outer wave area.
[0069] Depend on Figure 1 It can be seen that after obtaining the obvious wave height environment field under polar coordinates, restricted angle filtering is required, so that after restricted angle filtering, the peripheral wave restricted angle area can be obtained, wherein the obtained peripheral wave restricted angle area is the restricted domain of the present invention. Figure 3 An embodiment of obtaining the peripheral wave restricted angle area is shown in FIG. 1 . As can be seen from the figure, the peripheral wave restricted angle area includes a left peripheral wave area located on the left side of the ship and a right peripheral wave area located on the right side of the ship.
[0070] From the above description, it can be seen that the ship wave environment field includes a symmetrical environment field and an asymmetrical environment field. For the asymmetrical environment field, it is necessary to perform restricted angle filtering on the areas on both sides of the ship model respectively; while for the symmetrical environment field, it is only necessary to perform restricted angle filtering on the area on one side of the ship model, such as Figure 1 As shown, of course, for the symmetrical environmental field, the areas on both sides of the ship model can also be filtered with restricted angles, specifically based on obtaining the left peripheral wave area and the right peripheral wave area.
[0071] After conversion to polar coordinates, when filtering at limited angles, the filtering range is the [-90°, +90°] area centered on the bow and where the obvious wave height environment field in polar coordinates is located, that is, the ship-traveling wave area is filtered out, and the obvious wave height environment field in the entire polar coordinates is within the range of [-90°, +90°], such as Figure 3 As shown in the figure, the apparent wave height environment field in polar coordinates is located on one side of the entire coordinate system, and the center of the polar coordinate system is located at the bow. Figure 3 In the figure, interpolation scans are performed from -90° to 0° and from +90° to 0°. In the figure, the left peripheral wave area is located in the interval of -90° to 0°, while the right peripheral wave area is located in the interval of +90° to 0°. The ship wave area is the area between the left peripheral wave area and the right peripheral wave area.
[0072] When filtering at a restricted angle, in one embodiment of the present invention, the wave height information on the polar radius is interpolated from the +90° position and / or the -90° position to the 0° position. As can be seen from the above description, the wave height information of each regional position can be obtained during the scanning process. The following takes the interpolation scanning of the wave height information on the polar radius from the -90° position to the 0° position as an example to describe the specific process.
[0073] During the whole scanning process, the ray centered at the origin O of the polar coordinate system can be used to perform circular motion from the -90° position to the 0° position at a certain angular velocity. In the initial state, for the ray connecting the origin O and the -90° position in the polar coordinate system, at this time, the ray and the obvious wave height environment field in the polar coordinate system are Figure 3 The right boundary overlaps with the area where the obvious wave height environment field under polar coordinates overlaps to form a polar radius, thereby determining the interpolation scanning wave height information of the ray overlapping area, such as the interpolation scanning wave height information can be the maximum value of all wave heights on the current polar radius or the average value of all wave heights. When interpolating and scanning, it specifically refers to that the formed polar radius rotates around the origin O at a preset angular velocity. Generally, the preset angular velocity is a positive integer.
[0074] During the interpolation scanning process, polar radii are formed in sequence, and the maximum wave height or the average value of all wave heights on the polar radius is obtained. By comparing the interpolation scanning wave height information of two adjacent polar radii, the change of wave height information can be determined to determine whether the wave height amplitude on the polar radius has increased significantly. When the wave height amplitude has increased significantly, the outer circle angle value is obtained based on the outer circle polar radius position where the current wave height amplitude has increased significantly. At this time, the outer circle angle value obtained can also form the outer circle angle value on the left.
[0075] After obtaining the outer circle polar radius position, it is necessary to continue to interpolate the wave height information on the scan polar radius toward the 0° position. The method of scanning the wave height information on the polar radius may be consistent with the above, but different from the above in that the angular velocities of the two are different. In one embodiment of the present invention, when searching for the outer circle polar radius position, the scanning angular velocity is ω0; when searching for the inner circle polar radius position, the scanning angular velocity is ω1, wherein ω1 is less than ω0. When a smaller angular velocity ω1 is used, it can help improve the accuracy of searching for the inner circle polar radius position. In addition, the method of determining the inner circle polar radius position is also different from the above method of determining the outer circle polar radius position. Specifically, when a polar radius position is scanned where the wave height amplitude on the polar radius increases and decreases significantly, it is considered to be the inner circle polar radius position, so that the inner circle angle value on the left can be obtained.
[0076] When scanning the polar radius, the above method can be used to obtain the interpolated scanning wave height information, and then the amplitude change of the wave height on the polar radius can be realized, that is, whether the wave height amplitude increases and decreases significantly. It can be seen that the inner circle polar radius position is closer to the 0° position, such as Figure 3 As shown,
[0077] In specific implementation, the same method as above can be used to obtain the outer circle angle value on the right side And the inner circle angle value on the right A left peripheral wave region and a right peripheral wave region may further be formed.
[0078] Furthermore, when judging whether the interpolated scanned wave height information has increased or decreased significantly, it can also be judged by setting a wave height change threshold, which can be set according to the change of wave height in the ship wave environment field under different working conditions, that is, the wave height change threshold can be set by using statistics or other methods. When the wave height change of the interpolated scanned wave height information is greater than the wave height change threshold, it can be considered to be significantly increased or significantly decreased.
[0079] It can be seen from the above description that during the interpolation scanning, the scanning angular velocity ω1 and the scanning angular velocity ω0 are both positive numbers, such as the scanning angular velocity ω0 can be 2°, and the scanning angular velocity ω1 can be 1°; therefore, when searching for the outer circle polar radius position by interpolation scanning, the changes in the polar radius angle are -90°, -88°, -86°, etc., until the outer circle polar radius position is obtained by interpolation scanning. However, at this time, there is a 2° position that has not been scanned. In order to improve the accuracy, it is necessary to scan in the range of -90° to -88°, -88° to -86° and other angles, that is, to realize interpolation scanning. Generally speaking, the interpolation position can be selected as needed, such as -89.66° can be selected as the interpolation scanning position to continue scanning, and the scanning angular velocity is still the angular velocity ω0. Of course, during the scanning process, the scanning angle changes are consistent with the above, such as when scanning starts from -89.66°, the next scanning position is -87.66°, and other scanning positions can refer to the description here.
[0080] In specific implementation, interpolation scanning is performed during the scanning process of obtaining the outer circle angle value and the inner circle angle value. During the interpolation scanning, the interpolation scanning will also obtain an outer circle angle value and an inner circle angle value. Therefore, when forming the left peripheral wave area, there may be two outer circle angle values and two inner circle angle values. When there are two outer circle angle values and two inner circle angle values, the outer circle angle value closer to -90° is used as the final outer circle angle value. Similarly, the inner circle angle value closer to 0° is used as the final inner circle angle value, so that the left peripheral wave area can be formed based on the selected final outer circle angle value and the final inner circle angle value. Similarly, the right peripheral wave area can be obtained.
[0081] In one embodiment of the present invention, when performing a three-dimensional wavefront search on the peripheral wave limited angle area, it includes a three-dimensional wavefront search step for the left peripheral wave area and a three-dimensional wavefront search step for the right peripheral wave area, wherein:
[0082] When searching for three-dimensional wavefronts, this includes:
[0083] Configure the area search step length, so as to divide the left peripheral wave area and the right peripheral wave area into a plurality of search areas based on the configured area search step length, wherein the area search step length includes a preset angle and a preset radius Δρ;
[0084] The search starts from the origin of polar coordinates, and the maximum and / or minimum of the current search area is determined for each search area until the search of the left peripheral wave area and the right peripheral wave area is completed, so as to obtain the peak and valley information of the peripheral wave restricted angle area after the search is completed.
[0085] It can be seen from the above description that the peripheral wave restricted angle area includes the left peripheral wave area and the right peripheral wave area. Therefore, the peak and valley information of the peripheral wave restricted angle area includes the peak and valley information of the left peripheral wave area and the peak and valley area of the right peripheral wave area. Therefore, when performing a three-dimensional wavefront search, it includes a three-dimensional wavefront search step for the left peripheral wave area and a three-dimensional wavefront search step for the right peripheral wave area. Generally, the three-dimensional wavefront search step for the left peripheral wave area and the three-dimensional wavefront search step for the right peripheral wave area use the same search steps. Of course, different search steps can also be used, which can be selected according to needs. The following describes the specific three-dimensional wavefront search process using the same search steps.
[0086] When searching for a three-dimensional wavefront, you need to configure the area search step, where the area search step includes the preset angle and the preset radius Δρ, Figure 4 The search speed determination diagram in FIG shows an embodiment of the regional search step length, that is, the search speed of the three-dimensional wavefront search can be formed according to the regional search step length. From the above description, it can be seen that the left peripheral wave area and the right peripheral wave area have a certain polar coordinate system angle. Therefore, for the determined angle, the preset angle can be set by an equal division search method. If it can be divided into 100 equal parts, then the preset angle = (outer circle angle value - inner circle angle value) / N; Of course, other methods can also be used to set the preset angle The specific requirements shall be based on whether they can meet the needs of three-dimensional wavefront search. Figure 4 An embodiment of searching for a peak region is shown in FIG. 1 , wherein, based on the set regional search compensation, the regions where the peak regions are located are all fan ring regions in the polar coordinate system. The size of the preset radius Δρ only affects the thickness of the fan ring region, but does not affect the shape of the fan ring region. The size of the preset radius Δρ can be selected as needed to meet the actual search requirements.
[0087] When searching for a three-dimensional wavefront, take the polar coordinate origin O as the center and search from the outer circle angle value to the inner circle angle value, or search from the inner circle angle value to the outer circle angle value. For example, for the left peripheral wave area, search from the left outer circle angle value The inner circle angle to the left Direction: The specific search direction can be selected as needed. The search situation of the right peripheral wave area can be consistent with the search direction of the left peripheral wave area. Examples will not be given one by one here.
[0088] In each search area, the technical means commonly used in the technical field are used to search for the maximum and / or minimum values of the wave height. Generally, the maximum and minimum values are searched for each search area at the same time. For the maximum value, when searching, it generally refers to a wave height value that is smaller than the current z value at the four points above, below, left and right of the z value point than the current z value, then the current z value is a maximum value. For the search for the minimum value, please refer to the search instructions for the maximum value here, which are specifically consistent with the existing ones and will not be repeated here. In one embodiment of the present invention, for each search area, an intensity threshold is configured based on all the maximum values of the current search area, where
[0089] The extreme value points whose maximum value in the current search area is less than the intensity threshold are filtered, and the extreme value points whose maximum value in the current search area is not less than the intensity threshold are taken as the effective peak position to obtain the peak position in the current search area.
[0090] During specific implementation, the above-mentioned area search is repeated to realize the search for all maximum and minimum values in the left outer wave area and the right outer wave area, so as to obtain the corresponding peak and valley information, that is, the peak position, trough position, wave height information of the outer wave restricted angle area, the peak and valley contours of the left outer wave area, and the peak and valley contours of the right outer wave area.
[0091] In one embodiment of the present invention, the intensity threshold can be determined based on the maximum value of the wave height obtained by searching in the current search area. For example, the intensity threshold can be set to 0.1 times the maximum value of the wave height. Figure 4 Mid-wave peak area search can be achieved Figure 4 The maximum value search and effective peak determination in , that is, the peak position is obtained, and the corresponding wave height information can also be obtained.
[0092] Furthermore, since each peak and trough appear alternately, when searching for a minimum value, you can refer to the description of searching for a maximum value. The difference is that the minimum value is generally located at the trough position, and the intensity threshold of the minimum value can also refer to the intensity threshold setting method of the maximum value. After searching for a minimum value, you can get the trough position.
[0093] After obtaining the peak and valley information of the left peripheral wave region and the peak and valley information of the right peripheral wave region, the tail angle of the left peripheral wave region and the tail angle of the right peripheral wave region can also be extracted. In one embodiment of the present invention, for the left peripheral wave region, the discrete curvature values corresponding to each wave crest position and wave valley position are calculated, and all the discrete curvature values are averaged to obtain the left peripheral wave average curvature of the left peripheral wave region;
[0094] Based on the average curvature of the left peripheral wave, a wake angle of the left peripheral wave region is calculated and generated;
[0095] For the right peripheral wave region, the discrete curvature values corresponding to each crest position and trough position are calculated, and all the discrete curvature values are averaged to obtain the right peripheral wave average curvature of the right peripheral wave region;
[0096] Based on the right peripheral wave average curvature, the wake angle of the right peripheral wave area is calculated and generated.
[0097] In specific implementation, when calculating the discrete curvature value of each crest position or trough position, we have:
[0098]
[0099] Where K is the discrete curvature value, y is the coordinate value in the y direction at the peak position or the trough position, x is the coordinate value in the x direction at the peak position or the trough position, y′(x) is the first-order derivative of y with respect to x, and y″(x) is the second-order derivative of y with respect to x.
[0100] When calculating the discrete curvature value K, it is necessary to base it on the coordinates of the current peak position / trough position in the Cartesian coordinate system. The coordinates of the peak position / trough position in the Cartesian coordinate system corresponding to the peak position / trough position can be determined by referring to the above description.
[0101] As can be seen from the above description, the corresponding peak and valley information of the left peripheral wave region and the right peripheral wave region can be obtained. Since the position of each wave crest and the position of the wave valley can be determined, the discrete curvature value of each wave crest and the discrete curvature value of each wave crest can be calculated in the above manner, so that the left peripheral wave average curvature and the right peripheral wave average curvature of the left peripheral wave region can be further obtained. According to the left peripheral wave average curvature, the tail angle of the left peripheral wave region can be calculated and generated by the commonly used technical means in the technical field, such as performing an inverse tangent correlation operation on the left peripheral wave average curvature to obtain the tail angle of the left peripheral wave region; similarly, the tail angle of the right peripheral wave region can be calculated and generated according to the right peripheral wave average curvature.
[0102] In one embodiment of the present invention, when extracting the tangent angle, it includes:
[0103] Select a tangent angle base point, wherein the tangent angle base point is a wave crest position or a wave trough position;
[0104] For the selected tangent angle base point, generate a quasi-ellipse contour line of the tangent angle base point, wherein the two end points of the major axis of the quasi-ellipse contour line are respectively the maximum polar coordinate radius point A and the minimum polar coordinate radius point B;
[0105] Convert the maximum polar coordinate radius point A and the minimum polar coordinate radius point B into data points A' and B' in the Cartesian coordinate system respectively;
[0106] Based on the coordinate values of the data point A' and the data point B' in the Cartesian coordinate system, the tangent angle of the current tangent angle base point is determined.
[0107] Since the contour lines near the peaks and valleys are elliptical in shape, within the accuracy range, the long axis direction of the elliptical contour lines near the peaks and valleys can be used to approximate the tangent angles at the peaks and valleys, that is, based on the determined peak and valley positions, a contour line cloud map near them can be drawn. In specific implementation, the contour lines can be generated using existing commonly used technical means, that is, the elliptical contour lines can be generated using existing commonly used methods, and the density of the generated contour lines can be selected according to needs.
[0108] In specific implementation, the tangent angle of any crest position or any trough position can be extracted, that is, any crest position and any trough position can be used as the tangent angle base point, and the selection of the tangent angle base point can be determined according to actual needs.
[0109] After selecting the tangent angle base point, the ellipse-like contour line of the tangent angle base point can be generated, such as Figure 5 Illustration of the contour diagram near the peak / valley in the polar coordinate system in , Figure 5 The peak / valley in the image is the selected tangent angle base point. Figure 5 In the figure, the two ends of the major axis of the ellipse-like contour line are the maximum polar coordinate radius point A and the minimum polar coordinate radius point B, where the polar coordinates of the maximum polar coordinate radius point A are The polar coordinates of point B with the minimum polar coordinate radius are Specifically, the contour line represents the wave height information. Therefore, the corresponding ellipse-like contour line is selected according to the wave height of the selected tangent angle base point. Of course, if the current ellipse-like contour line has a large difference with the wave height of the tangent angle base point, the density of the generated contour line can be adjusted. After selecting the ellipse-like contour line corresponding to the wave height of the current tangent angle base point, the maximum polar coordinate radius point A and the minimum polar coordinate radius point B can be obtained according to the current ellipse-like contour line.
[0110] Convert the maximum polar coordinate radius point A and the minimum polar coordinate radius point B mentioned above into data points A' and B' in the Cartesian coordinate system respectively. Then the Cartesian coordinate system coordinates of data point A' are A'(x A ,y A ,z A ), the Cartesian coordinates of the data point B' are B'(x B ,y B ,z B).
[0111] Based on the Cartesian coordinates of data point A' and data point B', the slope K in the Cartesian coordinate system can be calculated t ,in, Based on the slope K t , the tangent angle θ can be obtained. Specifically, the tangent angle θ is θ=arntan(K t ).
[0112] In summary, a characteristic parameter extraction system suitable for a restricted domain ship wave environment field can be obtained. In one embodiment of the present invention, it includes an extraction and processing terminal for extracting characteristic parameters, wherein the extraction and processing terminal is used to execute the above-mentioned characteristic parameter extraction method to obtain the characteristic parameters of the restricted domain ship wave environment field after extraction.
[0113] Specifically, the extraction processing terminal can be a computer device, which is specifically based on the ability to execute the above-mentioned characteristic parameter extraction method. From the above description, it can be seen that after the characteristic parameter extraction is performed on the ship wave environment field in the restricted domain, the characteristic parameters that can be extracted include the total lateral length, peak and valley information, and the tangent angle of any wave crest / trough. The method and process of characteristic parameter extraction can refer to the above description and will not be repeated here.
Claims
1. A method for extracting characteristic parameters of a ship-traveling wave environment field in a restricted domain, characterized in that: The method for extracting the characteristic parameters includes: Providing CFD-based ship wave environment field simulation information, and filtering the ship wave environment field simulation information by wave height to obtain an obvious wave height environment field after wave height filtering, and extracting the total lateral length of the ship wave environment field based on the obvious wave height environment field; The coordinate system of the apparent wave height environment field is transformed to generate the apparent wave height environment field in polar coordinates; Performing restricted angle filtering on the above-mentioned obvious wave height environment field under polar coordinates to obtain a peripheral wave restricted angle area after restricted angle filtering, wherein the peripheral wave restricted angle area includes a left peripheral wave area located on the left side of the ship and a right peripheral wave area located on the right side of the ship; Performing a three-dimensional wave surface search on the above peripheral wave restricted angle region to extract peak and valley information of the peripheral wave restricted angle region, wherein the peak and valley information includes all wave crest positions, wave valley positions, wave height information of the peripheral wave restricted angle region, peak and valley contours of the left peripheral wave region, and peak and valley contours of the right peripheral wave region; Based on the peak-valley information determined above, extracting the tangent angle of any peak position and / or trough position; When providing CFD-based ship wave environment field simulation information, the ship model is set in CFD and a Cartesian rectangular coordinate system is constructed, wherein the origin of the constructed Cartesian rectangular coordinate system is the bow at the waterline of the ship model, the x direction is the forward direction of the bow, the y direction is the direction of the left side of the ship model, and the z direction is the direction opposite to the keel of the ship model; the total transverse length refers to the length along the x-axis direction; When the restricted angle filtering is performed on the apparent wave height environment field in polar coordinates to obtain the restricted angle area of the peripheral waves, it includes: For the [-90°, +90°] area centered on the bow and where the obvious wave height environment field is located in polar coordinates, the wave height information on the polar radius is interpolated and scanned from the +90° position and / or the -90° position to the 0° position until the outer circle polar radius position where the wave height amplitude on the polar radius begins to increase obviously is scanned, so as to generate the outer circle angle value based on the outer circle polar radius position, wherein the outer circle polar radius position between the -90° position and the 0° position is set as the outer circle angle value on the left side Set the outer circle polar radius position between +90° and 0° to the outer circle angle value on the right. Take the above outer circle polar radius position as the starting point and interpolate the wave height information on the polar radius to the 0° position until the inner circle polar radius position where the wave height amplitude on the polar radius increases and decreases significantly is scanned, so as to generate the inner circle angle value based on the inner circle polar radius position, wherein the outer circle angle value on the left is The inner circle polar radius position between the 0° position is set to the inner circle angle value on the left Set the outer circle angle value on the right The inner circle polar radius position between the 0° position is set to the inner circle angle value on the right Based on the outer circle angle value on the left above Angle value with the inner circle on the left The left peripheral wave area is formed; Based on the outer circle angle value on the right above Angle value with the inner circle on the right The right peripheral wave area is formed; When performing a three-dimensional wavefront search on the peripheral wave restricted angle area, it includes a three-dimensional wavefront search step for the left peripheral wave area and a three-dimensional wavefront search step for the right peripheral wave area, wherein: When searching for three-dimensional wavefronts, this includes: Configure the area search step length, so as to divide the left peripheral wave area and the right peripheral wave area into a plurality of search areas based on the configured area search step length, wherein the area search step length includes a preset angle and a preset radius Δρ; Starting the search from the origin of the polar coordinates, determining the maximum value and / or minimum value of the current search area for each search area, until the search of the left peripheral wave area and the right peripheral wave area is completed, so as to obtain the peak and valley information of the peripheral wave restricted angle area after the search is completed; For the left peripheral wave region, the discrete curvature values corresponding to each crest position and trough position are calculated, and all the discrete curvature values are averaged to obtain the left peripheral wave average curvature of the left peripheral wave region; Based on the average curvature of the left peripheral wave, a wake angle of the left peripheral wave region is calculated and generated; For the right peripheral wave region, the discrete curvature values corresponding to each crest position and trough position are calculated, and all the discrete curvature values are averaged to obtain the right peripheral wave average curvature of the right peripheral wave region; Based on the average curvature of the right peripheral wave, a wake angle of the right peripheral wave region is calculated and generated; When calculating the discrete curvature value of each crest or trough position, we have: Where K is the discrete curvature value, y is the coordinate value in the y direction at the peak position or the trough position, x is the coordinate value in the x direction at the peak position or the trough position, y′(x) is the first-order derivative of y with respect to x, and y″(x) is the second-order derivative of y with respect to x; When extracting the tangent angle, include: Select a tangent angle base point, wherein the tangent angle base point is a wave crest position or a wave trough position; For the selected tangent angle base point, generate a quasi-ellipse contour line of the tangent angle base point, wherein the two end points of the major axis of the quasi-ellipse contour line are respectively the maximum polar coordinate radius point A and the minimum polar coordinate radius point B; Convert the maximum polar coordinate radius point A and the minimum polar coordinate radius point B into data points A' and B' in the Cartesian coordinate system respectively; Based on the coordinate values of the data point A' and the data point B' in the Cartesian coordinate system, the tangent angle of the current tangent angle base point is determined.
2. The characteristic parameter extraction method suitable for the restricted domain ship wave environment field according to claim 1 is characterized in that: A wave height filtering threshold is configured, and wave height filtering is performed on the ship wave environment field simulation information based on the wave height filtering threshold, wherein: The areas where the wave height is lower than the wave height filtering threshold in the ship wave environment field simulation information are filtered to obtain an obvious wave height environment field.
3. The characteristic parameter extraction method suitable for the restricted domain ship wave environment field according to claim 1 is characterized in that: When searching for the outer circle polar radius position, the scanning angular velocity is ω0; When searching for the inner circle polar radius position, the scanning angular velocity is ω1, where ω1 is less than ω0.
4. The characteristic parameter extraction method suitable for a restricted domain ship wave environment field according to claim 1 is characterized in that: For each search area, configure the intensity threshold based on all the maximum values of the current search area, where The extreme value points whose maximum value in the current search area is less than the intensity threshold are filtered, and the extreme value points whose maximum value in the current search area is not less than the intensity threshold are taken as the effective peak position to obtain the peak position in the current search area.
5. A characteristic parameter extraction system suitable for a restricted domain ship wave environment field, characterized in that: It comprises an extraction processing terminal for extracting characteristic parameters, wherein the characteristic parameter extraction method described in any one of claims 1 to 4 is executed by using the extraction processing terminal to obtain characteristic parameters of the restricted domain ship wave environment field after extraction.
Citation Information
Patent Citations
Instantaneous wave parameter estimation method for vertical water outlet navigation body
CN111965628A
Ship analogue simulation and risk assessment method in complex environment
CN114781074A
Method for optimizing container ship fairing based on CFD analysis
CN115618488A
Method and device for evaluating overturning failure rate of ship with damaged broadside
CN115730393A
Polar navigation window period evaluation system based on ship ice action three-dimensional visual simulation
CN116011255A
