Attribute determination method and device, equipment and storage medium
By obtaining and rearranging the unit parameter table and numbering table of the airfoil box segment, the problem of cumbersome and low-precision unit attribute setting in the finite element model in the existing technology is solved, and efficient and accurate unit attribute determination is achieved, which improves the work Efficiency and method reusability.
Patent Information
- Application Number
- CN202310898101.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-21
- Publication Date
- 2025-01-21
Smart Images

Figure CN119337650A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to an attribute determination method, device, equipment and storage medium. Background Art
[0002] With the rapid development of finite element numerical analysis theory and computer technology, finite element models have been used throughout the aircraft design and airworthiness certification process. In order to meet the needs of rapid iteration design, it is often necessary to quickly set the finite element model properties for the entire wing box section of the aircraft.
[0003] At present, there are two common methods for determining and setting model attributes. One method relies on manpower to create unit attributes one by one. However, the structural parameters of different regions between structural parts are different. Using this method to create or update the finite element unit attributes of composite structures is very cumbersome and requires a lot of manpower and time. It is also easy to input errors in the ply angle or sequence, affecting the accuracy of the finite element calculation results. The other method represents the geometric characteristics of the wing box section structure in a parametric form in the form of a data form, so that the design input of the finite element model is transformed from a specific numerical model to a parameter form. However, the finite element model established by this method is not accurate, and the number of form parameters is huge, and the relationship between the parameters is complex, which leads to the problem that the finite element model attributes are extremely prone to errors and difficult to check. Summary of the invention
[0004] The present invention provides an attribute determination method, device, equipment and storage medium, which can quickly determine unit attributes in batches, ensure the accuracy of unit attribute determination, improve the accuracy of unit attribute determination, greatly improve work efficiency, reduce workload, and can be applied to a variety of attribute determination scenarios, ensuring the reusability of the method.
[0005] In a first aspect, an embodiment of the present disclosure provides an attribute determination method, including:
[0006] Obtain a target unit parameter table of the target structure in the entire wing box section;
[0007] Constructing an initial unit number table of the target structure, and rearranging the initial unit number table according to the unit positions of the target structure to form a target unit number table corresponding to the positions of the target unit parameter table;
[0008] The unit attributes of the entire wing box segment are determined according to the position correspondence between the target unit parameter table and the target unit number table.
[0009] In a second aspect, an embodiment of the present disclosure provides an attribute determination device, including:
[0010] Obtain a target unit parameter table of the target structure in the entire wing box section;
[0011] Constructing an initial unit number table of the target structure, and rearranging the initial unit number table according to the unit positions of the target structure to form a target unit number table corresponding to the positions of the target unit parameter table;
[0012] The unit attributes of the entire wing box segment are determined according to the position correspondence between the target unit parameter table and the target unit number table.
[0013] In a third aspect, an embodiment of the present disclosure provides an electronic device, including:
[0014] at least one processor; and
[0015] a memory communicatively connected to at least one processor; wherein,
[0016] The memory stores a computer program that can be executed by at least one processor, and the computer program is executed by at least one processor so that the at least one processor can execute an attribute determination method provided by the above-mentioned first aspect embodiment.
[0017] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable a processor to implement an attribute determination method provided by the embodiment of the first aspect above when executed.
[0018] An attribute determination method, device, equipment and storage medium provided by an embodiment of the present invention obtains a target unit parameter table of a target structure in an entire wing box segment; constructs an initial unit number table of the target structure, rearranges the initial unit number table according to the unit position of the target structure, and forms a target unit number table corresponding to the position of the target unit parameter table; and determines the unit attributes of the entire wing box segment according to the position correspondence between the target unit parameter table and the target unit number table. The above technical scheme can quickly determine unit attributes in batches, ensure the accuracy of unit attribute determination, improve the accuracy of unit attribute determination, greatly improve work efficiency, reduce workload, and can be applied to a variety of attribute determination scenarios, ensuring the reusability of the method.
[0019] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0021] Figure 1 is a flow chart of a method for determining an attribute provided in Embodiment 1 of the present invention;
[0022] Figure 2 This is an example diagram showing the entire wing box section involved in a method for determining an attribute provided in the first embodiment of the present invention;
[0023] Figure 3 is an example display diagram of a target unit parameter table involved in an attribute determination method provided in the first embodiment of the present invention;
[0024] Figure 4 is an example diagram of the regular arrangement of an initial unit number table involved in a method for determining an attribute provided in the first embodiment of the present invention;
[0025] Figure 5 is an example diagram of the regular arrangement of a target unit number table involved in a method for determining an attribute provided in the first embodiment of the present invention;
[0026] Figure 6 It is an example diagram of the correspondence between the target unit parameter table and the target unit number table involved in the attribute determination method provided in the first embodiment of the present invention;
[0027] Figure 7 is a flow chart of an attribute determination method provided by Embodiment 2 of the present invention;
[0028] Figure 8 This is an example diagram of the arrangement of cells in the same row involved in a method for determining an attribute provided in the second embodiment of the present invention;
[0029] Fig. 9 This is an example diagram of arranging cells according to column coordinates involved in a method for determining an attribute provided in the second embodiment of the present invention;
[0030] Fig.10 is an example diagram of a ply parameter library involved in a property determination method provided in Embodiment 2 of the present invention;
[0031] Fig.11 is a flow chart of another attribute determination method provided by Embodiment 2 of the present invention;
[0032] Fig.12 is a flow chart of another attribute determination method provided by Embodiment 2 of the present invention;
[0033] Fig.13 is an exemplary display diagram of a reference unit involved in another attribute determination method provided in the second embodiment of the present invention;
[0034] Fig.14 is a plane example display diagram of a preset reference coordinate system involved in another attribute determination method provided in the second embodiment of the present invention;
[0035] Fig.15 is a three-dimensional example display diagram of a preset reference coordinate system involved in another attribute determination method provided in the second embodiment of the present invention;
[0036] Fig.16 This is an example diagram showing determination of the same-line unit involved in another attribute determination method provided in the second embodiment of the present invention;
[0037] Fig.17 is a schematic diagram of the structure of an attribute determination device provided in Embodiment 3 of the present invention;
[0038] Fig.18 It is a structural schematic diagram of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0039] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0040] It should be noted that the terms "first", "second" and "target" in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0041] Embodiment 1
[0042] Figure 1It is a flow chart of a property determination method provided in the first embodiment of the present invention. This embodiment can be applied to the situation of quickly and batch-determining the unit properties of the entire wing box section when constructing a finite element model. The method can be executed by a property determination device, which can be implemented in the form of hardware and / or software.
[0043] like Figure 1 As shown, the method includes:
[0044] S101, obtaining a target unit parameter table of a target structure in the entire wing box segment.
[0045] In this embodiment, the wing box section as a whole can be understood as the wing box of the aircraft wing, which is the main load-bearing structure of the wing. The wing box section as a whole is composed of a front beam, a rear beam, an internal wing rib frame, and upper and lower wall panels, and the wall panels are composed of long stringers and skins. Figure 2 FIG. 1 is an example diagram showing the entire wing box section involved in a method for determining an attribute provided in Embodiment 1 of the present invention. Figure 2 As shown, the wing box section as a whole includes at least: skin, long stringer, beam and rib. The target structure can be understood as a single structure for property determination, which is any structure among skin, long stringer, beam and rib. The target unit parameter table can be understood as a data storage table storing unit parameters of the target structure.
[0046] Specifically, for different target structures, a target unit parameter table of the target structure in the entire wing box section is obtained. The target unit parameter table stores unit parameters of each unit of the target structure. It can be understood that the target unit parameter table of the target structure is a table manually constructed by the operator.
[0047] Exemplarily, when the target structure is a skin, the target unit parameter table stores unit parameters of the skin structure, including skin offset (distance from the mid-surface to the outer surface), single-layer material, number of plies, and a ply parameter library, wherein the ply parameter library can be understood as a storage table for determining the ply angle, ply sequence, and ply thickness corresponding to the number of plies. Figure 3 FIG. 1 is an example diagram showing a target unit parameter table involved in a property determination method provided in Embodiment 1 of the present invention. Figure 3 As shown, taking the number of plies as an example, the target unit parameter table stores the number of plies of the corresponding position unit. Figure 3 The number of plies in the target unit parameter table includes 20 layers, 18 layers, 16 layers, 14 layers, 12 layers, and 10 layers. When the target structure is a long stringer, the unit parameters of the long stringer structure are stored in the target unit parameter table, including the long stringer area, the long stringer offset (the distance between the long stringer centroid and the outer surface) and the moment of inertia of the long stringer around the horizontal axis. It can be understood that the content stored in the target unit parameter table is determined according to actual needs, and this embodiment does not limit this.
[0048] In this embodiment, the use of a ply parameter library effectively reduces the number of parameters of the composite material structure, and the ply thickness, ply angle and ply sequence of the structure can be quickly determined by comparing the ply number to the ply library.
[0049] S102, constructing an initial unit number table of the target structure, and rearranging the initial unit number table according to the unit positions of the target structure to form a target unit number table corresponding to the positions of the target unit parameter table.
[0050] In this embodiment, the initial unit number table can be understood as a table arranged according to the automatically generated unit numbers, and each unit in the initial unit number table cannot be associated with each unit of the actual target structure by position. The target unit number table can be understood as a unit number table generated by rearranging the initial unit number table according to the unit positions of the target structure, corresponding to the position of the target structure and also corresponding to the position of the target unit number table.
[0051] Specifically, the initial unit number table of the target structure is constructed by arranging the numbers automatically assigned by the system, and each unit number represents a unit of the target structure. According to the center coordinates of the units of the target structure in the reference coordinate system, the initial unit number table is rearranged according to the unit positions of the target structure, and the units in the same row of the target structure are first determined, and then each row is sorted by column according to the determined unit coordinates of each row to form a target unit number table with regular row and column positions. At this time, the target unit number table formed corresponds to the position of the target structure, and the unit number table also corresponds to the position of the target unit number table.
[0052] For example, Figure 4 is an example diagram of the regular arrangement of an initial unit number table involved in a method for determining an attribute provided in the first embodiment of the present invention; Figure 5 FIG. 1 is an example diagram of the rule arrangement of the target unit number table involved in the attribute determination method provided in the first embodiment of the present invention. Figure 4 The initial unit number table originally arranged in the order of 1-33 is rearranged to form the following Figure 5 The non-sequential target unit number table shown in Figure 5 In the above example, the plane unit positions of each target structure in the whole wing box section can be one-to-one corresponding to the rearranged target unit number table. It can be understood that Figure 4 and Figure 5 This is a simplified version of the thumbnail diagram. The overall target structure of the wing box section is not just Figure 4 and Figure 5 Number of units shown.
[0053] S103, determining the unit attributes of the entire wing box segment according to the position correspondence between the target unit parameter table and the target unit number table.
[0054] In this embodiment, the unit attributes of the wing box section as a whole can be understood as the unit attributes of the skin, long stringers, beams and ribs, and each structure has its own corresponding unit attributes, wherein the unit attributes can be understood as the unit parameters of the target structure stored in the target unit parameter table.
[0055] Specifically, each structure in the entire wing box section can be used as a target structure to determine the corresponding unit attributes. According to the position correspondence between the target unit parameter table and the target unit number table, the unit parameters corresponding to each unit number in the target unit number table in the target unit parameter table are determined in batches, and the unit parameters are determined as the unit attributes of the unit, and the unit attributes of the target structure are further obtained. According to the unit attributes of each structure in the entire wing box section, the unit attributes of the entire wing box section are determined.
[0056] For example, Figure 6 1 is an example diagram of the correspondence between the target unit parameter table and the target unit number table involved in the attribute determination method provided in the first embodiment of the present invention. Figure 6 As shown, the target unit parameter table and the target unit number table correspond one to one in position, so the target unit parameter table can be directly located according to the position of the unit in the target unit number table, and the attribute parameters of the unit can be directly determined. For example, the number of plies corresponding to the unit number 22 can be determined to be 20, and the number of plies corresponding to the unit number 11 can be determined to be 10 according to the position correspondence between the target unit number table and the target unit parameter table.
[0057] In this embodiment, the target unit parameter table of the target structure in the wing box segment as a whole is obtained; the initial unit number table of the target structure is constructed, and the initial unit number table is rearranged according to the unit position of the target structure to form a target unit number table corresponding to the position of the target unit parameter table; according to the position correspondence between the target unit parameter table and the target unit number table, the unit attributes of the wing box segment as a whole are determined. The above technical scheme can quickly determine the unit attributes in batches, ensure the accuracy of the unit attribute determination, improve the accuracy of the unit attribute determination, greatly improve the work efficiency, reduce the workload, and can be applied to a variety of attribute determination scenarios, ensuring the reusability of the method.
[0058] As a first optional embodiment of the embodiment, based on the above embodiment, this first optional embodiment further optimizes and adds: setting a finite element model according to the unit properties of the entire airfoil box segment.
[0059] In this embodiment, the finite element model can be understood as a model established when the finite element analysis method is used in the aircraft structure design process. With the rapid development of finite element numerical analysis theory and computer technology, more and more complex engineering problems and large-scale structural analysis problems are solved using the finite element method. In aircraft structure design, structural internal force analysis, structural deformation analysis and thermal stress analysis are carried out based on the finite element model to complete the airframe structure strength assessment, fatigue load spectrum compilation and test load compilation. The finite element model has been used throughout the aircraft's conceptual design, preliminary design, detailed design and airworthiness certification process. It is an important carrier for the docking of structure, load and strength professional work, and is of great significance in airframe structure design. The aircraft wing box structure needs to meet the requirements of multi-disciplinary design such as statics, fatigue, assembly, process, flutter, etc. at the same time. Its design often requires dozens of rounds of multi-disciplinary collaborative iterations, and the finite element model is the basis of static, fatigue, flutter and other disciplines. The unit properties need to be updated in each round of iteration. Whether the finite element model can be quickly updated in each round of design iteration is one of the keys to speeding up the development process of the wing box structure.
[0060] Specifically, in order to meet the needs of rapid iterative design, during the construction of the finite element model, the finite element model properties are quickly set according to the determined unit properties of the entire wing box section, thereby achieving rapid update settings of the finite element model properties and supporting strength evaluation.
[0061] Embodiment 2
[0062] Figure 7 It is a flow chart of a property determination method provided in the second embodiment of the present invention. This embodiment is a further optimization of any of the above embodiments and can be applied to the situation of batch-fast determination of the unit properties of the entire wing box section when constructing a finite element model. The method can be executed by a property determination device, which can be implemented in the form of hardware and / or software.
[0063] like Figure 7 As shown, the method includes:
[0064] S201, obtaining a target unit parameter table of a target structure in the entire wing box segment.
[0065] S202, constructing an initial unit number table of the target structure, where the initial unit number table is an initial table arranged by number.
[0066] In this embodiment, the numbers are arranged in the order automatically assigned by the system to construct the following Figure 4 As shown, a table of initial unit numbers relative to the target structure.
[0067] S203, rearrange the initial unit number table according to the center coordinates of the units in the target structure to form an intermediate table arranged in rows.
[0068] In this embodiment, the intermediate table can be understood as a table in which the row positions are correct but the column positions are not necessarily correct. The row coordinates of the cells stored in each row of the intermediate table are arranged in ascending order.
[0069] Specifically, the initial cell number table determines the cells in the same row according to the center coordinates of the cells in the target structure, the cells in the same row are grouped together, each row is rearranged, and the order of the cells in the same row from small to large is determined to form an intermediate table arranged in rows.
[0070] For example, Figure 8 is an example diagram of the arrangement of the same-row cells involved in the attribute determination method provided in the second embodiment of the present invention. Figure 8 As shown, rearrange according to the central coordinates of the units in the target structure to determine Figure 8 The 28 cells in the same row shown in the second row are arranged in ascending order according to the row coordinates, and based on this, an intermediate table is formed in which the row coordinates of each row are arranged in ascending order (for example, A1-A28).
[0071] S204, rearrange the intermediate table according to the column coordinates of the first cell in each row to form a target cell number table arranged according to the cell positions of the target structure and corresponding to the positions of the target cell parameter table.
[0072] In this embodiment, the intermediate table is a table with correct row positions but not necessarily correct column positions. Therefore, the intermediate table is rearranged to form a target unit number table with correct row and column positions, arranged according to the unit positions of the target structure, and corresponding to the positions of the target unit parameter table.
[0073] Specifically, the intermediate table is rearranged in units of rows according to the size of the column coordinates of the first cell in each row of the intermediate table. The order can be from large to small or from small to large. The ordering rule is determined according to the reference coordinate system, and this embodiment does not limit this. After the intermediate table is rearranged according to the size of the column coordinates, a target cell number table is formed with correct row and column positions, arranged according to the cell positions of the target structure, and corresponding to the position of the target cell parameter table.
[0074] For example, Fig. 9 is an example diagram of arranging cells according to column coordinates in a method for determining an attribute provided in the second embodiment of the present invention. Fig. 9 As shown, there are nine rows of cells, A, B, C, D, E, F, G, H, and I. The coordinates of the first cells A1, B1, C1, D1, E1, F1, G1, H1, and I1 of these nine rows are compared and arranged, and the order of column coordinates from small to large or from large to small is formed as follows Fig. 9The example diagram shown is an example of cell arrangement by column coordinates, and a target cell number table is formed based on this.
[0075] S205 , according to the position correspondence between the target unit parameter table and the target unit number table, associate the unit number and unit parameter of each unit in the target structure to determine the unit attribute of the target structure.
[0076] In this embodiment, the unit attributes of the target structure can be understood as unit parameters of all units of the target structure.
[0077] Specifically, the target unit number table is arranged according to the unit position of the target structure. The target unit number table corresponding to the position of the target unit parameter table associates the unit number and unit parameter of each unit in the target structure according to the position correspondence between the target unit parameter table and the target unit number table, and directly determines the unit attributes of the target structure.
[0078] For example, Fig.10 This is an example diagram of a ply parameter library involved in a property determination method provided in the second embodiment of the present invention. When the target structure is a skin, according to the position correspondence between the target unit parameter table and the target unit number table, for a certain unit, the corresponding property parameters such as the number of plies, single layer material, and skin offset stored in the target unit parameter table are determined according to its unit number, and then according to the number of plies, the ply thickness, ply angle, and ply sequence are determined by comparing the ply parameter library. For example, if the number of plies of the unit is 20, according to Fig.10 The ply parameter library shown determines that the ply angle of each layer corresponding to the unit is [45° / -45° / 0° / 90° / 0° / 45° / -45° / 0° / 90° / 45° / -45° / 90° / 0° / -45° / 45° / 0° / 90° / 0° / -45° / 45°].
[0079] S206. Determine the unit attributes of the entire wing box segment according to the unit attributes of the target structure.
[0080] In this embodiment, the target structure can be any structure among the skin, long stringers, beams and ribs. The wing box section as a whole includes the above-mentioned target structures. According to the unit properties of each target structure, they are combined together to determine the unit properties of the wing box section as a whole.
[0081] In this embodiment, by obtaining the target unit parameter table of the target structure in the whole wing box segment; constructing the initial unit number table of the target structure, the initial unit number table is an initial table arranged by number; rearranging the initial unit number table according to the center coordinates of the units in the target structure to form an intermediate table arranged by rows; rearranging the intermediate table according to the column coordinates of the first unit in each row to form a target unit number table arranged according to the unit position of the target structure and corresponding to the position of the target unit parameter table; according to the position correspondence between the target unit parameter table and the target unit number table, the unit number and unit parameter of each unit in the target structure are associated to determine the unit attribute of the target structure; according to the unit attribute of the target structure, the unit attribute of the whole wing box segment is determined. In the above technical scheme, the determination of unit attributes can be realized quickly in batches, the accuracy of unit attribute determination is guaranteed, the accuracy of unit attribute determination is improved, the work efficiency is greatly improved, the workload is reduced, and it can be applied to a variety of attribute determination scenarios to ensure the reusability of the method.
[0082] As a first optional embodiment of the embodiment, based on the above embodiment, this first optional embodiment further optimizes and adds the step of rearranging the initial unit number table according to the center coordinates of the units in the target structure to form an intermediate table arranged in rows. Fig.11 is a flow chart of another attribute determination method provided by Embodiment 2 of the present invention. Fig.11 As shown, including:
[0083] a1) Construct an initial unit set, and store each unit in the initial unit number table into the initial unit set.
[0084] In this embodiment, the initial unit set can be understood as a set storing all unit numbers in the initial unit number table, which is used to assist in the rearrangement of the initial unit number table.
[0085] Specifically, an empty set is constructed as the initial unit set, and each unit in the initial unit number table is stored in the initial unit set.
[0086] b1) Take the first cell in the initial cell set as the current target cell, determine the cell in the same row as the current target cell in the initial cell number table according to the center coordinates of each cell in the target structure, and store the cell in the same row as the current target cell in the current row set until the traversal termination condition of the current row is met.
[0087] In this embodiment, the current target cell can be understood as an initial cell used to determine cells in the same row, and can be understood as a cell used as a calibration reference. The current row set can be understood as a set of cells that store the current target cell and the same row as the current target cell. The traversal termination condition of the current row can be understood as a condition for ending the search for cells in the same row in the initial cell number table, for example, the cells in the same row as the current target cell that have not been found in the initial cell number table no longer exist.
[0088] Specifically, the first unit in the initial unit set is taken as the current target unit, and the center coordinates of each unit are determined in combination with the preset reference coordinate system. According to the center coordinates of the current target unit and the center coordinates of other units, the unit in the same row as the current target unit in the target structure is determined. The row set of the current row is constructed, and the current target unit and the units in the same row as the current target unit are stored in the current row set until there are no unfinded units in the same row as the current target unit in the initial unit number table, that is, the units in the same row as the current target unit in the initial unit number table have been completely found.
[0089] c1) Clear the cells of the current row set stored in the initial cell set, and return to re-execute the step of determining the current target cell until the initial cell set is empty.
[0090] In this embodiment, when the traversal termination condition of the current row is satisfied, the current row set has stored the cell numbers of the current target cell and all cells in the same row as the current target cell in the initial cell number table, and the cell numbers of the current row set are cleared in the initial cell set. At this time, the cell numbers stored in the initial cell set are the numbers of cells that have not been searched in the same row. Return to re-execute step b1), re-take the current first cell in the initial cell set as the current target cell, and search in the same row as the current target cell, until the initial cell set becomes an empty set after clearing the current row set again and again.
[0091] d1) Forming an intermediate table arranged in rows according to each current row set.
[0092] In this embodiment, according to steps b1) and c1), an intermediate table in which row coordinates are arranged in order is determined in units of rows.
[0093] Furthermore, Fig.12 is a flow chart of another attribute determination method provided by the second embodiment of the present invention. Fig.12 As shown, the cells in the same row as the current target cell in the initial cell number table are determined according to the center coordinates of each cell in the target structure, and the cells in the same row as the current target cell are stored in the current row set until the traversal termination condition of the current row is met, including:
[0094] b11) Determine the cell adjacent to the current target cell in the initial cell number table as the reference cell.
[0095] In this embodiment, the reference unit can be understood as a unit used to determine whether it is in the same row as the current target unit one by one. The reference unit is a unit that is adjacent to the current target unit in the initial unit number table.
[0096] Specifically, the unit that is adjacent to the current target unit in the initial unit numbering table and has two common nodes is determined as a reference unit for determining whether it is in the same line as the current target unit one by one. The current target unit has at most four reference units in the initial unit numbering table, which are respectively at the up, down, left and right positions. There are at least two reference units, which can be any two of the up, down, left and right positions.
[0097] For example, Fig.13 FIG. 1 is an example diagram showing a reference unit involved in another attribute determination method provided in Embodiment 2 of the present invention. Fig.13 As shown, A is the current target unit, and B1, B2, B3, and B4, which are adjacent to the current target unit A and have two common nodes, are determined as reference units.
[0098] b12) judging whether the reference unit is a unit in the same line as the current target unit according to the center coordinates of the current target unit and the reference unit in the preset coordinate system.
[0099] In this embodiment, the preset coordinate system can be understood as a reference coordinate system determined based on the overall structure of the airfoil box segment, for example, the X-axis of the reference coordinate system points in the span direction of the airfoil box segment, and the Y-axis points in the chord direction of the airfoil box segment.
[0100] Specifically, the center coordinates of the current target unit and the reference unit in the preset coordinate system are calculated respectively, and the cosine value of the angle between the center coordinate position of the current target unit and the center coordinate position of each reference unit and the vector in the X-axis direction of the reference coordinate system is calculated respectively. It can be determined that the reference unit whose absolute value of the cosine value is greater than cos45 is in the same line as the current target unit.
[0101] For example, Fig.14 is a plane example display diagram of a preset reference coordinate system involved in another attribute determination method provided in the second embodiment of the present invention; Fig.15 2 is a three-dimensional example display diagram of a preset reference coordinate system involved in another attribute determination method provided in the second embodiment of the present invention. Fig.14 and 15As shown, the span direction of the airfoil box segment is the x-axis, the chord direction of the airfoil box segment is the y-axis, and the height direction of the beam rib web is the z-axis. It can be understood that the directions of the x-axis, y-axis, and z-axis are determined based on the actual situation according to different target structures and different actual operation requirements. Fig.16 is an example diagram showing determination of the same-line unit involved in another attribute determination method provided in the second embodiment of the present invention. Fig.16 As shown, the reference unit in the same row as the current target unit A is determined based on the cosine value of the angle between the line connecting the center coordinate position A of the current target unit and the center coordinate position (B1, B2, B3, B4) of each reference unit and the vector in the X-axis direction of the preset reference coordinate system.
[0102] b13) The reference cell in the same row as the current target cell is stored in the current row set, and the reference cell is determined as the current target cell, and the reference cell determination step is returned to be re-executed until the traversal termination condition of the current row is met.
[0103] In this embodiment, a row set of the current row is constructed, the reference cells in the same row as the current target cell are stored in the current row set, the reference cell in the same row as the current target cell is determined as the current target cell, the cell adjacent to the current target cell in the initial cell numbering table is re-determined as the reference cell, and the search for the same row is continued for the current target cell until there are no cells in the same row as the current target cell that have not been found in the initial cell numbering table, that is, the cells in the same row as the current target cell in the initial cell numbering table have been completely found.
[0104] Embodiment 3
[0105] Fig.17 Schematic diagram of a property determination device provided by Embodiment 3 of the present invention. Fig.17 As shown, the device comprises:
[0106] A parameter table acquisition module 31 is used to acquire a target unit parameter table of a target structure in the entire wing box segment;
[0107] A number table determination module 32 is used to construct an initial unit number table of the target structure, and rearrange the initial unit number table according to the unit position of the target structure to form a target unit number table corresponding to the position of the target unit parameter table;
[0108] The unit attribute determination module 33 is used to determine the unit attributes of the entire airfoil box segment according to the position correspondence between the target unit parameter table and the target unit number table.
[0109] The attribute determination device adopted by the present technical solution can quickly determine unit attributes in batches, ensure the accuracy of unit attribute determination, improve the accuracy of unit attribute determination, greatly improve work efficiency, reduce workload, and can be applied to a variety of attribute determination scenarios, ensuring the reusability of the method.
[0110] Optionally, the number table determination module 32 includes:
[0111] An initial table determination submodule is used to construct an initial unit number table of the target structure, wherein the initial unit number table is an initial table arranged by number;
[0112] An intermediate table determination submodule is used to rearrange the initial unit number table according to the center coordinates of the units in the target structure to form an intermediate table arranged in rows;
[0113] The target table determination submodule is used to rearrange the intermediate table according to the column coordinates of the first unit in each row to form a target unit number table arranged according to the unit position of the target structure and corresponding to the position of the target unit parameter table.
[0114] Optionally, the intermediate table determines the submodule, including:
[0115] A set construction unit, used for constructing an initial unit set, and storing each unit in the initial unit number table into the initial unit set;
[0116] A row search unit is used to take the first cell in the initial cell set as the current target cell, determine the cell in the same row as the current target cell in the initial cell number table according to the center coordinates of each cell in the target structure, and store the cell in the same row as the current target cell in the current row set until the traversal termination condition of the current row is met;
[0117] A loop execution unit, used for clearing the cells of the current row set stored in the initial cell set, and returning to re-execute the step of determining the current target cell until the initial cell set is empty;
[0118] The table generating unit is used to form an intermediate table arranged in rows according to each of the current row sets.
[0119] Optionally, the peer search unit is specifically used to:
[0120] Determine a cell adjacent to the current target cell in the initial cell number table as a reference cell;
[0121] According to the center coordinates of the current target unit and the reference unit in a preset coordinate system, determining whether the reference unit is a unit in the same line as the current target unit;
[0122] The reference cell in the same row as the current target cell is stored in the current row set, and the reference cell is determined as the current target cell, and the reference cell determination step is returned and re-executed until the traversal termination condition of the current row is met.
[0123] Optionally, the unit attribute determination module 33 is specifically used to:
[0124] According to the position correspondence between the target unit parameter table and the target unit number table, the unit number and the unit parameter of each unit in the target structure are associated to determine the unit attribute of the target structure;
[0125] The unit attributes of the entire airfoil box segment are determined according to the unit attributes of the target structure.
[0126] Optionally, the wing box section as a whole includes at least: a skin, a long stringer, a beam and a rib.
[0127] Optionally, the property determination device further includes: a model setting module, used to set a finite element model according to unit properties of the entire wing box segment.
[0128] The attribute determination device provided in the embodiment of the present invention can execute the attribute determination method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0129] Embodiment 4
[0130] Fig.18 A schematic diagram of the structure of an electronic device 40 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0131] like Fig.18As shown, the electronic device 40 includes at least one processor 41, and a memory connected to the at least one processor 41, such as a read-only memory (ROM) 42, a random access memory (RAM) 43, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 41 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 42 or the computer program loaded from the storage unit 48 to the random access memory (RAM) 43. In RAM43, various programs and data required for the operation of the electronic device 40 can also be stored. The processor 41, ROM42 and RAM43 are connected to each other through a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44.
[0132] A number of components in the electronic device 40 are connected to the I / O interface 45, including: an input unit 46, such as a keyboard, a mouse, etc.; an output unit 47, such as various types of displays, speakers, etc.; a storage unit 48, such as a disk, an optical disk, etc.; and a communication unit 49, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 49 allows the electronic device 40 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0133] The processor 41 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 41 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 41 performs the various methods and processes described above, such as the attribute determination method.
[0134] In some embodiments, the attribute determination method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 48. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 40 via the ROM 42 and / or the communication unit 49. When the computer program is loaded into the RAM 43 and executed by the processor 41, one or more steps of the attribute determination method described above may be performed. Alternatively, in other embodiments, the processor 41 may be configured to perform the attribute determination method in any other appropriate manner (e.g., by means of firmware).
[0135] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0136] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0137] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0138] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0139] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0140] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0141] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0142] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for determining an attribute, characterized in that: include: Obtain a target unit parameter table of the target structure in the entire wing box section; Constructing an initial unit number table of the target structure, and rearranging the initial unit number table according to the unit positions of the target structure to form a target unit number table corresponding to the positions of the target unit parameter table; The unit attributes of the entire wing box segment are determined according to the position correspondence between the target unit parameter table and the target unit number table.
2. The method according to claim 1, characterized in that The constructing of the initial unit number table of the target structure, rearranging the initial unit number table according to the unit position of the target structure to form a target unit number table corresponding to the position of the target unit parameter table, comprises: Constructing an initial unit number table of the target structure, wherein the initial unit number table is an initial table arranged by number; Rearranging the initial unit number table according to the center coordinates of the units in the target structure to form an intermediate table arranged in rows; The intermediate table is rearranged according to the column coordinates of the first cell in each row to form a target cell number table arranged according to the cell positions of the target structure and corresponding to the positions of the target cell parameter table.
3. The method according to claim 2, characterized in that The step of rearranging the initial unit number table according to the center coordinates of the units in the target structure to form an intermediate table arranged in rows includes: Constructing an initial unit set, and storing each unit in the initial unit number table into the initial unit set; Take the first cell in the initial cell set as the current target cell, determine the cell in the same row as the current target cell in the initial cell number table according to the center coordinates of each cell in the target structure, and store the cell in the same row as the current target cell in the current row set until the traversal termination condition of the current row is met; Clear the cells of the current row set stored in the initial cell set, and return to re-execute the step of determining the current target cell until the initial cell set is empty; An intermediate table arranged in rows is formed according to each of the current row sets.
4. The method according to claim 3, characterized in that The step of determining the cell in the same row as the current target cell in the initial cell number table according to the center coordinates of the cell in the target structure, and storing the cell in the same row as the current target cell in the current row set until the traversal termination condition of the current row is met includes: Determine a cell adjacent to the current target cell in the initial cell number table as a reference cell; According to the center coordinates of the current target unit and the reference unit in a preset coordinate system, determining whether the reference unit is a unit in the same line as the current target unit; The reference cell in the same row as the current target cell is stored in the current row set, and the reference cell is determined as the current target cell, and the reference cell determination step is returned and re-executed until the traversal termination condition of the current row is met.
5. The method according to claim 1, characterized in that Determining the unit attributes of the entire wing box section according to the position correspondence between the target unit parameter table and the target unit number table includes: According to the position correspondence between the target unit parameter table and the target unit number table, the unit number and the unit parameter of each unit in the target structure are associated to determine the unit attribute of the target structure; The unit attributes of the entire airfoil box segment are determined according to the unit attributes of the target structure.
6. The method according to claim 1, characterized in that The wing box section as a whole comprises at least: a skin, a long stringer, a beam and a rib.
7. The method according to claim 1, characterized in that Also includes: A finite element model is set according to the unit properties of the entire airfoil box segment.
8. An attribute determination device, characterized in that: include: A parameter table acquisition module is used to acquire a target unit parameter table of a target structure in the entire wing box section; A number table determination module is used to construct an initial unit number table of the target structure, and rearrange the initial unit number table according to the unit position of the target structure to form a target unit number table corresponding to the position of the target unit parameter table; The unit attribute determination module is used to determine the unit attributes of the entire wing box section according to the position correspondence between the target unit parameter table and the target unit number table.
9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform an attribute determination method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement an attribute determination method according to any one of claims 1 to 7 when executed.