CAD and CAE data fusion method and device and storage medium
By assigning unique identifiers to geometric components and uniformly managing the data structure of geometric models and simulation analysis entities, the problems of data splitting and repeated modeling in CAD and CAE software are solved, and design and analysis efficiency is improved.
Patent Information
- Application Number
- CN202411409118.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2025-01-14
- Estimated Expiration
- 2044-10-10
AI Technical Summary
In the prior art, the different file formats of CAD and CAE software lead to data separation between geometric model and preprocessing model, and repeated modeling is required when modifying geometric model, resulting in inefficiency.
By assigning a unique identifier to each geometric component, associate the geometric model with the CAE's pre-processing model, unified management of geometric models and simulation analysis entities' data structures, avoiding data slicing and reducing duplicate modeling.
The seamless correlation between geometric models and CAE preprocessing models is achieved, reducing the repeated modeling work caused by modifying geometric models, and improving design and analysis efficiency.
Smart Images

Figure CN119312563A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer-aided engineering, and in particular to a method, device and storage medium for fusing CAD and CAE data. Background Art
[0002] Computer-Aided Design (CAD) is a technology that uses computer programs, including geometric modeling, graphics rendering and other technologies to assist in design. It uses two-dimensional or three-dimensional geometric modeling algorithms and visualization technology to efficiently and accurately create and modify the geometric model of the product and generate design documents such as construction drawings. Computer-Aided Engineering (CAE) is a technology that uses computer programs, including simulation algorithms, graphics rendering and other technologies to simulate, analyze and optimize engineering designs.
[0003] In the field of computer-aided engineering technology, CAD and CAE are two closely connected links in the engineering design and analysis process. CAD focuses on the geometric design of the product, while CAE focuses on the simulation analysis of the design. Since CAD and CAE are different software, it is generally necessary to first design the geometric model with CAD, and then use CAE to import the geometric model for pre-processing modeling and simulation analysis.
[0004] However, since CAD and CAE software have their own different file formats, the existing technology is to first use CAD to design a geometric model, and then use CAE to import the geometric model designed by CAD for pre-processing modeling, which leads to data separation between the geometric model and the pre-processing model; further, in the process of product design and simulation analysis, it is often necessary to modify the geometric model, for example, modify the size of topological objects such as faces and edges to optimize product shape and performance, and once the geometric model is modified, the existing technology means that the geometric model needs to be re-pre-processed and modeled, that is, repeated modeling. Summary of the invention
[0005] The present application provides a method, device and storage medium for fusing CAD and CAE data, which can avoid the separation of two types of data, namely geometric model and pre-processing model, and avoid repeated modeling due to modification of geometric model.
[0006] In one aspect, the present application provides a method for fusing CAD and CAE data, the method comprising:
[0007] Computer-aided design (CAD) is used to create geometric models and computer-aided engineering (CAE) is used to set up simulation and analysis entities;
[0008] Unified management of modeling elements in the geometric model and the simulation analysis entity, wherein the modeling elements include geometric components;
[0009] For the simulation analysis entities and geometric components in the geometric model that are uniformly managed, assigning a unique identifier to each of the geometric components;
[0010] The geometric model is associated with the CAE pre-processing model by assigning a unique identifier to each of the geometric components.
[0011] On the other hand, the present application provides a device for fusing CAD and CAE data, the device comprising:
[0012] A creation module for creating a geometric model using computer-aided design (CAD) and setting up a simulation analysis entity using computer-aided engineering (CAE);
[0013] A management module, used for uniformly managing the modeling elements in the geometric model and the simulation analysis entities, wherein the modeling elements include geometric components;
[0014] An allocation module, for allocating a unique identifier to each geometric component in the simulation analysis entity and the geometric model after unified management;
[0015] The associating module is used to associate the geometric model with the CAE pre-processing model by assigning a unique identifier to each of the geometric components.
[0016] In a third aspect, the present application provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the technical solution of the above-mentioned method for fusing CAD and CAE data when executing the computer program.
[0017] In a fourth aspect, the present application provides a storage medium storing a computer program, which, when executed by a processor, implements the steps of the technical solution of the above-mentioned method for fusing CAD and CAE data.
[0018] From the technical solution provided by the present application, it can be seen that, on the one hand, after using computer-aided design CAD to create a geometric model and computer-aided engineering CAE to set up simulation analysis entities, the modeling elements and simulation analysis entities in the geometric model are managed in a unified manner, that is, the data structures of the geometric model and the pre-processing model (responsible for the setting of simulation analysis entities, etc.) are integrated and designed, which effectively avoids the separation of the two types of data caused by the geometric model created by CAD and the pre-processing model of CAE being stored in different files; on the other hand, by assigning a unique identifier to each geometric component, the geometric model is associated with the pre-processing model of CAE. Since the pre-processing model is no longer dependent on the geometric model to form an association between the two, when the geometric model is modified, for example, when the topological object in the geometric model is adjusted in size, the association relationship is still maintained unchanged through the unique identifier, reducing the repeated modeling work between CAD and CAE due to the modification of the geometric model. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 is a flow chart of a method for fusing CAD and CAE data provided in an embodiment of the present application;
[0021] Figure 2 It is a schematic diagram of using the same parent class to manage modeling elements and simulation analysis entities assigned with a unified data structure provided by an embodiment of the present application;
[0022] Figure 3 It is a schematic diagram of basic topological elements represented by BREP provided in an embodiment of the present application;
[0023] Figure 4 It is a schematic diagram of the structure of a device for fusing CAD and CAE data provided in an embodiment of the present application;
[0024] Figure 5 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0025] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0026] In this specification, adjectives such as first and second may be used only to distinguish one element or action from another element or action, without necessarily requiring or implying any actual such relationship or order. Where circumstances permit, reference to an element or component or step (etc.) should not be interpreted as being limited to only one of the elements, components, or steps, but may be one or more of the elements, components, or steps, etc.
[0027] In this specification, for the convenience of description, the sizes of various parts shown in the drawings are not drawn according to the actual proportional relationship.
[0028] In the field of computer-aided engineering technology, CAD and CAE are two closely connected links in the engineering design and analysis process. CAD focuses on the geometric design of the product, while CAE focuses on the simulation analysis of the design. Since CAD and CAE are different software, it is generally necessary to first design the geometric model with CAD, and then import the geometric model with CAE for pre-processing modeling and simulation analysis. However, since CAD and CAE software have their own different file formats, the prior art is to first design the geometric model with CAD, and then use CAE to import the geometric model designed by CAD for pre-processing modeling, which leads to the data separation of the geometric model and the pre-processing model; further, in the process of product design and simulation analysis, it is often necessary to modify the geometric model to optimize the product shape and performance. Once the geometric model is modified, the prior art means that the geometric model needs to be re-pre-processed, that is, repeated modeling.
[0029] In view of the above problems in the prior art, this application proposes a method for integrating CAD and CAE data, the flow chart of which is shown in the attached figure. Figure 1 As shown, it mainly includes steps S101 to S104, which are described in detail as follows:
[0030] Step S101: Use Computer-Aided Design (CAD) to create a geometric model and Computer Aided Engineering (CAE) to set up a simulation analysis entity.
[0031] In the embodiment of the present application, using CAD to create a geometric model and CAE to set up a simulation analysis entity can be: using CAD to create a sketch; using the sketch to create part features; using CAE to set a moving body, load application, meshing, boundary conditions and material properties, i.e., a simulation analysis entity. When using CAD to create a sketch, sketch voxels and constraints can be created in the sketch, wherein sketch voxels mainly refer to two-dimensional basic graphic elements, including points, straight line segments, circles, arcs, ellipses, spline curves, rectangles and polygons, etc., and part features include basic three-dimensional voxels and general features, and basic three-dimensional voxels include cuboids, cylinders, spheres, cones, tori and prisms, etc., and general features include various operations such as stretching (Extrude), rotating (Spin), sweeping (Sweep), lofting (Loft), chamfering (Chamfer) and filleting (Fillet). In the field of computer-aided engineering, CAE pre-processing models play a vital role in the entire engineering analysis process. Its tasks include the setting of simulation analysis entities such as moving bodies, meshes, material properties, boundary conditions (Joint), loads (Force), and model verification, etc. Among them, meshes include mesh generation (i.e., dividing the geometric model into meshes for numerical analysis. Selecting the appropriate mesh type (such as structured mesh, unstructured mesh, etc.) and mesh refinement (i.e., refining the mesh in specific areas according to analysis requirements to improve calculation accuracy), the setting of material properties mainly includes defining materials (i.e., specifying material properties for different parts of the model, such as elastic modulus, density, thermal conductivity, etc.) and material allocation (i.e., assigning material properties to the corresponding faces or bodies of the geometric model), the setting of boundary conditions mainly includes applying boundary conditions, i.e., defining the boundary conditions of the model, such as fixed support, sliding boundary, etc., and the setting of loads mainly refers to applying external loads, such as force, pressure, temperature, etc., to specific parts of the model.
[0032] Step S102: uniformly managing modeling elements and simulation analysis entities in the geometric model, wherein the modeling elements include geometric components.
[0033] The modeling elements in the geometric model are all the basic components and operations that constitute the geometric model. They can be sketches, voxels, constraints, features of parts, and other operation objects, which can include features, bodies, faces, edges, vertices, and other geometric components. The unified management of the modeling elements and simulation analysis entities in the geometric model can be specifically to use a unified business data layer to assign attributes of a unified data structure to the modeling elements and simulation analysis entities in the geometric model; and to place the attributes that have been assigned a unified data structure in a unified parent class for management. Using a unified business data layer to assign attributes of a unified data structure to the modeling elements and simulation analysis entities in the geometric model means that both the modeling elements and simulation analysis entities have attributes of a unified data structure, such as ID, name, type, etc., while other unique attributes, such as position, size, color, local coordinate system (LCS), etc., are managed in their respective subclasses. Similarly, simulation analysis entities such as moving bodies, meshes, material properties, boundary conditions (Joint), and loads (Force) all have attributes of a unified data structure, such as ID, name, type, etc., and also have their own unique attributes. For example, loads (Force) have attributes such as direction and magnitude, and boundary conditions (Joint) have various types of attributes such as rotation type. Figure 2 As shown, it is a schematic diagram of using a unified parent class, namely Entity, to manage modeling elements and simulation analysis entities that are given a unified data structure.
[0034] In the above embodiment, the reason why a unified business data layer is used to assign attributes of a unified data structure to the modeling elements and simulation analysis entities in the geometric model is that the use of a unified business data layer makes the system more flexible and scalable. If new modeling elements or analysis objects need to be added in the future, they only need to be expanded in the unified data structure without the need to reconstruct the entire system. The unified data structure also helps data interoperability between different modules and tools. Whether it is a geometric modeling tool or CAE analysis software, it can follow the same data structure, thereby improving overall efficiency. Putting the attributes that have been assigned to the unified data structure in the same parent class for management can achieve better organization and management. This hierarchical structure can simplify data access and operations, allowing developers to process data in a more efficient manner. For example, a general "geometric analysis entity" class can be defined, such as Figure 2The Entity class in the example contains all shared properties and methods, and then derives more specific classes. In summary, unified management of modeling elements and simulation analysis entities in the geometric model effectively avoids the separation of the two types of data caused by saving the geometric model created by CAD and the pre-processing model of CAE in different files.
[0035] Step S103: for the geometric components in the simulation analysis entities and geometric models that are uniformly managed, a unique identifier is assigned to each geometric component.
[0036] As an embodiment of the present application, for the geometric components in the simulation analysis entity and the geometric model after unified management, assigning a unique identifier to each geometric component may be achieved through steps S1031 and S1032, as described below:
[0037] Step S1031: define a unified expression format of a unique identifier (Unique ID).
[0038] Specifically, you can use <featureid> : <bodyindex> : <faceindex> : <edgeindex> : <vertexindex>As a unified expression format for unique identifiers, FeatureID, BodyIndex, FaceIndex, EdgeIndex, and VertexIndex are all integers. In particular, if it is -1, it means that it is not used or invalid.
[0039] Step S1032: Generate a corresponding unique identifier for each geometric component according to the number or sequence number of the geometric component in the boundary representation BREP data.
[0040] Boundary Representation (BREP) is a method commonly used in CAD to define and represent 3D geometric models. Figure 3 The figure below is a schematic diagram of the basic topological elements represented by BREP. BREP defines the shape of a geometric body by describing the boundaries that constitute the geometric body. Each geometric body is represented as a collection of elements such as faces, edges, and vertices. The relationship between these elements defines the topological structure and geometric shape of the geometric body. BREP data includes key elements or topological objects such as faces, edges, and vertices. Among them, faces are the boundaries of geometric bodies, usually two-dimensional surfaces surrounded by curves (edges), edges are the boundaries of faces, usually curves defined by points (vertices), and vertices are points that constitute edges and are the most basic building blocks in geometric models.
[0041] Specifically, according to the number or sequence number of the geometric component in the boundary representation BREP data, generating a corresponding unique identifier for each geometric component can be achieved by the following steps S1 to S5:
[0042] Step S1: Assign the number of the feature to which the geometric component belongs in the BREP data to FeatureID.
[0043] In the embodiment of the present application, the number of the feature (Feature) to which the geometric component belongs in the BREP data can be any natural number starting from 1.
[0044] Step S2: Assign the serial number of the geometric body generated by the feature represented by FeatureID in the BREP data to BodyIndex.
[0045] In the CAD field, a feature represented by a FeatureID represents an operation, such as stretching, rotating, sweeping, lofting, chamfering and rounding, etc., and a feature can generate multiple geometric bodies, which are given corresponding serial numbers in the BREP data. The serial number can be any natural number starting from 1. For example, if the FeatureID is assigned a value of 1, and the feature with FeatureID 1 generates the first geometric body, the geometric body is represented as 1:1, and the feature with FeatureID 1 generates the second geometric body, the geometric body is represented as 1:2, and so on.
[0046] Step S3: Assign the serial number of a face contained in the geometric body represented by BodyIndex in the BREP data to FaceIndex.
[0047] A geometry can contain 0 faces (that is, no faces) or multiple faces. The value of FaceIndex can be 0 or any natural number starting from 1. For example, the third face of the first geometry generated by the feature with FeatureID 1 can be expressed as 1:1:3.
[0048] Step S4: Assign the serial number of a certain edge contained in the geometric body represented by BodyIndex in the BREP data to EdgeIndex.
[0049] A geometry can contain 0 edges (that is, no edges) or multiple edges. The value of EdgeIndex can be 0 or any natural number starting from 1. For example, the fourth edge of the first geometry generated by the feature with FeatureID 3 can be expressed as 3:2:-1:4, where -1 means that the geometry has no face or the value of FaceIndex is invalid.
[0050] Step S5: Assign the serial number of a vertex contained in the geometric body represented by BodyIndex in the BREP data to VertexIndex.
[0051] A geometry can contain one or more points. The value of VertexIndex can be any natural number starting from 1. For example, the eighth vertex of the first geometry generated by the feature with FeatureID 6 can be expressed as 6:1:-1:-1:8, where -1 means that the geometry has no face or edge, or the values of FaceIndex and EdgeIndex are invalid.
[0052] Step S104: Associating the geometric model with the CAE pre-processing model by assigning a unique identifier to each geometric component.
[0053] By assigning a unique identifier to each geometric component, the geometric model is associated with the pre-processing model of CAE, which means that the pre-processing model relies on the identifier, rather than the specific geometric component or geometric model. In other words, even if some attributes of a geometric component of the geometric model change, for example, the size information (such as length, width, height, angle, etc.) of the topological object in a geometric component (such as a triangular pyramid) changes, the unique identifier of the geometric component is determined by the tag (tag) of the topological object (face, edge, vertex, etc.) in the geometric component, that is, the number or sequence number, and this unique identifier does not change. In this way, compared with the prior art, because the size change of the topological object in the geometric component leads to the change of the geometric model, the pre-processing model needs to be re-modeled. In the technical solution of the present application, since the unique identifier corresponding to the geometric component does not change due to the change of the geometric model caused by the size change of the geometric component, the pre-processing model of the present application does not need to be re-modeled, and only the topological objects such as the face (Face), edge (Edge) and vertex (Vertex) of the geometric component need to be deleted, replaced, etc. to update the simulation analysis entity corresponding to the geometric component, and the workload is greatly reduced.
[0054] From the above attached Figure 1 From the example of the fusion method of CAD and CAE data, it can be seen that, on the one hand, after using computer-aided design CAD to create a geometric model and computer-aided engineering CAE to set up simulation analysis entities, the modeling elements and simulation analysis entities in the geometric model are managed in a unified manner, that is, the data structure of the geometric model and the pre-processing model (responsible for the setting of simulation analysis entities, etc.) are integrated and designed, which effectively avoids the separation of the two types of data caused by the geometric model created by CAD and the pre-processing model of CAE being stored in different files; on the other hand, by assigning a unique identifier to each geometric component, the geometric model is associated with the pre-processing model of CAE. Since the pre-processing model no longer depends on the geometric model to form an association between the two, when the geometric model is modified, for example, when the topological object in the geometric model is adjusted in size, the association relationship is still maintained unchanged through the unique identifier, reducing the repeated modeling work between CAD and CAE caused by modifying the geometric model.
[0055] Please refer to the attached Figure 4 , is a CAD and CAE data fusion device provided in an embodiment of the present application, the device may include a creation module 401, a management module 402, an allocation module 403 and an association module 404, which are described in detail as follows:
[0056] A creation module 401 is used to respectively use computer-aided design (CAD) to create a geometric model and computer-aided engineering (CAE) to set up a simulation analysis entity;
[0057] A management module 402 is used to uniformly manage modeling elements and simulation analysis entities in the geometric model, wherein the modeling elements include geometric components;
[0058] An allocation module 403 is used to allocate a unique identifier to each geometric component in the simulation analysis entity and the geometric model after unified management;
[0059] The association module 404 is used to associate the geometric model with the CAE pre-processing model by assigning a unique identifier to each geometric component.
[0060] Optionally, Figure 4 The exemplary allocation module 403 may include a definition unit and a generation unit, wherein:
[0061] Definition unit, used to define a unified expression format for unique identifiers;
[0062] The generating unit is used to generate a corresponding unique identifier for each geometric component according to the number or sequence number of the geometric component in the boundary representation BREP data.
[0063] Optionally, in the above example, the definition unit is specifically used to use <featureid> : <bodyindex>:<FaceIndex>: <edgeindex> : <vertexindex>As a unified expression format of a unique identifier, wherein FeatureID, BodyIndex, FaceIndex, EdgeIndex, and VertexIndex are all integers, and the generation unit may include a first value assignment unit, a second value assignment unit, a third value assignment unit, a fourth value assignment unit, and a fifth value assignment unit, wherein:
[0064] A first assignment unit is used to assign the number of the feature to which the geometric component belongs in the BREP data to the FeatureID;
[0065] The second assignment unit is used to assign the number of the geometric body generated by the feature represented by FeatureID in the BREP data to BodyIndex;
[0066] The third assignment unit is used to assign the serial number of a face contained in the geometric body represented by BodyIndex in the BREP data to FaceIndex;
[0067] The fourth assignment unit is used to assign the serial number of a certain edge contained in the geometric body represented by BodyIndex in the BREP data to EdgeIndex;
[0068] The fifth assignment unit is used to assign the serial number of a vertex contained in the geometric body represented by BodyIndex in the BREP data to VertexIndex.
[0069] From the above attached Figure 4 It can be seen from the example of the fusion device of CAD and CAE data that, on the one hand, after using computer-aided design CAD to create a geometric model and computer-aided engineering CAE to set up simulation analysis entities, the modeling elements and simulation analysis entities in the geometric model are managed in a unified manner, that is, the data structure of the geometric model and the pre-processing model (responsible for the setting of simulation analysis entities, etc.) are fused and designed, which effectively avoids the separation of the two types of data caused by the geometric model created by CAD and the pre-processing model of CAE being stored in different files; on the other hand, by assigning a unique identifier to each geometric component, the geometric model is associated with the pre-processing model of CAE. Since the pre-processing model is no longer dependent on the geometric model to form an association between the two, when the geometric model is modified, for example, when the topological object in the geometric model is adjusted in size, the association relationship is still maintained unchanged through the unique identifier, reducing the repeated modeling work between CAD and CAE caused by modifying the geometric model.
[0070] Figure 5 Schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Figure 5 As shown, the electronic device 5 of this embodiment mainly includes: a processor 50, a memory 51, and a computer program 52 stored in the memory 51 and executable on the processor 50, such as a program of the method for fusing CAD and CAE data. When the processor 50 executes the computer program 52, the steps in the embodiment of the method for fusing CAD and CAE data are implemented, such as Figure 1 Alternatively, when the processor 50 executes the computer program 52, the functions of each module / unit in the above-mentioned device embodiments are implemented, for example Figure 4 The functions of the creation module 401, the management module 402, the allocation module 403 and the association module 404 are shown.
[0071] Exemplarily, the computer program 52 of the method for fusing CAD and CAE data mainly includes: using computer-aided design CAD to create a geometric model and computer-aided engineering CAE to set up a simulation analysis entity; managing the modeling elements and simulation analysis entities in the geometric model in a unified manner, wherein the modeling elements include geometric components; assigning a unique identifier to each geometric component for the simulation analysis entity and the geometric components in the geometric model after unified management; associating the geometric model with the pre-processing model of CAE through the unique identifier assigned to each geometric component. The computer program 52 can be divided into one or more modules / units, one or more modules / units are stored in the memory 51 and executed by the processor 50 to complete the present application. One or more modules / units can be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program 52 in the electronic device 5. For example, the computer program 52 can be divided into the functions of a creation module 401, a management module 402, an allocation module 403 and an association module 404 (modules in the virtual device), and the specific functions of each module are as follows: a creation module 401, which is used to create a geometric model using computer-aided design CAD and set up a simulation analysis entity using computer-aided engineering CAE; a management module 402, which is used to uniformly manage the modeling elements and simulation analysis entities in the geometric model, wherein the modeling elements include geometric components; an allocation module 403, which is used to assign a unique identifier to each geometric component in the simulation analysis entities and the geometric model after unified management; an association module 404, which is used to associate the geometric model with the CAE pre-processing model by assigning a unique identifier to each geometric component.
[0072] The electronic device 5 may include but is not limited to a processor 50 and a memory 51. Those skilled in the art will appreciate that Figure 5 It is only an example of the electronic device 5 and does not constitute a limitation of the electronic device 5. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device may also include input and output devices, network access devices, buses, etc.
[0073] The processor 50 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0074] The memory 51 may be an internal storage unit of the electronic device 5, such as a hard disk or memory of the electronic device 5. The memory 51 may also be an external storage device of the electronic device 5, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 5. Further, the memory 51 may also include both an internal storage unit of the electronic device 5 and an external storage device. The memory 51 is used to store computer programs and other programs and data required by the electronic device. The memory 51 may also be used to temporarily store data that has been output or is to be output.
[0075] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned device can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0076] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0077] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0078] In the embodiments provided in the present application, it should be understood that the disclosed devices / equipment and methods can be implemented in other ways. For example, the device / equipment embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point. The mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0079] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0080] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0081] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program of the fusion method of CAD and CAE data can be stored in a storage medium. When the computer program is executed by the processor, it can implement the steps of each of the above-mentioned method embodiments, that is, using computer-aided design CAD to create a geometric model and computer-aided engineering CAE to set up a simulation analysis entity; the modeling elements and simulation analysis entities in the geometric model are managed in a unified manner, wherein the modeling elements include geometric components; for the simulation analysis entities and geometric components in the geometric model after unified management, a unique identifier is assigned to each geometric component; the geometric model is associated with the pre-processing model of CAE by assigning a unique identifier to each geometric component. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file or some intermediate form. Storage media may include: any entity or device capable of carrying computer program code, recording media, USB flash drives, mobile hard disks, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content contained in the storage medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, storage media do not include electric carrier signals and telecommunication signals.
[0082] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; although the present application is described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some of the technical features therein by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application. The specific implementation methods described above further describe the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above description is only the specific implementation method of the present application, and is not used to limit the protection scope of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present invention.< / vertexindex> < / edgeindex> < / bodyindex> < / featureid> < / vertexindex> < / edgeindex> < / faceindex> < / bodyindex> < / featureid>
Claims
1. A method for fusing CAD and CAE data, characterized in that: The method comprises: Computer-aided design (CAD) is used to create geometric models and computer-aided engineering (CAE) is used to set up simulation and analysis entities; Unified management of modeling elements in the geometric model and the simulation analysis entity, wherein the modeling elements include geometric components; For the simulation analysis entities and geometric components in the geometric model that are uniformly managed, assigning a unique identifier to each of the geometric components; The geometric model is associated with the CAE pre-processing model by assigning a unique identifier to each of the geometric components.
2. The method for fusing CAD and CAE data as claimed in claim 1, characterized in that: The method of using computer-aided design (CAD) to create a geometric model and computer-aided engineering (CAE) to set up a simulation analysis entity includes: Creating a sketch using the CAD; creating a part feature using the sketch; The CAE is used to set the moving body, load, mesh, boundary conditions and material properties.
3. The method for fusing CAD and CAE data as claimed in claim 1, characterized in that: The modeling elements in the geometric model and the simulation analysis entity are managed in a unified manner, wherein the modeling elements include geometric components, including: Using a unified business data layer, the modeling elements in the geometric model and the simulation analysis entities are given attributes of a unified data structure; The attributes assigned to the unified data structure are placed in a unified parent class for management.
4. The method for fusing CAD and CAE data as claimed in claim 1, characterized in that: The step of allocating a unique identifier to each geometric component in the unified management simulation analysis entity and the geometric model comprises: Defining a unified expression format of the unique identifier; A corresponding unique identifier is generated for each geometric component according to the number or sequence number of the geometric component in the boundary representation BREP data.
5. The method for fusing CAD and CAE data as claimed in claim 4, characterized in that: The unified expression format for defining the unique identifier includes using <featureid> : <bodyindex> : <faceindex> : <edgeindex> : <vertexindex> As a unified expression format of the unique identifier, the FeatureID, BodyIndex, FaceIndex, EdgeIndex and VertexIndex are all integers;< / vertexindex> < / edgeindex> < / faceindex> < / bodyindex> < / featureid> Generating a corresponding unique identifier for each geometric component according to the number or sequence number of the geometric component in the boundary representation BREP, including: Assigning the number of the feature to which the geometric component belongs in the BREP data to the FeatureID; Assign the serial number of the geometric body generated by the feature represented by the FeatureID in the BREP data to the BodyIndex; Assign the serial number of a face contained in the geometric body represented by the BodyIndex in the BREP data to the FaceIndex; Assign the serial number of a certain edge contained in the geometric body represented by the BodyIndex in the BREP data to the EdgeIndex; The serial number of a vertex contained in the geometric body represented by the BodyIndex in the BREP data is assigned to the VertexIndex.
6. A device for fusing CAD and CAE data, characterized in that: The device comprises: A creation module for creating a geometric model using computer-aided design (CAD) and setting up a simulation analysis entity using computer-aided engineering (CAE); A management module, used for uniformly managing the modeling elements in the geometric model and the simulation analysis entities, wherein the modeling elements include geometric components; An allocation module, for allocating a unique identifier to each geometric component in the simulation analysis entity and the geometric model after unified management; The associating module is used to associate the geometric model with the CAE pre-processing model by assigning a unique identifier to each of the geometric components.
7. The CAD and CAE data fusion device according to claim 6, characterized in that: The allocation module comprises: A definition unit, used to define a unified expression format of the unique identifier; A generating unit is used to generate a corresponding unique identifier for each geometric component according to the number or sequence number of the geometric component in the boundary representation BREP data.
8. The CAD and CAE data fusion device according to claim 7, characterized in that: The generation unit includes a first value assignment unit, a second value assignment unit, a third value assignment unit, a fourth value assignment unit and a fifth value assignment unit, and the definition unit is specifically used to use <featureid> : <bodyindex> : <faceindex> : <edgeindex> : <vertexindex> As a unified expression format of the unique identifier, the FeatureID, BodyIndex, FaceIndex, EdgeIndex and VertexIndex are all integers;< / vertexindex> < / edgeindex> < / faceindex> < / bodyindex> < / featureid> The first assignment unit is used to assign the number of the feature to which the geometric component belongs in the BREP data to the FeatureID; The second assignment unit is used to assign the number of the geometric body generated by the feature represented by the FeatureID in the BREP data to the BodyIndex; The third assignment unit is used to assign the serial number of a face included in the geometric body represented by the BodyIndex in the BREP data to the FaceIndex; The fourth assignment unit is used to assign the serial number of a certain edge contained in the geometric body represented by the BodyIndex in the BREP data to the EdgeIndex; The fifth assignment unit is used to assign the serial number of a vertex contained in the geometric body represented by the BodyIndex in the BREP data to the VertexIndex.
9. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
10. A storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Vehicle model simulation pretreatment modeling method, system and related device
CN115248953A
Method of optimizing a design model
US20230132475A1
Cited By
Catia data conversion method and system for CAE (Computer Aided Engineering) pretreatment modeling software
CN121835034A