Posture adjustment method and device, equipment, storage medium and product

By obtaining the position information of mechanical equipment under different postures, calculating the coordinate conversion matrix, transforming the grid, and generating a finite element solution file under the target posture, the problem of cumbersome grid division during attitude adjustment in mechanical equipment in finite element analysis is solved, and the analysis efficiency and accuracy are improved.

CN120046418APending Publication Date: 2025-05-27HUNAN SANY PETROLEUM TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510196000.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-21
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

In finite element analysis, the variable working posture of mechanical equipment requires frequent adjustment of the finite element model, which leads to cumbersome and time-consuming grid division, which easily generates artificial errors and is inefficient.

Method used

By obtaining the position information of the target device model under multiple different poses, meshing is performed for the initial pose, the coordinate conversion matrix is ​​calculated, and the grid under the initial pose is transformed based on the matrix, the working condition information is added, and the solution file under the target pose is generated.

Benefits of technology

It avoids re-dividing the grid during the pose conversion process, improves efficiency, reduces the workload of repeated modeling, eliminates manual operation errors, and improves the intelligence and accuracy of the analysis process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120046418A_ABST
    Figure CN120046418A_ABST
Patent Text Reader

Abstract

The invention discloses a posture adjustment method and device, equipment, a storage medium and a product, and relates to the technical field of industrial design. According to the method, the position information of each part of the target equipment model under the multiple different postures is obtained, grid division is carried out on the target equipment model under the initial posture, and in response to the selected target posture, the position information of each part under the target posture is obtained on the basis of the grid division result of the initial posture and the position information of each part under the target posture. And calculating a coordinate transformation matrix according to the target equipment model, so as to transform each grid in the initial attitude based on the corresponding target transformation matrix to obtain a transformation model, and adding working condition information into the transformation model to obtain a solution file of the target equipment model in the target attitude, thereby avoiding re-division of the grids in the attitude transformation process. The efficiency is improved, the workload of repeated modeling is reduced, manual operation errors are eliminated, and the intelligence and accuracy of the analysis process are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of industrial design, and particularly to a posture adjustment method, device, equipment, storage medium, and product. Background Art

[0002] In the related art, with the development of automated production, finite element analysis is particularly important in industrial applications. Finite element analysis can accurately simulate the forces and deformations of complex mechanical systems under various load conditions.

[0003] However, in order to adapt to the changing working postures of machinery, it is necessary to frequently adjust the finite element model. Due to the complex changes in the positions and angles of parts for machinery in different postures, mesh generation needs to be repeated, which makes the whole process cumbersome and time-consuming, and is also prone to human errors, resulting in low efficiency.

[0004] Therefore, how to improve the efficiency of finite element analysis for mechanical equipment is an urgent problem to be solved currently. Summary of the Invention

[0005] The main purpose of this application is to provide a posture adjustment method, device, equipment, storage medium, and product, aiming to solve the technical problem of how to improve the efficiency of finite element analysis for mechanical equipment.

[0006] To achieve the above purpose, this application proposes a posture adjustment method, which includes: Obtain the position information of each part of the target equipment model in multiple different postures; Perform mesh generation on the target equipment model in the initial posture; wherein, the initial posture is one of the multiple different postures; In response to selecting a target posture, calculate a coordinate transformation matrix based on the mesh generation result of the initial posture and the position information of each part in the target posture; Based on the coordinate transformation matrix, transform each mesh in the initial posture to obtain a transformed model; Add working condition information to the transformed model to obtain a solution file of the target equipment model in the target posture.

[0007] In some embodiments, the performing mesh generation on the target equipment model in the initial posture includes: When the target equipment model is in the initial posture, perform mesh generation on the target equipment model in units of parts to obtain multiple meshes; wherein, there are initial connection units and initial attribute information between the meshes; After transforming each grid in the initial pose based on the coordinate transformation matrix to obtain a transformation model, the method further includes: Calculating repaired connection units based on the initial connection units and the initial attribute information; Adding the repaired connection units to the transformation model.

[0008] In some embodiments, the repaired connection units include one or more of rbe2, rbe3, join, cbeam, and crod.

[0009] In some embodiments, when the target device model is in the initial pose, performing mesh division on the target device model in units of parts to obtain a plurality of the meshes, including: For a plurality of different poses of the target device model, selecting any one of them as the initial pose and reading the initial pose file corresponding to the initial pose; Extracting a plurality of parts from the initial pose file; Based on the plurality of parts, dividing to obtain corresponding meshes.

[0010] In some embodiments, calculating the coordinate transformation matrix based on the mesh division result of the initial pose and the position information of each part in the target pose, including: Obtaining first position information of each part in the target device model in the target pose and second position information in the initial pose; Based on the first position information and the second position information, determining the corresponding coordinate transformation matrix.

[0011] In some embodiments, obtaining first position information of each part in the target device model in the target pose and second position information in the initial pose includes: Based on the position information, obtaining first coordinates of specified sampling points on each part in the target pose and second coordinates in the initial pose; wherein, the number of the specified sampling points is 3, and the first coordinates and the second coordinates are in the same global coordinate system; The determining the corresponding coordinate transformation matrix based on the first position information and the second position information includes: Based on the first coordinates and the second coordinates corresponding to each part, calculating the coordinate transformation matrix corresponding to each mesh.

[0012] In addition, to achieve the above object, the present application further provides a pose adjustment device, and the pose adjustment device includes: A position relationship acquisition module for acquiring the position information of each part of the target device model in multiple different postures; A mesh generation module for generating a mesh for the target device model in the initial posture, where the initial posture is one of the multiple different postures; A transformation relationship acquisition module for calculating a coordinate transformation matrix based on the mesh generation result in the initial posture and the position information of each part in the target posture in response to selecting the target posture; A model transformation module for transforming each mesh in the initial posture based on the coordinate transformation matrix to obtain a transformed model; A file acquisition module for adding working condition information to the transformed model to obtain a solution file of the target device model in the target posture.

[0013] In addition, to achieve the above object, the present application also proposes a posture adjustment device, which includes: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the computer program is configured to implement the steps of the posture adjustment method as described above.

[0014] In addition, to achieve the above object, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium, and when the computer program is executed by a processor, it implements the steps of the posture adjustment method as described above.

[0015] In addition, to achieve the above object, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the posture adjustment method as described above.

[0016] One or more technical solutions proposed by the present application have at least the following technical effects: By acquiring the position information of each part of the target device model in multiple different postures, generating a mesh for the target device model in the initial posture, and calculating a coordinate transformation matrix based on the mesh generation result in the initial posture and the position information of each part in the target posture in response to selecting the target posture, so as to transform each mesh in the initial posture based on the corresponding target transformation matrix to obtain a transformed model, adding working condition information to the transformed model to obtain a solution file of the target device model in the target posture, it avoids re-meshing during the posture conversion process, improves efficiency, reduces the workload of repeated modeling, eliminates manual operation errors, and improves the intelligence and accuracy of the analysis process. Description of the Drawings

[0017] The accompanying drawings here are incorporated into the specification and form a part of this specification, showing embodiments consistent with this application, and are used together with the specification to explain the principles of this application.

[0018] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the following will briefly introduce the accompanying drawings required for use in the description of the embodiments or the prior art. Obviously, for those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0019] Figure 1 It shows a schematic flowchart of the attitude adjustment method provided by an embodiment of this application; Figure 2 It shows a schematic structural diagram of the attitude adjustment device provided by an embodiment of this application; Figure 3 It shows a schematic structural diagram of the attitude adjustment device provided by an embodiment of this application.

[0020] The realization of the purpose, functional features and advantages of this application will be further described in conjunction with the embodiments with reference to the accompanying drawings. Detailed Embodiments

[0021] It should be understood that the specific embodiments described here are only used to explain the technical solutions of this application and are not used to limit this application.

[0022] To better understand the technical solutions of this application, the following will be described in detail in conjunction with the accompanying drawings of the specification and specific embodiments.

[0023] The main solution of the embodiment of this application is: obtaining the position information of each part of the target device model in multiple different postures; performing mesh division on the target device model in the initial posture, where the initial posture is one of the multiple different postures; in response to selecting the target posture, calculating the coordinate transformation matrix based on the mesh division result in the initial posture and the position information of each part in the target posture; based on the coordinate transformation matrix, transforming each mesh in the initial posture to obtain a transformed model; adding working condition information to the transformed model to obtain the solution file of the target device model in the target posture.

[0024] In the related art, with the development of automated production, finite element analysis is particularly important in industrial applications. Finite element analysis can accurately simulate the stress and deformation of complex mechanical systems under various load conditions.

[0025] However, in order to adapt to the variable working postures of the machine, it is necessary to frequently adjust the finite element model. Due to the complex changes in the positions and angles of the parts of the machine in different postures, mesh generation needs to be carried out repeatedly, which makes the whole process cumbersome and time-consuming, and is also prone to human errors, resulting in low efficiency.

[0026] In summary, how to improve the efficiency of finite element analysis of mechanical equipment is an urgent problem to be solved at present.

[0027] Based on this, the present application provides a solution, so that during the process of finite element analysis of mechanical equipment, there is no need to re-perform mesh cutting during the conversion between different postures, which improves the conversion efficiency and avoids human errors.

[0028] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication, and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or a posture adjustment device capable of implementing the above functions. The following takes the posture adjustment device as an example to illustrate this embodiment and the following embodiments.

[0029] Refer to Figure 1 , Figure 1 shows a schematic flow chart of a posture adjustment method provided by an embodiment of the present application. The posture adjustment method can be applied to a posture adjustment device, including the following steps S110 to step S130: Step S110, obtain the position information of each part of the target device model in multiple different postures.

[0030] Among them, the target device refers to the mechanical equipment used for testing. Generally, a mechanical equipment can be composed of multiple parts, and through the cooperation between the parts, different posture adjustments can be realized. The target device model refers to the modeling of the mechanical equipment (target device), for example, it can be a 3D model in drawing software such as CAD and Solidworks.

[0031] In this embodiment, the finite element analysis scenario is involved. Finite Element Analysis (FEA) is a numerical calculation method widely used in the engineering field to solve complex physical problems. Its core idea is to divide the continuous physical structure into a finite number of small units (i.e., meshes), and connect these meshes through connecting elements to form a discrete mesh structure.

[0032] In some implementation manners, for each posture of the target device model, there may be a corresponding posture file in advance.

[0033] In this embodiment, the reading operation can be performed by geometric processing software. For example, software such as ANSYS SpaceClaim Direct Modeler (SCDM), Blender, ABAQUS, etc. can be used for reading.

[0034] Taking SCDM and CAD processing the pose file as an example, the staff can import the pose file into CAD and parse and extract the position of each part in the pose file through a pre-set script. For example, the position of the part can be extracted through "import clr; clr.AddReference('SpaceClaim.Api.V18'); import SpaceClaim.Api.V18 as sc; doc = sc.Document.Open('model.scdoc'); part = doc.Parts[i]; position = part.Position;", and the position of the part can be saved as the position information in step S110.

[0035] Among them, the position of the part referred to in this embodiment can be coordinates. For example, all parts can be in a pre-fixed coordinate system (such as a global coordinate system), and the coordinate values of the key points of each part (such as pre-set sampling points) can represent the position of the part described in this embodiment.

[0036] In some embodiments, after all the model files corresponding to each pose are imported, the part recognition and position parsing operations can be performed together; in other embodiments, the part recognition and position parsing operations can be performed on the model files corresponding to each pose in sequence. This embodiment does not make a limitation here.

[0037] Step S120, perform mesh division on the target device model in the initial pose.

[0038] In some embodiments, for multiple different poses of the target device model, any one of them can be selected as the initial pose, and the initial pose file corresponding to the initial pose is read; multiple parts are extracted from the initial pose file; based on the multiple parts, the corresponding mesh is divided.

[0039] Specifically, based on the initial pose file, for each part, the corresponding mesh can be divided based on the position of the part. That is, each part corresponds to a mesh. In other feasible embodiments, the mesh division can also be performed manually according to the specific requirements of the staff. This embodiment does not make a limitation here.

[0040] After obtaining the mesh, connection elements can be created for different meshes. A connection element refers to a special element used to connect meshes of different parts. These connection elements are usually used to simulate connections, constraints, or load transfer in a structure. As an example, connection elements can include rbe2, rbe3, join, cbeam, crod, etc., which are not limited in this embodiment.

[0041] In addition, after the connection elements are created, operations such as property definition can also be performed on the connection elements and the mesh.

[0042] Step S130, in response to selecting a target pose, calculate a coordinate transformation matrix based on the mesh division result of the initial pose and the position information of each part in the target pose.

[0043] It can be understood that regardless of the pose change, the part structure of the mechanical equipment itself does not change, but only the position changes.

[0044] Therefore, in order to accurately infer "how the model will change after the pose change", in some embodiments, the position change relationship between different poses can be calculated based on the positions of the foregoing parts, that is, the coordinate transformation matrix described in this embodiment.

[0045] Specifically, the first position information of each part in the target device model in the target pose and the second position information in the initial pose can be obtained; based on the first position information and the second position information, the corresponding coordinate transformation matrix is determined.

[0046] Among them, the three-point calibration method can be used, that is, the first position information is the coordinate values of three specified sampling points on the part in the initial pose in the foregoing global coordinate system, and the second position information is the coordinate values of the same three specified sampling points on the part in another pose (i.e., the target pose) in the foregoing global coordinate system.

[0047] Thus, we obtain the coordinate transformation matrix when converting from the initial pose to the target pose. In some embodiments, the coordinate transformation matrices corresponding to converting from the initial pose to any target pose can be calculated uniformly and all saved in a local file, and directly extracted and used when specifically used, which is not limited in this embodiment.

[0048] In this embodiment, for the preprocessing of the finite element (i.e., the foregoing steps S110 to S130), HyperMesh software can be selected. The user can select a target pose among various poses of the target device model in the HyperMesh interface. Based on the foregoing saved local file, the coordinate transformation matrix corresponding to the target pose can be determined.

[0049] Step S140: Based on the coordinate transformation matrix, transform each grid in the initial pose to obtain a transformation model.

[0050] For any grid, it can be processed through a preset script of Tool Command Language (TCL), and the corresponding coordinate transformation matrix is used for grid transformation to obtain the transformed grid. The combination of multiple transformed grids forms the transformation model described in this embodiment, which is essentially a model obtained by recombining the displacements and rotations of the parts in the target device model.

[0051] It can be understood that after the pose changes, the connection unit will also change accordingly. In some embodiments, after obtaining the transformation model, the repaired connection unit can also be calculated based on the initial connection unit and the initial attribute information, and the repaired connection unit is added to the transformation model. Among them, the repaired connection unit can also be the aforementioned rbe2, rbe3, join, cbeam, crod, etc.

[0052] Step S150: Add working condition information to the transformation model to obtain a solution file of the target device model in the target pose.

[0053] In FEA, the working condition information refers to various external conditions and constraints applied to the model during the simulation process, including but not limited to loads, boundary conditions, initial conditions, etc. These information are crucial for accurately simulating and analyzing the behavior of physical systems.

[0054] After the user adds the working condition information, the model can be exported to form a solution file. The FEM solution file is a file containing finite element model information, which is usually used in engineering applications such as structural analysis, optimization, and simulation. As an example, the solution file can be a file in the.fem format, and the content is usually ASCII and can be opened by a text editor.

[0055] This embodiment provides a pose adjustment method. By obtaining the position information of each part of the target device model in multiple different poses, and performing mesh division on the target device model in the initial pose, in response to selecting the target pose, based on the mesh division result in the initial pose and the position information of each part in the target pose, calculate the coordinate transformation matrix, so as to transform each of the grids in the initial pose based on the corresponding target transformation matrix to obtain a transformation model, and add working condition information to the transformation model to obtain a solution file of the target device model in the target pose, which avoids re-meshing during the pose conversion process, improves efficiency, reduces the workload of repeated modeling, eliminates manual operation errors, and improves the intelligence and accuracy of the analysis process.

[0056] The present application also provides a posture adjustment device. Please refer to Figure 2 , the posture adjustment device 100 includes: A position relationship acquisition module 110, configured to acquire the position information of each part of the target device model in multiple different postures; A mesh division module 120, configured to perform mesh division on the target device model in the initial posture; wherein, the initial posture is one of the multiple different postures; A conversion relationship acquisition module 130, configured to, in response to selecting a target posture, calculate a coordinate conversion matrix based on the mesh division result of the initial posture and the position information of each part in the target posture; A model conversion module 140, configured to transform each mesh in the initial posture based on the coordinate conversion matrix to obtain a transformed model; A file acquisition module 150, configured to add working condition information to the transformed model to obtain a solution file of the target device model in the target posture.

[0057] The posture adjustment device 100 provided by the present application adopts the posture adjustment method in the above embodiment, and can solve the technical problem of how to improve the efficiency of finite element analysis of mechanical equipment. Compared with the prior art, the beneficial effects of the posture adjustment device 100 provided by the present application are the same as those of the posture adjustment method provided by the above embodiment, and other technical features in the posture adjustment device 100 are the same as those disclosed in the method of the above embodiment, and will not be elaborated herein.

[0058] The present application provides a posture adjustment device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the posture adjustment method in the first embodiment above.

[0059] Next, refer to Figure 3 , which shows a schematic structural diagram of a posture adjustment device suitable for implementing the embodiments of the present application. The posture adjustment device in the embodiments of the present application may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistant), PADs (Portable Application Description), PMPs (Portable Media Player), in-vehicle terminals (such as in-vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 3The illustrated attitude adjustment device is merely an example and should not impose any limitations on the functions and scope of use of the embodiments of the present application.

[0060] As Figure 3 shown, the attitude adjustment device 200 may include a processing device 210 (such as a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 220 or a program loaded from a storage device 230 into a random access memory (RAM: Random Access Memory) 240. In the RAM 240, various programs and data required for the operation of the attitude adjustment device are also stored. The processing device 210, the ROM 220, and the RAM 240 are connected to each other through a bus 250. An input / output (I / O) interface 260 is also connected to the bus. Generally, the following systems may be connected to the I / O interface 260: an input device 270 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 280 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 230 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 290. The communication device 290 may allow the attitude adjustment device to communicate with other devices wirelessly or wiredly to exchange data. Although the figure shows an attitude adjustment device with various systems, it should be understood that it is not required to implement or have all the shown systems. More or fewer systems may be implemented or had alternatively.

[0061] Specifically, according to the embodiments disclosed in the present application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device, or installed from the storage device 230, or installed from the ROM 220. When the computer program is executed by the processing device 210, the above functions defined in the methods of the embodiments disclosed in the present application are executed.

[0062] The attitude adjustment device provided by the present application adopts the attitude adjustment method in the above embodiments and can solve the technical problem of how to improve the efficiency of finite element analysis of mechanical equipment. Compared with the prior art, the beneficial effects of the attitude adjustment device provided by the present application are the same as those of the attitude adjustment method provided by the above embodiments, and other technical features in the attitude adjustment device are the same as those disclosed in the method of the previous embodiment, and will not be elaborated here.

[0063] It should be understood that each part disclosed in this application can be implemented by hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in a suitable manner in any one or more embodiments or examples.

[0064] As described above, the above are only specific embodiments of this application, but the protection scope of this application is not limited thereto. Any person skilled in the art within the technical scope disclosed in this application can easily think of changes or substitutions, which should all be covered within the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

[0065] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., computer programs) stored thereon, and the computer-readable program instructions are used to execute the posture adjustment method in the above embodiments.

[0066] The computer-readable storage medium provided by this application can be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) or flash memory, optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this embodiment, the computer-readable storage medium can be any tangible medium that contains or stores a program, and this program can be used by or in combination with an instruction execution system or device. The program code contained on the computer-readable storage medium can be transmitted by any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0067] The above computer-readable storage medium can be included in the posture adjustment device; it can also exist separately without being assembled into the posture adjustment device.

[0068] The above computer-readable storage medium carries one or more programs. When the above one or more programs are executed by an attitude adjustment device, the attitude adjustment device can write computer program code for performing the operations of this application in one or more programming languages or combinations thereof. The programming languages include object-oriented programming languages such as Java, Smalltalk, C++, and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, executed as an independent 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 can 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 it can be connected to an external computer (for example, by using an Internet service provider to connect through the Internet).

[0069] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code that contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, as well as the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.

[0070] The modules involved in the embodiments described in this application can be implemented in software or in hardware. Among them, the name of the module does not constitute a limitation to the unit itself in some cases.

[0071] The readable storage medium provided by this application is a computer-readable storage medium. The computer-readable storage medium stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned attitude adjustment method, and can solve the technical problem of how to improve the efficiency of finite element analysis of mechanical equipment. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by this application are the same as those of the attitude adjustment method provided by the above embodiments, and will not be elaborated here.

[0072] This application also provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the steps of the attitude adjustment method as described above.

[0073] The computer program product provided by this application can solve the technical problem of how to improve the efficiency of finite element analysis of mechanical equipment. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as those of the attitude adjustment method provided by the above embodiments, and will not be elaborated here.

[0074] The above are only partial embodiments of this application, and do not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application by using the content of the specification and drawings of this application, or directly / indirectly applied to other related technical fields, are included in the patent protection scope of this application.

Claims

1. A posture adjustment method, characterized in that: The posture adjustment method comprises: Obtain the position information of each part of the target device model in multiple different postures; Meshing a target device model in an initial posture; wherein the initial posture is one of the multiple different postures; In response to the selected target posture, a coordinate transformation matrix is ​​calculated based on the meshing result of the initial posture and the position information of each of the parts in the target posture; Based on the coordinate transformation matrix, each grid in the initial posture is transformed to obtain a transformation model; The working condition information is added to the transformation model to obtain a solution file of the target device model under the target posture.

2. The posture adjustment method according to claim 1, characterized in that: The meshing of the target device model in the initial posture includes: When the target device model is in an initial posture, the target device model is meshed in units of parts to obtain a plurality of meshes; wherein each of the meshes includes an initial connection unit and initial attribute information; After transforming each mesh in the initial posture based on the coordinate transformation matrix to obtain a transformation model, the method further includes: Calculating a repair connection unit based on the initial connection unit and the initial attribute information; The repair connection unit is added to the transformation model.

3. The posture adjustment method according to claim 2, characterized in that: The repair connection unit includes one or more of rbe2, rbe3, join, cbeam, and crod.

4. The posture adjustment method according to claim 2, characterized in that: When the target device model is in an initial posture, the target device model is meshed in units of parts to obtain a plurality of meshes, including: For a plurality of different postures of the target device model, any one of them is selected as the initial posture, and an initial posture file corresponding to the initial posture is read; extracting a plurality of parts from the initial pose file; Based on the multiple parts, corresponding grids are obtained by division.

5. The posture adjustment method according to claim 3, characterized in that: The step of calculating a coordinate transformation matrix based on the meshing result of the initial posture and the position information of each of the parts under the target posture comprises: Acquire first position information of each of the parts in the target device model in the target posture and second position information of each of the parts in the initial posture; Based on the first position information and the second position information, a corresponding coordinate transformation matrix is ​​determined.

6. The posture adjustment method according to claim 5, characterized in that: The obtaining of first position information of each of the parts in the target device model in the target posture and second position information of each of the parts in the initial posture comprises: Based on the position information, obtain the first coordinates of the designated sampling points on each of the parts in the target posture and the second coordinates in the initial posture; wherein the number of the designated sampling points is 3, and the first coordinates and the second coordinates are in the same global coordinate system; The determining a corresponding coordinate transformation matrix based on the first position information and the second position information includes: Based on the first coordinates and the second coordinates corresponding to each of the parts, the coordinate transformation matrix corresponding to each of the grids is calculated.

7. A posture adjustment device, characterized in that: The posture adjustment device comprises: A position relationship acquisition module is used to obtain the position information of each part of the target device model in multiple different postures; A meshing module, used for meshing a target device model in an initial posture; wherein the initial posture is one of the multiple different postures; A transformation relationship acquisition module, for calculating a coordinate transformation matrix based on a meshing result of the initial posture and position information of each of the parts under the target posture in response to a selected target posture; A model conversion module, used for transforming each grid in the initial posture based on the coordinate conversion matrix to obtain a transformation model; The file acquisition module is used to add the working condition information to the transformation model to obtain the solution file of the target device model under the target posture.

8. A posture adjustment device, characterized in that: The posture adjustment device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the posture adjustment method according to any one of claims 1 to 6.

9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the posture adjustment method according to any one of claims 1 to 6 are implemented.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the posture adjustment method according to any one of claims 1 to 6 are implemented.