Compressor pump body three-dimensional model reduction method and system

By receiving material setting data, establishing the mapping relationship between components and materials, and performing constraint settings, a finite element model is generated, which solves the problem of cumbersome reduction process of the compressor pump body model and improves the model reduction efficiency.

CN120509228APending Publication Date: 2025-08-19SHANGHAI HITACHI ELECTRICAL APPLIANCES CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410179777.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-02-18
Publication Date
2025-08-19

AI Technical Summary

Technical Problem

In the prior art, the model reduction process of the compressor pump body structure is cumbersome and prone to errors, and takes a long time.

Method used

A three-dimensional model reduction method for compressor pump body is provided. By receiving material setting data, establishing a mapping relationship between components and materials, generating a finite element model and performing constraint settings, the model reduction is performed using a finite element analysis program.

Benefits of technology

Simplifies the model reduction process, improves efficiency, reduces human errors, and facilitates users to quickly execute model reduction settings.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120509228A_ABST
    Figure CN120509228A_ABST
Patent Text Reader

Abstract

The invention provides a compressor pump body three-dimensional model reduction method and system, and the method comprises the steps: receiving material setting data, and creating a material model which comprises a plurality of materials and parameters of the various materials; receiving assembly setting data, and establishing a mapping relation between each component in the pump body and a material; receiving discrete grid size parameters of the three-dimensional model, and generating a pump body three-dimensional finite element model based on a finite element analysis program; establishing a contact relation of components in the pump body, and carrying out constraint setting on the components in the pump body; and inputting the solving command stream file into a finite element analysis program, and obtaining a pump body three-dimensional finite element model file, a pump body reduction file and a node number file output by the finite element analysis program. According to the method and system provided by the invention, a user can quickly execute the setting of model reduction conveniently, and the efficiency of a model reduction process is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of model processing technology, and in particular to a method and system for reducing a three-dimensional model of a compressor pump body. Background Art

[0002] Currently, shaft lubrication analysis for compressor pump structures requires model reduction for both the moving shaft components and the non-moving bearing components, obtaining model files, reduction files, and bearing node data. This entire reduction process involves material assignment, contact modeling, mesh parameter setting and division, and boundary constraint setup, making it cumbersome and prone to errors. Summary of the Invention

[0003] In response to the problems in the prior art, the purpose of this application is to provide a method and system for reducing the three-dimensional model of a compressor pump body, which facilitates users to quickly perform model reduction settings and is conducive to improving the efficiency of the model reduction process.

[0004] The present invention provides a method for reducing a three-dimensional model of a compressor pump body, comprising:

[0005] receiving material setting data and creating a material model, wherein the material model includes a plurality of materials and parameters of each material;

[0006] Receive component setting data and establish mapping relationship between each component and material in the pump body;

[0007] Receiving discrete grid size parameters of the three-dimensional model, and generating a three-dimensional finite element model of the pump body based on a finite element analysis program;

[0008] Establish contact relationships among components in the pump body and set constraints on the components in the pump body;

[0009] The solution command stream file is input into the finite element analysis program to obtain the pump body three-dimensional finite element model file, pump body reduction file and node number file output by the finite element analysis program.

[0010] In some embodiments, the receiving of material setting data and the creation of a material model include the following steps:

[0011] Providing a material setting page, wherein the material setting page is configured to have an entry for adding materials;

[0012] receiving material setting data input by the user through the add material entry in the material setting page, wherein the material setting data includes the added material and material parameters;

[0013] A material model is created based on the material setting data.

[0014] In some embodiments, the receiving of material setting data and the creation of a material model include the following steps:

[0015] Providing a material setting page, wherein the material setting page is configured to have a material file import button;

[0016] A material file imported by a user through the material file import button in the material setting page is received, and a material model is created based on the material setting data in the material file.

[0017] In some embodiments, the finite element analysis program is configured to have a three-dimensional geometric model of the pump body pre-imported;

[0018] Before receiving component setting data and establishing a mapping relationship between various components and materials in the pump body, the following steps are also included:

[0019] Rename the designated components of the pump body in the finite element analysis program so that the names of the designated components are set to preset standard names.

[0020] In some embodiments, the receiving component setting data and establishing a mapping relationship between various components and materials in the pump body include the following steps:

[0021] Provide component settings page;

[0022] Receive the user's part selection operation and material selection operation in the component setting page, and establish a mapping relationship between the selected part and the selected material.

[0023] In some embodiments, before receiving the discrete grid size parameters of the three-dimensional model and generating the three-dimensional finite element model of the pump body based on a finite element analysis program, the following steps are also included:

[0024] A freeze operation in the component setting page is received from the user, a component corresponding to the freeze operation is determined, and the component is set as a component that does not need to be reduced.

[0025] In some embodiments, establishing the contact relationship between components in the pump body includes the following steps:

[0026] Contact type parameters and contact form parameters are received, and contact relationships between components in the pump body are established based on the finite element analysis program.

[0027] In some embodiments, the constraining setting of the components in the pump body includes: setting the constraints of the welding points of the components in the pump body, and / or setting the edge line of the cylinder air inlet of the cylinder in the pump body.

[0028] In some embodiments, the step of setting welding point constraints on components in the pump body includes the following steps:

[0029] Receive the name of the component for which the weld point constraint needs to be set;

[0030] The corresponding component is searched based on the component name for which the weld point constraint needs to be set, and the weld point circumferential surface constraint is established for the found component.

[0031] In some embodiments, the step of establishing a weld point circumferential surface constraint for the found component includes the following steps:

[0032] Get all the faces of the component and create a face list;

[0033] Obtaining the centroid information of the face list and creating a face centroid list, wherein the centroid information includes the coordinates of the centroid point of each face;

[0034] Converting the centroid coordinates in the face centroid list into cylindrical coordinates;

[0035] Obtaining a maximum centroid cylindrical coordinate radius based on the cylindrical coordinates corresponding to the face centroid list;

[0036] Traversing the cylindrical coordinates corresponding to the face centroid list, searching for a centroid point whose radius difference with the maximum centroid cylindrical coordinate radius is less than a first threshold, taking the centroid point as the target centroid point, and determining the face object corresponding to the target centroid point;

[0037] Find adjacent area objects of the area object corresponding to the target centroid point;

[0038] Determine whether the surface object corresponding to the target centroid point is a cylindrical surface. If so, set the surface object corresponding to the target centroid point as a weld point selection surface, and set the corresponding adjacent surface object as a weld point constraint surface.

[0039] In some embodiments, the step of setting the cylinder air inlet edge line of the cylinder in the pump body comprises the following steps:

[0040] Query the cylinder parts according to the part name;

[0041] Selecting a surface where the cylinder edge line is located from the cylinder component according to a preset basis for determining the surface where the cylinder air inlet edge line is located;

[0042] The surface where the cylinder edge line is located is traversed, and according to a preset cylinder air inlet edge line form, the cylinder air inlet edge line is searched and obtained, and a cylinder air inlet edge line constraint is established.

[0043] In some embodiments, the step of selecting the surface where the cylinder edge line is located from the cylinder component according to a preset determination basis of the surface where the cylinder air inlet edge line is located comprises the following steps:

[0044] Get all faces of the cylinder component and create a face list;

[0045] Obtain the cylindrical surface in the surface list and create a cylindrical surface list;

[0046] Obtain a list of node coordinates of each cylindrical surface in the cylindrical surface list;

[0047] Converting the node coordinates in the node coordinate list into cylindrical coordinates;

[0048] Traverse the cylindrical coordinates corresponding to the node coordinate list to obtain the maximum cylindrical coordinate and the minimum cylindrical coordinate;

[0049] The cylindrical surface whose difference between the maximum cylindrical coordinate and the minimum cylindrical coordinate corresponding to the node coordinate list is less than a second threshold is used as the cylindrical surface object corresponding to the air intake hole, and as the surface where the cylinder edge line is located;

[0050] Determine a B-spline curve object contained in a cylindrical surface object corresponding to the air inlet;

[0051] The step of searching and obtaining the cylinder air inlet edge line according to the preset cylinder air inlet edge line form comprises the following steps:

[0052] The edge line of the cylinder air intake port is selected according to the B-spline curve object and preset edge line selection conditions.

[0053] The present application also provides a compressor pump body three-dimensional model reduction system for implementing the compressor pump body three-dimensional model reduction method. The system includes:

[0054] A material module, configured to receive material setting data and create a material model, wherein the material model includes multiple materials and parameters of each material;

[0055] The component module is used to receive component setting data and establish the mapping relationship between each component and material in the pump body;

[0056] The setting module is used to receive the discrete grid size parameters of the three-dimensional model, generate a three-dimensional finite element model of the pump body based on the finite element analysis program, establish the contact relationship of the components in the pump body, set constraints on the components in the pump body, and input the solution command stream file into the finite element analysis program to obtain the pump body three-dimensional finite element model file, pump body reduction file and node number file output by the finite element analysis program.

[0057] The compressor pump body three-dimensional model reduction method and system provided in this application have the following advantages:

[0058] By adopting the present invention, the key parameter settings and analysis processes are encapsulated as a compressor pump body three-dimensional model reduction tool. By setting materials, components, constraints and command stream files, all settings and reduction analysis of the pump body model reduction can be realized, which is convenient for users to quickly execute the model reduction settings and is conducive to improving the efficiency of the model reduction process. BRIEF DESCRIPTION OF THE DRAWINGS

[0059] Other features, objects and advantages of the present application will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings.

[0060] Figure 1 This is a flow chart of a method for reducing a three-dimensional model of a compressor pump body according to an embodiment of the present application;

[0061] Figure 2 This is a structural block diagram of a compressor pump body three-dimensional model reduction system according to an embodiment of the present application;

[0062] Figure 3 is a schematic diagram of a material setting page according to an embodiment of the present application;

[0063] Figure 4 is a schematic diagram of a component settings page according to an embodiment of the present application;

[0064] Figure 5 is a schematic diagram of a reduced settings page according to an embodiment of the present application;

[0065] Figure 6 This is a flow chart of setting welding point constraints for components in a pump body according to an embodiment of the present application;

[0066] Figure 7 This is a flow chart of setting the edge line of the cylinder air inlet of the cylinder in the pump body according to one embodiment of the present application. DETAILED DESCRIPTION

[0067] Example embodiments will now be described more fully with reference to the accompanying drawings. However, the example embodiments can be implemented in a variety of forms and should not be construed as limited to the embodiments set forth herein; rather, these embodiments are provided so that this application will be comprehensive and complete and will fully convey the concepts of the example embodiments to those skilled in the art. The same reference numerals in the figures represent the same or similar structures, and thus their repeated descriptions will be omitted. "Or" and "or" in the specification may both mean "and" or "or". Although the terms "above", "below", "between", etc. may be used in this specification to describe different exemplary features and elements of the present application, these terms are used herein only for convenience, such as according to the directions of the examples described in the accompanying drawings. Nothing in this specification should be construed as requiring a specific three-dimensional orientation of the structure to fall within the scope of this application. Although "first" or "second" etc. are used in this specification to represent certain features, they are only used to represent the function and are not intended to limit the number and importance of specific features.

[0068] like Figure 1As shown, in order to solve the technical problems in the prior art, the present application provides a method for reducing a three-dimensional model of a compressor pump body, comprising the following steps:

[0069] S100: receiving material setting data and creating a material model, wherein the material model includes multiple materials and parameters of each material;

[0070] S200: Receive component setting data and establish a mapping relationship between each component and material in the pump body;

[0071] S300: receiving discrete grid size parameters of the three-dimensional model and generating a three-dimensional finite element model of the pump body based on a finite element analysis program;

[0072] S400: establishing contact relationships among components in the pump body and setting constraints on the components in the pump body;

[0073] S500: Inputting the solution command stream file into the finite element analysis program to obtain the pump body three-dimensional finite element model file, pump body reduction file and node number file output by the finite element analysis program.

[0074] This application adopts the compressor pump body three-dimensional model reduction method to encapsulate the key parameter settings and analysis processes into a compressor pump body three-dimensional model reduction tool. By setting materials, components, constraints and command flow files, all settings and reduction analysis of the pump body model can be realized, which is convenient for users to quickly execute the model reduction settings, is conducive to improving the efficiency of the model reduction process, and effectively solves the problem that current simulation personnel need to spend a lot of time in the process of implementing pump body three-dimensional model reduction.

[0075] like Figure 2 As shown, the embodiment of the present application further provides a compressor pump body three-dimensional model reduction system for implementing the above-mentioned compressor pump body three-dimensional model retrieval method, the system comprising:

[0076] The material module M100 is used to receive material setting data and create a material model. The material model includes multiple materials and parameters of each material. That is, the material module M100 is used to implement the creation of physical properties of the model material.

[0077] The component module M200 is used to receive component setting data and establish a mapping relationship between each component in the pump body and the material; that is, the component module M200 is used to assign physical material values to the components of each component in the pump body. In this application, the pump body includes multiple components, such as a cylinder assembly, a motor assembly, etc., each assembly includes one or more components, such as the cylinder assembly includes an upper cylinder head, a lower cylinder head, a cylinder, a piston, etc., and the motor assembly includes a rotor, a stator, etc.;

[0078] The setting module M300 is used to receive the discrete grid size parameters of the three-dimensional model, generate a three-dimensional finite element model of the pump body based on the finite element analysis program, establish the contact relationship of the components in the pump body, set constraints on the components in the pump body, and input the solution command stream file into the finite element analysis program to obtain the pump body three-dimensional finite element model file, pump body reduction file and node number file output by the finite element analysis program.

[0079] This application uses the compressor pump body three-dimensional model reduction system to encapsulate the key parameter settings and analysis processes into a compressor pump body three-dimensional model reduction tool. By setting materials, components, constraints, and command stream files, all pump body model reduction settings and reduction analysis can be achieved, making it convenient for users to quickly execute model reduction settings, which is conducive to improving the efficiency of the model reduction process and effectively solving the problem that simulation personnel currently need to spend a lot of time in the process of implementing pump body three-dimensional model reduction. The reduction method and system of this application can be applied to various types of compressor pump body structures, and can improve the efficiency of pump body lubrication analysis or other types of performance analysis based on pump body three-dimensional models.

[0080] In this embodiment, the key parameter setting and analysis process are encapsulated as a compressor pump body three-dimensional model reduction tool, which can provide a simple user interaction interface, in which the material module, component module and setting module can respectively provide different tabs. The user can enter the setting page of the corresponding module by clicking the corresponding tab to implement various settings and inputs. Figures 3-5 Schematic diagrams of the setting pages corresponding to the material module, component module and setting module are shown respectively.

[0081] In this embodiment, the finite element analysis program is, for example, an ANSYS application, which is configured to pre-import a three-dimensional geometric model of the pump body. The three-dimensional geometric model of the pump body already includes geometric parameters of the various components and parts of the pump body, such as geometric dimensions and shapes. The tool provided in this application can be embedded in the ANSYS application and used as a plug-in for the ANSYS application. Upon opening the tool, the user interface of the tool is displayed, which displays three tabs: materials, components, and settings. By clicking different tabs, you can switch between the material settings page, component settings page, and reduction settings page.

[0082] Figure 3 The schematic diagram of the material setting page is shown, which includes a material parameter list and operation buttons below. The operation buttons include but are not limited to "Import", "Delete", "Add", and "Update" to facilitate users to perform different operations on the material list. Figure 3 As shown, in this embodiment, the material parameters include material name, elastic modulus, Poisson's ratio, density, etc. Figure 3Where Name represents the material name, E represents the elastic modulus, MU represents the Poisson's ratio, and RHO represents the density, but the present invention is not limited thereto. In other implementations, the material parameters may also include parameters of other categories.

[0083] The step S100: receiving material setting data and creating a material model includes the following steps:

[0084] Providing a material setting page, wherein the material setting page is configured to have an entry for adding materials, that is, corresponding to an "add" button;

[0085] Receive material setting data input by the user through the add material entry in the material setting page, the material setting data including the added material and its parameters; after the material creation is completed, the material list will be automatically updated and displayed;

[0086] A material model is created based on the material setting data.

[0087] In this embodiment, the material model can also be created by importing an existing material file. The step S100 of receiving material setting data and creating a material model includes the following steps:

[0088] Providing a material setting page, wherein the material setting page is configured to have a material file import button, that is, corresponding to the "Import" button;

[0089] Receive a material file imported by the user using the Material File Import button on the Material Settings page, and create a material model based on the material setting data in the material file. The imported file here can be, for example, an ANSYS engineering material file in XML format. After importing this file, the displayed material list is updated based on the material parameters in the file.

[0090] To delete a material, click the corresponding material row, select the material, and then click the "Delete" button to delete the material and update the displayed material list. If you need to manually update the material list, click the "Update" button to complete the update.

[0091] In this embodiment, the created material model is an isotropic material model. Isotropic material means that the material parameters corresponding to the three directions of X, Y, and Z are consistent.

[0092] After setting the material and creating the material model, click the "Component" tab to enter the Figure 4The component settings page is shown. On the component settings page, the user can select the pump body structure and select the "single cylinder" or "double cylinder" checkbox button. The user can assign materials to the components. Before the step S200: receiving component setting data and establishing the mapping relationship between each component in the pump body and the material, the following steps are also included:

[0093] Rename designated components of the pump body in the finite element analysis program to preset standard names. In this embodiment, the designated components to be renamed include, but are not limited to, the crankshaft, upper cylinder head, lower cylinder head, cylinder, piston, intermediate plate, rotor, balance weight, and upper support (if present). Specifically, select the component from the component list on the component settings page, select the agreed component name in "Component Name," and click the "Rename" button to complete the component renaming and update the components list.

[0094] Because the naming conventions for the various components in the 3D pump geometry model loaded in the finite element application generally differ from those in the tool, some important components need to be renamed to conform to the pre-set standard names to facilitate the subsequent automatic reduction analysis of the model. For example, the original names of components such as the cylinder, upper cylinder head, and lower cylinder head, which will be used in the subsequent reduction analysis, need to be modified to cylinder, upper cylinder head, and lower cylinder head, respectively.

[0095] In this embodiment, the step S200 of receiving component setting data and establishing a mapping relationship between each component and material in the pump body includes the following steps:

[0096] Provide component settings page;

[0097] Receive the user's part selection operation and material selection operation in the component setting page, and establish a mapping relationship between the selected part and the selected material. For example Figure 4 The Name column shown in the figure is the selected component column, and the Mat column is the selected material column. The components in each row correspond to the materials, that is, each component in the component column is assigned the material of the corresponding row on the right.

[0098] In this embodiment, after completing the component renaming, select the component in the component list, select the material name in the material name, and click the "Material Assignment" button to complete the material assignment of the component and update the displayed component list. It should be noted that for multiple components cut out from one component, their parameters need to be consistent. For example, since the upper shaft, lower shaft, and support shaft components are cut out from the original crankshaft assembly, they need to be consistent with the material parameters of the crankshaft assembly. Similarly, the material parameters of the upper bearing component are consistent with those of the upper cylinder head component, the material parameters of the lower bearing component are consistent with those of the lower cylinder head component, and the material parameters of the support bearing are consistent with those of the upper support component.

[0099] In this embodiment, when the model is subsequently reduced, if only some components need to be reduced and some components do not need to be reduced, the components that do not need to be reduced need to be frozen. Figure 4 As shown, a "Freeze" button is also added to the component setting page. By selecting frozen components, some components can be retained and not reduced in the future.

[0100] Specifically, the step S300 of receiving the discrete grid size parameters of the three-dimensional model and generating the three-dimensional finite element model of the pump body based on the finite element analysis program further includes the following steps:

[0101] After receiving the user's freeze operation on the component setting page, the component corresponding to the freeze operation is determined and the component is set as a component that does not need to be reduced. After a component is frozen, the component is moved to the frozen component list on the right. If the freeze needs to be modified, the frozen component can be unfrozen.

[0102] For example, when performing a reduction analysis on a rotor assembly, the reduced components include the crankshaft, piston, rotor, and balance weights, while the components to be frozen include the upper cylinder head, lower cylinder head, cylinder, center plate, and upper support. Click the component to be frozen in the retained components list, then click the "≥ Switch" button to move the component to be frozen to the frozen components list. Similarly, you can select a component from the frozen components list and click the "≤ Switch" button to move the component to be frozen to the retained components list.

[0103] After completing the component settings, click the "Settings" tab to enter the reduction settings page. Figure 5 The figure shows a schematic diagram of the reduction setting page of this embodiment. In this page, you can select the Shaft or Bearing check box according to the type of reduced component. It should be noted that the reduced component type must correspond to the freeze operation in the component module. Shaft reduction should freeze bearing-related components, and bearing reduction should freeze shaft-related components. The discrete grid size parameters of the three-dimensional model include the grid size and the number of segments of each component. Figure 5As shown, the grid size, the number of segments of each component, etc. can be set in the reduction setting page. After setting the grid size and the number of component segments, click the "Mesh Division" button to call the finite element analysis program to perform grid and segment division and generate a three-dimensional finite element model. In this embodiment, the three-dimensional grid size is controlled according to the geometric dimensions of the compressor pump body and the reduction scale, and can be optionally set to 2 to 5 mm. Set the number of axial grid segments of the bearing, including the number of lower bearing segments, the number of upper bearing segments, and the number of upper support segments (if the upper support component exists after the component is renamed, the upper support segment number is valid; otherwise, the upper support segment number setting text box will not be activated and will be gray). It should be noted that the number of bearing segments must be an even integer. If a non-integer even number is entered, the finite element analysis program will round it according to the following principles:

[0104] result=int(abs(input) / 2)*2

[0105] Where result is the rounded number of bearing segments, and input is the input number of bearing segments.

[0106] After entering the mesh size and number of bearing segments, click the Mesh button to complete the meshing of the pump body reduction assembly 3D model. It is important to note that to ensure the bearing mesh in the bearing cutout is consistent with the shaft mesh, the number of bearing segments set during both the shaft and bearing reduction processes must be identical.

[0107] Then, click the "Contact Settings" button in the reduction settings page to call the finite element analysis program to establish the contact relationship between the components in the pump body.

[0108] In this embodiment, in step S400, establishing the contact relationship between the components in the pump body includes the following steps:

[0109] Contact type parameters and contact form parameters are received, and contact relationships between components in the pump body are established based on the finite element analysis program. Specifically, after the user clicks the "Contact Settings" button, a page pops up for entering the contact type parameters and contact form parameters. After the user enters the contact type parameters and contact form parameters on this page, the finite element analysis program is invoked to establish the contact relationships between the components. For example, in this embodiment, the contact type parameter is Bonded, and the contact form parameter is Multi-Point Constraint (MPC).

[0110] In this embodiment, the finite element analysis program is configured to output model contact pairs based on the component assembly relationship and establish node binding contact. The contact pair (AB) binding contact establishment criteria are as follows:

[0111] norm(Grid A -Grid B) <Threshold

[0112] Among them, Grid A Grid is the node coordinate of the contact center A component. B The node coordinates of component B are contact-centered. Threshold is the preset node distance threshold, which can be set to 1 to 5 mm. Decentering components A and B refers to two components in a 3D pump model that are in contact, such as component A (the upper cylinder head) and component B (the cylinder), where the contact surface is located on the top surface of the cylinder. For a pump model, there are multiple contact pairs, and the two components in each contact pair are in contact with each other.

[0113] like Figure 5 As shown, a "Constraint Setting" button is also provided in the reduction setting page. In this embodiment, in step S400, constraining the components in the pump body is set, including: setting weld point constraints on the components in the pump body, and / or setting the cylinder air inlet edge line of the cylinder in the pump body.

[0114] like Figure 6 As shown, in this embodiment, the setting of welding point constraints for components in the pump body includes the following steps:

[0115] Receive the names of the components for which weld point constraints need to be set; for example, the user enters the names of the components for which weld point constraints need to be set in the reduction setting page, including the upper cylinder head, upper support (if any), and cylinder component;

[0116] The corresponding component is searched based on the component name for which the weld point constraint needs to be set, and the weld point circumferential surface constraint is established for the found component.

[0117] In this embodiment, the solder joint selection surface is determined based on the following:

[0118]

[0119]

[0120] Where, Represents the cylindrical coordinate radius of the centroid of the weld selection surface. x and y are the geometric coordinates of the centroid of the weld selection surface. The cylindrical coordinates of the maximum centroid of each face of the component for which the weld constraint is to be set. After successfully selecting the outer end face of the weld cylinder as the weld selection face, you can quickly select the adjacent cylindrical face as the weld constraint face to implement the cylindrical face constraint.

[0121] like Figure 6 As shown, in this embodiment, the step of establishing a weld point circumferential surface constraint for the found component includes the following steps:

[0122] Get all the faces of the component and create a face list FList;

[0123] Obtaining the centroid information of the face list FList and creating a face centroid list FCList, wherein the centroid information includes the coordinates of the centroid points of each face;

[0124] Convert the centroid coordinates (x, y) in the face centroid list FCList to cylindrical coordinates

[0125] Obtain the maximum centroid cylindrical coordinate radius based on the cylindrical coordinates corresponding to the face centroid list FCList

[0126] Traverse the cylindrical coordinates corresponding to the face centroid list FCList Find the cylindrical coordinates with the maximum centroid radius The centroid point whose difference is less than the first threshold is taken as the target centroid point, and the surface object corresponding to the target centroid point is determined; the first threshold here can be optionally set to 1.0e / 0 ;

[0127] Find adjacent area objects of the area object corresponding to the target centroid point;

[0128] Determine whether the surface object corresponding to the target centroid point is a cylindrical surface. If so, set the surface object corresponding to the target centroid point as the weld point selection surface, and the corresponding adjacent surface object as the weld point constraint surface. If not, the surface object corresponding to the target centroid point is not a weld point selection surface, and continue to traverse other surfaces to find the weld point selection surface.

[0129] like Figure 7 As shown, in this embodiment, the cylinder air inlet edge line setting of the cylinder in the pump body includes the following steps:

[0130] Query the cylinder parts according to the part name;

[0131] Selecting a surface where the cylinder edge line is located from the cylinder component according to a preset basis for determining the surface where the cylinder air inlet edge line is located;

[0132] The surface where the cylinder edge line is located is traversed, and according to a preset cylinder air inlet edge line form, the cylinder air inlet edge line is searched and obtained, and a cylinder air inlet edge line constraint is established.

[0133] In this embodiment, the surface where the cylinder air inlet edge line is located is determined based on the following:

[0134]

[0135]

[0136] Where, Represents the cylindrical coordinate radius of each node on a surface of the cylinder component. x, y are the geometric coordinates of each node on a surface of the cylinder component. Indicates the maximum nodal cylindrical coordinate radius of a face of the cylinder component, Represents the minimum nodal cylindrical radius of a face of the cylinder component.

[0137] like Figure 7 As shown, in this embodiment, the process of selecting the surface where the cylinder edge line is located from the cylinder component according to the preset determination basis of the surface where the cylinder air inlet edge line is located includes the following steps:

[0138] Get all the faces of the cylinder component and create a face list FList;

[0139] Get the cylindrical surface in the surface list FList and create a cylindrical surface list FList1;

[0140] Obtain the node coordinate list VList of each cylindrical surface in the cylindrical surface list FList1; that is, there is a node coordinate list VList for each cylindrical surface;

[0141] Convert the node coordinates in the node coordinate list VList into cylindrical coordinates;

[0142] Traverse the column coordinates corresponding to the node coordinate list VList and obtain the maximum column coordinates and the minimum cylindrical coordinates

[0143] The maximum cylindrical coordinate corresponding to the node coordinate list The difference between the minimum cylindrical coordinates The cylindrical surface smaller than the second threshold is used as the cylindrical surface object corresponding to the air intake hole, that is, as the surface where the cylinder edge line is located;

[0144] A B-spline curve object (B-spline object) contained in the cylindrical surface object corresponding to the air intake hole is determined.

[0145] The step of searching and obtaining the cylinder air inlet edge line according to the preset cylinder air inlet edge line form comprises the following steps:

[0146] The edge line of the cylinder air intake port is selected according to the B-spline curve object and preset edge line selection conditions.

[0147] The edge line selection conditions here are mainly used to distinguish the air inlet edge line from other non-air inlet hole edge lines on the surface where the cylinder air inlet edge line is located. The edge line selection conditions can be set by the staff according to the actual situation. Here, the air inlet and the piston valve plate spring hole are formed on the surface where the cylinder edge line is located as an example. For example, on the surface where the cylinder edge line is located, the air inlet and the air inlet edge line are on the left, and the piston valve plate spring hole and its edge line are on the right. Since this surface is a cylindrical surface, the air inlet edge line and the spring hole edge line are B-spline curves, and the remaining boundary lines are straight lines or circular arcs. Therefore, it is necessary to use the preset edge line selection conditions to distinguish the cylinder air inlet edge line and the spring hole edge line.

[0148] Due to the different situations of the pump body 3D model in actual application, the following four situations may occur for the edge line of the cylinder air inlet and the edge line of the spring hole:

[0149] [1] The air inlet edge line is a complete line, and the spring hole edge line is a complete line. At this time, the edge line selection condition is: the number of B-spline curves is equal to 2, and the B-spline curve with the longest length is selected as the air inlet edge line.

[0150] [2] The air inlet edge line is a complete line, and the spring hole edge line is divided into two equal segments. In this case, the edge line selection conditions are: the number of B-spline curves is 3, and the length of the longest B-spline curve is greater than the sum of the lengths of the remaining spline curves. The B-spline curve with the longest length is selected as the air inlet edge line.

[0151] [3] The air inlet edge line is divided into two equal segments, and the spring hole edge line is a complete line. The edge line selection criteria are: the number of B-spline curves is 3, and the B-spline curve corresponding to the centroid of the B-spline curve with a non-zero X coordinate (the numerical judgment is that the centroid X coordinate is greater than 0.001 mm) is selected as the air inlet edge line. Since the spring mounting hole is symmetrical about the Y axis, the B-spline curve with an X coordinate of 0 corresponds to the edge line of the spring mounting hole.

[0152] [4] The air inlet edge line and the spring hole edge line are both equally divided into two segments. In this case, the edge line selection condition is: sort the four B-spline curves according to their length and select the two longest B-spline curves as the air inlet edge lines.

[0153] In the application, the finite element analysis program determines the edge line selection conditions by traversing the above situations to achieve the edge line selection of the air inlet.

[0154] like Figure 5As shown, the reduction settings page also features a "Command Stream File" button. Clicking this button allows you to upload a pre-compiled command stream file. Then, click "Reduction Solve." The finite element analysis program then performs reduction calculations and analysis on the pump body's three-dimensional finite element model based on the aforementioned settings and the uploaded command stream file. Ultimately, the finite element analysis program outputs a three-dimensional pump body finite element model file, a pump body reduction file, and a node numbering file. In this embodiment, the node numbering file includes, for example, a bearing node numbering file. The command stream file is an APDL file based on the ANSYS software program, containing the analysis commands and output parameter commands required for the pump body reduction calculation. The reduction file format is EXB, a custom data format used by the ANSYS software program. It includes model reduction information, primarily model modal frequencies and modal vibration shape information corresponding to each node's degree of freedom, derived using the modal synthesis reduction method. The bearing node numbering file is a txt file. Based on the bearing surfaces in the model, all interfaces on the bearing surfaces are identified and designated as primary nodes. Node groups are then created, and the primary node numbers corresponding to each bearing are output via APDL commands.

[0155] The above content is a further detailed description of the present application in conjunction with specific preferred embodiments, and the specific implementation of the present application cannot be considered to be limited to these descriptions. For ordinary technicians in the technical field to which the present application belongs, several simple deductions or substitutions can be made without departing from the concept of the present application, and all of them should be considered to fall within the scope of protection of the present application.

Claims

1. A method for reducing a three-dimensional model of a compressor pump body, characterized in that: include: receiving material setting data and creating a material model, wherein the material model includes a plurality of materials and parameters of each material; Receive component setting data and establish mapping relationship between each component and material in the pump body; Receiving discrete grid size parameters of the three-dimensional model, and generating a three-dimensional finite element model of the pump body based on a finite element analysis program; Establish contact relationships among components in the pump body and set constraints on the components in the pump body; The solution command stream file is input into the finite element analysis program to obtain the pump body three-dimensional finite element model file, pump body reduction file and node number file output by the finite element analysis program.

2. The method for reducing the three-dimensional model of a compressor pump body according to claim 1, characterized in that: The receiving of material setting data and creation of a material model comprises the following steps: Providing a material setting page, wherein the material setting page is configured to have an entry for adding materials; receiving material setting data input by the user through the add material entry in the material setting page, wherein the material setting data includes the added material and material parameters; A material model is created based on the material setting data.

3. The method for reducing the three-dimensional model of a compressor pump body according to claim 1, characterized in that: The receiving of material setting data and creation of a material model comprises the following steps: Providing a material setting page, wherein the material setting page is configured to have a material file import button; A material file imported by a user through the material file import button in the material setting page is received, and a material model is created based on the material setting data in the material file.

4. The method for reducing the three-dimensional model of a compressor pump body according to claim 1, characterized in that: The finite element analysis program is configured to have a three-dimensional geometric model of the pump body pre-imported; Before receiving component setting data and establishing a mapping relationship between various components and materials in the pump body, the following steps are also included: Rename the designated components of the pump body in the finite element analysis program so that the names of the designated components are set to preset standard names.

5. The method for reducing the three-dimensional model of a compressor pump body according to claim 1, characterized in that: The receiving component setting data and establishing a mapping relationship between each component and material in the pump body include the following steps: Provide component settings page; Receive the user's part selection operation and material selection operation in the component setting page, and establish a mapping relationship between the selected part and the selected material.

6. The method for reducing the three-dimensional model of a compressor pump body according to claim 5, characterized in that: Before receiving the discrete grid size parameters of the three-dimensional model and generating the three-dimensional finite element model of the pump body based on the finite element analysis program, the following steps are also included: A freeze operation in the component setting page is received from the user, a component corresponding to the freeze operation is determined, and the component is set as a component that does not need to be reduced.

7. The method for reducing the three-dimensional model of a compressor pump body according to claim 1, characterized in that: The step of establishing the contact relationship between the components in the pump body comprises the following steps: Contact type parameters and contact form parameters are received, and contact relationships between components in the pump body are established based on the finite element analysis program.

8. The method for reducing the three-dimensional model of a compressor pump body according to claim 1, characterized in that: The constraining and setting of the components in the pump body includes: constraining and setting welding points of the components in the pump body, and / or setting an edge line of the cylinder air inlet of the cylinder in the pump body.

9. The method for reducing the three-dimensional model of a compressor pump body according to claim 8, characterized in that: The method of setting welding point constraints on components in the pump body includes the following steps: Receive the name of the component for which the weld point constraint needs to be set; The corresponding component is searched based on the component name for which the weld point constraint needs to be set, and the weld point circumferential surface constraint is established for the found component.

10. The method for reducing the three-dimensional model of a compressor pump body according to claim 9, characterized in that: The step of establishing a weld point circumferential surface constraint for the found component includes the following steps: Get all the faces of the component and create a face list; Obtaining the centroid information of the face list and creating a face centroid list, wherein the centroid information includes the coordinates of the centroid point of each face; Converting the centroid coordinates in the face centroid list into cylindrical coordinates; Obtaining a maximum centroid cylindrical coordinate radius based on the cylindrical coordinates corresponding to the face centroid list; Traversing the cylindrical coordinates corresponding to the face centroid list, searching for a centroid point whose radius difference with the maximum centroid cylindrical coordinate radius is less than a first threshold, taking the centroid point as the target centroid point, and determining the face object corresponding to the target centroid point; Find adjacent area objects of the area object corresponding to the target centroid point; Determine whether the surface object corresponding to the target centroid point is a cylindrical surface. If so, set the surface object corresponding to the target centroid point as a weld point selection surface, and set the corresponding adjacent surface object as a weld point constraint surface.

11. The method for reducing the three-dimensional model of a compressor pump body according to claim 8, characterized in that: The method of setting the edge line of the cylinder air inlet of the pump body comprises the following steps: Query the cylinder parts according to the part name; Selecting a surface where the cylinder edge line is located from the cylinder component according to a preset basis for determining the surface where the cylinder air inlet edge line is located; The surface where the cylinder edge line is located is traversed, and according to a preset cylinder air inlet edge line form, the cylinder air inlet edge line is searched and obtained, and a cylinder air inlet edge line constraint is established.

12. The method for reducing the three-dimensional model of a compressor pump body according to claim 11, characterized in that: The step of selecting the surface where the cylinder edge line is located from the cylinder component according to a preset determination basis of the surface where the cylinder air inlet edge line is located comprises the following steps: Get all faces of the cylinder component and create a face list; Obtain the cylindrical surface in the surface list and create a cylindrical surface list; Obtain a list of node coordinates of each cylindrical surface in the cylindrical surface list; Converting the node coordinates in the node coordinate list into cylindrical coordinates; Traverse the cylindrical coordinates corresponding to the node coordinate list to obtain the maximum cylindrical coordinate and the minimum cylindrical coordinate; The cylindrical surface whose difference between the maximum cylindrical coordinate and the minimum cylindrical coordinate corresponding to the node coordinate list is less than a second threshold is used as the cylindrical surface object corresponding to the air intake hole, and as the surface where the cylinder edge line is located; Determine a B-spline curve object contained in a cylindrical surface object corresponding to the air inlet; The step of searching and obtaining the cylinder air inlet edge line according to the preset cylinder air inlet edge line form comprises the following steps: The edge line of the cylinder air intake port is selected according to the B-spline curve object and preset edge line selection conditions.

13. A compressor pump body three-dimensional model reduction system, characterized in that: The system for implementing the method for reducing the three-dimensional model of a compressor pump body according to any one of claims 1 to 12 comprises: A material module, configured to receive material setting data and create a material model, wherein the material model includes multiple materials and parameters of each material; The component module is used to receive component setting data and establish the mapping relationship between each component and material in the pump body; The setting module is used to receive the discrete grid size parameters of the three-dimensional model, generate a three-dimensional finite element model of the pump body based on the finite element analysis program, establish the contact relationship of the components in the pump body, set constraints on the components in the pump body, and input the solution command stream file into the finite element analysis program to obtain the pump body three-dimensional finite element model file, pump body reduction file and node number file output by the finite element analysis program.