Bolt simulation method and device
By obtaining the bolt installation positions and components in the CAE model, selecting installation nodes, and creating a triangle mesh, the problem of lack of automation in bolt simulation in the existing technology is solved, efficient bolt simulation is achieved, and manual operation costs and error rates are reduced.
Patent Information
- Application Number
- CN201910703310.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-07-31
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2039-07-31
Smart Images

Figure CN112395725B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a bolt simulation method and device. Background Art
[0002] Bolt connection is a common means of connection and fastening. It is currently widely used in the assembly of parts such as automobiles, engineering machinery, ships, bridges, etc. Taking automobiles as an example, when using finite element software to perform CAE (Computer Aided Engineering) analysis on the whole vehicle and assembly, how to simulate bolt connection is particularly important. The structure of a car is very complex, consisting of thousands of parts, and there may be hundreds or thousands of bolts. However, there is no method for batch simulation of bolts in CAE pre-processing software such as HyperMesh and ANSA. Manual operations are required one by one, which is time-consuming, labor-intensive, and prone to errors. Summary of the invention
[0003] The present invention aims to solve one of the technical problems in the related art at least to a certain extent.
[0004] The first object of the present invention is to provide a bolt simulation method.
[0005] The second object of the present invention is to provide a bolt simulation device.
[0006] The third object of the present invention is to provide another bolt simulation device.
[0007] A fourth object of the present invention is to provide a computer-readable storage medium.
[0008] To achieve the above object, a first embodiment of the present invention provides a bolt simulation method, comprising:
[0009] Acquire at least one installation position of a bolt to be created in a computer-aided engineering (CAE) model, and at least one component corresponding to each installation position;
[0010] For each installation position, creating a bolt that penetrates the installation position to connect the corresponding at least one component, and selecting installation nodes around the installation position;
[0011] From all the circular holes of each component at the installation position, find the target circular hole with the shortest distance from the center of the circular hole to the installation node, and mark the target circular hole and its multiple circumferential nodes;
[0012] Creating a plurality of triangular meshes for each component according to the marked target circular hole and a plurality of hole-circumference nodes thereof;
[0013] A plurality of triangular meshes corresponding to each component are stored in the bolt, and the bolt material information, attributes, and bolt name of the bolt are edited.
[0014] As a possible implementation manner, for each node, finding the target circular hole with the smallest distance from the center of the circular hole to the installation node from all the circular holes of each component at the installation position includes:
[0015] Mark the centers of all the circular holes of each corresponding component;
[0016] Calculate the distance from the center of each circular hole to the installation node;
[0017] The circular hole with the smallest distance from the center of the circular hole to the installation node is determined as the target circular hole.
[0018] As a possible implementation, the step of creating multiple triangular meshes of the component according to the marked target circular hole and multiple hole-circumference nodes thereof includes:
[0019] Creating a temporary node at the center of the target circular hole;
[0020] Triangular meshes are created in sequence according to two adjacent hole-circumference nodes among the plurality of hole-circumference nodes and the temporary node, so as to obtain a plurality of triangular meshes of the component.
[0021] As a possible implementation manner, the method further includes:
[0022] Output a prompt message to remind the user that the bolt simulation is completed.
[0023] The bolt simulation method provided by the embodiment of the present invention obtains at least one installation position of the bolt to be created in the computer-aided engineering (CAE) model, and at least one component corresponding to each installation position; for each installation position, creates a bolt that penetrates the installation position to connect the corresponding at least one component, and selects installation nodes around the installation position; from all the circular holes of each component at the installation position, finds the target circular hole with the smallest distance from the center of the circular hole to the installation node, and marks the target circular hole and its multiple hole-circumference nodes; creates multiple triangular meshes of each component according to the marked target circular hole and its multiple hole-circumference nodes; stores the multiple triangular meshes corresponding to each component in the bolt, and edits the bolt material information, attributes, and bolt name of the bolt. In this way, batch automatic simulation of bolts is realized, the efficiency of bolt simulation is improved, labor costs are saved, and errors caused by manual operations are greatly avoided.
[0024] To achieve the above object, a second embodiment of the present invention provides a bolt simulation device, comprising:
[0025] An acquisition module, used to acquire at least one installation position of a bolt to be created in a computer-aided engineering (CAE) model, and at least one component corresponding to each installation position;
[0026] A creation module, for creating, for each installation position, a bolt that penetrates the installation position to connect the corresponding at least one component, and selecting installation nodes around the installation position;
[0027] A processing module, used to find a target circular hole with the smallest distance from the center of the circular hole to the installation node from all the circular holes of each component at the installation position, and mark the target circular hole and a plurality of peripheral nodes thereof;
[0028] The processing module is further used to create a plurality of triangular meshes corresponding to each component according to the marked target circular hole and a plurality of hole-circumference nodes thereof;
[0029] The processing module is further used to store multiple triangular meshes corresponding to each component in the bolt, and edit the bolt material information, properties, and bolt name of the bolt.
[0030] As a possible implementation manner, the processing module is specifically used for:
[0031] Mark the centers of all the circular holes of each corresponding component;
[0032] Calculate the distance from the center of each circular hole to the installation node;
[0033] The circular hole with the smallest distance from the center of the circular hole to the installation node is determined as the target circular hole.
[0034] As a possible implementation manner, the processing module is further specifically configured to:
[0035] Creating a temporary node at the center of the target circular hole;
[0036] Triangular meshes are created in sequence according to two adjacent hole-circumference nodes among the plurality of hole-circumference nodes and the temporary node, so as to obtain a plurality of triangular meshes of the component.
[0037] As a possible implementation manner, the device further includes:
[0038] The output module is used to output prompt information to remind the user that the bolt simulation is completed.
[0039] The bolt simulation device provided by the embodiment of the present invention obtains at least one installation position of the bolt to be created in the computer-aided engineering (CAE) model, and at least one component corresponding to each installation position; for each installation position, creates a bolt that penetrates the installation position to connect the corresponding at least one component, and selects installation nodes around the installation position; from all the circular holes of each component at the installation position, finds the target circular hole with the smallest distance from the center of the circular hole to the installation node, and marks the target circular hole and its multiple hole-circumference nodes; creates multiple triangular meshes corresponding to each component according to the marked target circular hole and its multiple hole-circumference nodes; stores the multiple triangular meshes corresponding to each component in the bolt, and edits the bolt material information, attributes, and bolt name of the bolt. In this way, batch automatic simulation of bolts is realized, the efficiency of bolt simulation is improved, labor costs are saved, and errors caused by manual operations are greatly avoided.
[0040] To achieve the above-mentioned purpose, the third aspect of the present invention proposes a bolt simulation device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the bolt simulation method as described above when executing the program.
[0041] In order to achieve the above-mentioned purpose, a fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which implements the bolt simulation method as described above when executed by a processor.
[0042] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0044] Figure 1 A schematic flow chart of a bolt simulation method provided by an embodiment of the present invention;
[0045] Figure 2 is a schematic diagram of the structure of an exemplary target circular hole and its peripheral nodes;
[0046] Figure 3 A schematic structural diagram of a bolt simulation device provided by an embodiment of the present invention;
[0047] Figure 4 A schematic structural diagram of another bolt simulation device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0048] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0049] The bolt simulation method and device according to the embodiment of the present invention will be described below with reference to the accompanying drawings.
[0050] Figure 1 A schematic flow chart of a bolt simulation method provided by an embodiment of the present invention. This embodiment provides a bolt simulation method, the execution subject of which is a bolt simulation method device, and the execution subject is composed of hardware and / or software.
[0051] like Figure 1 As shown, the bolt simulation method includes the following steps:
[0052] S101, obtaining at least one installation position of a bolt to be created in a computer-aided engineering (CAE) model, and at least one component corresponding to each installation position.
[0053] The computer-aided engineering (CAE) model may be, for example, a car model, a construction machinery model, a ship model, or a bridge model, but is not limited thereto.
[0054] Specifically, a CAE model is imported into CAE pre-processing software such as Hypermesh and ANSN, and at least one installation position of a bolt to be created in the CAE model and at least one component corresponding to each installation position are selected.
[0055] The installation position can be understood as a hole for bolts to be inserted, and at least one component corresponding to each installation position is connected by bolts. When the corresponding at least one component needs to be connected by bolts, the bolts are inserted through the installation position.
[0056] For example, components 1 and 2 that need to be fastened with bolts have through holes at corresponding positions of components 1 and 2, and the bolts pass through the through holes on components 1 and 2 to connect components 1 and 2. The through holes at corresponding positions of components 1 and 2 are the installation positions of the bolts.
[0057] S102: For each installation position, create a bolt that penetrates the installation position to connect at least one corresponding component, and select an installation node around the installation position.
[0058] Specifically, a bolt is created to penetrate each installation position, and an installation node is selected around each installation position. For example, if the number of installation positions is 10, a bolt is created to penetrate each installation position, and one installation node is selected around each installation position.
[0059] S103, finding a target circular hole having the shortest distance from the center of the circular hole to the installation node from all circular holes of each component at the installation position, and marking the target circular hole and a plurality of nodes around the hole.
[0060] Specifically, from all the circular holes of each component at the installation position, find the circular hole with the smallest distance from the center of the circular hole to the installation node as the target circular hole and mark the target circular hole and its multiple peripheral nodes. When marking the peripheral nodes of the target circular hole, the marking can be done in a clockwise or counterclockwise direction, the peripheral nodes are evenly distributed, and the spacing between every two adjacent peripheral nodes is the same.
[0061] As a possible implementation method, the specific implementation method of step S103 is: mark the center of all circular holes of each component corresponding to the installation position; calculate the distance from the center of each circular hole to the installation node; determine the circular hole with the shortest distance from the center of the circular hole to the installation node as the target circular hole, and mark the target circular hole and its multiple circumferential nodes.
[0062] For example, at least one component corresponding to the installation position is component 1 and component 2, component 1 has 10 circular holes, component 2 has 10 circular holes, and one installation node is selected around the installation position. Find the target circular hole 1 with the smallest distance from the center of the circular hole to the installation node among the 10 circular holes of component 1, and find the target circular hole 2 with the smallest distance from the center of the circular hole to the installation node among the 10 circular holes of component 2.
[0063] S104, creating a plurality of triangular meshes corresponding to each component according to the marked target circular hole and a plurality of nodes around the hole.
[0064] Specifically, for each component, after marking the target circular hole and a plurality of nodes around the hole, a plurality of triangular meshes of the component are created according to the marked target circular hole and a plurality of nodes around the hole.
[0065] As a possible implementation method, the specific implementation method of step S104 is: create a temporary node at the center of the target circular hole; create a triangular mesh according to two adjacent hole-circumference nodes among multiple hole-circumference nodes and the temporary node in sequence, to obtain multiple triangular meshes of each component.
[0066] Figure 2 It is a schematic diagram of the structure of an exemplary target circular hole and its nodes around the hole. Figure 2 The circle in is the target circular hole, and the center of the circle ( Figure 2The black dot located at the center of the circle is the center of the target circular hole, and the black dots distributed on the circumference of the circle are the circumferential nodes of the target circular hole.
[0067] by Figure 2 Taking the target circular hole shown as the target circular hole of component 1 as an example, the number of circumferential nodes of the target circular hole of component 1 is 6, namely circumferential node 1, circumferential node 2, circumferential node 3, circumferential node 4, circumferential node 5, and circumferential node 6.
[0068] A triangular mesh is created by using the temporary node, the hole perimeter node 1, and the hole perimeter node 2 as vertices of the triangular mesh respectively; and
[0069] Using the temporary node, hole perimeter node 2, and hole perimeter node 3 as vertices of the triangular mesh, a triangular mesh is created; and
[0070] Using the temporary node, hole perimeter node 3, and hole perimeter node 4 as vertices of the triangular mesh, respectively, to create a triangular mesh; and
[0071] Using the temporary node, hole perimeter node 4, and hole perimeter node 5 as vertices of the triangular mesh, respectively, to create a triangular mesh; and
[0072] Using the temporary node, hole perimeter node 5, and hole perimeter node 6 as vertices of the triangular mesh, respectively, to create a triangular mesh; and
[0073] A triangular mesh is created by using the temporary node, hole perimeter node 6, and hole perimeter node 1 as vertices of the triangular mesh.
[0074] In this way, the number of triangle meshes of the created part 1 is 6.
[0075] S105 , storing multiple triangular meshes corresponding to each component in the bolt, and editing the bolt material information, attributes, and bolt name of the bolt.
[0076] Specifically, a plurality of triangular meshes belonging to each component at each installation position are stored in a bolt corresponding to the installation position, and bolt material information, attributes, and bolt name of the bolt are edited at the same time to complete the bolt creation.
[0077] Furthermore, in order to better interact with the user, after step 105, the method further includes: outputting a prompt message to prompt the user that the bolt simulation is completed.
[0078] The prompt information may be displayed in a pop-up window or in the form of a voice prompt information, but is not limited thereto.
[0079] For ease of understanding, when there are multiple installation positions for bolts to be created in the CAE model, the bolts for each connection point can be created in parallel or in series.
[0080] For ease of understanding, the serial processing of creating bolts at each connection point is explained here.
[0081] As an example, the bolt simulation method includes the following steps:
[0082] S1. Obtain N installation positions of bolts to be created in a computer-aided engineering (CAE) model, wherein the nth connection point corresponds to M components, N is a positive integer greater than 1, M is a positive integer greater than 0, n is any positive integer from 1 to N, and the initial value of n is 1.
[0083] S2. For the nth installation position, create a bolt that penetrates the nth installation position to connect M components, and select installation nodes around the installation position;
[0084] S3, among all the circular holes of the m-th component, find the target circular hole with the smallest distance from the center of the circular hole to the installation node, and mark the target circular hole and multiple nodes around the hole, where m is any positive integer from 1 to M, and the initial value of m is 1;
[0085] S4, creating multiple triangular meshes of the mth component according to the marked target circular hole and multiple nodes around the hole, adding one to m, and repeating step S3 until multiple triangular meshes of M components belonging to the nth installation position are created;
[0086] S5. Increase n by one, and repeat step S2 until the bolts for N installation positions are created.
[0087] It should be pointed out that the bolt simulation method can be compiled into a script file using Tcl / Tk language, and the script file can be run in the CAE pre-processing software to realize batch automatic simulation of bolts. Among them, Tcl is the abbreviation of tool control language (ToolCommand Language), and its object-oriented language is otcl. Tk is an extension of the Tcl graphical toolbox, which provides various standard GUI (Graphical User Interface) interface items to facilitate rapid development of advanced applications.
[0088] The bolt simulation method provided by the embodiment of the present invention obtains at least one installation position of the bolt to be created in the computer-aided engineering (CAE) model, and at least one component corresponding to each installation position; for each installation position, creates a bolt that penetrates the installation position to connect the corresponding at least one component, and selects installation nodes around the installation position; from all the circular holes of each component at the installation position, finds the target circular hole with the smallest distance from the center of the circular hole to the installation node, and marks the target circular hole and its multiple hole-circumference nodes; creates multiple triangular meshes corresponding to each component according to the marked target circular hole and its multiple hole-circumference nodes; stores the multiple triangular meshes corresponding to each component in the bolt, and edits the bolt material information, attributes, and bolt name of the bolt. In this way, batch automatic simulation of bolts is realized, the efficiency of bolt simulation is improved, labor costs are saved, and errors caused by manual operations are greatly avoided.
[0089] The embodiment of the present invention further provides a bolt simulation device. Figure 3 The schematic diagram of the structure of a bolt simulation device provided by an embodiment of the present invention is shown in FIG. Figure 3 As shown, the bolt simulation device includes: an acquisition module 11, a creation module 12, and a processing module 13;
[0090] An acquisition module 11 is used to acquire at least one installation position of a bolt to be created in a computer-aided engineering (CAE) model, and at least one component corresponding to each installation position;
[0091] A creation module 12 is used to create, for each installation position, a bolt that penetrates the installation position to connect the corresponding at least one component, and select installation nodes around the installation position;
[0092] The processing module 13 is used to find a target circular hole with the smallest distance from the center of the circular hole to the installation node from all the circular holes of each component at the installation position, and mark the target circular hole and its multiple peripheral nodes;
[0093] The processing module 13 is further used to create multiple triangular meshes for each component according to the marked target circular hole and multiple nodes around the hole;
[0094] The processing module 13 is further used to store the multiple triangular meshes corresponding to each component in the bolt, and edit the bolt material information, properties, and bolt name of the bolt.
[0095] As a possible implementation manner, the processing module 13 is specifically used for:
[0096] Mark the centers of all the circular holes of each corresponding component;
[0097] Calculate the distance from the center of each circular hole to the installation node;
[0098] The circular hole with the smallest distance from the center of the circular hole to the installation node is determined as the target circular hole.
[0099] As a possible implementation manner, the processing module 13 is further specifically configured to:
[0100] Creating a temporary node at the center of the target circular hole;
[0101] Triangular meshes are created in sequence according to two adjacent hole-circumference nodes among the plurality of hole-circumference nodes and the temporary node, so as to obtain a plurality of triangular meshes of the component.
[0102] As a possible implementation manner, the device further includes:
[0103] The output module is used to output prompt information to remind the user that the bolt simulation is completed.
[0104] It should be noted that the above explanation of the bolt simulation method embodiment is also applicable to the bolt simulation device of this embodiment, and will not be repeated here.
[0105] The bolt simulation device provided by the embodiment of the present invention obtains at least one installation position of the bolt to be created in the computer-aided engineering (CAE) model, and at least one component corresponding to each installation position; for each installation position, creates a bolt that penetrates the installation position to connect the corresponding at least one component, and selects installation nodes around the installation position; from all the circular holes of each component at the installation position, finds the target circular hole with the smallest distance from the center of the circular hole to the node, and marks the target circular hole and its multiple hole-circumference nodes; creates multiple triangular meshes of each component according to the marked target circular hole and its multiple hole-circumference nodes; stores the multiple triangular meshes corresponding to each component in the bolt, and edits the bolt material information, attributes, and bolt name of the bolt. In this way, batch automatic simulation of bolts is realized, the efficiency of bolt simulation is improved, labor costs are saved, and errors caused by manual operation are greatly avoided.
[0106] Figure 4 A schematic diagram of the structure of another bolt simulation device provided by an embodiment of the present invention. The bolt simulation device comprises:
[0107] A memory 1001 , a processor 1002 , and a computer program stored in the memory 1001 and executable on the processor 1002 .
[0108] When the processor 1002 executes the program, the bolt simulation method provided in the above embodiment is implemented.
[0109] Furthermore, the bolt simulation device also includes:
[0110] The communication interface 1003 is used for communication between the memory 1001 and the processor 1002 .
[0111] The memory 1001 is used to store computer programs that can be executed on the processor 1002 .
[0112] The memory 1001 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0113] The processor 1002 is used to implement the bolt simulation method described in the above embodiment when executing the program.
[0114] If the memory 1001, the processor 1002 and the communication interface 1003 are implemented independently, the communication interface 1003, the memory 1001 and the processor 1002 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0115] Optionally, in a specific implementation, if the memory 1001, the processor 1002 and the communication interface 1003 are integrated on a chip, the memory 1001, the processor 1002 and the communication interface 1003 can communicate with each other through an internal interface.
[0116] The processor 1002 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention.
[0117] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the bolt simulation method as described above is implemented.
[0118] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0119] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0120] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present invention belong.
[0121] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0122] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0123] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0124] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0125] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.
Claims
1. A bolt simulation method, characterized in that: include: Acquire at least one installation position of a bolt to be created in a computer-aided engineering (CAE) model, and at least one component corresponding to each installation position; For each installation position, creating a bolt that penetrates the installation position to connect the corresponding at least one component, and selecting installation nodes around the installation position; From all the circular holes of each component at the installation position, find the target circular hole with the smallest distance from the center of the circular hole to the installation node, and mark the target circular hole and its multiple perimeter nodes; Creating a plurality of triangular meshes corresponding to each component according to the marked target circular hole and a plurality of hole-circumference nodes thereof; storing a plurality of triangular meshes corresponding to each component into the bolt, and editing the bolt material information, properties, and bolt name of the bolt; The step of finding the target circular hole with the smallest distance from the center of the circular hole to the installation node from all the circular holes of each component at the installation position comprises: marking the centers of all the circular holes of each corresponding component; calculating the distance from the center of each circular hole to the installation node; and determining the circular hole with the smallest distance from the center of the circular hole to the installation node as the target circular hole; The method of creating multiple triangular meshes of the component based on the marked target circular hole and its multiple hole-circumference nodes includes: creating a temporary node at the hole center of the target circular hole; and sequentially creating triangular meshes based on two adjacent hole-circumference nodes among the multiple hole-circumference nodes and the temporary node to obtain the multiple triangular meshes of the component.
2. The method according to claim 1, characterized in that Also includes: Output a prompt message to remind the user that the bolt simulation is completed.
3. A bolt simulation device, characterized in that: include: An acquisition module, used to acquire at least one installation position of a bolt to be created in a computer-aided engineering (CAE) model, and at least one component corresponding to each installation position; A creation module, for creating, for each installation position, a bolt that penetrates the installation position to connect the corresponding at least one component, and selecting installation nodes around the installation position; A processing module, used to find a target circular hole with the smallest distance from the center of the circular hole to the installation node from all the circular holes of each component at the installation position, and mark the target circular hole and a plurality of peripheral nodes thereof; The processing module is further used to create a plurality of triangular meshes corresponding to each component according to the marked target circular hole and a plurality of hole-circumference nodes thereof; The processing module is further used to store multiple triangular meshes corresponding to each component into the bolt, and edit the bolt material information, attributes, and bolt name of the bolt; The processing module is specifically used for: Mark the centers of all the circular holes of each corresponding component; Calculate the distance from the center of each circular hole to the installation node; Determine the circular hole with the smallest distance from the center of the circular hole to the installation node as the target circular hole; The processing module is also specifically used for: Creating a temporary node at the center of the target circular hole; Triangular meshes are created in sequence according to two adjacent hole-circumference nodes among the plurality of hole-circumference nodes and the temporary node, so as to obtain a plurality of triangular meshes of the component.
4. The device according to claim 3, characterized in that Also includes: The output module is used to output prompt information to remind the user that the bolt simulation is completed.
5. A bolt simulation device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the bolt simulation method as described in any one of claims 1 to 2 when executing the program.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the bolt simulation method as described in any one of claims 1-2 is implemented.
