Method, device and storage medium for fusing cad and cae data
By assigning unique identifiers to geometric components and managing data in a unified manner, the problem of data fragmentation between CAD and CAE is solved, achieving efficient data fusion and reducing redundant modeling, thus improving design efficiency.
Patent Information
- Application Number
- CN202411409118.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2044-10-10
AI Technical Summary
In existing technologies, the different file formats of CAD and CAE software lead to the fragmentation of geometric model and pre-processing model data, and the need to repeat modeling when modifying geometric models, which affects design efficiency.
By assigning a unique identifier to each geometric component, the geometric model is associated with the CAE preprocessing model. A unified data structure is used to manage modeling elements and simulation analysis entities, avoiding data fragmentation and reducing redundant modeling.
It achieves data fusion between geometric models and CAE preprocessing models, reducing repetitive modeling work caused by modifying geometric models and improving design efficiency and data management flexibility.
Smart Images

Figure CN119312563B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer-aided engineering technology, and in particular to a method, device and storage medium for integrating CAD and CAE data. Background Technology
[0002] Computer-Aided Design (CAD) is a technology that uses computer programs, including geometric modeling and graphics rendering, to assist in design. It employs two-dimensional or three-dimensional geometric modeling algorithms and visualization techniques to efficiently and accurately create and modify the geometric models of products and generate design documents such as construction drawings. Computer-Aided Engineering (CAE) is a technology that uses computer programs, including simulation algorithms and graphics rendering, to simulate, analyze, and optimize engineering designs.
[0003] In the field of computer-aided engineering technology, CAD and CAE are two closely linked stages in the engineering design and analysis process. CAD focuses on the geometric design of the product, while CAE focuses on simulation analysis of the design. Since CAD and CAE are different software, the general practice is to first design the geometric model using CAD, and then import the geometric model into CAE for preprocessing modeling and simulation analysis.
[0004] However, since CAD and CAE software have their own different file formats, the existing technology first uses CAD to design the geometric model, and then uses CAE to import the geometric model designed in CAD for pre-processing modeling. This results in the data separation between the geometric model and the pre-processing model. Furthermore, in the process of product design and simulation analysis, it is often necessary to modify the geometric model. For example, the size of topological objects such as faces and edges is modified to optimize the product form and performance. Once the geometric model is modified, the existing technology means that the geometric model needs to be re-pre-processed and modeled, i.e., repeated modeling. Summary of the Invention
[0005] This application provides a method, device, and storage medium for fusing CAD and CAE data, which can avoid the separation of two types of data, geometric model and pre-processing model, as well as the repetitive modeling caused by the modification of geometric model.
[0006] On the one hand, this application provides a method for fusing CAD and CAE data, the method comprising:
[0007] The geometric model was created using Computer-Aided Design (CAD), and the entity was set up for simulation analysis using Computer-Aided Engineering (CAE).
[0008] The modeling elements in the geometric model and the simulation analysis entities are managed in a unified manner, and the modeling elements include geometric components;
[0009] For the simulation analysis entities and geometric components in the geometric model after unified management, a unique identifier is assigned to each geometric component.
[0010] The geometric model is associated with the CAE's preprocessing model by assigning a unique identifier to each of the geometric components.
[0011] On the other hand, this application provides a device for fusing CAD and CAE data, the device comprising:
[0012] Create modules for creating geometric models using Computer-Aided Design (CAD) and setting up simulation analysis entities using Computer-Aided Engineering (CAE), respectively.
[0013] The management module is used to uniformly manage the modeling elements and simulation analysis entities in the geometric model, wherein the modeling elements include geometric components;
[0014] The allocation module is used to assign a unique identifier to each geometric component in the unified management of the simulation analysis entity and the geometric model.
[0015] An association module is used to associate the geometric model with the preprocessed model of the CAE by assigning a unique identifier to each of the geometric components.
[0016] Thirdly, this application provides an electronic device, the device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the technical solution of the above-described method for fusing CAD and CAE data.
[0017] Fourthly, this 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-described method for fusing CAD and CAE data.
[0018] As can be seen from the technical solution provided in this application, on the one hand, after creating geometric models using Computer-Aided Design (CAD) and setting up simulation analysis entities using Computer-Aided Engineering (CAE), the modeling elements in the geometric model and the simulation analysis entities are managed in a unified manner. That is, the data structures of the geometric model and the pre-processing model (responsible for setting up simulation analysis entities, etc.) are integrated into the design, effectively avoiding the separation of the two types of data caused by storing the geometric model created by CAD and the pre-processing model of CAE 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 the association between the two, when the geometric model is modified, for example, when the topological objects in the geometric model are adjusted in size, the association relationship is still maintained by the unique identifier, reducing the repetitive modeling work caused by modifying the geometric model between CAD and CAE. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 This is a flowchart of the CAD and CAE data fusion method provided in the embodiments of this application;
[0021] Figure 2 This is a schematic diagram illustrating the use of the same parent class to manage modeling elements and simulation analysis entities that are assigned a unified data structure, as provided in the embodiments of this application.
[0022] Figure 3 This is a schematic diagram of the basic topological elements represented by BREP provided in the embodiments of this application;
[0023] Figure 4 This is a schematic diagram of the structure of the CAD and CAE data fusion device provided in the embodiments of this application;
[0024] Figure 5 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application. Detailed Implementation
[0025] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0026] In this specification, adjectives such as "first" and "second" are used only to distinguish one element or action from another, without necessarily requiring or implying any actual such relationship or order. Where circumstances permit, reference to an element, component, or step (etc.) should not be construed as limited to only one element, component, or step, but may include one or more of the elements, components, or steps, etc.
[0027] For ease of description, the dimensions of the various parts shown in the accompanying drawings are not drawn to actual scale.
[0028] In the field of computer-aided engineering technology, CAD and CAE are two closely linked stages in the engineering design and analysis process. CAD focuses on the geometric design of products, while CAE focuses on simulation analysis of the design. Since CAD and CAE are different software, the general practice is to first design the geometric model using CAD, then import the geometric model into CAE for preprocessing modeling and simulation analysis. However, because CAD and CAE software have their own different file formats, the current technology involves first designing the geometric model using CAD, then importing the CAD-designed geometric model into CAE for preprocessing modeling. This results in a data separation between the geometric model and the preprocessing model. Furthermore, during product design and simulation analysis, it is often necessary to modify the geometric model to optimize product form and performance. Once the geometric model is modified, the current technology means that preprocessing modeling of the geometric model needs to be repeated, i.e., redundant modeling.
[0029] To address the aforementioned problems in the prior art, this application proposes a method for fusing CAD and CAE data, the flowchart of which is attached. Figure 1 As shown, the main steps include S101 to S104, which are detailed below:
[0030] Step S101: Create geometric models using Computer-Aided Design (CAD) and set up simulation analysis entities using Computer-Aided Engineering (CAE).
[0031] In the embodiments of this application, the creation of geometric models using CAD and the setting of simulation analysis entities using CAE can be as follows: A sketch is created using CAD; part features are created using the sketch; and moving bodies, load application, mesh generation, boundary conditions, and material properties are set using CAE, i.e., the simulation analysis entity. When creating a sketch using CAD, sketch voxels and constraints can be created in the sketch. Sketch voxels mainly refer to basic two-dimensional graphic elements, including points, line segments, circles, arcs, ellipses, splines, rectangles, and polygons, etc. Part features include basic three-dimensional voxels and general features. Basic three-dimensional voxels include cuboids, cylinders, spheres, cones, tori, and prisms, etc. General features include various operations such as Extrude, Spin, Sweep, Loft, Chamfer, and Fillet. In the field of computer-aided engineering, the pre-processing model of CAE plays a crucial role in the entire engineering analysis process. Its tasks include setting up simulation analysis entities such as moving bodies, meshes, material properties, boundary conditions (Joint), and loads (Force), as well as model verification. Mesh setup includes mesh generation (i.e., dividing the geometric model into meshes for numerical analysis, selecting appropriate mesh types (e.g., structured meshes, unstructured meshes) and mesh refinement (i.e., refining the mesh for specific regions according to analysis requirements to improve computational accuracy). Material property settings mainly include defining materials (i.e., assigning material properties to different parts of the model, such as elastic modulus, density, thermal conductivity, etc.) and material assignment (i.e., assigning material properties to corresponding surfaces or volumes of the geometric model). Boundary condition settings mainly include applying boundary conditions, i.e., defining the boundary conditions of the model, such as fixed supports, sliding boundaries, etc. Load settings mainly refer to applying external loads, such as forces, pressures, and temperatures, to specific parts of the model.
[0032] Step S102: Unify the management of modeling elements and simulation analysis entities in the geometric model, wherein the modeling elements include geometric components.
[0033] The modeling elements in a geometric model comprise all the basic components and operations that make up the geometric model. These can be sketch voxels, constraints, and part features, which can include geometric components such as features, bodies, faces, edges, and vertices. Unifying the management of modeling elements and simulation entities in the geometric model can be achieved by using a unified business data layer to assign attributes to modeling elements and simulation entities with a unified data structure; and by placing these attributes, already assigned a unified data structure, within a unified parent class for management. Using a unified business data layer to assign attributes to modeling elements and simulation entities with a unified data structure means that both modeling elements and simulation entities have attributes with a unified data structure, such as ID, name, and type. Other unique attributes, such as position, size, color, and local coordinate system (LCS), are managed in their respective subclasses. Similarly, simulation analysis entities such as moving bodies, meshes, material properties, joint boundary conditions, and forces, in addition to having attributes with a unified data structure, such as ID, name, and type, also have their own unique attributes. For example, forces have attributes such as direction and magnitude, and joint boundary conditions have various types of attributes such as rotation. Figure 2 The diagram shows how a unified parent class, Entity, is used to manage modeling elements and simulation analysis entities that are assigned a unified data structure.
[0034] In the above embodiments, the reason for 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 is that using 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 can be extended within the unified data structure without refactoring the entire system. A unified data structure also facilitates data interoperability between different modules and tools. Both geometric modeling tools and CAE analysis software can follow the same data structure, thereby improving overall efficiency. Managing attributes assigned to a unified data structure within the same parent class allows for better organization and management. This hierarchical structure simplifies data access and manipulation, allowing developers to process data more efficiently. For example, a generic "Geometric Analysis Entity" class can be defined, such as... Figure 2The example Entity class contains all shared properties and methods, from which more specific classes are derived. 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 storing the geometric model created in CAD and the pre-processed model in different files in CAE.
[0035] Step S103: Assign a unique identifier to each geometric component in the unified management simulation analysis entity and geometric model.
[0036] As an embodiment of this application, assigning a unique identifier to each geometric component in the unified managed simulation analysis entity and geometric model can be achieved through steps S1031 and S1032, as explained below:
[0037] Step S1031: Define a uniform expression format for unique identifiers (Unique IDs).
[0038] Specifically, it can be used <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 unique identifier for each geometric component based on its number or sequence number in the boundary representation BREP data.
[0040] Boundary representation (BREP) is a commonly used method in CAD for defining and representing 3D geometric models, such as... Figure 3 The diagram shown illustrates the basic topological elements represented by BREP. BREP defines the shape of a geometry by describing the boundaries that constitute it. Each geometry is represented as a set of elements such as faces, edges, and vertices. The relationships between these elements define the topological structure and geometric shape of the geometry. BREP data includes key elements or topological objects such as faces, edges, and vertices. A face is the boundary of a geometry, typically a two-dimensional surface enclosed by curves (edges). An edge is the boundary of a face, typically a curve defined by points (vertices), and a vertex is the point that constitutes an edge; they are the most basic building blocks of the geometric model.
[0041] Specifically, generating a unique identifier for each geometric component based on its number or sequence number in the boundary representation BREP data can be achieved through the following steps S1 to S5:
[0042] Step S1: Assign the feature ID in the BREP data to which the geometric component belongs to the Feature ID.
[0043] In this embodiment of the application, the feature to which the geometric component belongs can be numbered in the BREP data as any natural number starting from 1.
[0044] Step S2: Assign the index of the geometry generated by the FeatureID in the BREP data to BodyIndex.
[0045] In the field of CAD, a FeatureID represents an operation, such as extrusion, rotation, sweep, lofting, chamfering, and filleting, etc. A single feature can generate multiple geometries, which are assigned corresponding numbers in the BREP data. These numbers can be any natural number starting from 1. For example, if a FeatureID is assigned the value 1, and the feature with FeatureID 1 generates the first geometry, then that geometry is represented as 1:1; if the feature with FeatureID 1 generates the second geometry, then that geometry is represented as 1:2, and so on.
[0046] Step S3: Assign the index of a face contained in the geometry represented by BodyIndex in the BREP data to FaceIndex.
[0047] A geometry can contain 0 faces (i.e., 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 represented as 1:1:3.
[0048] Step S4: Assign the index of a certain edge contained in the geometry represented by BodyIndex in the BREP data to EdgeIndex.
[0049] A geometry can contain 0 edges (i.e., no edges) or multiple edges. The value of EdgeIndex can be 0 or any natural number starting from 1. For example, the 4th edge of the first geometry generated by the feature with FeatureID 3 can be represented as 3:2:-1:4, where -1 indicates that the geometry has no faces or the value of FaceIndex is invalid.
[0050] Step S5: Assign the index of a vertex contained in the geometry 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 8th vertex of the first geometry generated by the feature with FeatureID 6 can be represented as 6:1:-1:-1:8, where -1 indicates that the geometry has no faces or edges or that the values of FaceIndex and EdgeIndex are invalid.
[0052] Step S104: Associate the geometric model with the CAE preprocessing 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 CAE pre-processing model. This means that the pre-processing model relies on the identifier, rather than the specific geometric component or model. In other words, even if some attributes of a geometric component change—for example, the dimensions (length, width, height, angle, etc.) of the topological objects within a geometric component (e.g., a triangular pyramid) change—the unique identifier of that geometric component is determined by the tag, i.e., the number or sequence number, of the topological objects (faces, edges, vertices, etc.) within that component, and this unique identifier remains unchanged. Thus, compared to existing technologies where changes in the dimensions of topological objects within a geometric component lead to changes in the geometric model, requiring the pre-processing model to be remodeled, in the present application's technical solution, since the unique identifier of the corresponding geometric component does not change due to changes in the geometric model caused by changes in the dimensions of the geometric component, the pre-processing model of this application does not need to be remodeled. It only needs to update the simulation analysis entity corresponding to the geometric component by deleting or replacing topological objects such as faces, edges, and vertices, significantly reducing the workload.
[0054] From the above appendix Figure 1 The example of CAD and CAE data fusion demonstrates that, on the one hand, after creating geometric models using CAD and setting up simulation analysis entities using CAE, the modeling elements in the geometric model and the simulation analysis entities are managed uniformly. This means the data structures of the geometric model and the pre-processing model (responsible for setting up simulation analysis entities, etc.) are integrated, effectively avoiding the separation of the two types of data caused by storing the CAD-created geometric model and the CAE pre-processing model in different files. On the other hand, by assigning a unique identifier to each geometric component, the geometric model is associated with the CAE pre-processing model. Since the pre-processing model no longer depends on the geometric model to form the association, when the geometric model is modified—for example, when the topological objects in the geometric model are dimensionally adjusted—the association remains unchanged through the unique identifier, reducing redundant modeling work caused by modifications to the geometric model between CAD and CAE.
[0055] Please see the appendix Figure 4 This application provides a device for fusing CAD and CAE data. The device may include a creation module 401, a management module 402, an allocation module 403, and an association module 404, as detailed below:
[0056] Create module 401, which is used to create geometric models using computer-aided design (CAD) and set up simulation analysis entities using computer-aided engineering (CAE);
[0057] The management module 402 is used to uniformly manage the modeling elements and simulation analysis entities in the geometric model, wherein the modeling elements include geometric components;
[0058] The allocation module 403 is used to assign a unique identifier to each geometric component in the unified management simulation analysis entity and geometric model.
[0059] The association module 404 is used to associate the geometric model with the CAE preprocessing model by assigning a unique identifier to each geometric component.
[0060] Optionally, Figure 4 The example allocation module 403 may include definition units and generation units, wherein:
[0061] Define a unit, used to define a unified expression format for unique identifiers;
[0062] The generation unit is used to generate a unique identifier for each geometric component based on its number or sequence number in the boundary representation BREP data.
[0063] Optionally, in the above example, the defined unit is specifically used for... <featureid> : <bodyindex>:<FaceIndex>: <edgeindex> : <vertexindex>The uniform expression format of the unique identifier, wherein FeatureID, BodyIndex, FaceIndex, EdgeIndex and VertexIndex are all integers, the generating unit can include a first assignment unit, a second assignment unit, a third assignment unit, a fourth assignment unit and a fifth assignment unit, wherein:
[0064] The first assignment unit is configured 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 configured to assign the number of the geometric body generated by the feature represented by the FeatureID in the BREP data to the BodyIndex;
[0066] The third assignment unit is configured to assign the serial number of the face contained by the geometric body represented by the BodyIndex in the BREP data to the FaceIndex;
[0067] The fourth assignment unit is configured to assign the serial number of the edge contained by the geometric body represented by the BodyIndex in the BREP data to the EdgeIndex;
[0068] The fifth assignment unit is configured to assign the serial number of the vertex contained by the geometric body represented by the BodyIndex in the BREP data to the VertexIndex.
[0069] From the above description of the accompanying drawings Figure 4 The CAD and CAE data fusion device of the example can know that, on the one hand, after creating a geometric model by computer-aided design (CAD) and setting a simulation analysis entity by computer-aided engineering (CAE), the modeling elements in the geometric model and the simulation analysis entity are uniformly managed, that is, the data structures of the geometric model and the pre-processing model (responsible for setting the simulation analysis entity, etc.) are fused and designed, which effectively avoids the fragmentation of the two types of data caused by the fact that the CAD-created geometric model and the CAE pre-processing model are saved in different files; on the other hand, a unique identifier is assigned to each geometric component to associate the geometric model with the CAE pre-processing model. 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, the topological objects in the geometric model are adjusted in size, the association is still maintained by the unique identifier, and the repeated modeling work between CAD and CAE caused by modifying the geometric model is reduced.
[0070] Figure 5 is a structural schematic diagram of an electronic device provided by an embodiment of the present application. As 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 CAD and CAE data fusion method. The processor 50 implements the steps in the above-described embodiment of the CAD and CAE data fusion method when executing the computer program 52, such as Figure 1 As shown, the steps S101 to S104. Alternatively, the processor 50 implements the functions of the modules / units in the above-described various device embodiments when executing the computer program 52, such as Figure 4 As shown, the functions of the creating module 401, the managing module 402, the assigning module 403, and the associating module 404.
[0071] Exemplarily, the computer program 52 of the CAD and CAE data fusion method mainly includes: creating a geometric model using computer-aided design CAD and setting a simulation analysis entity using computer-aided engineering CAE, respectively; uniformly managing modeling elements in the geometric model and the simulation analysis entity, wherein the modeling elements include geometric components; assigning a unique identifier to each geometric component for the uniformly managed simulation analysis entity and the geometric components in the geometric model; and associating the geometric model with a 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 capable of completing a specific function, which is 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 the creating module 401, the managing module 402, the assigning module 403, and the associating module 404 (modules in the virtual device), and the specific functions of the modules are as follows: the creating module 401 is configured to create a geometric model using computer-aided design CAD and set a simulation analysis entity using computer-aided engineering CAE, respectively; the managing module 402 is configured to uniformly manage modeling elements in the geometric model and the simulation analysis entity, wherein the modeling elements include geometric components; the assigning module 403 is configured to assign a unique identifier to each geometric component for the uniformly managed simulation analysis entity and the geometric components in the geometric model; and the associating module 404 is configured to associate the geometric model with a pre-processing model of CAE through the unique identifier assigned to each geometric component.
[0072] The electronic device 5 can include but is not limited to the processor 50 and the memory 51. Those skilled in the art can understand that, Figure 5 This is merely an example of electronic device 5 and does not constitute a limitation on electronic device 5. It may include more or fewer components than shown, or combine certain components, or different components. For example, electronic device may also include input / 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 (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), 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.
[0074] The memory 51 can be an internal storage unit of the electronic device 5, such as a hard disk or RAM. The memory 51 can also be an external storage device of the electronic device 5, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card. Furthermore, the memory 51 can include both internal and external storage units of the electronic device 5. The memory 51 is used to store computer programs and other programs and data required by the electronic device. The memory 51 can also be used to temporarily store data that has been output or will be output.
[0075] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed. That is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above-described device can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0076] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0077] Those skilled in the art will recognize that the units and algorithm steps of the various examples 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 implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0078] In the embodiments provided in this application, it should be understood that the disclosed apparatus / device and method can be implemented in other ways. For example, the apparatus / device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection of devices or units may be electrical, mechanical, or other forms.
[0079] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0080] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0081] If integrated modules / units are implemented as software functional units and sold or used as independent products, they can be stored in a storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program for the fusion method of CAD and CAE data can be stored in a storage medium. When the computer program is executed by a processor, it can implement the steps of the above method embodiments, namely, creating geometric models using computer-aided design CAD and setting up simulation analysis entities using computer-aided engineering CAE; uniformly managing the modeling elements in the geometric model and the simulation analysis entities, wherein the modeling elements include geometric components; assigning a unique identifier to each geometric component for the uniformly managed simulation analysis entities and geometric components in the geometric model; and associating the geometric model with the pre-processing model of CAE through the unique identifier assigned to each geometric component. The computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form. Storage media can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the contents of storage media can be appropriately added to or removed according to the requirements of legislation and patent practice in a jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, storage media may not include electrical carrier signals and telecommunication signals.
[0082] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. These modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application. The specific embodiments described above further illustrate the purpose, technical solutions, and beneficial effects of this application. It should be understood that the above descriptions are merely specific embodiments of this application and are not intended to limit the protection scope of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this 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 includes: The geometric model was created using Computer-Aided Design (CAD), and the entity was set up for simulation analysis using Computer-Aided Engineering (CAE). The modeling elements and simulation analysis entities in the geometric model are managed in a unified manner. The modeling elements include geometric components. The unified management of the modeling elements and simulation analysis entities in the geometric model includes: 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; and placing the attributes assigned to the unified data structure in a unified parent class for management. For the unified management of the simulation analysis entity and the geometric components in the geometric model, a unique identifier is assigned to each geometric component. This process includes: defining a unified expression format for the unique identifier; and generating a corresponding unique identifier for each geometric component based on its number or sequence number in the boundary representation BREP data. The geometric model is associated with the CAE's preprocessing model by assigning a unique identifier to each geometric component.
2. The method for fusing CAD and CAE data as described in claim 1, characterized in that, The process of creating geometric models using Computer-Aided Design (CAD) and setting up simulation analysis entities using Computer-Aided Engineering (CAE) includes: The sketch was created using the CAD software. Use the sketch to create part features; 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 described in claim 1, characterized in that, The unified expression format for defining the unique identifier includes using <featureid> : <bodyindex> : <faceindex> : <edgeindex> : <vertexindex> As a unified expression format for the unique identifier, FeatureID, BodyIndex, FaceIndex, EdgeIndex, and VertexIndex are all integers;< / vertexindex> < / edgeindex> < / faceindex> < / bodyindex> < / featureid> Based on the number or sequence number of the geometric component in the boundary representation BREP, generate a corresponding unique identifier for each geometric component, including: Assign the feature ID of the geometric component in the BREP data to the FeatureID; The index of the geometry generated by the feature ID in the BREP data is assigned to the BodyIndex. Assign the index of a face contained in the BREP data of the geometry represented by BodyIndex to FaceIndex; Assign the index of a certain edge contained in the geometry represented by BodyIndex in the BREP data to EdgeIndex; The index of a vertex in the BREP data of the geometry represented by BodyIndex is assigned to VertexIndex.
4. A device for fusing CAD and CAE data, characterized in that, The device includes: Create modules for creating geometric models using Computer-Aided Design (CAD) and setting up simulation analysis entities using Computer-Aided Engineering (CAE), respectively. The management module is used to uniformly manage the modeling elements and simulation analysis entities in the geometric model. The modeling elements include geometric components. The uniform management of the modeling elements and simulation analysis entities in the geometric model includes: assigning attributes of a unified data structure to the modeling elements and simulation analysis entities in the geometric model using a unified business data layer; and managing the attributes assigned to the unified data structure in a unified parent class. The allocation module is used to assign a unique identifier to each geometric component in the unified management of the simulation analysis entity and the geometric model. An association module is used to associate the geometric model with the pre-processed model of the CAE by assigning a unique identifier to each of the geometric components; The allocation module includes: a definition unit for defining a unified expression format for the unique identifier; and a generation unit for generating a corresponding unique identifier for each geometric component based on the number or sequence number of the geometric component in the boundary representation BREP data.
5. The CAD and CAE data fusion device as described in claim 4, characterized in that, The generation unit includes a first assignment unit, a second assignment unit, a third assignment unit, a fourth assignment unit, and a fifth assignment unit; the definition unit is specifically used for... <featureid> : <bodyindex> : <faceindex> : <edgeindex> : <vertexindex> As a unified expression format for the unique identifier, FeatureID, BodyIndex, FaceIndex, EdgeIndex, and VertexIndex are all integers;< / vertexindex> < / edgeindex> < / faceindex> < / bodyindex> < / featureid> The first assignment unit is used to assign the feature number of the geometric component in the BREP data to the FeatureID; The second assignment unit is used to assign the number of the geometry generated by the feature ID in the BREP data to the BodyIndex; The third assignment unit is used to assign the index of a face contained in the BREP data of the geometry represented by BodyIndex to FaceIndex. The fourth assignment unit is used to assign the index of a certain edge contained in the geometry represented by BodyIndex in the BREP data to EdgeIndex; The fifth assignment unit is used to assign the index of a vertex of the geometry represented by BodyIndex in the BREP data to VertexIndex.
6. An electronic device, the 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, it implements the steps of the method as described in any one of claims 1 to 3.
7. A storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 3.
Citation Information
Patent Citations
Vehicle model simulation pretreatment modeling method, system and related device
CN115248953A
Method of optimizing a design model
US20230132475A1