A method for generating a ply partition geometry model based on overall finite element ply data
By analyzing the overall finite element mesh model and combining it with CATIA software to generate Bay 1D and Bay 2D geometry, the efficiency and accuracy problems of ply partitioning model generation in composite material structure design were solved, and efficient and accurate ply partitioning geometric model generation was achieved.
Patent Information
- Application Number
- CN202511511519.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-22
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2045-10-22
AI Technical Summary
Existing technologies make it difficult to quickly and accurately generate layup partition assembly models that meet actual needs in composite material structure design, resulting in low design efficiency and susceptibility to human error, failing to meet the requirements of high precision and high efficiency.
By parsing the overall finite element mesh model file, 1D and 2D geometries are created. Combined with finite element layup data, Bay 1D and Bay 2D geometries are generated using the CATIA software interface. Adjacent identical layups are merged according to the layup information to generate a layup partition geometry model.
It enables the rapid and accurate generation of precise ply partition geometric models from overall finite element ply data, improving the efficiency and accuracy of composite material structure design and analysis.
Smart Images

Figure CN120974866B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer simulation technology, and in particular to a method for generating a ply partitioned geometric model based on total finite element ply data. Background Technology
[0002] In the design and analysis of composite material structures, accurate understanding and processing of ply information is crucial. While overall finite element analysis can provide detailed data on the overall mechanical properties of composite material structures, intuitively obtaining the geometry and distribution of different ply regions from this ply data is extremely important for engineers to gain a deeper understanding of structural performance and to conduct targeted optimization designs.
[0003] Traditional methods often require manual interpretation of limited metadata and subsequent drawing of partitions on the ensemble model, which is not only inefficient but also prone to human error. Existing automated methods struggle to accurately generate ensemble models of ply partitions that meet practical needs when dealing with complex ply configurations, failing to satisfy the ever-increasing demands for high precision and efficiency in modern composite material structure design.
[0004] This invention, through a series of efficient algorithms and processing procedures, can quickly and accurately generate precise ply partition geometric models from overall finite element ply data, thereby improving the efficiency and accuracy of composite material structure design and analysis. Summary of the Invention
[0005] In order to quickly and accurately generate precise ply partition geometric models from overall finite element ply data, thereby improving the efficiency and accuracy of composite material structure design and analysis, this application provides a method for generating ply partition geometric models based on overall finite element ply data.
[0006] This application provides a method for generating a ply partitioned geometric model based on overall finite element ply data, which employs the following technical solution:
[0007] A method for generating a ply partitioned geometric model based on global finite element ply data includes the following steps:
[0008] Step S1: Read the node and element data in the overall finite element mesh model file line by line, and parse the overall finite element mesh model;
[0009] Step S2: Create geometry from the mesh. By calling the CATIA software interface, create coordinate points, 1D geometry, and 2D geometry in CATIA based on the node and cell data read in step S1.
[0010] Step S3: Read the finite element layup data file, and read the 1D element data, Bay mesh data, and 2D element data from the database;
[0011] Step S4: Generate Bay geometry. By calling the CATIA software interface, create Bay 1D geometry based on Bay mesh data and 1D geometry in CATIA, and create Bay 2D geometry based on Bay mesh data and 2D geometry in CATIA.
[0012] Step S5: Generate a ply partitioned geometric model. By calling the CATIA software interface, based on the ply information of each Bay 2D geometry, find adjacent identical plies and merge adjacent identical plies into one partition, finally obtaining the partitioned geometric model.
[0013] By employing the above technical solution, 1D and 2D geometries are created from the finite element mesh of the model file. Combining this with finite element layup data, 1D element data, Bay mesh data, and 2D element data are read. Based on each Bay mesh and the 1D and 2D geometries in CATIA, Bay 1D and Bay 2D geometries are created respectively. Based on the layup information of each Bay 2D geometry, adjacent identical layups can be found and merged until all layup regions are processed, ultimately generating a layup partitioned geometric model. This method can quickly and accurately generate precise layup partitioned geometric models from overall finite element layup data, improving the efficiency and accuracy of composite material structure design and analysis.
[0014] Preferably, step S1 includes the following steps:
[0015] Step S11: Call the file read / write interface to read the overall finite element mesh model file and read the file into the stream;
[0016] Step S12: Read row data starting from row N, with N initially set to 1;
[0017] Step S13: Determine if the current line is a comment line. If it is a comment line, ignore the current line and read the next line of data. If the current line is not a comment line and the first character is not empty, read the keyword. The keyword starts with a non-empty character and ends with an empty character.
[0018] Step S14: Parse data with keywords GRID, 1D unit and 2D unit, where the 1D unit contains the keywords CROD, CBAR or CBEAM, and the 2D unit contains the keywords CTRIA3 or CQUAD4.
[0019] Step S15: Start reading the next line of data.
[0020] Preferably, the comment line begins with the character $. If the first character of a line is $, then the line is a comment line.
[0021] Preferably, during the data parsing process, if the first character of the data is an empty character, then the data in that row is the data of the previous unit, and the parsing of the unit data continues.
[0022] Preferably, step S2 includes the following steps:
[0023] Step S21: By calling the CATIA software interface, coordinate points are created in CATIA based on the coordinate data of the GRID nodes in the overall finite element mesh model;
[0024] Step S22: Based on the 1D element data in the overall finite element mesh model, create 1D geometry in CATIA, where the 1D geometry is composed of two coordinate points connected together.
[0025] Step S23: Based on the 2D element data in the overall finite element mesh model, create 2D geometry in CATIA, where the 2D geometry is composed of multiple 1D geometry connections.
[0026] Preferably, the finite element layup data file has the file extension .csv, and the finite element layup data file includes the following data:
[0027] Bay mesh data records 1D Bay mesh data composed of multiple adjacent 1D finite element mesh elements and 2D Bay mesh data composed of multiple adjacent 2D finite element mesh elements.
[0028] Ply library data: records the number of ply layers, as well as the material, angle, and thickness information of each ply;
[0029] 1D element data: records the cross-sectional type, size, corresponding layup library, and corresponding number of layers of the 1D element;
[0030] 2D cell data: Records the 2D cell's layup library and layup number.
[0031] Preferably, step S5 includes the following steps:
[0032] Step S51: Starting from the Mth Bay 2D geometry, the initial value of M is 1;
[0033] Step S52: Read Bay 2D geometry M and Bay 2D geometry T, T=M+1;
[0034] Step S53: Determine whether Bay 2D geometry T has been marked and merged. If Bay 2D geometry T has been marked and merged, change the value of T to T+1 and then perform the marking and merging judgment again. If Bay 2D geometry T has not been marked and merged, read the finite element mesh nodes in Bay 2D geometry M and Bay 2D geometry T, and obtain the intersection finite element mesh nodes in Bay 2D geometry M and Bay 2D geometry T.
[0035] Step S54: Calculate the number of finite element mesh nodes at the intersection of Bay 2D geometry M and Bay 2D geometry T. If the number of finite element mesh nodes at the intersection of Bay 2D geometry M and Bay 2D geometry T is greater than 1, it means that Bay 2D geometry M and Bay 2D geometry T are adjacent. If the number of finite element mesh nodes at the intersection of Bay 2D geometry M and Bay 2D geometry T is less than or equal to 1, then change the value of T to T+1 and return to step S53.
[0036] Step S55: Determine whether the ply of adjacent Bay 2D geometry M and Bay 2D geometry T is the same. If the ply of adjacent Bay 2D geometry M and Bay 2D geometry T is different, modify the value of T to T+1 and return to step S53; if the ply of adjacent Bay 2D geometry M and Bay 2D geometry T is the same, merge Bay 2D geometry M and Bay 2D geometry T into Bay 2D geometry M, and mark Bay 2D geometry T as merged.
[0037] Step S56: Read the merged Bay 2D geometry M, change the value of M to M+1, and return to step S52.
[0038] In summary, the beneficial technical effects of the method for generating a ply partitioned geometric model based on overall finite element ply data proposed in this application are as follows:
[0039] By creating 1D and 2D geometries from the finite element mesh of the model file, and combining finite element layup data to read 1D element data, Bay mesh data, and 2D element data, Bay 1D and Bay 2D geometries are created based on each Bay mesh data and the 1D and 2D geometries in CATIA. Based on the layup information of each Bay 2D geometry, adjacent identical layups can be found and merged until all layup regions are processed, ultimately generating a layup partitioned geometric model. This allows for the rapid and accurate generation of precise layup partitioned geometric models from overall finite element layup data, improving the efficiency and accuracy of composite material structure design and analysis. Attached Figure Description
[0040] Figure 1This is a schematic diagram illustrating the main process of a method for generating a ply partitioned geometric model based on overall finite element ply data, as described in this application embodiment.
[0041] Figure 2 This is a flowchart illustrating a method for generating a ply partitioned geometric model based on overall finite element ply data, as described in this application embodiment.
[0042] Figure 3 This is a flowchart used in this application embodiment to demonstrate reading the overall finite element mesh model file.
[0043] Figure 4 This is a schematic diagram used in this application embodiment to illustrate the overall finite element mesh model file.
[0044] Figure 5 This is a schematic diagram illustrating the geometry created based on finite element mesh elements, as described in this application.
[0045] Figure 6 This is a schematic diagram illustrating the generated Bay geometry in an embodiment of this application.
[0046] Figure 7 This is a flowchart illustrating the generation of a ply partitioning geometric model, as described in this application embodiment.
[0047] Figure 8 This is a schematic diagram illustrating the generated partitioned geometric model in an embodiment of this application. Detailed Implementation
[0048] The following combination Figures 1-8 This application will be described in further detail.
[0049] Example
[0050] This application discloses a method for generating a ply partitioned geometric model based on overall finite element ply data. (Refer to...) Figure 1 and Figure 2 It mainly includes the following steps:
[0051] Step S1: Read the node and element data in the overall finite element mesh model file line by line, and parse the overall finite element mesh model;
[0052] Step S2: Create geometry from the mesh. By calling the CATIA software interface, create coordinate points, 1D geometry, and 2D geometry in CATIA based on the node and cell data read in step S1.
[0053] Step S3: Read the finite element layup data file, and read the 1D element data, Bay mesh data, and 2D element data from the database;
[0054] Step S4: Generate Bay geometry. By calling the CATIA software interface, create Bay 1D geometry based on Bay mesh data and 1D geometry in CATIA, and create Bay 2D geometry based on Bay mesh data and 2D geometry in CATIA.
[0055] Step S5: Generate a ply partitioned geometric model. By calling the CATIA software interface, based on the ply information of each Bay 2D geometry, find adjacent identical plies and merge adjacent identical plies into one partition, finally obtaining the partitioned geometric model.
[0056] It should be noted that the global finite element mesh model file supported in this embodiment has the extensions fem or bdf. This file format is a plain text file, which is the most commonly used format for global finite element mesh models, and will not be elaborated on here.
[0057] This method creates 1D and 2D geometries from the finite element mesh of the model file. It then reads 1D element data, Bay mesh data, and 2D element data from the finite element layup data. Based on the Bay mesh data and the 1D geometry in CATIA, it creates Bay 1D geometry, and based on the Bay mesh data and the 2D geometry in CATIA, it creates Bay 2D geometry. Based on the layup information of each Bay 2D geometry, it finds adjacent identical layups and merges them until all layup regions are processed, ultimately generating a layup partitioned geometric model. This method can quickly and accurately generate precise layup partitioned geometric models from overall finite element layup data, improving the efficiency and accuracy of composite material structure design and analysis.
[0058] Please refer to Figure 3 In this embodiment of the application, step S1 mainly includes the following steps:
[0059] Step S11: Call the file read / write interface to read the overall finite element mesh model file and read the file into the stream;
[0060] Step S12: Read row data starting from row N, with N initially set to 1;
[0061] Step S13: Determine if the current line is a comment line. If it is a comment line, ignore the current line and read the next line of data. If the current line is not a comment line and the first character is not empty, read the keyword. The keyword starts with a non-empty character and ends with an empty character.
[0062] Step S14: Parse the data with the keywords GRID, 1D cell and 2D cell. The 1D cell contains the keywords CROD, CBAR or CBEAM, and the 2D cell contains the keywords CTRIA3 or CQUAD4.
[0063] Step S15: Start reading the next line of data.
[0064] It should be noted that in this embodiment, the CROD element is a rod element (which can also be represented by CWELD), the CBAR element and CBEAM are both beam elements, and the CTRIA3 element and CQUAD4 element are both shell elements.
[0065] For example, please refer to Figure 4 The first three lines of the overall finite element mesh model file all begin with the character $. When reading the model file, the first three lines can be skipped. When reading the fourth line, if the first character of the fourth line is not an empty character and the keyword is GRID, then the data containing the keyword GRID can be parsed.
[0066] It should be noted that in this embodiment of the application, the comment line begins with the character $. If the first character of a line is $, then the line is a comment line.
[0067] During the data parsing process, if the first character of the data is an empty character, then the data in that line is the data of the previous unit, and the parsing of the unit data continues.
[0068] Step S2 includes the following steps:
[0069] Step S21: By calling the CATIA software interface, coordinate points are created in CATIA based on the coordinate data of the GRID nodes in the overall finite element mesh model;
[0070] Step S22: Based on the 1D element data in the overall finite element mesh model, create 1D geometry in CATIA, where the 1D geometry is composed of two coordinate points connected together.
[0071] Step S23: Based on the 2D element data in the overall finite element mesh model, create 2D geometry in CATIA, where the 2D geometry is composed of multiple 1D geometry connections.
[0072] For example, suppose we have a global finite element mesh and its layup data for a composite fuselage component. First, we read the mesh data file of the global finite element model and extract the mesh nodes and element data; then we read the layup data corresponding to the global finite element mesh model and extract the Bay mesh data, layup library data, 1D element data, and 2D element data.
[0073] Next, by calling the CATIA software interface to create 1D and 2D geometries corresponding to the finite element mesh, the following can be obtained: Figure 5 The geometric model shown is created based on finite element mesh elements.
[0074] In this embodiment, the finite element layup data file has the file extension .csv, and the finite element layup data file includes the following data:
[0075] Bay mesh data records 1D Bay mesh data composed of multiple adjacent 1D finite element mesh elements and 2D Bay mesh data composed of multiple adjacent 2D finite element mesh elements.
[0076] Ply library data: records the number of ply layers, as well as the material, angle, and thickness information of each ply;
[0077] 1D element data: records the cross-sectional type, size, corresponding layup library, and corresponding number of layers of the 1D element;
[0078] 2D cell data: Records the 2D cell's layup library and layup number.
[0079] Subsequently, by calling the CATIA software interface, Bay 1D geometry is created based on Bay mesh data and 1D geometry in CATIA, and Bay 2D geometry is created based on Bay mesh data and 2D geometry in CATIA.
[0080] For example, Figure 6 for Figure 5 The Bay 2D geometric model of the part shown is created based on the part's finite element mesh and combined with 2D element data.
[0081] Reference Figure 7 Step S5 includes the following steps:
[0082] Step S51: Starting from the Mth Bay 2D geometry, the initial value of M is 1;
[0083] Step S52: Read Bay 2D geometry M and Bay 2D geometry T, T=M+1;
[0084] Step S53: Determine whether Bay 2D geometry T has been marked and merged. If Bay 2D geometry T has been marked and merged, change the value of T to T+1 and then perform the marking and merging judgment again. If Bay 2D geometry T has not been marked and merged, read the finite element mesh nodes in Bay 2D geometry M and Bay 2D geometry T, and obtain the intersection finite element mesh nodes in Bay 2D geometry M and Bay 2D geometry T.
[0085] Step S54: Calculate the number of finite element mesh nodes at the intersection of Bay 2D geometry M and Bay 2D geometry T. If the number of finite element mesh nodes at the intersection of Bay 2D geometry M and Bay 2D geometry T is greater than 1, it means that Bay 2D geometry M and Bay 2D geometry T are adjacent. If the number of finite element mesh nodes at the intersection of Bay 2D geometry M and Bay 2D geometry T is less than or equal to 1, then change the value of T to T+1 and return to step S53.
[0086] Step S55: Determine whether the ply of adjacent Bay 2D geometry M and Bay 2D geometry T is the same. If the ply of adjacent Bay 2D geometry M and Bay 2D geometry T is different, modify the value of T to T+1 and return to step S53; if the ply of adjacent Bay 2D geometry M and Bay 2D geometry T is the same, merge Bay 2D geometry M and Bay 2D geometry T into Bay 2D geometry M, and mark Bay 2D geometry T as merged.
[0087] Step S56: Read the merged Bay 2D geometry M, change the value of M to M+1, and return to step S52.
[0088] By comparing the finite element mesh nodes of two Bay 2D geometries and calculating the number of overlapping finite element mesh nodes, it can be determined whether the two Bay 2D geometries are adjacent. Furthermore, by comparing the layup data of two Bay 2D geometries, it can be determined whether two adjacent Bay 2D geometries belong to the same region. Bay 2D geometries belonging to the same region can be quickly merged, ultimately resulting in a result similar to... Figure 8 The shown is a layered partitioning geometric model.
[0089] Compared to traditional manual partitioning methods, this method is more efficient and has higher model accuracy, providing a powerful tool for optimizing the design of composite material fuselages.
[0090] The above are all preferred embodiments of this application and are not intended to limit the scope of protection of this application. Therefore, all equivalent changes made in accordance with the structure, shape and principle of this application should be covered within the scope of protection of this application.
Claims
1. A method for generating a ply partitioned geometric model based on global finite element ply data, characterized in that, Includes the following steps: Step S1: Read the node and element data in the overall finite element mesh model file line by line, and parse the overall finite element mesh model; Step S2: Create geometry from the mesh. By calling the CATIA software interface, create coordinate points, 1D geometry, and 2D geometry in CATIA based on the node and cell data read in step S1. Step S3: Read the finite element layup data file, and read the 1D element data, Bay mesh data, and 2D element data from the database; Step S4: Generate Bay geometry. By calling the CATIA software interface, create Bay 1D geometry based on Bay mesh data and 1D geometry in CATIA, and create Bay 2D geometry based on Bay mesh data and 2D geometry in CATIA. Step S5: Generate a ply partitioned geometric model. By calling the CATIA software interface, based on the ply information of each Bay 2D geometry, find adjacent identical plies and merge adjacent identical plies into one partition, finally obtaining the partitioned geometric model.
2. The method for generating a ply partitioned geometric model based on global finite element ply data according to claim 1, characterized in that, Step S1 includes the following steps: Step S11: Call the file read / write interface to read the overall finite element mesh model file and read the file into the stream; Step S12: Read row data starting from row N, with N initially set to 1; Step S13: Determine if the current line is a comment line. If it is a comment line, ignore the current line and read the next line of data. If the current line is not a comment line and the first character is not empty, read the keyword. The keyword starts with a non-empty character and ends with an empty character. Step S14: Parse data with keywords GRID, 1D unit and 2D unit, where the 1D unit contains the keywords CROD, CBAR or CBEAM, and the 2D unit contains the keywords CTRIA3 or CQUAD4. Step S15: Start reading the next line of data.
3. The method for generating a ply partitioned geometric model based on overall finite element ply data according to claim 2, characterized in that, The comment line begins with the character $. If the first character of a line is $, then the line is a comment line.
4. The method for generating a ply partitioned geometric model based on overall finite element ply data according to claim 3, characterized in that, During the data parsing process, if the first character of the data is an empty character, then the data in that line is the data of the previous unit, and the parsing of the unit data continues.
5. The method for generating a ply partitioned geometric model based on overall finite element ply data according to claim 4, characterized in that, Step S2 includes the following steps: Step S21: By calling the CATIA software interface, coordinate points are created in CATIA based on the coordinate data of the GRID nodes in the overall finite element mesh model; Step S22: Based on the 1D element data in the overall finite element mesh model, create 1D geometry in CATIA, where the 1D geometry is composed of two coordinate points connected together. Step S23: Based on the 2D element data in the overall finite element mesh model, create 2D geometry in CATIA, where the 2D geometry is composed of multiple 1D geometry connections.
6. The method for generating a ply partitioned geometric model based on overall finite element ply data according to claim 5, characterized in that, Finite element layup data files have the .csv extension and include the following data: Bay mesh data records 1D Bay mesh data composed of multiple adjacent 1D finite element mesh elements and 2D Bay mesh data composed of multiple adjacent 2D finite element mesh elements. Ply library data: records the number of ply layers, as well as the material, angle, and thickness information of each ply; 1D element data: records the cross-sectional type, size, corresponding layup library, and corresponding number of layers of the 1D element; 2D cell data: Records the 2D cell's layup library and layup number.
7. The method for generating a ply partitioned geometric model based on overall finite element ply data according to claim 6, characterized in that, Step S5 includes the following steps: Step S51: Starting from the Mth Bay 2D geometry, the initial value of M is 1; Step S52: Read Bay 2D geometry M and Bay 2D geometry T, T=M+1; Step S53: Determine whether Bay 2D geometry T has been marked and merged. If Bay 2D geometry T has been marked and merged, change the value of T to T+1 and then perform the marking and merging judgment again. If Bay 2D geometry T has not been marked and merged, read the finite element mesh nodes in Bay 2D geometry M and Bay 2D geometry T, and obtain the intersection finite element mesh nodes in Bay 2D geometry M and Bay 2D geometry T. Step S54: Calculate the number of finite element mesh nodes at the intersection of Bay 2D geometry M and Bay 2D geometry T. If the number of finite element mesh nodes at the intersection of Bay 2D geometry M and Bay 2D geometry T is greater than 1, it means that Bay 2D geometry M and Bay 2D geometry T are adjacent. If the number of finite element mesh nodes at the intersection of Bay 2D geometry M and Bay 2D geometry T is less than or equal to 1, then change the value of T to T+1 and return to step S53. Step S55: Determine whether the ply of adjacent Bay 2D geometry M and Bay 2D geometry T is the same. If the ply of adjacent Bay 2D geometry M and Bay 2D geometry T is different, change the value of T to T+1 and return to step S53; if the ply of adjacent Bay 2D geometry M and Bay 2D geometry T is the same, merge Bay 2D geometry M and Bay 2D geometry T into Bay 2D geometry M, and mark Bay 2D geometry T as merged. Step S56: Read the merged Bay 2D geometry M, change the value of M to M+1, and return to step S52.
Citation Information
Patent Citations
Method for automatically generating digital layering model of composite material
CN113360976A
Pretreatment method for finite element model of multi-layer composite material plate spring
CN117933001A