A CAD-based method for calculating characteristic angles of hull plates

Automatically calculate the characteristic angle of the outer hull plate by CAD-based method, the problem of low efficiency of traditional manual measurement is solved, and more efficient design process and quality is achieved, which is suitable for impact load calculations in different classification societies.

CN118673609BActive Publication Date: 2024-11-05NANTONG COSCO KHI SHIP ENG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411154468.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-22
Publication Date
2024-11-05
Estimated Expiration
2044-08-22

AI Technical Summary

Technical Problem

In ship design, traditional methods require manual measurement of the characteristic angle of the outer plate of the bow hull, which is inefficient and cumbersome, and the calculation methods specified by different classification societies are different, resulting in complex design.

Method used

Using CAD-based method, the characteristic angles of all designated points on the outer plate are automatically calculated using the entire ship's rib bit line data, instead of traditional manual measurement methods, by reading the rib bit information, selecting the rib bit line, obtaining the coordinates of the relevant point and calculating the characteristics. Angles α and β.

Benefits of technology

It significantly improves design efficiency, reduces manual work volume, improves design quality, simplifies the design process, and is suitable for impact load calculations under different classification societies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118673609B_ABST
    Figure CN118673609B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for calculating characteristic angles of hull outer plate based on CAD, and relates to the technical field of ship design methods, and comprises the following steps: reading the whole ship rib position information from a configuration file; selecting the whole ship rib position line in a CAD drawing; inputting the position of one or more characteristic angle calculation points P on the outer plate; obtaining the coordinates of the calculation point P and its related points, wherein the related points include points A, B, C, and D, wherein points A and B are located on the same rib position line as the calculation point P, and are respectively located on the adjacent upper and lower sides of the calculation point P, and points C and D are located on the same waterline as the calculation point P, and are respectively located on the adjacent two sides of the calculation point P; and according to the calculation point P in step S40 and the corresponding related point coordinates, the characteristic angles α and β of all the calculation points P on the outer plate are calculated. Based on the whole ship rib position line data, the method automatically calculates the characteristic angles of all designated points on the outer plate, thereby achieving the effect of improving design efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of ship design methods, and in particular to a CAD-based method for calculating characteristic angles of hull outer plates. Background Art

[0002] The ship will stir up waves during navigation, and the bow structure of the hull will be severely impacted by the waves, especially for ships with high speed and large bow drift. This severe impact will produce a large impact load. In the design of ship structure, it is necessary to consider the impact load on the strength of the bow structure separately. The calculation methods of impact loads in different classification society specifications are different, and they all require the characteristic angle of the bow outer plate of the hull. α and β are the two most important characteristic angles ( Figure 3 , Figure 4 ), other angles required for calculating the impact load can be calculated based on α and β.

[0003] The usual practice is to select 50 to 100 calculation points on the bow hull outer plate, obtain the two-dimensional horizontal section line (waterline) and transverse section line (rib position line) at the location of these points based on the three-dimensional model of the outer plate, and then calculate the two-dimensional horizontal section line (waterline) and transverse section line (rib position line) of the hull outer plate according to the CAD drawing. Figure 3 and Figure 4 As shown in the figure, the tangent line of each calculation point is manually drawn, and finally the characteristic angles α and β of each point are measured. In addition to the rib line data, this method also requires additional preparation of waterline data. In addition, in order to obtain a more accurate load distribution, more calculation points need to be selected, and manual measurement is cumbersome and inefficient. Summary of the invention

[0004] The purpose of the present invention is to provide a CAD-based method for calculating the characteristic angle of the hull outer plate, which automatically calculates the characteristic angles of all designated points on the outer plate based on the rib position line data of the entire ship, replacing the traditional manual measurement method and improving the design efficiency.

[0005] The above technical objectives of the present invention are achieved through the following technical solutions:

[0006] A method for calculating characteristic angles of hull outer plate based on CAD comprises the following steps:

[0007] Step S10: Reading the whole ship rib position information from the configuration file;

[0008] Step S30: input the position of one or more characteristic angle calculation points P on the outer plate;

[0009] Step S40: Obtaining coordinates of the calculation point P and its related points, the related points including points A, B, C, and D. Points A and B are located on the same rib line as the calculation point P, and are located on the upper and lower sides of the calculation point P respectively. Points C and D are located on the same waterline as the calculation point P, and are located on the rib lines on the two sides adjacent to the calculation point P respectively.

[0010] Step S50: Calculate the characteristic angles α and β of all the calculated points P on the outer plate according to the calculated points P in step S40 and the coordinates of the corresponding related points.

[0011] Furthermore, in step S10, the rib position information of the entire ship is entered in the form of [rib position number, X coordinate corresponding to the rib position].

[0012] Furthermore, the method further comprises step S20 of selecting the rib position line of the entire ship in the CAD drawing.

[0013] Furthermore, step S20 includes, according to the information read in step S10, selecting rib lines in the CAD drawing once or multiple times; and checking whether the number of selected rib lines matches the number of rib numbers read in step S10. If not, it is required to add, delete or reselect rib lines.

[0014] Furthermore, in step S30, the position information of each characteristic angle calculation point P includes the rib position number n and the height coordinate Z of the location. P .

[0015] Furthermore, step S30 includes inputting a series of rib position numbers and a series of height coordinates respectively, arranging and combining the rib position numbers and the height coordinates to obtain the position information of each calculation point.

[0016] Furthermore, in step S40, the process of obtaining points A and B includes querying the corresponding rib position line according to the rib position number n of the corresponding calculation point P, and then calculating the height coordinate Z of the calculation point P. P , and obtain the coordinates of the points A and B adjacent to it above and below.

[0017] Furthermore, in step S40, the process of obtaining points C and D includes obtaining the rib position numbers n+1 and n-1 of the adjacent rib positions corresponding to the calculation point P according to the rib position number n, and then obtaining the rib position lines corresponding to n+1 and n-1 inquiring;

[0018] Calculate the height coordinate of point P as Z P , create auxiliary line Z=Z in the rib line diagram P After that, the intersection points of the auxiliary line with the n+1 and n-1 corresponding rib position lines are obtained as C and D respectively, and the coordinates of the intersection points C and D are extracted.

[0019] Furthermore, in step S50, the characteristic angle α is obtained by the average value of the acute angles between the line segments PC and PD and the X-axis, and the characteristic angle β is obtained by the average value of the acute angles between the line segments PA and PB and the Y-axis.

[0020] Furthermore, in step S50, the coordinate information of point A includes Y A , Z A, the coordinate information of point B includes Y B , Z B , the coordinate information of point C includes X C , Y C , the coordinate information of point D includes X D , Y D , the coordinate information of point P includes X P , Y P , Z P , the calculation formula of characteristic angles α and β is,

[0021] ;

[0022] ;

[0023] Where Δ is the correction constant.

[0024] In summary, the present invention has the following beneficial effects:

[0025] The present invention only requires the rib position line data and rib position information of the entire ship, and can use the CAD secondary development program to automatically calculate the characteristic angles of all specified points on the outer plate, replacing the traditional manual measurement method, improving the design process and reducing the amount of manual work, significantly reducing the operation time, and being beneficial to improving the design quality and efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 It is a flow chart of a method for calculating characteristic angles of hull outer plate based on CAD of the present invention;

[0027] Figure 2 It is a schematic diagram of a hull coordinate system and rib position lines in a CAD-based hull outer plate characteristic angle calculation method of the present invention;

[0028] Figure 3 It is a definition diagram of the characteristic angle α of point P on the XY plane in a CAD-based hull outer plate characteristic angle calculation method of the present invention;

[0029] Figure 4 It is a definition diagram of the characteristic angle β of point P on the YZ plane in a CAD-based hull outer plate characteristic angle calculation method of the present invention;

[0030] Figure 5 It is a flow chart for obtaining the coordinates of relevant points in a method for calculating characteristic angles of hull outer plate based on CAD of the present invention;

[0031] Figure 6 It is a schematic diagram of relevant points on the rib line in a method for calculating characteristic angles of hull outer plate based on CAD of the present invention;

[0032] Figure 7It is a detailed diagram of the characteristic angle α of point P in a method for calculating the characteristic angle of a hull outer plate based on CAD of the present invention;

[0033] Figure 8 It is a detailed diagram of the characteristic angle β of point P in a method for calculating characteristic angles of hull outer plate based on CAD of the present invention. DETAILED DESCRIPTION

[0034] The specific implementation of the present invention is further described below in conjunction with the accompanying drawings, and this embodiment does not constitute a limitation of the present invention. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0035] This embodiment discloses a method for calculating characteristic angles of hull outer plate based on CAD.

[0036] First, if Figure 2 As shown in the figure, the coordinate system of the ship is generally agreed upon, with the length direction of the ship as the X-axis, the width direction as the Y-axis, and the height direction as the Z-axis; the XOY plane is the bottom of the ship, and its projection line is the baseline (BL); the XOZ plane is the symmetry plane, and its projection line is the center line (CL);

[0037] The position in the length direction of the ship is marked with a series of integer rib numbers. Rib number 0 (also written as FR.0) corresponds to the coordinate origin X=0; at the X position corresponding to each rib number, the intersection of the YZ plane and the hull outer plate is the rib line.

[0038] like Figure 3 As shown, in this embodiment, the characteristic angle α of the point P on the outer plate is defined as shown in the figure, which is the angle between the tangent line of the point P on the horizontal section line (waterline) of the outer plate and the X-axis; Figure 4 As shown in the figure, the required characteristic angle β is defined as the angle between the tangent line at point P on the outer plate cross-section line (rib position line) and the Y axis.

[0039] This embodiment is based on AutoCAD and its secondary development applications, such as Figure 1 As shown, the characteristic angle calculation method includes the following steps:

[0040] Step S10: Prepare a configuration file and read the whole ship rib position information from the configuration file.

[0041] In this embodiment, it specifically includes:

[0042] Step S11, creating a configuration file (text file), in which the rib position information of the entire ship is entered one by one in the form of [rib position number, X coordinate corresponding to the rib position (unit: mm)], for example, [-2, -1400], [-1, -700], [0, 0] ... [200, 158250] can be written;

[0043] Step S12, open the rib position line CAD drawing, call the VBA text file interface, read the rib position information from the configuration file, and check whether the read information is legal (whether it contains rib position 0, whether the rib position numbers are continuous, whether there are repeated rib position numbers, etc.), if it is illegal, display relevant error information in the CAD information column;

[0044] Step S20: Select the rib lines of the entire ship in the CAD drawing; specifically, according to the information read in step S12, a prompt such as "Please select 203 rib lines from FR.-2 to FR.200 in order" is displayed in the CAD information bar, and the user selects the rib lines in the CAD drawing one or more times according to the prompt; check whether the number of the selected rib lines matches the number of rib numbers read in step S12, if not, display a relevant error message in the CAD information bar, and require the user to add, delete or reselect the rib lines.

[0045] Step S30: Input the position of one or more characteristic angle calculation points P on the outer plate. The position information of each characteristic angle calculation point P includes the rib position number n and the height coordinate Z of the location. P , input a series of rib position numbers and a series of height coordinates respectively, arrange and combine the rib position numbers and height coordinates to obtain the position information of each calculation point.

[0046] In this embodiment, it specifically includes:

[0047] Step S31: A prompt "Please enter the rib position where the calculation point of the characteristic angle of the outer plate is located" is displayed in the CAD information column. The user enters a series of rib position numbers according to the prompt, and checks whether the input value exists in the rib position number read in step S12. If not, the relevant error message is displayed in the CAD information column;

[0048] Step S32: A prompt "Please enter the height coordinates of the calculation points of the characteristic angles of the outer plate (unit: mm)" is displayed in the CAD information column, and the user enters a series of height coordinates according to the prompt;

[0049] Step S33: According to the arrangement and combination of rib position numbers and height coordinates, the position information of all characteristic angle calculation points can be obtained; for example, if the user inputs 10 rib position numbers and 5 height coordinates, the position information of 50 calculation points can be obtained.

[0050] Step S40: Figure 5 As shown, the three-dimensional coordinates of the calculation point P and its related points are obtained, and the related points include points A, B, C, and D.

[0051] like Figure 6As shown, points A and B are located on the same rib line as the calculated point P, and are located on the upper and lower sides of the calculated point P respectively; points C and D are located on the same waterline as the calculated point P, and are located on the rib lines on the two sides adjacent to the calculated point P respectively;

[0052] The acquisition process of points A and B includes: querying the corresponding rib position line according to the rib position number n of the corresponding calculation point P, and then calculating the height coordinate Z of the calculation point P. P , and obtain the coordinates of the points A and B adjacent to it above and below.

[0053] The process of obtaining points C and D includes obtaining the rib position numbers n+1 and n-1 of the adjacent rib positions before and after the corresponding calculation point P according to the rib position number n, and then querying to obtain the rib position lines corresponding to n+1 and n-1;

[0054] Calculate the height coordinate of point P as Z P , create auxiliary line Z=Z in the rib line diagram P After that, the intersection points of the auxiliary line with the n+1 and n-1 corresponding rib position lines are obtained as C and D respectively, and the coordinates of the intersection points C and D are extracted.

[0055] In this embodiment, it specifically includes:

[0056] Step S41: According to step S30, the rib position number n of point P can be obtained. It can be known that the rib position numbers before and after this rib position are n+1 and n-1 respectively. Then, according to step S20, the rib position lines corresponding to n, n+1, and n-1 are queried;

[0057] Step S42: According to step S30, the height coordinate Z of point P can be obtained P , call the CAD interface to create auxiliary lines (construction lines) Z=Z in the rib line CAD drawing P ;

[0058] Step S43: The intersection points of the auxiliary line and the rib lines n, n+1, and n-1 are P, C, and D respectively. The CAD interface is called to extract the intersection coordinate Y P , Y C , Y D , and we know that Z P =Z C =Z D .

[0059] Step S44: The rib line is a multi-segment line connected by points. The CAD interface can be called to query the coordinates Y of the previous point A and the next point B on the rib line n point by point. A , Z A , Y B , Z B .

[0060] Step S45: Since points P, A, and B are located on rib line n, the X coordinate corresponding to rib line n can be found according to step S12, that is, the X coordinate X of points P, A, and B. P =X A =X B ; Point C is located on the rib line n+1, and point D is located on the rib line n-1. The X coordinates of points C and D can also be queried. C , X D .

[0061] Step S50: Calculate the characteristic angles α and β of all the calculated points P on the outer plate according to the calculated points P in step S40 and the coordinates of the corresponding related points.

[0062] like Figure 7 and Figure 8 As shown, the characteristic angle α is obtained by the average value of the acute angles between the line segments PC and PD and the X-axis, and the characteristic angle β is obtained by the average value of the acute angles between the line segments PA and PB and the Y-axis;

[0063] Specifically, step S41 to step S45 have obtained the coordinate information Y of point A. A , Z A , coordinate information of point B Y B , Z B , C point coordinate information X C , Y C , D point coordinate information X D , Y D , P point coordinate information X P , Y P , Z P ,

[0064] According to the above coordinate information, the characteristic angle is calculated according to the following formula, and the value of the characteristic angle is recorded. The calculation formulas for the characteristic angles α and β are:

[0065] ;

[0066] ;

[0067] Where Δ is the correction constant; due to the existence of Y P =Y A or Y P =Y B Therefore, a correction constant Δ is introduced into the β calculation formula to avoid calculation errors (when the denominator is equal to 0), and Δ is generally taken as 0.00001.

[0068] Step S60: Repeat steps S40 to S50 to obtain the characteristic angle of the next calculation point until the characteristic angles of all calculation points are obtained.

[0069] Step S70: Create a spreadsheet file on the desktop (default location), write the calculated point coordinates and their characteristic angles into the table, save the file and display the storage location of the spreadsheet file in the CAD interface information bar.

[0070] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Those skilled in the art may make various modifications or equivalent substitutions to the present invention within the essence and protection scope of the present invention, and such modifications or equivalent substitutions should also be deemed to fall within the protection scope of the technical solution of the present invention.

Claims

1. A method for calculating characteristic angles of hull outer plate based on CAD, characterized in that: The following steps are involved: Step S10: Read the whole ship rib position information from the configuration file, The ship length direction is the X-axis, the ship width direction is the Y-axis, and the height direction is the Z-axis; the XOY plane is the bottom surface of the ship, and the position in the ship length direction is marked with a series of integer rib position numbers, and the rib position number 0 corresponds to the coordinate origin X=0; at the X position corresponding to each rib position number, the intersection line of the YZ plane and the hull outer plate is the rib position line; The rib position information of the whole ship is entered in the form of [rib position number, X coordinate corresponding to the rib position]; Step S30: input the position of one or more characteristic angle calculation points P on the outer plate; Step S40: Obtaining coordinates of the calculation point P and its related points, the related points including points A, B, C, and D. Points A and B are located on the same rib line as the calculation point P, and are located on the upper and lower sides of the calculation point P respectively. Points C and D are located on the same waterline as the calculation point P, and are located on the rib lines on the two sides adjacent to the calculation point P respectively. Step S50: Calculate the characteristic angles α and β of all the calculated points P on the outer plate according to the calculated points P in step S40 and the coordinates of the corresponding related points; Among them, the required characteristic angle α of point P on the outer plate is the angle between the tangent of point P on the horizontal section line of the outer plate and the X-axis, which is obtained by the average value of the acute angles between the line segments PC and PD and the X-axis respectively. The required characteristic angle β is the angle between the tangent of point P on the transverse section line of the outer plate and the Y-axis, which is obtained by the average value of the acute angles between the line segments PA and PB and the Y-axis respectively.

2. The method for calculating characteristic angles of hull outer plate based on CAD according to claim 1, characterized in that: The method further comprises step S20 of selecting the rib position line of the entire ship in the CAD drawing.

3. The method for calculating characteristic angles of hull outer plate based on CAD according to claim 2, characterized in that: Step S20 includes selecting rib lines in the CAD drawing one or more times according to the information read in step S10; and checking whether the number of selected rib lines matches the number of rib numbers read in step S10. If not, adding, deleting or reselecting rib lines is required.

4. The method for calculating characteristic angles of hull outer plate based on CAD according to claim 1, characterized in that: In step S30, the position information of each characteristic angle calculation point P includes the rib position number n and the height coordinate Z of the location. P .

5. The method for calculating characteristic angles of hull outer plate based on CAD according to claim 1, characterized in that: Step S30 includes inputting a series of rib position numbers and a series of height coordinates respectively, arranging and combining the rib position numbers and the height coordinates to obtain the position information of each calculation point.

6. The method for calculating characteristic angles of hull outer plate based on CAD according to claim 4, characterized in that: In step S40, the process of obtaining points A and B includes querying the corresponding rib position line according to the rib position number n of the corresponding calculation point P, and then calculating the height coordinate Z of the calculation point P. P , and obtain the coordinates of the points A and B adjacent to it above and below.

7. The method for calculating characteristic angles of hull outer plate based on CAD according to claim 4, characterized in that: In step S40, the process of obtaining points C and D includes obtaining the rib position numbers n+1 and n-1 of the adjacent rib positions corresponding to the calculation point P according to the rib position number n, and then querying to obtain the rib position lines corresponding to n+1 and n-1; Calculate the height coordinate of point P as Z P , create auxiliary line Z=Z in the rib line diagram P After that, the intersection points of the auxiliary line with the n+1 and n-1 corresponding rib position lines are obtained as C and D respectively, and the coordinates of the intersection points C and D are extracted.

8. The method for calculating characteristic angles of hull outer plate based on CAD according to claim 1, characterized in that: In step S50, the coordinate information of point A includes Y A , Z A , the coordinate information of point B includes Y B , Z B , the coordinate information of point C includes X C , Y C , the coordinate information of point D includes X D , Y D , the coordinate information of point P includes X P , Y P , Z P , the calculation formula of characteristic angles α and β is, ; ; Where Δ is the correction constant.