Bolt and nut modeling method, system and equipment for whole vehicle collision finite element analysis and storage medium
By configuring the basic parameters of bolts and nuts and calculating the center coordinates in the simulation software, the nodes are automatically established and shell unit modeling is used, the contradiction between bolts and nut modeling efficiency and accuracy in the finite element analysis of the entire vehicle collision is solved, and automation is achieved Modeling and precise assembly improve modeling efficiency and accuracy.
Patent Information
- Application Number
- CN202411018639.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-11-19
Smart Images

Figure CN118981846A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of simulation technology, and in particular relates to a bolt and nut modeling method, system, device and storage medium for whole vehicle collision finite element analysis. Background Art
[0002] In the field of finite element analysis, bolt and nut modeling is an important link, which plays a key role in predicting the behavior of bolts and nuts in the actual working environment. At present, some technical methods have been developed in this field to deal with the problem of bolt and nut modeling, but these technologies still have some problems and pain points in the finite element analysis of vehicle collision. The existing technical methods and pain points are introduced as follows:
[0003] 1. Simplified modeling method: Bolts and nuts are simplified into rigid plates connected by rigid bodies to simplify modeling and improve efficiency. Although this method has high modeling efficiency and can quickly simulate the basic mechanical behavior of bolts and nuts, it is the mainstream bolt and nut modeling method in vehicle collision finite element analysis; however, it is not accurate enough when dealing with complex assembly situations and cannot accurately simulate the mechanical behavior in complex assembly scenarios.
[0004] 2. Detailed modeling method: Bolts and nuts are modeled as solid units with detailed geometric features, including threads, etc. Although this method can provide more accurate simulation results, the modeling process is complicated and the calculation cost is high, so it is not suitable for vehicle collision finite element analysis.
[0005] In summary, the contradiction between modeling efficiency and analysis accuracy in the existing technology is very prominent. In the finite element analysis of vehicle collision, it is urgent to develop a bolt and nut modeling method that can balance modeling efficiency and analysis accuracy. Summary of the invention
[0006] In view of the above-mentioned defects existing in the prior art, the present invention provides a bolt and nut modeling method, system, equipment and storage medium for whole vehicle collision finite element analysis, which can greatly improve the modeling efficiency while ensuring the analysis accuracy.
[0007] The present invention is achieved through the following technical solutions:
[0008] The bolt and nut modeling method used for vehicle collision finite element analysis specifically includes the following steps:
[0009] S1. Configure basic parameters of bolts and nuts based on simulation software;
[0010] S2. Select any point on the bolt hole and calculate the centroid coordinates of all nodes on the bolt hole;
[0011] S3, select any point on the nut hole and calculate the centroid coordinates of all nodes on the nut hole;
[0012] S4. Automatically model the bolts and nuts for vehicle simulation based on the centroid coordinates of the nodes, including:
[0013] S41, establishing the initial node of the lower end face of the bolt head;
[0014] S42, establish the inner node of the lower end face of the bolt head;
[0015] S43, establish the outer side node of the lower end face of the bolt head;
[0016] S44. Establish all nodes on the end face of the bolt head;
[0017] S45, bolt head modeling;
[0018] S46. Establish all nodes on the lower end face of the bolt rod;.
[0019] S47, bolt rod modeling;
[0020] S48, establish all nodes of the nut;
[0021] S49, nut modeling;
[0022] S410, bolt and nut assembly.
[0023] Furthermore, in step S1, the basic parameters of the bolt include nominal diameter, bolt head thickness, and bolt shank length; the basic parameters of the nut include nominal diameter, nut thickness, and distance between the nut and the vertex.
[0024] Further, in step S41, establishing the initial node of the lower end surface of the bolt head specifically includes:
[0025] S411. Let the straight line passing through the centroid of the bolt hole and the centroid of the nut hole be perpendicular to the straight line passing through the centroid of the bolt hole and the initial node of the lower end face of the bolt head, and obtain the following relationship:
[0026] (nut_hole_x–bolt_hole_x)*(bolt_head_n0_x-bolt_hole_x)+(nut_hole_y–bolt_hole_y)*(bolt_head_n0_y-bolt_hole_y)+(nut_hole_z–bolt_hole_z)*(bolt_head_n0_z- bolt_hole_z) = 0 (1)
[0028] S412. Let the distance from the centroid of the bolt hole to the initial node of the lower end face of the bolt head be equal to half of the nominal diameter of the bolt, and obtain the following relationship:
[0029] (bolt_head_n0_x-bolt_hole_x) 2 +(bolt_head_n0_y-bolt_hole_y) 2 +(bolt_head_n0_z-bolt_hole_z) 2 =(D / 2) 2 (2)
[0031] S413. If the normal vector of the plane where the bolt hole is located is not parallel to the x-axis, let the x-coordinate of the initial node of the lower end face of the bolt head be equal to the x-coordinate of the centroid of the bolt hole, and the following relationship is obtained:
[0032] bolt_head_n0_x = bolt_hole_x (3)
[0033] If the normal vector of the plane where the bolt hole is located is parallel to the x-axis, let the y coordinate of the initial node on the lower end of the bolt head be equal to the y coordinate of the centroid of the bolt hole, and the following relationship is obtained:
[0034] bolt_head_n0_y = bolt_hole_y (4)
[0035] Where, the centroid coordinates of the nut hole are (nut_hole_x, nut_hole_y, nut_hole_z), and the centroid coordinates of the bolt hole are (bolt_hole_x, bolt_hole_y, bolt_hole_z);
[0036] By jointly solving equations (1)(2)(3) or (1)(2)(4), the coordinates (bolt_head_n0_x, bolt_head_n0_y, bolt_head_n0_z) of the initial node bolt_head_n0 on the lower end surface of the bolt head can be obtained.
[0037] Further, in step S42, the establishment of the inner node of the lower end surface of the bolt head specifically includes:
[0038] S421. Define the rotation axis: the vector from the centroid of the bolt hole to the centroid of the nut hole;
[0039] S422, rotating the initial node of the lower end surface of the bolt head 360 degrees around the rotation axis, and using the Rodriguez rotation formula to calculate the coordinates of the initial node of the lower end surface of the bolt head at a certain rotation step length θ, thereby obtaining all the inner nodes of the lower end surface of the bolt head;
[0040] Here, θ is the common divisor of 360 and 60.
[0041] Further, in step S43, the establishment of the outer node of the lower end surface of the bolt head specifically includes:
[0042] S431, projecting the inner node of the lower end surface of the bolt head to the circumscribed circle of the lower end surface of the bolt head along the radial direction of the bolt head;
[0043] S432, taking out the nodes on the outer side of the lower end surface of the bolt head at regular rotation step lengths θ and connecting them in sequence, and projecting the other nodes on the outer side of the lower end surface of the bolt head toward the nearest connection line along the radial direction of the bolt head, so as to obtain nodes including all the nodes on the outer side of the lower end surface;
[0044] Here, θ is the common divisor of 360 and 60.
[0045] Further, in step S45, the bolt head modeling is to establish shell elements between all nodes on the inner side of the lower end surface of the bolt head, all nodes on the outer side of the lower end surface of the bolt head, and all nodes on the upper end surface of the bolt head, so as to complete the bolt head modeling;
[0046] In step S47, the bolt rod modeling is to establish shell elements between all nodes on the inner side of the lower end surface of the bolt head and all nodes on the lower end surface of the bolt rod, so as to complete the bolt rod modeling;
[0047] In step S49, the nut modeling is to establish shell units between all nodes of the lower end surface of the nut and all nodes of the upper end surface of the nut, so as to complete the nut modeling.
[0048] Furthermore, in step S48, the establishment of all nodes of the nut specifically includes the following contents:
[0049] S481, calculate the distance dist from the centroid of the bolt hole to the centroid of the nut hole;
[0050] S482, after all nodes on the inner side of the lower end surface of the bolt head and all nodes on the outer side of the lower end surface of the bolt head are moved toward the lower end surface of the nut by a distance dist along the axial direction of the bolt, all nodes on the lower end surface of the nut are obtained;
[0051] S483. After all nodes on the lower end face of the nut are moved toward the upper end face of the nut by the nut thickness distance dist along the axial direction of the bolt, a list of all nodes on the upper end face of the nut is obtained.
[0052] Furthermore, in step S410, the bolt and nut assembly specifically includes the following contents:
[0053] S411, move the bolt and nut outwards respectively. A ,d B The distance between A It is half of the sum of the thickness of the base material A and the bolt plate, d B It is half of the sum of the thickness of the base material B and the nut plate;
[0054] S412. Create beam units with the centroid of the bolt hole and the centroid of the nut hole as vertices and add preload to simulate the bolt preload.
[0055] In a second aspect, the present invention further provides a bolt and nut modeling system for vehicle collision finite element analysis, which is used to implement the above method, including:
[0056] Configuration module, used to configure the basic parameters of bolts and nuts based on simulation software;
[0057] The first calculation module is used to select any point on the bolt hole and calculate the centroid coordinates of all nodes on the bolt hole;
[0058] The second calculation module is used to select any point on the nut hole and calculate the centroid coordinates of all nodes on the nut hole;
[0059] The modeling module is used to automatically model the bolts and nuts of the whole vehicle simulation based on the centroid coordinates of the nodes.
[0060] In a third aspect, the present invention further provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for modeling bolts and nuts for finite element analysis of vehicle collision as described in any one of the embodiments of the present invention is implemented.
[0061] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a bolt and nut modeling method for whole vehicle collision finite element analysis as described in any one of the embodiments of the present invention.
[0062] Compared with the prior art, the advantages of the present invention are as follows:
[0063] 1) The present invention can realize the modeling of bolts and nuts in the finite element analysis of vehicle collision;
[0064] 2) The bolt and nut modeling process of the present invention is automated, which greatly improves the modeling efficiency;
[0065] 3) The bolts and nuts established by the present invention have good outer contours and can accurately simulate the mechanical behavior in complex assembly scenarios;
[0066] 4) The present invention can accurately and automatically assemble bolts and nuts. BRIEF DESCRIPTION OF THE DRAWINGS
[0067] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the specific embodiments or the description of the prior art. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale.
[0068] Figure 1 It is a flow chart of the bolt and nut modeling method for whole vehicle collision finite element analysis of the present invention;
[0069] Figure 2 It is a schematic diagram of the basic parameters of bolts;
[0070] Figure 3 It is a schematic diagram of the basic parameters of the nut;
[0071] Figure 4 This is a schematic diagram of the initial node of the lower end face of the bolt head;
[0072] Figure 5 It is a schematic diagram of the node on the inner side of the lower end face of the bolt head;
[0073] Figure 6 It is a schematic diagram of the outer node of the lower end face of the bolt head;
[0074] Figure 7 It is a schematic diagram of all nodes on the end face of the bolt head;
[0075] Figure 8 It is a schematic diagram of all nodes on the lower end face of the bolt rod;
[0076] Fig. 9 This is a schematic diagram of all nodes of the nut;
[0077] Fig.10 Modeling GUI interfaces for automation;
[0078] Fig.11 It is a schematic diagram of the initial node coordinate characteristics of the lower end face of the bolt head;
[0079] The straight line passing through the centroid of the bolt hole and the centroid of the nut hole is perpendicular to the straight line passing through the centroid of the bolt hole and the initial node of the lower end face of the bolt head;
[0080] Fig.12 This is a schematic diagram of the modeling method of the circumscribed circular node on the lower end face of the bolt head;
[0081] Fig.13 This is a schematic diagram of the modeling method for the outer node of the lower end face of the bolt head;
[0082] Fig.14 Model a schematic diagram for the bolt head;
[0083] Fig.15 Model a schematic diagram for the bolt shank;
[0084] Fig.16 Model a schematic diagram for the nut;
[0085] Fig.17 This is a schematic diagram of the plate thickness offset of bolts and nuts;
[0086] Fig.18 It is a structural schematic diagram of an electronic device in Example 3 of the present invention. DETAILED DESCRIPTION
[0087] In order to clearly and completely describe the technical solution and its specific working process of the present invention, the specific implementation methods of the present invention are as follows in conjunction with the accompanying drawings of the specification:
[0088] Example 1
[0089] like Figure 1 As shown, this embodiment provides a bolt and nut modeling method for vehicle collision finite element analysis. Based on PRIMER software, the method is automatically modeled and packaged using JavaScript programming language. The automatic modeling GUI interface is as shown in FIG. Fig.10 As shown in the figure, the automatic modeling of bolts and nuts for vehicle collision finite element analysis is realized, which specifically includes the following steps:
[0090] Step 1: Configure the basic parameters of bolts and nuts. The basic parameters of bolts are as follows: Figure 2 As shown, including: nominal diameter D, bolt head thickness k_bolt, bolt rod length l_bolt; basic parameters of the nut are as follows Figure 3 As shown, it includes: nominal diameter D, nut thickness m_nut, and distance e_nut from the nut to the vertex; among them, the basic parameters of commonly used bolt-nut pairs can be integrated in the program, and after M is configured, other basic parameters are automatically filled in.
[0091] Step 2: Select any point on the bolt hole and assign it to the variable bolt_hole_n. After that, the program will automatically calculate the centroid coordinates of the bolt hole (bolt_hole_x, bolt_hole_y, bolt_hole_z); for details, you can refer to the "PRIMERJavaScript reference manual" and use the "GetFreeEdgeNodes()" function to extract the list bolt_hole_ns consisting of all nodes on the hole where the node bolt_hole_n is located, traverse the x, y, and z coordinates of all nodes in bolt_hole_ns, sum them up and take the average value to get the centroid coordinates of the bolt hole (bolt_hole_x, bolt_hole_y, bolt_hole_z);
[0092] Step 3: Select any point on the nut hole and assign it to the variable nut_hole_n. After that, the program will automatically calculate the centroid coordinates of the nut hole (nut_hole_x, nut_hole_y, nut_hole_z); for details, you can refer to the "PRIMERJavaScript reference manual" and use the "GetFreeEdgeNodes()" function to extract the list nut_hole_ns consisting of all nodes on the hole where the node nut_hole_n is located, traverse the x, y, and z coordinates of all nodes in nut_hole_ns, and sum them up and take the average value to get the centroid coordinates of the nut hole (nut_hole_x, nut_hole_y, nut_hole_z).
[0093] Step 4: Modeling and assembling bolts and nuts, including:
[0094] a) Establish the initial node bolt_head_n0 on the lower end of the bolt head. The coordinates of bolt_head_n0 (bolt_head_n0_x, bolt_head_n0_y, bolt_head_n0_z) are calculated as follows:
[0095] 11) Fig.11 As shown, the straight line through the centroid of the bolt hole and the centroid of the nut hole is perpendicular to the straight line through the centroid of the bolt hole and the initial node of the lower end face of the bolt head, and there is an equation ①:
[0096] (nut_hole_x–bolt_hole_x)*(bolt_head_n0_x-bolt_hole_x)+(nut_hole_y–bolt_hole_y)*(bolt_head_n0_y-bolt_hole_y)+(nut_hole_z–bolt_hole_z)*(bolt_head_n0_z-bolt_hole_z)=0;
[0097] 12) The distance from the centroid of the bolt hole to the initial node of the lower end face of the bolt head is equal to half of the nominal diameter of the bolt. There is equation ②:
[0098] (bolt_head_n0_x-bolt_hole_x)2+(bolt_head_n0_y-bolt_hole_y)2+(bolt_head_n0_z-bolt_hole_z)2=(D / 2)2;
[0099] 13) If the normal vector of the plane where the bolt hole is located is not parallel to the x-axis, it can be assumed that the x-coordinate of the initial node on the lower end of the bolt head is equal to the x-coordinate of the centroid of the bolt hole, and there is an initialization equation ③:
[0100] bolt_head_n0_x=bolt_hole_x
[0101] If the normal vector of the plane where the bolt hole is located is parallel to the x-axis, it can be assumed that the y coordinate of the initial node on the lower end of the bolt head is equal to the y coordinate of the centroid of the bolt hole, and there is an initialization equation ③:
[0102] bolt_head_n0_y=bolt_hole_y
[0103] 14) By jointly solving equations ①②③, you can get the coordinates of the initial node bolt_head_n0 on the lower end of the bolt head (bolt_head_n0_x, bolt_head_n0_y, bolt_head_n0_z). Note that there are two sets of solutions for jointly solving equations ①②③, and you can choose any one of them.
[0104] b) Establish the inner nodes of the lower end face of the bolt head, and put all the inner nodes of the lower end face into the list bolt_head_int_ns. First, define the rotation axis: the vector from the centroid of the bolt hole to the centroid of the nut hole; then, rotate bolt_head_n0 360 degrees around the rotation axis, and use the Rodriguez rotation formula to calculate the coordinates of bolt_head_n0 at certain rotation steps θ and put them into the list bolt_head_int_ns; finally, get the list bolt_head_int_ns consisting of all the inner nodes of the lower end face of the bolt head. Among them, θ can divide 360 and 60, that is, θ is the common divisor of 360 and 60, that is, θ can be any of these values: 1°, 2°, 3°, 5°, 6°, 10°, 12°, 15°, 20°, 30°, 60°. The smaller θ is, the closer the outer contour of the bolt rod is to a cylinder.
[0105] c) Create the outer nodes of the lower end face of the bolt head, and put all the outer nodes of the lower end face into the list bolt_head_ext_ns. First, Fig.12 As shown in , the inner node of the lower end face of the bolt head is projected to the circumscribed circle of the lower end face of the bolt head along the radial direction of the bolt head. Then, as Fig.13 As shown (the schematic diagram takes θ as 30° as an example), the nodes on the outer side of the lower end face of the bolt head are taken out every 60° and connected in sequence, and the other nodes on the outer side of the lower end face of the bolt head are projected along the radial direction of the bolt head to the nearest connection line, and a list bolt_head_ext_ns containing all the nodes on the outer side of the lower end face can be obtained.
[0106] d) Establish all nodes on the bolt head and put them into the list bolt_head_top_ns. Move the outer nodes bolt_head_ext_ns and the centroid of the bolt hole to the bolt head end surface by the distance of the bolt head thickness k_bolt along the bolt axis and put them into the list bolt_head_top_ns, thus obtaining the list bolt_head_top_ns of all nodes on the bolt head.
[0107] e) Model the bolt head. Fig.14 The method shown establishes shell elements between all nodes bolt_head_int_ns on the inner side of the lower end face of the bolt head, all nodes bolt_head_ext_ns on the outer side of the lower end face of the bolt head, and all nodes bolt_head_top_ns on the upper end face of the bolt head, so as to complete the modeling of the bolt head.
[0108] f) Establish all nodes on the lower end of the bolt shank and put all nodes on the lower end of the bolt shank into the list bolt_shank_bottom_ns. Move all nodes on the inner side of the lower end of the bolt head bolt_head_int_ns and the centroid of the bolt hole to the lower end of the bolt shank by the length of the bolt shank l_bolt along the bolt axis and put them into the list bolt_shank_bottom_ns, thus obtaining the list of all nodes on the upper end of the bolt head bolt_shank_bottom_ns.
[0109] g) Bolt rod modeling. Fig.15 The method shown establishes shell elements between all nodes bolt_head_int_ns on the inner side of the lower end face of the bolt head and all nodes bolt_shank_bottom_ns on the lower end face of the bolt shank, thereby completing the modeling of the bolt shank.
[0110] h) Establish all nodes of the nut, put all nodes of the lower end face of the nut into the list nut_bottom_ns, and all nodes of the upper end face of the nut into the list nut_top_ns. First, calculate the distance dist from the centroid of the bolt hole to the centroid of the nut hole; then, move all nodes bolt_head_int_ns on the inner side of the lower end face of the bolt head and all nodes bolt_head_ext_ns on the outer side of the lower end face of the bolt head toward the lower end face of the nut by a distance dist and put them into the list nut_bottom_ns, thus obtaining the list of all nodes of the lower end face of the nut nut_bottom_ns; move all nodes of the lower end face of the nut nut_bottom_ns toward the upper end face of the nut by a distance of the nut thickness m_nut along the axial direction of the bolt and put them into the list nut_top_ns, thus obtaining the list of all nodes of the upper end face of the nut nut_top_ns.
[0111] i) Model the nut. Fig.16 The method shown establishes shell elements between all nodes nut_bottom_ns on the lower end surface of the nut and all nodes nut_top_ns on the upper end surface of the nut to complete the nut modeling.
[0112] j) Bolt and nut assembly. The method is as follows:
[0113] Bolt and nut plate thickness offset. Fig.17 As shown in the figure, the bolt and nut are moved outward by distances dA and dB respectively; dA is half of the sum of the thickness of the base material A and the bolt plate, and dB is half of the sum of the thickness of the base material B and the nut plate.
[0114] A beam unit is established between the bolt and the nut to simulate the bolt preload. A beam unit is established with the centroid of the bolt hole and the centroid of the nut hole as vertices and the preload is added to simulate the bolt preload.
[0115] This embodiment uses JavaScript programming language and PRIMER software to implement the bolt and nut modeling method for vehicle collision finite element analysis. The technical solution of the present invention can be referred to and implemented in other programming languages (such as Python) and other simulation software (such as ANSA).
[0116] Example 2
[0117] This embodiment provides a bolt and nut modeling system for vehicle collision finite element analysis, which is used to implement the above method, including:
[0118] Configuration module, used to configure the basic parameters of bolts and nuts based on simulation software;
[0119] The first calculation module is used to select any point on the bolt hole and calculate the centroid coordinates of all nodes on the bolt hole;
[0120] The second calculation module is used to select any point on the nut hole and calculate the centroid coordinates of all nodes on the nut hole;
[0121] The modeling module is used to automatically model the bolts and nuts of the whole vehicle simulation based on the centroid coordinates of the nodes.
[0122] Example 3
[0123] Fig.18 This is a schematic diagram of the structure of a computer device in Example 3 of the present invention. Fig.18 A block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention is shown. Fig.18 The computer device 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0124] like Fig.18 As shown, the computer device 12 is in the form of a general-purpose computing device. The components of the computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that connects various system components (including the system memory 28 and the processing unit 16).
[0125] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0126] The computer device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device 12, including volatile and non-volatile media, removable and non-removable media.
[0127] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The computer device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Fig.18 not shown, usually called a "hard drive"). Although Fig.18 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.
[0128] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the memory 28. Such program modules 42 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described herein.
[0129] The computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), may also communicate with one or more devices that enable a user to interact with the computer device 12, and / or communicate with any device that enables the computer device 12 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed through an input / output (I / O) interface 22. In addition, the computer device 12 in this embodiment, the display 24 does not exist as an independent individual, but is embedded in the mirror surface, and when the display surface of the display 24 is not displayed, the display surface of the display 24 and the mirror surface are visually integrated. In addition, the computer device 12 may also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN) and / or public network, such as the Internet) through a network adapter 20. As shown in the figure, the network adapter 20 communicates with other modules of the computer device 12 through a bus 18. It should be understood that although not shown in the figure, other hardware and / or software modules can be used in conjunction with the computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0130] The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing the bolt and nut modeling method for vehicle collision finite element analysis provided by the embodiment of the present invention.
[0131] Example 4
[0132] Embodiment 4 of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the method for modeling bolts and nuts for finite element analysis of vehicle collision as provided in all embodiments of the present application is implemented.
[0133] Any combination of one or more computer-readable media may be used. A computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, 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 thereof. In this document, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, device, or device.
[0134] Computer-readable signal media may include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0135] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0136] Computer program code for performing the operations of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0137] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A bolt and nut modeling method for vehicle collision finite element analysis, characterized in that: The specific steps include: S1. Configure basic parameters of bolts and nuts based on simulation software; S2. Select any point on the bolt hole and calculate the centroid coordinates of all nodes on the bolt hole; S3, select any point on the nut hole and calculate the centroid coordinates of all nodes on the nut hole; S4. Automatically model the bolts and nuts for vehicle simulation based on the centroid coordinates of the nodes, including: S41, establishing the initial node of the lower end face of the bolt head; S42, establish the inner node of the lower end face of the bolt head; S43, establish the outer side node of the lower end face of the bolt head; S44. Establish all nodes on the end face of the bolt head; S45, bolt head modeling; S46. Establish all nodes on the lower end face of the bolt rod;. S47, bolt rod modeling; S48, establish all nodes of the nut; S49, nut modeling; S410, bolt and nut assembly.
2. The bolt and nut modeling method for vehicle collision finite element analysis according to claim 1, characterized in that: In step S1, the basic parameters of the bolt include nominal diameter, bolt head thickness, and bolt shank length; the basic parameters of the nut include nominal diameter, nut thickness, and distance between the nut and the vertex.
3. The bolt and nut modeling method for vehicle collision finite element analysis according to claim 1, characterized in that: In step S41, the establishment of the initial node of the lower end surface of the bolt head specifically includes: S411. Let the straight line passing through the centroid of the bolt hole and the centroid of the nut hole be perpendicular to the straight line passing through the centroid of the bolt hole and the initial node of the lower end face of the bolt head, and obtain the following relationship: (nut_hole_x–bolt_hole_x)*(bolt_head_n0_x-bolt_hole_x)+(nut_hole_y–bolt_hole_y)*(bolt_head_n0_y-bolt_hole_y)+(nut_hole_z–bolt_hole_z)*(bolt_head_n0_z- bolt_hole_z) = 0 (1) S412. Let the distance from the centroid of the bolt hole to the initial node of the lower end face of the bolt head be equal to half of the nominal diameter of the bolt, and obtain the following relationship: (bolt_head_n0_x-bolt_hole_x) 2 +(bolt_head_n0_y-bolt_hole_y) 2 +(bolt_head_n0_z-bolt_hole_z) 2 =(D / 2) 2 (2) S413. If the normal vector of the plane where the bolt hole is located is not parallel to the x-axis, let the x-coordinate of the initial node of the lower end face of the bolt head be equal to the x-coordinate of the centroid of the bolt hole, and the following relationship is obtained: bolt_head_n0_x = bolt_hole_x (3) If the normal vector of the plane where the bolt hole is located is parallel to the x-axis, let the y coordinate of the initial node on the lower end of the bolt head be equal to the y coordinate of the centroid of the bolt hole, and the following relationship is obtained: bolt_head_n0_y = bolt_hole_y (4) Where, the centroid coordinates of the nut hole are (nut_hole_x, nut_hole_y, nut_hole_z), and the centroid coordinates of the bolt hole are (bolt_hole_x, bolt_hole_y, bolt_hole_z); By jointly solving equations (1)(2)(3) or (1)(2)(4), the coordinates (bolt_head_n0_x, bolt_head_n0_y, bolt_head_n0_z) of the initial node bolt_head_n0 on the lower end surface of the bolt head can be obtained.
4. The bolt and nut modeling method for vehicle collision finite element analysis according to claim 1, characterized in that: In step S42, the establishment of the inner node of the lower end surface of the bolt head specifically includes: S421. Define the rotation axis: the vector from the centroid of the bolt hole to the centroid of the nut hole; S422, rotating the initial node of the lower end surface of the bolt head 360 degrees around the rotation axis, and using the Rodriguez rotation formula to calculate the coordinates of the initial node of the lower end surface of the bolt head at a certain rotation step length θ, thereby obtaining all the inner nodes of the lower end surface of the bolt head; Here, θ is the common divisor of 360 and 60.
5. The bolt and nut modeling method for vehicle collision finite element analysis according to claim 1, characterized in that: In step S43, the step of establishing the outer node of the lower end surface of the bolt head specifically includes: S431, projecting the inner node of the lower end surface of the bolt head to the circumscribed circle of the lower end surface of the bolt head along the radial direction of the bolt head; S432, taking out the nodes on the outer side of the lower end surface of the bolt head at regular rotation step lengths θ and connecting them in sequence, and projecting the other nodes on the outer side of the lower end surface of the bolt head toward the nearest connection line along the radial direction of the bolt head, so as to obtain nodes including all the nodes on the outer side of the lower end surface; Here, θ is the common divisor of 360 and 60.
6. The bolt and nut modeling method for vehicle collision finite element analysis according to claim 1, characterized in that: In step S45, the bolt head modeling is to establish shell elements between all nodes on the inner side of the lower end surface of the bolt head, all nodes on the outer side of the lower end surface of the bolt head, and all nodes on the upper end surface of the bolt head, so as to complete the bolt head modeling; In step S47, the bolt rod modeling is to establish shell elements between all nodes on the inner side of the lower end surface of the bolt head and all nodes on the lower end surface of the bolt rod, so as to complete the bolt rod modeling; In step S49, the nut modeling is to establish shell units between all nodes of the lower end surface of the nut and all nodes of the upper end surface of the nut, so as to complete the nut modeling.
7. The bolt and nut modeling method for vehicle collision finite element analysis according to claim 1, characterized in that: In step S48, the establishment of all nodes of the nut specifically includes the following contents: S481, calculate the distance dist from the centroid of the bolt hole to the centroid of the nut hole; S482, after all nodes on the inner side of the lower end surface of the bolt head and all nodes on the outer side of the lower end surface of the bolt head are moved toward the lower end surface of the nut by a distance dist along the axial direction of the bolt, all nodes on the lower end surface of the nut are obtained; S483. After all nodes on the lower end face of the nut are moved toward the upper end face of the nut by the nut thickness distance dist along the axial direction of the bolt, a list of all nodes on the upper end face of the nut is obtained.
8. The bolt and nut modeling method for vehicle collision finite element analysis according to claim 1, characterized in that: In step S410, the bolt and nut assembly specifically includes the following contents: S411, move the bolt and nut outwards respectively. A d B The distance between A It is half of the sum of the thickness of the base material A and the bolt plate, d B It is half of the sum of the thickness of the base material B and the nut plate; S412. Create beam units with the centroid of the bolt hole and the centroid of the nut hole as vertices and add preload to simulate the bolt preload.
9. A bolt and nut modeling system for vehicle collision finite element analysis, used to implement the method according to any one of claims 1 to 8, characterized in that: include: Configuration module, used to configure the basic parameters of bolts and nuts based on simulation software; The first calculation module is used to select any point on the bolt hole and calculate the centroid coordinates of all nodes on the bolt hole; The second calculation module is used to select any point on the nut hole and calculate the centroid coordinates of all nodes on the nut hole; The modeling module is used to automatically model the bolts and nuts of the whole vehicle simulation based on the centroid coordinates of the nodes.
10. A computer device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the program, the bolt and nut modeling method for whole vehicle collision finite element analysis as described in any one of claims 1 to 8 is implemented.
