Method for creating finite element part based on system BOM and finite element material BOM
Through the automated processing system BOM and finite element material BOM, the problem of repeated movement of parts and attribute creation in finite element pre-processing is solved, and efficient creation of finite element components is achieved, reducing manual error rate and labor cost.
Patent Information
- Application Number
- CN202411191377.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-12-20
AI Technical Summary
In the finite element pre-processing, after the new energy power battery system model is imported into the HyperMesh software, it is necessary to move and rename the repeated parts. The process of creating materials and attributes is cumbersome and prone to errors, resulting in labor consumption and errors, affecting subsequent construction Module quality.
By running the TCL program, loading the three-dimensional model and system BOM and finite element material BOM, automatically reading and matching information, creating bolt cross-sections, material and component properties, renaming attributes using naming rules, realizing automated processing and reducing manual intervention.
It greatly reduces the repetitive workload, reduces the manual error rate, improves the efficiency of finite element preprocessing, and shortens the completion time from the original 4 hours to about 1 minute.
Smart Images

Figure CN119167684A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of finite element processing, and in particular relates to a method for creating a finite element component based on a system BOM and a finite element material BOM. Background Art
[0002] After the new energy power battery system model is imported into the HyperMesh finite element pre-processing software, the first thing to do is to move the duplicate parts to the same assembly and rename them one by one. Secondly, the materials and properties of each component and the bolt section properties need to be created. Finally, the corresponding materials and properties need to be assigned to the corresponding components one by one. This work is extremely cumbersome and not only consumes a lot of man-hours, but is also prone to errors and omissions, causing errors in subsequent finite element modeling. Summary of the invention
[0003] The purpose of the present invention is to provide a method for creating finite element components based on system BOM and finite element material BOM, which can automatically create bolt sections, materials, properties and components, avoid repetitive and tedious work and errors caused by manual processing, improve work efficiency and reduce manual errors.
[0004] To achieve the above object, the present invention provides a method for creating a finite element component based on a system BOM and a finite element material BOM, comprising the following steps:
[0005] S1. Run the TCL program, load the 3D model, and use the CAE analysis pre-processing software HyperMesh to import the geometric model of the battery pack system;
[0006] S2. Loading system BOM. HyperMesh automatically reads the information in the loaded system BOM, including part number, part name, material name and part attributes.
[0007] S3, load the finite element material BOM, HyperMesh automatically reads the information in the loaded finite element material BOM, including material name, material density, elastic modulus and Poisson's ratio;
[0008] S4, matching the information in the system BOM and the finite element material BOM, and establishing a finite element material model;
[0009] S5. Create bolt section attributes and finite element attributes according to the component attributes in the system BOM, assign corresponding card attributes, bolt section attributes and thickness to the components, and rename the attribute names according to the naming rules;
[0010] S6. Match the information in the finite element material model and the finite element properties, remove duplicate components, assign component properties, and rename components.
[0011] As a further solution of the present invention: Step S1 specifically includes: importing the geometric model of the battery pack to be processed into the HyperMesh software, and the geometric model is in a format of ACIS, CATIA, SolidWorks, or STEP.
[0012] As a further solution of the present invention: step S2 specifically includes: the system BOM is in a format of CSV, EXCEL, or TXT.
[0013] As a further solution of the present invention: Step S3 specifically includes: the finite element material BOM is in a format of CSV, EXCEL, or TXT.
[0014] As a further solution of the present invention: step S4 specifically includes:
[0015] Use the TCL command lsort to remove duplicate material names in the system BOM and assign them to the variable materials_list;
[0016] Use the foreach loop command to read the material names in the variable materials_list one by one;
[0017] Use the foreach loop command to read the material names in the finite element material BOM in turn and determine whether they are the same as the variable materials_list.
[0018] If the characters are the same, create the material in the finite element software, assign the material density, elastic modulus and Poisson's ratio, and establish a finite element material model.
[0019] As a further solution of the present invention: step S5 specifically includes:
[0020] Create bolt section properties:
[0021] Use the TCL command lsort to remove duplicate component attributes in the system BOM;
[0022] Use the foreach loop command to read the attributes of the components after deduplication in sequence. If the component is a bolt, read the bolt diameter and create the bolt section attributes.
[0023] Create finite element properties:
[0024] Use the foreach loop command to read the component attributes in the system BOM in sequence;
[0025] If the part is a shell, create a new card attribute as the attribute of PSHELL, assign the thickness and material of the corresponding part, and rename the attribute name according to the naming format: part number-material-thickness;
[0026] If the component is a bolt, create a new card with the attributes of PBEAM, assign the bolt section attributes and materials of the corresponding component, and rename the attribute name according to the naming format: component number-material-R bolt radius;
[0027] If the part is a glue, solid, or weld, create a new card with the attributes of PSOLID, assign the corresponding part material, and rename the attribute name according to the naming format: part number-material-area / solid / seam.
[0028] As a further solution of the present invention: step S6 specifically includes:
[0029] Use hm_entitylist to obtain all component names under Components in the finite element material model and assign them to the variable comps_name_list;
[0030] Use the foreach loop command to read the component names in the system BOM in turn, add . to the component names and store them in the variable compName;
[0031] Use the foreach loop command to read the component names in the variable comps_name_list in turn to determine whether the component name in the finite element material model matches the variable compName;
[0032] If the names match, mark the part with . in the finite element material model, move it to the part without ., and delete the empty part with .;
[0033] Use hm_entitylist to obtain all property names under Properties in the finite element material model and assign them to the variable prop_name_list;
[0034] Use the foreach loop command to read the property names in the variable prop_name_list one by one;
[0035] Use the foreach loop command to read the component names in the variable comps_name_list one by one;
[0036] Determine whether the property name in the variable prop_name_list matches the component name in the variable comps_name_list;
[0037] If the names match, use hm_getvalue to get the property ID number of the matching name in the variable prop_name_list, assign the property of the ID number to the component with the matching name, and use the *setvalue command to rename the name of the component to the attribute name of the property.
[0038] Compared with the prior art, the present invention has the following beneficial effects:
[0039] You can create properties, materials and components according to the system BOM and finite element material BOM with one click, avoiding errors when creating one by one, reducing a lot of repetitive work, and greatly saving the time cost of finite element pre-processing. Before using this method, it took about 4 hours to complete the creation of properties, bolt section properties, materials and components of each power battery system, and it was prone to errors. After using this method, the program is automatically executed and it takes about 1 minute to complete. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Figure 1 A flowchart of a method for creating a finite element component based on a system BOM and a finite element material BOM according to the present invention;
[0041] Figure 2 This is a schematic diagram of the BOM of the system of the present invention;
[0042] Figure 3 It is a schematic diagram of the finite element material BOM of the present invention;
[0043] Figure 4 Schematic diagram of the components after the 3D model is imported into the finite element software;
[0044] Figure 5 A schematic diagram of creating bolt section properties according to the system BOM of the present invention;
[0045] Figure 6 A schematic diagram of creating attributes according to the system BOM of the present invention;
[0046] Figure 7 A schematic diagram of creating materials according to the system BOM and the finite element material BOM of the present invention;
[0047] Figure 8 A schematic diagram of creating components according to the system BOM of the present invention;
[0048] Fig. 9 Schematic diagram of bolt section properties, materials, attributes, and components created for the present invention. DETAILED DESCRIPTION
[0049] The present invention will be further described below by way of examples.
[0050] like Figure 1 As shown, a method for creating a finite element component based on a system BOM and a finite element material BOM includes the following steps:
[0051] S1. Run the TCL program, load the 3D model, and use the CAE analysis pre-processing software HyperMesh to import the geometric model of the battery pack system;
[0052] S2, load the system BOM, HyperMesh automatically reads the information in the loaded system BOM, including part number, part name, material name and part properties, such as Figure 2 As shown;
[0053] S3, load the finite element material BOM, HyperMesh automatically reads the information in the loaded finite element material BOM, including material name, material density, elastic modulus and Poisson's ratio, such as Figure 3 As shown;
[0054] S4, matching the information in the system BOM and the finite element material BOM, and establishing a finite element material model;
[0055] S5. Create bolt section attributes and finite element attributes according to the component attributes in the system BOM, assign corresponding card attributes, bolt section attributes and thickness to the components, and rename the attribute names according to the naming rules;
[0056] S6, match the information in the finite element material model and the finite element attributes, remove duplicate components, assign component attributes, and rename components, such as Figure 4 shown.
[0057] Furthermore, step S1 specifically includes: loading a geometric model of the battery pack to be processed into the HyperMesh software, where the geometric model is in a format of ACIS, CATIA, SolidWorks, or STEP.
[0058] Furthermore, step S2 specifically includes: the system BOM is in one of the formats of CSV, EXCEL, and TXT.
[0059] Furthermore, step S3 specifically includes: the finite element material BOM is in one of the formats of CSV, EXCEL, and TXT.
[0060] Furthermore, step S4 specifically includes:
[0061] Use the TCL command lsort to remove duplicate material names in the system BOM and assign them to the variable materials_list;
[0062] Use the foreach loop command to read the material names in the variable materials_list one by one;
[0063] Use the foreach loop command to read the material names in the finite element material BOM in turn and determine whether they are the same as the variable materials_list.
[0064] If the characters are the same, create the material in the finite element software, assign the material density, elastic modulus and Poisson's ratio, and establish the finite element material model. Figure 7 As shown in the figure, Name is the material name, E is the elastic modulus, NU is the Poisson's ratio, and RHO is the material density.
[0065] Furthermore, step S5 specifically includes:
[0066] Create bolt section properties:
[0067] Use the TCL command lsort to remove duplicate component attributes in the system BOM;
[0068] Use the foreach loop command to read the attributes of the components after deduplication. If the component is a bolt, read the bolt diameter and create the bolt section attributes, such as Figure 5 As shown;
[0069] Create finite element properties:
[0070] Use the foreach loop command to read the component attributes in the system BOM in sequence;
[0071] If the part is a shell, create a new card attribute as the attribute of PSHELL, assign the thickness and material of the corresponding part, and rename the attribute name according to the naming format: part number-material-thickness (for example: the lower box guard plate with a thickness of 1mm is named 1101213X02-SPC-1);
[0072] If the part is a bolt, create a new card attribute as the PBEAM attribute, assign the bolt section attribute and material of the corresponding part, and rename the attribute name according to the naming format: part number-material-R bolt radius (for example: a bolt with a radius of 3.5 mm is named 1101318X02-45-R3.5), such as Figure 6 As shown;
[0073] If the component is adhesive, solid, or weld, create a new card with the attributes of PSOLID, assign the corresponding component material, and rename the attribute name according to the naming format: part number-material-area / solid / seam (for example: the adhesive is named 1101318X02-adhensive-area).
[0074] Further, step S6 specifically includes:
[0075] Use hm_entitylist to obtain all component names under Components in the finite element material model and assign them to the variable comps_name_list;
[0076] Use the foreach loop command to read the component names in the system BOM in turn, add . to the component names and store them in the variable compName;
[0077] Use the foreach loop command to read the component names in the variable comps_name_list in turn to determine whether the component name in the finite element material model matches the variable compName;
[0078] If the names match, mark the part with . in the finite element material model, move it to the part without ., and delete the empty part with .;
[0079] Use hm_entitylist to obtain all property names under Properties in the finite element material model and assign them to the variable prop_name_list;
[0080] Use the foreach loop command to read the property names in the variable prop_name_list one by one;
[0081] Use the foreach loop command to read the component names in the variable comps_name_list one by one;
[0082] Determine whether the property name in the variable prop_name_list matches the component name in the variable comps_name_list;
[0083] If the names match, use hm_getvalue to get the property ID number of the matching name in the variable prop_name_list, assign the property of the ID number to the component with the matching name, and use the *setvalue command to rename the name of the component to the property name of the property, such as Figure 8 shown.
[0084] Each class will automatically generate an id number when it is created, such as Fig. 9 As shown in the figure, under Components are the created finite element components, with corresponding ID numbers 1-8.
Claims
1. A method for creating a finite element component based on a system BOM and a finite element material BOM, characterized in that: The following steps are involved: S1. Run the TCL program, load the 3D model, and use the CAE analysis pre-processing software HyperMesh to import the geometric model of the battery pack system; S2. Loading system BOM. HyperMesh automatically reads the information in the loaded system BOM, including part number, part name, material name and part attributes. S3, load the finite element material BOM, HyperMesh automatically reads the information in the loaded finite element material BOM, including material name, material density, elastic modulus and Poisson's ratio; S4, matching the information in the system BOM and the finite element material BOM, and establishing a finite element material model; S5. Create bolt section attributes and finite element attributes according to the component attributes in the system BOM, assign corresponding card attributes, bolt section attributes and thickness to the components, and rename the attribute names according to the naming rules; S6. Match the information in the finite element material model and the finite element properties, remove duplicate components, assign component properties, and rename components.
2. A method for creating a finite element component based on a system BOM and a finite element material BOM according to claim 1, characterized in that: Step S1 specifically includes: loading the geometric model of the battery pack to be processed into the HyperMesh software, where the geometric model is in a format of ACIS, CATIA, SolidWorks, or STEP.
3. The method for creating a finite element component based on a system BOM and a finite element material BOM according to claim 1, characterized in that: Step S2 specifically includes: the system BOM is in one of the formats of CSV, EXCEL and TXT.
4. The method for creating a finite element component based on a system BOM and a finite element material BOM according to claim 1, characterized in that: Step S3 specifically includes: the finite element material BOM is in one of the formats of CSV, EXCEL, and TXT.
5. A method for creating a finite element component based on a system BOM and a finite element material BOM according to any one of claims 1 to 4, characterized in that: Step S4 specifically includes: Use the TCL command lsort to remove duplicate material names in the system BOM and assign them to the variable materials_list; Use the foreach loop command to read the material names in the variable materials_list one by one; Use the foreach loop command to read the material names in the finite element material BOM in turn and determine whether they are the same as the variable materials_list. If the characters are the same, create the material in the finite element software, assign the material density, elastic modulus and Poisson's ratio, and establish a finite element material model.
6. The method for creating a finite element component based on a system BOM and a finite element material BOM according to claim 5, characterized in that: Step S5 specifically includes: Create bolt section properties: Use the TCL command lsort to remove duplicate component attributes in the system BOM; Use the foreach loop command to read the attributes of the components after deduplication in sequence. If the component is a bolt, read the bolt diameter and create the bolt section attributes. Create finite element properties: Use the foreach loop command to read the component attributes in the system BOM in sequence; If the part is a shell, create a new card attribute as the attribute of PSHELL, assign the thickness and material of the corresponding part, and rename the attribute name according to the naming format: part number-material-thickness; If the component is a bolt, create a new card with the attributes of PBEAM, assign the bolt section attributes and materials of the corresponding component, and rename the attribute name according to the naming format: component number-material-R bolt radius; If the part is a glue, solid, or weld, create a new card with the attributes of PSOLID, assign the corresponding part material, and rename the attribute name according to the naming format: part number-material-area / solid / seam.
7. The method for creating a finite element component based on a system BOM and a finite element material BOM according to claim 6, characterized in that: Step S6 specifically includes: Use hm_entitylist to obtain all component names under Components in the finite element material model and assign them to the variable comps_name_list; Use the foreach loop command to read the component names in the system BOM in turn, add . to the component names and store them in the variable compName; Use the foreach loop command to read the component names in the variable comps_name_list in turn to determine whether the component name in the finite element material model matches the variable compName; If the names match, mark the part with . in the finite element material model, move it to the part without ., and delete the empty part with .; Use hm_entitylist to obtain all property names under Properties in the finite element material model and assign them to the variable prop_name_list; Use the foreach loop command to read the property names in the variable prop_name_list one by one; Use the foreach loop command to read the component names in the variable comps_name_list one by one; Determine whether the property name in the variable prop_name_list matches the component name in the variable comps_name_list; If the names match, use hm_getvalue to get the property ID number of the matching name in the variable prop_name_list, assign the property of the ID number to the component with the matching name, and use the *setvalue command to rename the name of the component to the attribute name of the property.
