Method, system, device and storage medium for modifying part information based on CAE
By importing the CAE model and calling the part information to modify the data table, the part thickness value and material information of the automotive structural parts are automatically modified, which solves the problem of time-consuming and error-prone modification of the information when processing the CAE analysis, and achieves efficient and accurate modification process.
Patent Information
- Application Number
- CN201910703390.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-07-31
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2039-07-31
AI Technical Summary
When performing CAE analysis of automotive structural parts, simulation engineers need to frequently modify the thickness or material information of the parts, which will cause time-consuming and prone to human operation errors.
By importing the CAE model and calling the part information to modify the data table, the thickness value and material information of the part are automatically modified, and the information in the CAE model is positioned using the ID of the target part and updated.
Automatic modification of part thickness values and material information is realized, which significantly shortens the modification time, reduces the probability of errors, and ensures accurate modification and updates.
Smart Images

Figure CN112329126B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automobile technology, and in particular to a method for modifying part information based on CAE, a system for modifying part information based on CAE, an electronic device and a computer-readable storage medium. Background Art
[0002] In related technologies, when simulation engineers use finite element software to perform CAE analysis pre-processing on automotive structural parts, some automotive structural parts need to have their thickness or material modified due to design changes or structural optimization.
[0003] However, the problem with related technologies is that when simulation engineers modify the thickness or material information of parts, they can only manually select the parts that need to be modified in the CAE analysis pre-processing software, and change the thickness or material information of the parts one by one. If the thickness or material information of the parts needs to be changed frequently, it will take a lot of time and may cause problems such as human operational errors. Summary of the invention
[0004] The present invention aims to solve at least one of the technical problems in the above-mentioned technology to a certain extent. To this end, one purpose of the present invention is to propose a method for modifying part information based on CAE, which can realize automatic modification of part thickness value and material information, greatly shorten the modification time, reduce the error probability, and ensure accurate modification and update.
[0005] A second object of the present invention is to provide a system for modifying part information based on CAE.
[0006] A third objective of the present invention is to provide an electronic device.
[0007] A fourth object of the present invention is to provide a computer-readable storage medium.
[0008] To achieve the above-mentioned purpose, the first aspect of the present invention proposes a method for modifying part information based on CAE, which includes: using CAE analysis pre-processing software to import a CAE model whose part information needs to be modified; calling a part information modification data table, wherein the part information modification data table includes an identification ID of each part, a modified first thickness value and a modified first material information; selecting an ID from the part information modification data table as the ID of a target part whose part information needs to be modified; locating the target part in the CAE model according to the ID of the target part; and modifying the thickness value and material information of the target part in the CAE model using the first thickness value and the first material information corresponding to the ID of the target part.
[0009] According to the CAE-based method for modifying part information according to an embodiment of the present invention, a CAE model whose part information needs to be modified is imported using CAE analysis pre-processing software, and a part information modification data table is called, wherein the part information modification data table includes an identification ID of each part, a modified first thickness value, and a modified first material information. Then, an ID is selected from the part information modification data table as the ID of a target part whose part information needs to be modified, and the target part in the CAE model is located according to the ID of the target part. Then, the first thickness value and the first material information corresponding to the ID of the target part are used to modify the thickness value and the material information of the target part in the CAE model, thereby realizing automatic modification of the part thickness value and the material information, greatly shortening the modification time, and at the same time, reducing the probability of errors, and ensuring accurate modification and updating.
[0010] In addition, the method for modifying part information based on CAE according to the above embodiment of the present invention may also have the following additional technical features:
[0011] According to one embodiment of the present invention, after the CAE model whose part information needs to be modified is imported using CAE analysis pre-processing software, it also includes: for each part in the CAE model, according to the ID of the part, obtaining the vehicle model, version number, material information and thickness value corresponding to the part, using the vehicle model, ID, version number, material information and thickness value corresponding to the part, forming the name attribute of the part, and marking it in the CAE model.
[0012] According to one embodiment of the present invention, after modifying the thickness value and material information of the target part in the CAE model, it also includes: using the first thickness value and the first material information to form a character string, and updating the part of the name attribute of the target part composed of the thickness value and material information based on the character string.
[0013] According to one embodiment of the present invention, after updating the portion of the name attribute of the target part consisting of the thickness value and the material information based on the character string, it also includes: obtaining a second thickness value of the target part before modification from the part information modification data table according to the ID of the target part; obtaining the difference between the first thickness value and the second thickness value, and marking the name attribute of the component corresponding to the target part as the difference.
[0014] According to one embodiment of the present invention, marking the name attribute of the component corresponding to the target part as the difference includes: identifying whether there is a component marked as the difference in the CAE model; if there is no component marked as the difference in the CAE model, generating a component for the target part and marking it as the difference.
[0015] According to an embodiment of the present invention, after updating the portion of the name attribute of the target part consisting of the thickness value and the material information based on the character string, the method further includes: hiding the target part after the name attribute is updated.
[0016] According to an embodiment of the present invention, the CAE-based method for modifying part information further includes: selecting one ID at a time as the ID of the target part according to the order of the IDs of the parts in the part information modification data table.
[0017] According to one embodiment of the present invention, the CAE-based method for modifying part information further includes: after modifying the last ID of the part information modification data table as the ID of the target part, after completing the information modification of the target part, identifying whether the CAE model still includes parts whose part information has not been modified, and giving a reminder if there are parts whose part information has not been modified.
[0018] According to one embodiment of the present invention, the part information modification data table further includes the second thickness value before modification and the second material information before modification of each part.
[0019] To achieve the above-mentioned purpose, the CAE-based system for modifying part information proposed in the second aspect of the embodiment of the present invention includes: an import module, used to import a CAE model whose part information needs to be modified; a calling module, used to call a part information modification data table, wherein the part information modification data table includes an identification ID of each part, a modified first thickness value and a modified first material information; a selection module, used to select an ID from the part information modification data table as the ID of a target part whose part information needs to be modified; a positioning module, used to locate the target part in the CAE model according to the ID of the target part; and a modification module, used to modify the thickness value and material information of the target part in the CAE model using the first thickness value and the first material information corresponding to the ID of the target part.
[0020] According to the CAE-based system for modifying part information according to an embodiment of the present invention, a CAE model whose part information needs to be modified is imported through an import module and a part information modification data table is called through a calling module, wherein the part information modification data table includes an identification ID of each part, a modified first thickness value and a modified first material information, and then, an ID is selected from the part information modification data table as the ID of a target part whose part information needs to be modified through a selection module, and the target part in the CAE model is located according to the ID of the target part through a positioning module, so that the first thickness value and the first material information corresponding to the ID of the target part are used through the modification module to modify the thickness value and material information of the target part in the CAE model, thereby realizing automatic modification of the part thickness value and material information, greatly shortening the modification time, and at the same time, reducing the probability of errors, and ensuring accurate modification and updating.
[0021] In addition, the CAE-based system for modifying part information according to the above embodiment of the present invention may also have the following additional technical features:
[0022] According to one embodiment of the present invention, the CAE-based system for modifying part information also includes: a marking module, which is used to obtain, for each part in the CAE model, the vehicle model, version number, material information and thickness value corresponding to the part according to the ID of the part, and use the vehicle model, ID, version number, material information and thickness value corresponding to the part to form the name attribute of the part, and mark it in the CAE model.
[0023] According to one embodiment of the present invention, the CAE-based system for modifying part information further includes: an update module, which is used to use the first thickness value and the first material information to form a character string, and based on the character string, update the part of the name attribute of the target part composed of the thickness value and the material information.
[0024] According to one embodiment of the present invention, the CAE-based system for modifying part information further includes: an acquisition module, used to obtain a second thickness value of the target part before modification from the part information modification data table according to the ID of the target part; the marking module is also used to obtain the difference between the first thickness value and the second thickness value, and mark the name attribute of the component corresponding to the target part as the difference.
[0025] According to one embodiment of the present invention, the CAE-based system for modifying part information further includes: an identification module for identifying whether there is a component marked as the difference in the CAE model; the marking module is also used to generate a component for the target part and mark it as the difference if there is no component marked as the difference in the CAE model.
[0026] According to an embodiment of the present invention, the updating module is further used to hide the target part after the name attribute is updated.
[0027] According to an embodiment of the present invention, the selection module is further used to select one ID at a time as the ID of the target part according to the order of the IDs of the parts in the part information modification data table.
[0028] According to one embodiment of the present invention, the CAE-based system for modifying part information further includes: a reminder module, which is used to identify whether the CAE model still includes parts with unmodified part information after completing the information modification of the target part by using the last ID of the part information modification data table as the ID of the target part, and to give a reminder if there are parts with unmodified part information.
[0029] According to one embodiment of the present invention, the part information modification data table further includes the second thickness value before modification and the second material information before modification of each part.
[0030] To achieve the above-mentioned purpose, the electronic device proposed in the third aspect of the embodiment of the present invention includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the above-mentioned CAE-based method for modifying part information is implemented.
[0031] According to the electronic device of the embodiment of the present invention, a computer program for modifying part information based on CAE is used, which is stored in the memory and can be run on the processor, so as to realize the automatic modification of part thickness value and material information, greatly shorten the modification time, reduce the error probability, and ensure accurate modification and update.
[0032] To achieve the above-mentioned purpose, a computer-readable storage medium is proposed in an embodiment of the fourth aspect of the present invention, on which a computer program is stored, and when the program is executed by a processor, the above-mentioned method of modifying part information based on CAE is implemented.
[0033] The computer-readable storage medium according to an embodiment of the present invention stores a computer program for a method of modifying part information based on CAE, which can realize automatic modification of part thickness values and material information, greatly shorten the modification time, and at the same time, reduce the error probability and ensure accurate modification and updating.
[0034] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1A schematic flow chart of a method for modifying part information based on CAE according to an embodiment of the present invention;
[0036] Figure 2 A schematic flow chart of a method for modifying part information based on CAE according to an embodiment of the present invention;
[0037] Figure 3 A schematic flow chart of a method for modifying part information based on CAE according to an embodiment of the present invention;
[0038] Figure 4 A block diagram of a system for modifying part information based on CAE according to an embodiment of the present invention
[0039] Figure 5 FIG. 4 is a block diagram of a system for modifying part information based on CAE according to an embodiment of the present invention. DETAILED DESCRIPTION
[0040] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0041] The following describes a method, system, device and storage medium for modifying part information based on CAE according to an embodiment of the present invention with reference to the accompanying drawings.
[0042] Figure 1 The figure is a flowchart of a method for modifying part information based on CAE according to an embodiment of the present invention.
[0043] like Figure 1 As shown, the method for modifying part information based on CAE includes:
[0044] S101, using CAE analysis pre-processing software to import the CAE model of the part information to be modified.
[0045] Optionally, the CAE analysis pre-processing software may include HyperMesh software, that is, the CAE model whose part information needs to be modified may be imported using the CAE analysis pre-processing software HyperMesh.
[0046] S102, calling a part information modification data table, wherein the part information modification data table includes an identification ID of each part, a modified first thickness value, and modified first material information.
[0047] Optionally, the part information modification data table may be in CSV or Excel format.
[0048] S103, selecting an ID from the part information modification data table as the ID of the target part whose part information needs to be modified.
[0049] It should be understood that the part ID can be the part number, and an ID is selected from the part information modification data table as the ID of the target part whose part information needs to be modified, that is, the part number of the target part whose part information needs to be modified is selected.
[0050] S104, locating the target part in the CAE model according to the ID of the target part.
[0051] Specifically, each part in the CAE model also has an ID, so the ID of the target part selected in the data table can be modified according to the part information, and the ID can be located in the CAE model to find the ID that is consistent with the ID of the target part. The part corresponding to the consistent ID is used as the target part in the CAE model whose part information needs to be modified.
[0052] S105 , modifying the thickness value and material information of the target part in the CAE model by using the first thickness value and the first material information corresponding to the ID of the target part.
[0053] Specifically, according to the ID of the target part, the corresponding first thickness value and first material information are queried from the part information modification data table, and then the thickness value of the target part in the CAE model is modified to the first thickness value, and the material value of the target part is modified to the first material information. For example, if the thickness value of the target part before modification is 2, and the first thickness value is 4, then the thickness value of the target part is replaced from 2 to 4, and if the material of the target part before modification is "DC01", and the first material information, then the material information of the target part is replaced from "DC01" to "SPCD".
[0054] Therefore, the CAE-based method for modifying part information in an embodiment of the present invention realizes the automatic modification of part thickness value and material information, greatly shortens the modification time, and at the same time reduces the error probability, ensuring accurate modification and updating.
[0055] Furthermore, according to an embodiment of the present invention, after the CAE model whose part information needs to be modified is imported using CAE analysis pre-processing software, it also includes: for each part in the CAE model, according to the ID of the part, obtaining the vehicle model, version number, material information and thickness value corresponding to the part, using the vehicle model, ID, version number, material information and thickness value corresponding to the part, forming the name attribute of the part, and marking it in the CAE model.
[0056] It should be noted that forming the name attribute of a part specifically includes: connecting the model, ID, version number, material information and thickness value corresponding to the part with the symbol "-" or "&" to form a character string, thereby using the character string as the name attribute of the part.
[0057] For example, if the vehicle model information corresponding to the part is A, the ID corresponding to the part is B, the version number corresponding to the part is C, the material information corresponding to the part is D, and the thickness value corresponding to the part is E, the generated string is ABCDE or A&B&C&D&E, that is, the name attribute of the formed part is ABCDE or A&B&C&D&E.
[0058] Furthermore, according to an embodiment of the present invention, after modifying the thickness value and material information of the target part in the CAE model, it also includes: using the first thickness value and the first material information to form a character string, and updating the part of the name attribute of the target part composed of the thickness value and the material information based on the character string.
[0059] It should be noted that the first thickness value and the first material information are used to form a character string, that is, the first thickness value and the first material information are connected with the symbol "-" or "&" to form a character string. For example, if the first thickness value is E1 and the first material information is D1, the character string formed by the first thickness value and the first material information is D1-E1 or D1&E1.
[0060] Specifically, the part information modification data table also includes the second thickness value before modification and the second material information before modification of each part, wherein, if the part is a non-sheet metal part, the thickness value corresponding to the target part is 0. The above-mentioned character string-based update of the part consisting of the thickness value and material information in the name attribute of the target part may include the following two forms: 1) directly replacing the part consisting of the thickness value and material information, that is, modifying the second thickness value before modification in the name attribute of the target part to the first thickness value after modification, modifying the second material information before modification to the first material information after modification, and updating the name attribute of the part to ABC-D1-E1 or A&B&C&D&E; 2) directly replacing the part consisting of the thickness value and material information, that is, modifying the second thickness value before modification in the name attribute of the target part to the first thickness value after modification, modifying the second material information before modification to the first material information after modification, and updating the name attribute of the part to ABCDE-D1-E1 or A&B&C&D&E&D1&E1.
[0061] Further, according to one embodiment of the present invention, Figure 2 As shown in the figure, after updating the thickness value and material information in the name attribute of the target part based on the string, it also includes:
[0062] S201, obtaining a second thickness value of the target part before modification from a part information modification data table according to the ID of the target part.
[0063] S202, obtaining a difference between the first thickness value and the second thickness value, and marking a name attribute of a component corresponding to the target part as the difference.
[0064] That is, the name attribute of the component corresponding to the target part is marked as the difference between the first thickness value and the second thickness value.
[0065] Further, according to one embodiment of the present invention, Figure 2 As shown in the figure, the name attribute of the component corresponding to the target part is marked as a difference value, including:
[0066] S203, identifying whether there is a component marked as a difference in the CAE model.
[0067] S204: If there is no component marked as a difference in the CAE model, a component is generated for the target part and marked as a difference.
[0068] That is, when it is identified that there is no assembly marked as a difference in the CAE model, an assembly is generated for the target part and marked as a difference, that is, the name of the assembly is named as the difference. Further, the part with modified material information is added to the assembly.
[0069] When a component marked as a difference is identified in the CAE model, a new component is no longer created, and the part with modified material information is directly added to the component.
[0070] Further, according to an embodiment of the present invention, after the portion of the name attribute of the target part consisting of the thickness value and the material information is updated based on the character string, the method further includes: hiding the target part whose name attribute has been updated.
[0071] That is to say, after the portion of the target part's name attribute consisting of the thickness value and material information is updated based on the string, the target part with the updated name attribute is also hidden, so that the user can intuitively understand whether there are any target parts that have not been updated, and thus manually update the part information of the target parts that have not been updated or restart the automatic update process in time.
[0072] Furthermore, according to an embodiment of the present invention, it also includes: selecting one ID at a time as the ID of the target part according to the order of the IDs of the parts in the part information modification data table.
[0073] It should be understood that the ID of the target part corresponds one-to-one to the order of the ID of the part in the part information modification data table.
[0074] Specifically, starting from the first ID in the part information modification data table, the part information in the CAE model corresponding to the ID is modified one by one until the part information in the CAE model corresponding to the last ID is modified, and then the part modification is finally completed.
[0075] Furthermore, according to an embodiment of the present invention, it also includes: after the last ID of the part information modification data table is used as the ID of the target part, after completing the information modification of the target part, identifying whether the CAE model still includes parts whose part information has not been modified, and if there are parts whose part information has not been modified, a reminder is given.
[0076] That is to say, after the last ID in the part information modification data table is used as the ID of the target part and the information modification of the target part is completed, when it is identified that the CAE model still includes parts with unmodified part information, a reminder is given so that the user can manually update the parts with unmodified part information in time or restart the automatic update process.
[0077] The present invention is further described below in conjunction with the accompanying drawings and embodiments. The method for modifying part information based on CAE proposed in the present invention is based on Tcl / Tk language and CAE analysis pre-processing software, such as Figure 3 The specific steps are as follows:
[0078] S1, use CAE analysis pre-processing software to import the CAE model of the part information that needs to be modified.
[0079] S2, calling a part information modification data table, wherein the part information modification data table includes an identification ID of each part, a modified first thickness value, and a modified first material information.
[0080] Specifically, the part information modification data table also includes the second thickness value before modification and the second material information before modification of each part.
[0081] S3, count the number of part IDs in the part information modification data table and assign it to variable n.
[0082] S4, determine whether the loop variable i is less than or equal to the variable n, if yes, proceed to the next step, if not, execute step S12.
[0083] In the present application, the loop variable i starts taking values from 1 until i takes the value of n. Through this loop execution method, the information of the part corresponding to each ID is modified, that is, the information is modified starting from the part corresponding to the first ID until the information of the part corresponding to the last ID is modified.
[0084] S5, locating the target part in the CAE model according to the ID of the target part.
[0085] S6, modifying the thickness value and material information of the target part in the CAE model by using the first thickness value and the first material information corresponding to the ID of the target part.
[0086] S7, using the first thickness value and the first material information to form a character string, and based on the character string, updating the portion of the name attribute of the target part consisting of the thickness value and the material information.
[0087] S8, according to the ID of the target part, obtain the second thickness value of the target part before modification from the part information modification data table, obtain the difference between the first thickness value and the second thickness value, and mark the name attribute of the component corresponding to the target part as the difference.
[0088] S9, determining whether there is a component marked as a difference in the CAE model, if yes, executing step S11; if no, proceeding to the next step.
[0089] S10, a component is generated for the target part and marked as a difference.
[0090] S11, hiding the target part whose name attribute has been updated, and executing step S4.
[0091] S12, prompting that the parts information update is completed or failed.
[0092] In summary, according to the CAE-based method for modifying part information according to an embodiment of the present invention, the CAE analysis pre-processing software is used to import the CAE model of the part information to be modified, and the part information modification data table is called, wherein the part information modification data table includes the identification ID of each part, the modified first thickness value and the modified first material information, and then, an ID is selected from the part information modification data table as the ID of the target part whose part information needs to be modified, and according to the ID of the target part, the target part in the CAE model is located, and then, the first thickness value and the first material information corresponding to the ID of the target part are used to modify the thickness value and the material information of the target part in the CAE model, thereby realizing the automatic modification of the part thickness value and the material information, greatly shortening the modification time, and at the same time, reducing the probability of error, ensuring accurate modification and updating.
[0093] Figure 4 FIG. 4 is a block diagram of a system for modifying part information based on CAE according to an embodiment of the present invention.
[0094] like Figure 4As shown, the system 1000 for modifying part information based on CAE includes: an import module 101, a calling module 102, a selection module 103, a positioning module 104 and a modification module 105.
[0095] Among them, the import module 101 is used to import the CAE model whose part information needs to be modified; the calling module 102 is used to call the part information modification data table, wherein the part information modification data table includes the identification ID of each part, the modified first thickness value and the modified first material information; the selection module 103 is used to select an ID from the part information modification data table as the ID of the target part whose part information needs to be modified; the positioning module 104 is used to locate the target part in the CAE model according to the ID of the target part; the modification module 105 is used to modify the thickness value and material information of the target part in the CAE model using the first thickness value and the first material information corresponding to the ID of the target part.
[0096] Therefore, the CAE-based system for modifying part information in the embodiment of the present invention realizes the automatic modification of part thickness value and material information, greatly shortens the modification time, and at the same time reduces the error probability, ensuring accurate modification and updating.
[0097] Further, according to one embodiment of the present invention, Figure 5 As shown, the system 1000 for modifying part information based on CAE further includes: a marking module 106 .
[0098] Among them, the marking module 106 is used to obtain the vehicle model, version number, material information and thickness value corresponding to each part in the CAE model according to the part ID, and use the vehicle model, ID, version number, material information and thickness value corresponding to the part to form the name attribute of the part and mark it in the CAE model.
[0099] Further, according to one embodiment of the present invention, Figure 5 As shown, the system 1000 for modifying part information based on CAE further includes: an updating module 107 .
[0100] The updating module 107 is used to use the first thickness value and the first material information to form a character string, and based on the character string, update the part of the name attribute of the target part composed of the thickness value and the material information.
[0101] Further, according to one embodiment of the present invention, Figure 5 As shown, the system 1000 for modifying part information based on CAE further includes: an acquisition module 108 .
[0102] Among them, the acquisition module 108 is used to obtain the second thickness value of the target part before modification from the part information modification data table according to the ID of the target part; the marking module 106 is also used to obtain the difference between the first thickness value and the second thickness value, and mark the name attribute of the component corresponding to the target part as the difference.
[0103] Further, according to one embodiment of the present invention, Figure 5 As shown, the system 1000 for modifying part information based on CAE further includes: an identification module 109 .
[0104] The identification module 109 is used to identify whether there is a component marked as a difference in the CAE model; the marking module 106 is also used to generate a component for the target part and mark it as a difference if there is no component marked as a difference in the CAE model.
[0105] Further, according to an embodiment of the present invention, the updating module 107 is also used to hide the target part whose name attribute has been updated.
[0106] Further, according to an embodiment of the present invention, the selection module 103 is also used to select one ID at a time as the ID of the target part according to the order of the IDs of the parts in the part information modification data table.
[0107] Further, according to one embodiment of the present invention, Figure 5 As shown, the system 1000 for modifying part information based on CAE further includes: a reminder module 110 .
[0108] Among them, the reminder module 110 is used to identify whether the CAE model still includes parts with unmodified part information after completing the information modification of the target part by using the last ID in the part information modification data table as the ID of the target part, and to give a reminder if there are parts with unmodified part information.
[0109] Further, according to an embodiment of the present invention, the part information modification data table also includes the second thickness value before modification and the second material information before modification of each part.
[0110] It should be noted that the system for modifying part information based on CAE in the embodiment of the present invention corresponds one to one with the specific implementation manner of the method for modifying part information based on CAE in the aforementioned embodiment of the present invention, and will not be described in detail here.
[0111] In summary, according to the CAE-based system for modifying part information according to an embodiment of the present invention, the CAE model of the part information to be modified is imported through the import module and the part information modification data table is called through the calling module, wherein the part information modification data table includes the identification ID of each part, the modified first thickness value and the modified first material information, and then, an ID is selected from the part information modification data table as the ID of the target part whose part information needs to be modified through the selection module, and the target part in the CAE model is located according to the ID of the target part through the positioning module, so that the first thickness value and the first material information corresponding to the ID of the target part are used through the modification module to modify the thickness value and material information of the target part in the CAE model, thereby realizing the automatic modification of the part thickness value and material information, greatly shortening the modification time, and at the same time, reducing the probability of error, ensuring accurate modification and updating.
[0112] Based on the same inventive concept, an embodiment of the present invention further provides an electronic device corresponding to the aforementioned CAE-based method for modifying part information.
[0113] Specifically, the electronic device proposed according to the embodiment of the present invention includes: a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, a specific implementation method corresponding to the aforementioned CAE-based method for modifying part information can be implemented.
[0114] According to the electronic device of the embodiment of the present invention, the aforementioned CAE-based method for modifying part information is adopted to realize batch and automatic modification of part names, thereby greatly shortening the modification time of part information and reducing the replacement error rate, thereby ensuring accurate replacement and updating of part names.
[0115] Since the electronic device introduced in the embodiment of the present invention is an electronic device used to implement the aforementioned method for modifying part information based on CAE in the embodiment of the present invention, based on the method introduced in the embodiment of the present invention, the person skilled in the art can understand the specific structure and deformation of the electronic device, so it is not repeated here. All electronic devices used in the above method in the embodiment of the present invention belong to the scope of protection of the present invention.
[0116] Based on the same inventive concept, an embodiment of the present invention further provides a computer-readable storage medium corresponding to the aforementioned CAE-based method for modifying part information.
[0117] Specifically, a computer-readable storage medium proposed in an embodiment of the present invention stores a computer program thereon, and when the program is executed by a processor, a specific implementation method corresponding one-to-one to the aforementioned CAE-based method for modifying part information can be implemented.
[0118] According to the computer-readable storage medium of an embodiment of the present invention, the aforementioned CAE-based method for modifying part information is adopted to realize batch and automatic modification of part names, thereby greatly shortening the modification time of part information and, at the same time, reducing the replacement error rate and ensuring accurate replacement and updating of part names.
[0119] Since the computer-readable storage medium introduced in the embodiment of the present invention is a computer-readable storage medium used to implement the aforementioned method for modifying part information based on CAE in the aforementioned embodiment of the present invention, based on the method introduced in the aforementioned embodiment of the present invention, those skilled in the art can understand the specific structure and deformation of the computer-readable storage medium, so it is not repeated here. All computer-readable storage media used in the above method in the embodiment of the present invention belong to the scope of protection of the present invention.
[0120] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0121] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0122] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present invention belong.
[0123] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0124] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0125] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0126] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0127] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.
[0128] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.
[0129] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0130] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0131] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A method for modifying part information based on CAE, characterized in that: include: Use CAE analysis pre-processing software to import the CAE model of the part information that needs to be modified; Calling a part information modification data table, wherein the part information modification data table includes an identification ID of each part, a modified first thickness value, and modified first material information; Select an ID from the part information modification data table as the ID of the target part whose part information needs to be modified; According to the ID of the target part, locate the target part in the CAE model; Using the first thickness value and the first material information corresponding to the ID of the target part, modifying the thickness value and the material information of the target part in the CAE model; For each part in the CAE model, according to the ID of the part, the vehicle model, version number, material information and thickness value corresponding to the part are obtained, and the vehicle model, ID, version number, material information and thickness value corresponding to the part are used to form a name attribute of the part, and marked in the CAE model; The method further comprises: using the first thickness value and the first material information to form a character string, and updating the portion of the name attribute of the target part consisting of the thickness value and the material information based on the character string; after updating the portion of the name attribute of the target part consisting of the thickness value and the material information based on the character string, the method further comprises: According to the ID of the target part, obtaining the second thickness value of the target part before modification from the part information modification data table; Obtaining a difference between the first thickness value and the second thickness value, and marking a name attribute of a component corresponding to the target part as the difference; marking the name attribute of the component corresponding to the target part as the difference, comprises: identifying whether there is a component marked as the difference in the CAE model; If the component marked as the difference does not exist in the CAE model, a component is generated for the target part and marked as the difference.
2. The method according to claim 1, characterized in that After the part consisting of the thickness value and the material information in the name attribute of the target part is updated based on the character string, the method further includes: The target part after updating the name attribute is hidden.
3. The method according to any one of claims 1 to 2, characterized in that: Also includes: According to the order of the IDs of the parts in the part information modification data table, one ID is selected one by one as the ID of the target part.
4. The method according to claim 3, characterized in that: Also includes: After the last ID of the part information modification data table is used as the ID of the target part and the information modification of the target part is completed, it is identified whether the CAE model still includes parts with unmodified part information. If there are parts with unmodified part information, a reminder is given.
5. The method according to any one of claims 1-2, characterized in that: The part information modification data table also includes the second thickness value before modification and the second material information before modification of each part.
6. A system for modifying part information based on CAE, characterized in that: include: Import module, used to import CAE models that need to modify part information; A calling module, used for calling a part information modification data table, wherein the part information modification data table includes an identification ID of each part, a modified first thickness value and a modified first material information; A selection module, used to select an ID from the part information modification data table as the ID of a target part whose part information needs to be modified; A positioning module, used for positioning the target part in the CAE model according to the ID of the target part; A modification module, configured to modify the thickness value and material information of the target part in the CAE model by using the first thickness value and the first material information corresponding to the ID of the target part; a marking module, for obtaining, for each part in the CAE model, a vehicle model, a version number, material information and a thickness value corresponding to the part according to the ID of the part, and using the vehicle model, ID, version number, material information and thickness value corresponding to the part to form a name attribute of the part, and marking it in the CAE model; An updating module, configured to use the first thickness value and the first material information to form a character string, and to update a portion of the name attribute of the target part consisting of the thickness value and the material information based on the character string; An acquisition module, used for acquiring the second thickness value of the target part before modification from the part information modification data table according to the ID of the target part; The marking module is further used to obtain a difference between the first thickness value and the second thickness value, and mark the name attribute of the component corresponding to the target part as the difference; the CAE-based system for modifying part information also includes: an identification module, used for identifying whether there is a component marked as the difference in the CAE model; The marking module is also used to generate a component for the target part and mark it as the difference if there is no component marked as the difference in the CAE model.
7. The system according to claim 6, characterized in that The updating module is also used to hide the target part after updating the name attribute.
8. The system according to any one of claims 6 to 7, characterized in that: The selection module is also used to select one ID at a time as the ID of the target part according to the order of the IDs of the parts in the part information modification data table.
9. The system according to claim 8, characterized in that The CAE-based system for modifying part information further includes: The reminder module is used to identify whether the CAE model still includes parts whose part information has not been modified after the last ID in the part information modification data table is used as the ID of the target part and the information of the target part is modified. If there are parts whose part information has not been modified, a reminder is given.
10. The system according to any one of claims 6 to 7, characterized in that: The part information modification data table also includes the second thickness value before modification and the second material information before modification of each part.
11. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for modifying a part name based on CAE as described in any one of claims 1 to 5 is implemented.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Variant design method of meeting engineering constraint conditions
CN105718629A