CN112307589A - Unit working condition creating method and device, electronic equipment and storage medium - Google Patents

Unit working condition creating method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112307589A
CN112307589A CN201910703255.7A CN201910703255A CN112307589A CN 112307589 A CN112307589 A CN 112307589A CN 201910703255 A CN201910703255 A CN 201910703255A CN 112307589 A CN112307589 A CN 112307589A
Authority
CN
China
Prior art keywords
node
unit
creating
initial
loading
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910703255.7A
Other languages
Chinese (zh)
Other versions
CN112307589B (en
Inventor
尹国保
祝丹晖
何晓嵩
陈超
李统军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BYD Co Ltd
Original Assignee
BYD Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN201910703255.7A priority Critical patent/CN112307589B/en
Publication of CN112307589A publication Critical patent/CN112307589A/en
Application granted granted Critical
Publication of CN112307589B publication Critical patent/CN112307589B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a unit working condition creating method, a unit working condition creating device, electronic equipment and a storage medium, wherein the method comprises the steps of reading loading information in a loading data table; according to the loading information, an initial node is created on an initial model of a working condition to be created; adding load information on each initial node according to a pre-generated load set to obtain a target model; and creating unit working conditions according to the target model. The invention can automatically create unit working conditions, avoid errors caused by manually creating the unit working conditions, effectively reduce labor cost, improve the creating efficiency of the unit working conditions, improve the creating effect and improve the analysis simulation precision and efficiency of CAE.

Description

Unit working condition creating method and device, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of vehicles, in particular to a unit working condition creating method and device, electronic equipment and a storage medium.
Background
When Computer Aided Engineering (CAE) finite element analysis modeling is performed, for example, CAE modeling analysis is adopted to simulate parameters such as structural strength, fatigue damage and structural optimization of the whole vehicle and parts thereof, and when the modeling analysis is performed, unit working conditions are generally created and corresponding loads are distributed to calculate the stress magnitude and distribution of a structural model of the vehicle, so that the problem of vehicle driving caused by unreasonable design can be avoided.
In the related art, unit working conditions are manually created and distributed, and then CAE modeling analysis is performed.
In this way, the method for manually creating the unit working condition needs complicated and repeated operations, has large workload, is easy to have problems of error, leakage and the like, and influences the CAE analysis result.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art.
Therefore, the invention aims to provide a unit working condition creating method, a unit working condition creating device, electronic equipment and a storage medium, which can automatically create unit working conditions, avoid errors caused by manual creation of the unit working conditions, effectively reduce labor cost, improve the creating efficiency of the unit working conditions, improve the creating effect and improve the analysis simulation precision and efficiency of CAE.
In order to achieve the above object, an embodiment of the invention provides a unit operating condition creating method, including: reading loading information in a loading data table; according to the loading information, an initial node is created on an initial model of a working condition to be created; adding load information on each initial node according to a pre-generated load set to obtain a target model; and creating unit working conditions according to the target model.
According to the unit working condition creating method provided by the embodiment of the first aspect of the invention, the loading information in the loading data table is read, the initial nodes are created on the initial model of the working condition to be created according to the loading information, the load information is added on each initial node according to the pre-generated load set to obtain the target model, and the unit working condition is created according to the target model, so that the unit working condition can be automatically created, the error caused by manually creating the unit working condition is avoided, the labor cost is effectively reduced, the unit working condition creating efficiency is improved, the creating effect is improved, and the analysis simulation precision and efficiency of the CAE are improved.
In order to achieve the above object, an embodiment of a second aspect of the present invention provides a unit operating condition creating apparatus, including: the reading module is used for reading the loading information in the loading data table; the first establishing module is used for establishing an initial node on an initial model of a working condition to be established according to the loading information; the first adding module is used for adding load information on each initial node according to a pre-generated load set to obtain a target model; and the second creating module is used for creating unit working conditions according to the target model.
According to the unit working condition creating device provided by the embodiment of the second aspect of the invention, the loading information in the loading data table is read, the initial nodes are created on the initial model of the working condition to be created according to the loading information, the load information is added on each initial node according to the pre-generated load set to obtain the target model, and the unit working condition is created according to the target model, so that the unit working condition can be automatically created, the error caused by manually creating the unit working condition is avoided, the labor cost is effectively reduced, the unit working condition creating efficiency is improved, the creating effect is improved, and the analysis simulation precision and efficiency of the CAE are improved.
In order to achieve the above object, an electronic device according to a third embodiment of the present invention includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor executes the computer program to implement the unit operation condition creating method as described above.
According to the electronic device provided by the embodiment of the third aspect of the invention, the loading information in the loading data table is read, the initial nodes are created on the initial model of the working condition to be created according to the loading information, the load information is added on each initial node according to the pre-generated load set to obtain the target model, and the unit working condition is created according to the target model, so that the unit working condition can be automatically created, errors caused by manual creation of the unit working condition are avoided, the labor cost is effectively reduced, the creating efficiency of the unit working condition is improved, the creating effect is improved, and the analysis simulation precision and efficiency of the CAE are improved.
To achieve the above object, a computer-readable storage medium according to a fourth aspect of the present invention is a computer program stored thereon, wherein the computer program is configured to, when executed by a processor, implement: the embodiment of the first aspect of the invention provides a unit working condition creating method.
According to the computer-readable storage medium provided by the embodiment of the fourth aspect of the invention, the loading information in the loading data table is read, the initial nodes are created on the initial model of the working condition to be created according to the loading information, the load information is added to each initial node according to the pre-generated load set to obtain the target model, and the unit working condition is created according to the target model, so that the unit working condition can be automatically created, the error caused by manually creating the unit working condition is avoided, the labor cost is effectively reduced, the creating efficiency of the unit working condition is improved, the creating effect is improved, and the analysis simulation precision and efficiency of the CAE are improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a schematic flow chart of a unit operating condition creating method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a unit operating condition creation method according to another embodiment of the present invention;
fig. 3 is a schematic structural diagram of a unit operating condition creating device according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a unit operation condition creating apparatus according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention. On the contrary, the embodiments of the invention include all changes, modifications and equivalents coming within the spirit and terms of the claims appended hereto.
In order to solve the technical problems that the CAE analysis result is influenced by the problems that a method for manually creating unit working conditions needs complicated and repeated operation, the workload is large, mistakes and omissions are easy to occur and the like in the related technology, the embodiment of the invention provides a unit working condition creating method.
Fig. 1 is a schematic flow chart of a unit operating condition creating method according to an embodiment of the present invention.
The present embodiment is exemplified in a case where the unit condition creation method is configured as a unit condition creation device.
The unit operating condition creating method in this embodiment may be configured in the unit operating condition creating device, and the unit operating condition creating device may be disposed in the server, or may also be disposed in the electronic device, which is not limited in this embodiment of the present invention.
The unit working condition creating device in the embodiment is applied to CAE analysis, and specifically, can be applied to HyperMesh of an application program before CAE analysis.
Referring to fig. 1, the method includes:
s101: and reading the loading information in the loading data table.
The loading data table may be configured in advance, the loading data table may include some loading information required for creating unit working conditions, for example, the loading information is loading point coordinates and tag information, for example, a CAE modeling analyst may configure the loading point coordinates and the tag information according to actual analysis requirements, and generate the loading data table according to the configured loading point coordinates and the tag information.
As an example, the loading information in the loading data table may be loading point coordinates and label information, the loading point coordinates correspond to the label information one to one, and the number of the loading point coordinates is the same as the number of the label information, where the loading point coordinates may be used to describe coordinate values of the entire vehicle or each component in the vehicle in the world coordinate system, and the label information may be used to describe information associated with each loading point, and the label information is, for example, information such as names of the corresponding components in the vehicle, and the like, which is not limited herein.
In a specific execution process, the loading information is stored in a loading data table, the format of the loading data table can be a CSV format, an Excel format, a txt format and the like, and after a CAE model needing to create unit working conditions is imported into a CAE preprocessing application program Hypermesh, the loading information in the loading data table, namely the loading coordinate points and corresponding label information, can be automatically read by the application program Hypermesh.
When the loading information in the loading data table is read, the embodiment of the invention can call the preset application programming interface and execute the corresponding script file so as to automatically read the loading information in the loading data table.
In the embodiment of the invention, the coordinates of the loading point and the loading information are written into the loading data table in advance, and during specific execution, the Hypermesh application program can be triggered to automatically acquire the corresponding loading information in a form of reading the loading data table, so that the execution efficiency of unit working condition creation can be ensured.
S102: and according to the loading information, creating an initial node on the initial model of the working condition to be created.
The initial model is an initial CAE model to which no initial node is added, and the CAE model may be specifically a CAE mesh model.
In the initial stage, the node created on the initial model according to the coordinates of the load point may be referred to as an initial node.
In the embodiment of the invention, before the loading information in the loading data table is read, the initial model of the working condition to be created can be imported into the CAE preprocessing application program Hypermesh, then the loading information in the loading data table is read, and the initial node is created on the initial model of the working condition to be created according to the loading information.
Optionally, in the embodiment of the present invention, the coordinates of the loading point correspond to coordinates of an actual spatial position of the loading point on the vehicle in a world coordinate system, that is, in the embodiment of the present invention, coordinates in the world coordinate system may be used to describe coordinates of each loading point in an initial CAE model corresponding to the vehicle, the world coordinate system is a reference coordinate system of the system, the coordinates in the world coordinate system are used to describe coordinates of the loading point, and an obtained coordinate value of the loading point is an absolute value, so that stability of data can be ensured, and execution efficiency of creating unit operating conditions can be guaranteed.
Therefore, in the embodiment of the present invention, when an initial node is created on an initial model of a to-be-created working condition according to loading information, a plurality of loading point coordinates may be determined according to the loading information, then the initial model of the to-be-created working condition is mapped to a world coordinate system, then loading points corresponding to the loading point coordinates are determined on the initial model by using the loading point coordinates, and then the determined plurality of loading points are used as the initial node, which is not limited in this respect.
S103: and adding load information on each initial node according to a pre-generated load set to obtain a target model.
It can be understood that, in the process of creating the actual unit operating condition, corresponding loads are generally allocated to calculate the magnitude and distribution of the stress applied to the structural model of the vehicle, that is, corresponding loads are allocated to each initial node in the initial CAE model.
In the embodiment of the invention, load information can be automatically added to each initial node according to a pre-generated load set, and the initial CAE model added with the load information is taken as a target model.
In the embodiment of the present invention, since the initial nodes are created corresponding to the world coordinate system, load information corresponding to different coordinate directions in the world coordinate system may be added for each initial node, and the load information in the different coordinate directions may be written into corresponding load sets in advance.
The load sets may be preconfigured, for example, different load sets may be created in advance by CAE modeling analysts according to actual analysis requirements, so that the different load sets correspond to different coordinate directions in the world coordinate system, and each load set includes load information in the same coordinate direction.
The load information may include, for example: unit load and unit moment, which are not limited.
Because the load information with concentrated load is a set of load information obtained by analyzing the external force applied to the structures or components of the vehicles and parts thereof in the actual vehicle production and summarizing and analyzing other factors, when the unit working condition is automatically established, the corresponding script file is directly executed to call and read the load information from the storage, the CAE model can be rapidly generated, the load information can be reused, the load information does not need to be manually added to each initial node, and the model generation efficiency is improved.
S104: and creating unit working conditions according to the target model.
In the specific execution process, a preset application programming interface is called, and a corresponding script file is executed to create a unit working condition according to the target model, and then the unit working condition can be used for CAE modeling analysis.
In some embodiments, when the unit operating conditions are created according to the target model, a corresponding unit operating condition may be created for each initial node, so that the corresponding unit operating conditions can simulate the behavior of the vehicle under the load information of the corresponding initial node.
In the specific implementation process of the embodiment of the invention, a first unit working condition can be created according to the load information of the target model in the first coordinate direction, the first unit working condition corresponds to the first coordinate direction, the first coordinate direction is any one of a plurality of coordinate directions, and the corresponding unit working condition can be automatically generated according to the load information corresponding to different directions on each coordinate point, so that errors caused by adding load information manually can be avoided, the labor cost can be effectively reduced, and the creating efficiency of the unit working condition can be improved.
In the embodiment, the loading information in the loading data table is read, the initial nodes are created on the initial model of the working condition to be created according to the loading information, the load information is added to each initial node according to the pre-generated load set to obtain the target model, and the unit working condition is created according to the target model, so that the unit working condition can be automatically created, errors caused by manually creating the unit working condition are avoided, the labor cost is effectively reduced, the creating efficiency of the unit working condition is improved, the creating effect is improved, and the analysis simulation precision and efficiency of the CAE are improved.
Fig. 2 is a schematic flow chart of a unit operating condition creating method according to another embodiment of the present invention.
Referring to fig. 2, the method includes:
s201: and starting a Hypermesh application program, importing an initial model of a working condition to be created, and configuring a corresponding counting variable.
In a specific execution process, when unit working conditions need to be created, an application program Hypermesh can be started, an initial model of the unit working conditions need to be created is introduced, the initial model is a CAE initial model, the unit working conditions can be added into the CAE initial model and used for analyzing the stress condition and the wear resistance of the vehicle and parts thereof, and then corresponding counting variables are configured.
S202: reading a loading point coordinate in the loading data table, writing the times of reading the loading point coordinate into the counting variable, and updating the counting variable by reading the times of reading other loading point coordinates when reading other loading point coordinates subsequently.
In the embodiment, the counting variable is configured to count each read loading point coordinate, so that the number of the loading point coordinates added to the initial model can be effectively known, the number of the loading points added to the initial model can be clearly presented, and the accuracy of unit working condition creation is improved.
S203: and according to the coordinates of the loading points, creating corresponding initial nodes in the initial model of the working condition to be created, and adding the label information to the corresponding initial nodes.
In a specific execution process, the initial node is a node to be added with load information, coordinates of the initial node correspond to coordinates of a loading point, the application program HyperMesh is started, and after a CAE initial model is created, the application program can be controlled to automatically read loading information in a loading data table, wherein the loading information can include: and adding a plurality of initial nodes at corresponding coordinate positions in the CAE initial model according to the coordinates of the plurality of loading points and the label information.
Further, information such as names of the respective parts of the vehicle is added to the corresponding initial nodes. The coordinates of the loading points correspond to the label information one to one, the positions of the initial nodes are determined by the coordinates of the loading points, the label information is added to the corresponding initial nodes, modification of the loading information is facilitated, the coordinates of the loading points are modified when the coordinates of the loading points are wrong, the corresponding label information is modified when the corresponding label information is wrong, flexible modification of the loading information on the initial nodes is facilitated, and the accuracy and flexibility of initial node creation are improved.
S204: and adding load information in the corresponding coordinate direction to each initial node according to each load set.
S205: and creating a first unit working condition according to the load information of the target model in the first coordinate direction, wherein the first unit working condition corresponds to the first coordinate direction, and the first coordinate direction is any one of the multiple coordinate directions.
In a specific implementation process, corresponding load information is added to the directions of x, y, z, the moment around the x axis, the moment around the y axis, and the moment around the z axis at the initial node, and the load information may be the nature and magnitude of the force in the direction, which is not limited to this.
In the multiple initial nodes, each initial node can correspond to load information in six directions, a pre-generated load set is added before a program is executed, when the load information is added, data in the load set is automatically called, the load information is added to the initial nodes, the load information can be automatically added to the initial nodes, errors caused by manual load information addition are reduced, the efficiency of adding the load information to the initial nodes is improved, and further the unit working condition creating efficiency is improved.
S206: a set of loads in a first coordinate direction is associated with a first unit condition corresponding to the first coordinate direction.
In the embodiment, load information is added in a plurality of coordinate directions of a plurality of initial nodes, the load information is associated with unit working conditions to obtain the unit working conditions in the direction, the plurality of unit working conditions are analyzed to obtain information such as structural strength and fatigue damage of the vehicle and parts of the vehicle, the position of a possible risk in the vehicle can be determined efficiently, the risk of the vehicle caused by unreasonable design is avoided, and the reliability and stability of the vehicle are improved.
S207: and searching other nodes in a space range covered by the sphere by taking the coordinate position of each initial node as the central point of the sphere and taking the distance threshold as the radius of the sphere, determining the number of the searched other nodes, adjusting the node identification in the node list according to the number, and determining that the establishment of unit working conditions is completed when the adjusted node list does not contain the node identification.
Specifically, the coordinates of the initial nodes are used as the sphere centers, corresponding nodes are searched in the CAE network model within a sphere space range with a certain threshold value as the radius, when the number of the searched nodes is 1, the established initial nodes are judged to be matched with the nodes in the searched CAE network model, the establishment accuracy of the initial nodes is determined, the establishment errors are reduced, when the number of the searched nodes in the CAE network model is not 1, the searched identifiers of other nodes can be added to a node list, relevant verification operation can be adopted subsequently to verify the established initial nodes, the establishment accuracy can be effectively guaranteed, and the established initial nodes are matched with the nodes in the CAE network model.
In this embodiment, to determine whether the establishment of the unit operating condition is completed, an output condition is set for the program, and when only one initial node exists in a certain three-dimensional region centered on the initial node in the three-dimensional coordinate system based on the mutual distance between the initial nodes in the target model, the establishment of the unit operating condition can be determined to be completed.
As an example, the application program is provided with a number adjustment node list, detects the certain three-dimensional area with the initial node as the center, determines the number of nodes existing in the area, if the number of the determined nodes is 1, does not add the node identifier of the searched node to the node list, and determines that the searched node is the initial node serving as the center point of the sphere, if the number of the determined nodes is not 1, adds the node identifier of the searched node to the node list, and clearly shows whether the initial node meets the condition of creating the unit working condition by determining the content in the node list.
As an example, the specific method of creating the unit work condition is as follows, and the program is created based on the Tcl/Tk language, which is not limited to the above.
1. Preparing a loading data table;
2. opening a CAE analysis pretreatment application program Hypermesh, and importing a CAE model needing to create unit working conditions;
3. setting a variable node _ id _ list and setting an initial value of the variable node _ id _ list to be null;
4. extracting the coordinates of the loading points and the label information in the loading data table, and counting the number n of the loading points and the label information;
5. when the loop variable i is 1, creating a temporary node according to the 1 st loading point coordinate;
6. when a cyclic variable j is 1, creating a load set named as Force _ X _1, adding unit loads in the direction X of the temporary node, storing the unit loads in the Force _ X _1 load set, creating a working condition named as Loadstep _ X _1, and associating the working condition with the Force _ X _1 load set;
7. when a cyclic variable j is 2, creating a load set named as Force _ Y _1, adding unit loads to the Y direction of the temporary node, storing the unit loads in the Force _ Y _1 load set, creating a working condition named as Loadstep _ Y _1, and associating the working condition with the Force _ Y _1 load set;
8. when a cyclic variable j is 3, creating a load set named as Force _ Z _1, adding unit loads in the Z direction of the temporary node, storing in the Force _ Z _1 load set, creating a working condition named as Loadstep _ Z _1, and associating with the Force _ Z _1 load set;
9. when the cyclic variable j is 4, creating a load set named Moment _ X _1, adding unit Moment to the X direction of the temporary node, storing the unit Moment in the load set named Moment _ X _1, creating a working condition named Loadstep _ MX _1, and associating the working condition with the load set named Moment _ X _ 1;
10. when the cyclic variable j is 5, creating a load set named Moment _ Y _1, adding unit Moment to the Y direction of the temporary node, storing the unit Moment in the load set named Moment _ Y _1, creating a working condition named Loadstep _ MY _1, and associating the working condition with the load set named Moment _ Y _ 1;
11. when the cyclic variable j is 6, creating a load set named Moment _ Z _1, adding unit Moment to the Z direction of the temporary node, storing the unit Moment in the Moment _ Z _1 load set, creating a working condition named Loadstep _ MZ _1, and associating the working condition with the Moment _ Z _1 load set;
12. adding the 1 st tag information to the temporary node;
13. searching nodes around the temporary node by taking the temporary node as a sphere center and 1.5 as a sphere radius, merging the temporary node and the searched nodes if the number of the searched nodes is 1, and adding the ID of the temporary node to a variable node _ ID _ list if the number of the searched nodes is 0 or more than 2;
14. when the loop variable i is 2, creating a temporary node according to the 2 nd loading point coordinate;
15. when a cyclic variable j is 1, creating a load set named as Force _ X _2, adding unit loads in the direction X of the temporary node, storing the unit loads in the Force _ X _2 load set, creating a working condition named as Loadstep _ X _2, and associating the working condition with the Force _ X _2 load set;
16. when a cyclic variable j is 2, creating a load set named as Force _ Y _2, adding unit loads to the Y direction of the temporary node, storing the unit loads in the Force _ Y _2 load set, creating a working condition named as Loadstep _ Y _2, and associating the working condition with the Force _ Y _2 load set;
17. when a cyclic variable j is 3, creating a load set named as Force _ Z _2, adding unit loads in the Z direction of the temporary node, storing in the Force _ Z _2 load set, creating a working condition named as Loadstep _ Z _2, and associating with the Force _ Z _2 load set;
18. when the cyclic variable j is 4, creating a load set named Moment _ X _2, adding unit Moment to the X direction of the temporary node, storing the unit Moment in the load set named Moment _ X _2, creating a working condition named Loadstep _ MX _2, and associating the working condition with the load set named Moment _ X _ 2;
19. when the cyclic variable j is 5, creating a load set named Moment _ Y _2, adding unit Moment to the Y direction of the temporary node, storing the unit Moment in the load set named Moment _ Y _2, creating a working condition named Loadstep _ MY _2, and associating the working condition with the load set named Moment _ Y _ 2;
20. when the cyclic variable j is 6, creating a load set named Moment _ Z _2, adding unit Moment to the Z direction of the temporary node, storing the unit Moment in the Moment _ Z _2 load set, creating a working condition named Loadstep _ MZ _2, and associating the working condition with the Moment _ Z _2 load set;
21. adding the 2 nd label information to the temporary node;
22. searching nodes around the temporary node by taking the temporary node as a sphere center and 1.5 as a sphere radius, merging the temporary node and the searched nodes if the number of the searched nodes is 1, and adding the ID of the temporary node to a variable node _ ID _ list if the number of the searched nodes is 0 or more than 2;
23. by analogy, when the loop variable i is equal to n, creating a temporary node according to the nth loading point coordinate;
24. when a cyclic variable j is 1, creating a load set named as Force _ X _ n, adding unit loads in the direction X of the temporary node, storing the unit loads in the Force _ X _ n load set, creating a working condition named as Loadstep _ X _ n, and associating the working condition with the Force _ X _ n load set;
25. when a cyclic variable j is 2, creating a load set named as Force _ Y _ n, adding unit loads in the Y direction of the temporary node, storing the unit loads in the Force _ Y _ n load set, creating a working condition named as Loadstep _ Y _ n, and associating the working condition with the Force _ Y _ n load set;
26. when a cyclic variable j is 3, creating a load set named as Force _ Z _ n, adding unit loads in the Z direction of the temporary node, storing in the Force _ Z _ n load set, creating a working condition named as Loadstep _ Z _ n, and associating with the Force _ Z _ n load set;
27. when the cyclic variable j is 4, creating a load set named Moment _ X _ n, adding unit Moment to the X direction of the temporary node, storing the unit Moment in the load set named Moment _ X _ n, creating a working condition named Loadstep _ MX _ n, and associating the working condition with the load set named Moment _ X _ n;
28. when the cyclic variable j is 5, creating a load set named Moment _ Y _ n, adding unit Moment to the Y direction of the temporary node, storing the unit Moment in the load set named Moment _ Y _ n, creating a working condition named Loadstep _ MY _ n, and associating the working condition with the load set named Moment _ Y _ n;
29. when the cyclic variable j is 6, creating a load set named Moment _ Z _ n, adding unit Moment to the Z direction of the temporary node, storing the unit Moment in the Moment _ Z _ n load set, creating a working condition named Loadstep _ MZ _ n, and associating the working condition with the Moment _ Z _ n load set;
30. adding the nth tag information to the temporary node;
31. searching nodes around the temporary node by taking the temporary node as a sphere center and 1.5 as a sphere radius, merging the temporary node and the searched nodes if the number of the searched nodes is 1, and adding the ID of the temporary node to a variable node _ ID _ list if the number of the searched nodes is 0 or more than 2;
32. and judging whether the variable node _ id _ list is empty or not, if so, popping the window to prompt the user that the unit working condition creation is finished, otherwise, popping the window to prompt the user that the node needing manual processing is the value in the variable node _ id _ list.
By starting the Hypermesh application program, importing the initial model of the working condition to be created, configuring a corresponding counting variable, reading a loading point coordinate in the loading data table, writing the times of reading the loading point coordinate into the counting variable, and updating the counting variable by reading the times of reading other loading point coordinates when reading other loading point coordinates subsequently, the number of the loading point coordinates added to the initial model can be effectively known, the number of the loading points added to the initial model is clearly presented, and the accuracy of creating the unit working condition is improved. According to the method, the corresponding initial node is created on the initial model of the working condition to be created according to the coordinates of the loading point, the label information is added to the corresponding initial node, modification of the loading information is facilitated, the coordinates of the loading point are modified when the coordinates of the loading point are wrong, the corresponding label information is modified when the corresponding label information is wrong, flexible modification of the loading information on the initial node is facilitated, and the accuracy and flexibility of the creation of the initial node are improved. Load information in the corresponding coordinate direction is added to each initial node according to each load set, a first unit working condition is created according to the load information of the target model in the first coordinate direction according to the plurality of initial nodes of the target model, the first unit working condition corresponds to the first coordinate direction, the first coordinate direction is any one of the plurality of coordinate directions, the load information can be automatically added to the initial nodes, errors caused by manual load information adding are reduced, the efficiency of adding the load information to the initial nodes is improved, and the efficiency of creating the unit working conditions is improved. Through with the load set on the first coordinate direction, with the first unit operating mode that corresponds with the first direction is correlated with, the position of the risk that can exist in the vehicle can be determined to the high efficiency, avoid the unreasonable vehicle risk that leads to of design, improve the reliability and the stability of vehicle. The coordinate position of each initial node is taken as the central point of the sphere, the distance threshold value is taken as the radius of the sphere, other nodes are searched in the space range covered by the sphere, the number of the searched other nodes is determined, the node identification in the node list is adjusted according to the number, and when the adjusted node list does not contain the node identification, the establishment of unit working conditions is determined to be completed, the distance between the initial nodes can be automatically judged, the judgment accuracy is improved, the judgment time is shortened, and the judgment efficiency is improved.
Fig. 3 is a schematic structural diagram of a unit operating condition creating device according to an embodiment of the present invention.
Referring to fig. 3, an apparatus 300, comprising:
a reading module 301, configured to read loading information in a loading data table;
a first creating module 302, configured to create an initial node on an initial model of a working condition to be created according to the loading information;
a first adding module 303, configured to add load information to each initial node according to a pre-generated load set to obtain a target model;
a second creating module 304 for creating unit conditions from the target model.
Optionally, in some embodiments, referring to fig. 4, fig. 4 is a schematic structural diagram of a unit operating condition creating device according to another embodiment of the present invention, where the loading information includes: a plurality of loading point coordinates, and label information corresponding to each loading point coordinate, the first creating module 302 is specifically configured to:
and creating corresponding initial nodes on the initial model of the working condition to be created according to the coordinates of each loading point.
The unit operation condition creating device 300 further includes:
and a second adding module 305, configured to add the label information to the corresponding initial node in the target model.
Optionally, in some embodiments, the unit operating condition device 300 further includes:
a starting module 306, configured to start a HyperMesh application;
an importing module 307, configured to import the initial model of the to-be-created working condition into the HyperMesh application program, and configure a corresponding counting variable;
the reading module 301 is specifically configured to:
reading a loading point coordinate in a loading data table;
and writing the times of reading the coordinates of the loading points into the counting variable, and updating the counting variable according to the times of reading the coordinates of other loading points when reading the coordinates of other loading points subsequently.
Optionally, in some embodiments, the load sets include a plurality of load sets, each load set corresponds to load information in a different coordinate direction, and the first adding module 303 is specifically configured to:
adding load information in the corresponding coordinate direction on each initial node according to each load set;
the second creating module 304 is specifically configured to:
and according to the initial node of the target model, creating a first unit working condition according to the load information in the first coordinate direction, wherein the first unit working condition corresponds to the first coordinate direction, and the first coordinate direction is any one of the multiple coordinate directions.
Optionally, in some embodiments, the apparatus 300 further comprises:
an association module 308 is configured to associate the set of loads in the first coordinate direction with a first unit condition corresponding to the first coordinate direction.
Optionally, in some embodiments, the apparatus 300 further comprises:
the searching module 309 is configured to search for other nodes in a space range covered by the sphere by using the coordinate position of each initial node as a center point of the sphere and using the distance threshold as a radius of the sphere, and determine the number of the searched other nodes;
an adjusting module 310, configured to adjust node identifiers in the node list according to the number;
the determining module 311 is configured to determine that the creation of the unit operating condition is completed when the adjusted node list does not include the node identifier.
Optionally, in some embodiments, the adjusting module 310 is specifically configured to:
judging whether the number is 1;
if the number is 1, not adding the node identification of the searched node into the node list, and determining the searched node as an initial node serving as the center point of the sphere;
and if the number is not 1, adding the node identification of the searched node into the node list.
Optionally, in some embodiments, the coordinates of the load point correspond to the coordinates of the actual spatial position of the load point on the vehicle in the world coordinate system.
It should be noted that the explanation of the embodiment of the unit operating condition creating method in the foregoing embodiments of fig. 1 to fig. 2 is also applicable to the unit operating condition creating device 300 of the embodiment, and the implementation principle thereof is similar and is not described herein again.
In the embodiment, the loading information in the loading data table is read, the initial nodes are created on the initial model of the working condition to be created according to the loading information, the load information is added to each initial node according to the pre-generated load set to obtain the target model, and the unit working condition is created according to the target model, so that the unit working condition can be automatically created, errors caused by manually creating the unit working condition are avoided, the labor cost is effectively reduced, the creating efficiency of the unit working condition is improved, the creating effect is improved, and the analysis simulation precision and efficiency of the CAE are improved.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
The electronic device 50 includes: a memory 501, a processor 502, and a computer program stored on the memory 501 and executable on the processor 502. The processor 502 executes the program to implement the unit operating condition creation method in the above-described embodiment.
In a possible implementation, the electronic device further comprises a communication interface 503 for communication between the memory 501 and the processor 502.
In the embodiment, the loading information in the loading data table is read, the initial nodes are created on the initial model of the working condition to be created according to the loading information, the load information is added to each initial node according to the pre-generated load set to obtain the target model, and the unit working condition is created according to the target model, so that the unit working condition can be automatically created, errors caused by manually creating the unit working condition are avoided, the labor cost is effectively reduced, the creating efficiency of the unit working condition is improved, the creating effect is improved, and the analysis simulation precision and efficiency of the CAE are improved.
The present embodiment also provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is configured to implement the above unit operation condition creation method when executed by a processor.
It should be noted that the terms "first," "second," and the like in the description of the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In addition, in the description of the present invention, "a plurality" means two or more unless otherwise specified.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (17)

1. A unit operation condition creation method is characterized by comprising the following steps:
reading loading information in a loading data table;
according to the loading information, an initial node is created on an initial model of a working condition to be created;
adding load information on each initial node according to a pre-generated load set to obtain a target model;
and creating unit working conditions according to the target model.
2. The unit operating condition creation method of claim 1, wherein the loading information comprises: the method for creating the initial node on the initial model of the working condition to be created according to the loading information comprises the following steps:
creating corresponding initial nodes on the initial model of the working condition to be created according to the coordinates of the loading points;
after adding load information to each initial node according to a pre-generated load set to obtain a target model, the method further comprises:
and adding the label information to the corresponding initial node in the target model.
3. The unit operating condition creation method of claim 2, wherein before reading the load information in the load data table, the method comprises:
starting a Hypermesh application program;
importing the initial model of the working condition to be created into the Hypermesh application program, and configuring corresponding counting variables;
the reading of the loading information in the loading data table comprises:
reading a loading point coordinate in the loading data table;
and writing the times of reading the coordinates of the loading points into the counting variable, and updating the counting variable according to the times of reading the coordinates of other loading points when reading the coordinates of other loading points subsequently.
4. The unit operating condition creation method according to claim 1, wherein the load sets include a plurality of load sets, each of the load sets corresponds to load information in a different coordinate direction, and adding load information to each of the initial nodes according to a pre-generated load set includes:
adding load information in the corresponding coordinate direction to each initial node according to each load set;
the creating unit working condition according to the target model comprises the following steps:
and creating a first unit working condition according to the load information of the target model in a first coordinate direction, wherein the first unit working condition corresponds to the first coordinate direction, and the first coordinate direction is any one of a plurality of coordinate directions.
5. The unit operation creation method of claim 4, further comprising:
associating a set of loads in the first coordinate direction with a first unit condition corresponding to the first direction.
6. The unit operation creation method of claim 4, further comprising:
taking the coordinate position of each initial node as the center point of a sphere, taking a distance threshold as the radius of the sphere, searching other nodes in the space range covered by the sphere, and determining the number of the other searched nodes;
adjusting the node identification in the node list according to the number;
and when the adjusted node list does not contain the node identification, determining that the creation of the unit working condition is completed.
7. The unit operating condition creation method of claim 6, wherein the adjusting node identifications in the node list according to the number comprises:
judging whether the number is 1;
if the number is 1, not adding the node identification of the searched node into the node list, and determining the searched node as an initial node serving as the center point of the sphere;
and if the number is not 1, adding the node identification of the searched node into the node list.
8. A unit operation condition creation device characterized by comprising:
the reading module is used for reading the loading information in the loading data table;
the first establishing module is used for establishing an initial node on an initial model of a working condition to be established according to the loading information;
the first adding module is used for adding load information on each initial node according to a pre-generated load set to obtain a target model;
and the second creating module is used for creating unit working conditions according to the target model.
9. The unit operation creation apparatus according to claim 8, wherein the loading information includes: the first creating module is specifically configured to:
and creating corresponding initial nodes on the initial model of the working condition to be created according to the coordinates of the loading points.
The unit operating mode creating device further comprises:
and the second adding module is used for adding the label information to the corresponding initial node in the target model.
10. The unit operation creation device according to claim 9, wherein the unit operation device further comprises:
the starting module is used for starting the Hypermesh application program;
the import module is used for importing the initial model of the working condition to be created into the Hypermesh application program and configuring corresponding counting variables;
the reading module is specifically configured to:
reading a loading point coordinate in the loading data table;
and writing the times of reading the coordinates of the loading points into the counting variable, and updating the counting variable according to the times of reading the coordinates of other loading points when reading the coordinates of other loading points subsequently.
11. The unit operating condition creating device according to claim 8, wherein the load sets include a plurality of load sets, each of the load sets corresponds to load information in a different coordinate direction, and the first adding module is specifically configured to:
adding load information in the corresponding coordinate direction to each initial node according to each load set;
the second creating module is specifically configured to:
and creating a first unit working condition according to the load information of the target model in a first coordinate direction, wherein the first unit working condition corresponds to the first coordinate direction, and the first coordinate direction is any one of a plurality of coordinate directions.
12. The unit operation creation apparatus according to claim 11, further comprising:
and the association module is used for associating the load set in the first coordinate direction with a first unit working condition corresponding to the first coordinate direction.
13. The unit operation creation apparatus according to claim 11, further comprising:
the searching module is used for searching other nodes in a space range covered by the sphere by taking the coordinate position of each initial node as the center point of the sphere and a distance threshold as the radius of the sphere, and determining the number of the searched other nodes;
the adjusting module is used for adjusting the node identifiers in the node list according to the number;
and the determining module is used for determining that the creation of the unit working condition is completed when the adjusted node list does not contain the node identification.
14. The unit operating condition creation apparatus of claim 13, wherein the adjustment module is specifically configured to:
judging whether the number is 1;
if the number is 1, not adding the node identification of the searched node into the node list, and determining the searched node as an initial node serving as the center point of the sphere;
and if the number is not 1, adding the node identification of the searched node into the node list.
15. The unit event creating device according to claim 9, wherein the coordinates of the load point correspond to coordinates of an actual spatial position of the load point on the vehicle in a world coordinate system.
16. An electronic device, comprising:
memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor implements the unit regime creation method according to any one of claims 1 to 7 when executing the program.
17. A computer-readable storage medium, on which a computer program is stored, characterized in that the program is executed by a processor to implement the unit regime creation method according to any one of claims 1-7.
CN201910703255.7A 2019-07-31 2019-07-31 Unit working condition creation method and device, electronic equipment and storage medium Active CN112307589B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910703255.7A CN112307589B (en) 2019-07-31 2019-07-31 Unit working condition creation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910703255.7A CN112307589B (en) 2019-07-31 2019-07-31 Unit working condition creation method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112307589A true CN112307589A (en) 2021-02-02
CN112307589B CN112307589B (en) 2023-11-14

Family

ID=74486306

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910703255.7A Active CN112307589B (en) 2019-07-31 2019-07-31 Unit working condition creation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112307589B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113591219A (en) * 2021-07-29 2021-11-02 重庆长安汽车股份有限公司 Multi-working-condition CAE transient fatigue analysis loading method for whole vehicle

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6510357B1 (en) * 2000-02-25 2003-01-21 Daimlerchrysler Corporation Automated welding program for full body-in-white finite element assembly
CN103870623A (en) * 2012-12-18 2014-06-18 南车青岛四方机车车辆股份有限公司 Preprocessing template for vehicle model
CN104615890A (en) * 2015-02-10 2015-05-13 北京汽车股份有限公司 Load extraction method and device under limiting working conditions
CN104933210A (en) * 2014-03-18 2015-09-23 广州汽车集团股份有限公司 Method for processing body-in-white rigidity optimization result file
CN105701305A (en) * 2016-01-18 2016-06-22 东风柳州汽车有限公司 CAE load-step automatic setting method
CN107301287A (en) * 2017-06-19 2017-10-27 武汉理工大学 The method for automatically extracting vehicle body attachment point dynamic stiffness
CN109063295A (en) * 2018-07-20 2018-12-21 北京长城华冠汽车技术开发有限公司 Nodal information optimized treatment method and device based on CAE model
CN109376378A (en) * 2018-09-10 2019-02-22 重庆长安汽车股份有限公司 A kind of Pre-and Post-processing of rapidly extracting white body installation point rigidity result

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6510357B1 (en) * 2000-02-25 2003-01-21 Daimlerchrysler Corporation Automated welding program for full body-in-white finite element assembly
CN103870623A (en) * 2012-12-18 2014-06-18 南车青岛四方机车车辆股份有限公司 Preprocessing template for vehicle model
CN104933210A (en) * 2014-03-18 2015-09-23 广州汽车集团股份有限公司 Method for processing body-in-white rigidity optimization result file
CN104615890A (en) * 2015-02-10 2015-05-13 北京汽车股份有限公司 Load extraction method and device under limiting working conditions
CN105701305A (en) * 2016-01-18 2016-06-22 东风柳州汽车有限公司 CAE load-step automatic setting method
CN107301287A (en) * 2017-06-19 2017-10-27 武汉理工大学 The method for automatically extracting vehicle body attachment point dynamic stiffness
CN109063295A (en) * 2018-07-20 2018-12-21 北京长城华冠汽车技术开发有限公司 Nodal information optimized treatment method and device based on CAE model
CN109376378A (en) * 2018-09-10 2019-02-22 重庆长安汽车股份有限公司 A kind of Pre-and Post-processing of rapidly extracting white body installation point rigidity result

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
孙静 等: "基于HyperWorks的流程自动化系统开发与应用", 《铁路计算机应用》, vol. 21, no. 12, pages 36 - 39 *
范超: "基于Tcl/Tk的HyperMesh CAE流程自动化系统的研究与开发", 《中国优秀硕士学位论文全文数据库》, pages 1 - 94 *
邢如飞 等: "动刚度分析流程自动化助力汽车底盘研发方法", 《沈阳航空航天大学学报》, pages 31 - 36 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113591219A (en) * 2021-07-29 2021-11-02 重庆长安汽车股份有限公司 Multi-working-condition CAE transient fatigue analysis loading method for whole vehicle

Also Published As

Publication number Publication date
CN112307589B (en) 2023-11-14

Similar Documents

Publication Publication Date Title
CN107273286B (en) Scene automatic test platform and method for task application
US10354031B2 (en) Information processing by interpenetrating signal transmission channel in design for testability of chip
CN114048701B (en) Netlist ECO method, device, equipment and readable storage medium
CN104252481A (en) Dynamic check method and device for consistency of main and salve databases
US10095194B2 (en) Method for configuring a test device set up for testing an electronic control unit
US8701079B2 (en) Procedure and development environment for generation of an executable overall control program
CN105224458A (en) A kind of database method of testing and system
CN105550225A (en) Index construction method and query method and apparatus
CN110162464A (en) Mcok test method and system, electronic equipment and readable storage medium storing program for executing
CN109032850B (en) Field device debugging system and field device debugging method
CN113868120A (en) Industrial software debugging method and device, computer equipment and storage medium
CN110134598B (en) Batch processing method, device and system
CN112307589B (en) Unit working condition creation method and device, electronic equipment and storage medium
CN112732237B (en) Method and system for constructing code-free development technology model
CN103186384A (en) Business-component-oriented software designing and analyzing system and using method thereof
CN110968339B (en) Method and device for front-end building tool and electronic equipment
CN113064674B (en) Method and device for expanding state machine logic, storage medium and electronic device
CN102968305B (en) Logical process method, device and evaluation system
US20190370151A1 (en) Equivalence verification apparatus and computer readable medium
CN116629015A (en) Digital twin task processing method, device, equipment and storage medium
CN116049000A (en) Environment parameter configuration method, device, equipment, storage medium and product
CN112130962B (en) Continuous delivery platform and method for deploying application system by using same
CN114218666A (en) Simulation preprocessing method and device
KR101672763B1 (en) The method for generating interface of simulation and the realtime simulation apparatus
KR101726663B1 (en) Method and System for automated I/O-port linking framework between the models using the concept of cloud or cloud-computing in Model Based Design under the block diagram environment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant