CN115879320B - Grid model generation method, device, electronic equipment and computer readable storage medium - Google Patents

Grid model generation method, device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN115879320B
CN115879320B CN202310038565.8A CN202310038565A CN115879320B CN 115879320 B CN115879320 B CN 115879320B CN 202310038565 A CN202310038565 A CN 202310038565A CN 115879320 B CN115879320 B CN 115879320B
Authority
CN
China
Prior art keywords
unit
cavity
grid model
units
acoustic analysis
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310038565.8A
Other languages
Chinese (zh)
Other versions
CN115879320A (en
Inventor
余杰
谭立方
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Pera Corp Ltd
Original Assignee
Pera Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Pera Corp Ltd filed Critical Pera Corp Ltd
Priority to CN202310038565.8A priority Critical patent/CN115879320B/en
Publication of CN115879320A publication Critical patent/CN115879320A/en
Application granted granted Critical
Publication of CN115879320B publication Critical patent/CN115879320B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T90/00Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation

Landscapes

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

Abstract

The application relates to a grid model generation method, a grid model generation device, electronic equipment and a computer readable storage medium. The method comprises the following steps: obtaining a structural analysis grid model of a structure to be analyzed, wherein the structural analysis grid model comprises a basic unit for representing the structure to be analyzed; extracting basic units, and constructing an acoustic analysis cavity based on topological connection relations among the basic units; and extracting cavity surfaces in the acoustic analysis cavity, and connecting the cavity surfaces to form an acoustic analysis grid model of the structure to be analyzed based on topological connection relations among the cavity surfaces. According to the method and the device, the acoustic analysis grid model can be automatically generated according to the structural analysis grid model of the structure to be analyzed, the workload of grid model construction is reduced, the acoustic analysis grid model is generated based on the structural analysis grid model, the difference between the acoustic analysis grid model and the structural analysis grid model is smaller, and the simulation result is more accurate during the coupling simulation analysis of the structure and the acoustics.

Description

Grid model generation method, device, electronic equipment and computer readable storage medium
Technical Field
The present disclosure relates to the field of image processing technologies, and in particular, to a method and apparatus for generating a mesh model, an electronic device, and a computer readable storage medium.
Background
With the rapid development of computer technology, computer simulation technology has wide application in many fields, especially in the field of mechanical manufacturing, and the simulation technology can rapidly and accurately analyze mechanical special effects, so that technicians can design mechanical structures conveniently.
In the related technical scheme, when the simulation of the structure and the acoustic performance is carried out on the mechanical mechanism, a grid model for the structure simulation analysis and a grid model for the acoustic performance simulation analysis are required to be respectively constructed, so that the modeling process of the simulation analysis is complex, the workload is greatly improved, the difference of the grid models can also influence the results of the structure and the acoustic simulation, and particularly, the simulation results are inaccurate and need to be improved when the structure and the acoustic coupling analysis are carried out.
Disclosure of Invention
In order to solve or partially solve the problems existing in the related art, the application provides a grid model generation method, a grid model generation device, an electronic device and a computer readable storage medium, which can automatically generate an acoustic analysis simulation grid model according to a structural simulation analysis model.
The first aspect of the present application provides a grid model generating method, including:
obtaining a structural analysis grid model of a structure to be analyzed, wherein the structural analysis grid model comprises a basic unit for representing the structure to be analyzed;
extracting the basic units based on the types of the basic units in the structural analysis grid model, and constructing an acoustic analysis cavity based on topological connection relations among the basic units;
and extracting cavity surfaces in the acoustic analysis cavity, and connecting the cavity surfaces to form an acoustic analysis grid model of the structure to be analyzed based on topological connection relations among the cavity surfaces.
As a possible embodiment of the present application, in this embodiment, the extracting the base unit based on the type of the base unit in the structural analysis grid model includes:
when no entity unit exists in the structural analysis grid model, extracting a 2D surface unit in the structural analysis grid model as the basic unit;
and when the 3D entity unit exists in the structural analysis grid model, extracting boundary surface units of the 3D entity unit, and taking the boundary surface units and the 2D surface units as the basic units.
As a possible implementation manner of the present application, in this implementation manner, the constructing an acoustic analysis cavity based on the topological connection relationship between the base units includes:
determining unit edges of the boundary surface unit and the 2D surface unit, and determining a target unit group capable of forming a closed space, wherein all the unit edges in the target unit group are connected with at least two surface units;
based on the set of target cells, a closed acoustic analysis cavity is constructed.
As a possible embodiment of the present application, in this embodiment, the constructing a closed acoustic analysis cavity based on the target unit group includes:
traversing the unit edges in a target unit group aiming at the target unit group, and determining the target unit edges with topological connection relation;
based on the target cell edge, a coplanar face cell is determined, which is determined as a cavity face in the closed acoustic analysis cavity.
As a possible embodiment of the present application, in this embodiment, the determining a coplanar face unit based on the target unit edge includes:
determining a candidate surface unit where the target unit edge is located based on the target unit edge;
and determining candidate surface units with normal included angles not larger than a preset included angle threshold as coplanar surface units.
As a possible implementation manner of the present application, in this implementation manner, the connecting each cavity surface to form the acoustic analysis grid model of the structure to be analyzed based on the topological connection relationship between each cavity surface includes:
determining, based on each cavity face, coplanar face units that make up the cavity face;
extracting boundary lines of the coplanar surface units, and determining the shape and the size of the boundary lines;
an acoustic analysis mesh model is generated based on the shape and size of the boundary line.
As a possible embodiment of the present application, in this embodiment, the method further includes:
and combining the acoustic analysis grid model with preset attribute information to generate an acoustic analysis cavity model of the structure to be analyzed, wherein the attribute information comprises excitation and a noise control packet.
A second aspect of the present application provides a mesh model generating apparatus, including:
the system comprises a basic unit acquisition module, a structural analysis grid model and a storage module, wherein the basic unit acquisition module is used for acquiring a structural analysis grid model of a structure to be analyzed, and the structural analysis grid model comprises a basic unit used for representing the structure to be analyzed;
the cavity generation module is used for extracting the basic units based on the types of the basic units in the structural analysis grid model and constructing an acoustic analysis cavity based on the topological connection relation among the basic units;
the grid model generation module is used for extracting cavity surfaces in the acoustic analysis cavity and connecting the cavity surfaces to form an acoustic analysis grid model of the structure to be analyzed based on topological connection relations among the cavity surfaces.
A third aspect of the present application provides an electronic device, comprising:
a processor; and
a memory having executable code stored thereon which, when executed by the processor, causes the processor to perform the method as described above.
A fourth aspect of the present application provides a computer readable storage medium having stored thereon executable code which, when executed by a processor of an electronic device, causes the processor to perform a method as described above.
According to the embodiment of the application, the basic units of the structural analysis grid model are extracted, the cavity of the acoustic analysis model is determined based on the topological connection relation between the basic units, the acoustic analysis cavity grid model is constructed based on the cavity surface, the acoustic analysis grid model can be automatically generated according to the structural analysis grid model of the structure to be analyzed, the workload of constructing the grid model is reduced, the acoustic analysis grid model is generated based on the structural analysis grid model, the difference between the acoustic analysis grid model and the structural analysis grid model is smaller, and the simulation result is more accurate when the structural and acoustic coupling simulation analysis is performed.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The foregoing and other objects, features and advantages of the application will be apparent from the following more particular descriptions of exemplary embodiments of the application as illustrated in the accompanying drawings wherein like reference numbers generally represent like parts throughout the exemplary embodiments of the application.
FIG. 1 is a flow chart of a grid model generation method according to an embodiment of the present application;
FIG. 2 is a flow chart of a method of extracting a base unit according to an embodiment of the present application;
FIG. 3 is a flow diagram illustrating a method of constructing an acoustic analysis cavity according to an embodiment of the present application;
FIG. 4 is a flow chart illustrating a method of determining a cavity surface according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a mesh model shown in an embodiment of the present application;
FIG. 6 is a flow diagram illustrating a method of determining coplanar face units according to an embodiment of the present application;
FIG. 7 is a flow chart illustrating a method of constructing an acoustic analysis grid model according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a mesh model generating apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
The above and other features, advantages, and aspects of embodiments of the present disclosure will become more apparent by reference to the following detailed description when taken in conjunction with the accompanying drawings. The same or similar reference numbers will be used throughout the drawings to refer to the same or like elements. It should be understood that the figures are schematic and that elements and components are not necessarily drawn to scale.
Detailed Description
Embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The terminology used in the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any or all possible combinations of one or more of the associated listed items.
It should be understood that although the terms "first," "second," "third," etc. may be used herein to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first message may also be referred to as a second message, and similarly, a second message may also be referred to as a first message, without departing from the scope of the present application. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present application, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
With the rapid development of computer technology, computer simulation technology has wide application in many fields, especially in the field of mechanical manufacturing, and the simulation technology can rapidly and accurately analyze mechanical special effects, so that technicians can design mechanical structures conveniently. In the related technical scheme, when the simulation of the structure and the acoustic performance is carried out on the mechanical mechanism, a grid model for the structure simulation analysis and a grid model for the acoustic performance simulation analysis are required to be respectively constructed, so that the modeling process of the simulation analysis is complex, the workload is greatly improved, the difference of the grid models can also influence the results of the structure and the acoustic simulation, and particularly, the simulation results are inaccurate and need to be improved when the structure and the acoustic coupling analysis are carried out.
In view of the above problems, an embodiment of the present application provides a grid model generating method capable of automatically generating an acoustic analysis simulation grid model according to a structural simulation analysis model.
The following describes the technical scheme of the embodiments of the present application in detail with reference to the accompanying drawings.
Fig. 1 is a flowchart of a mesh model generating method according to an embodiment of the present application.
Referring to fig. 1, the mesh model generating method provided in the embodiment of the present application includes:
step S101, a structural analysis grid model of a structure to be analyzed is obtained, wherein the structural analysis grid model comprises a basic unit for representing the structure to be analyzed.
In the embodiment of the present application, the structure to be analyzed refers to a mechanical mechanism, such as a small mechanical part, a large ship, etc., which needs to perform structural performance simulation analysis and acoustic performance simulation analysis, and the present application is not limited thereto. In this embodiment of the present application, the structural analysis grid model of the structure to be analyzed refers to a grid model for performing mechanical performance simulation analysis on the structure to be analyzed, where the structural analysis grid model includes a base unit for representing the structure to be analyzed. As a possible embodiment of the present application, in this embodiment, the base unit refers to a base unit that constitutes a mesh structure in a mesh model, such as a 3D solid unit, a 2D surface unit, a shell unit, and the like. In the embodiment of the application, the structural analysis grid model of the structure to be analyzed can be constructed by a technician according to actual conditions.
Step S102, extracting the basic units based on the types of the basic units in the structural analysis grid model, and constructing an acoustic analysis cavity based on the topological connection relation among the basic units.
In the embodiment of the application, the types of the basic units include, but are not limited to, 3D solid units, 2D surface units (such as plane units, shell units and the like), and when the acoustic analysis cavity is constructed based on the basic units of the structural analysis grid model, the construction structure of the acoustic analysis cavity is different due to different types of the basic units.
Alternatively, a possible embodiment is provided, in which, as shown in fig. 2, the extracting the base unit based on the type of the base unit in the structural analysis grid model includes:
step S201, when no entity unit exists in the structural analysis grid model, extracting a 2D surface unit in the structural analysis grid model as the basic unit;
step S202, when a 3D entity unit exists in the structural analysis grid model, extracting boundary surface units of the 3D entity unit, and taking the boundary surface units and the 2D surface units as the basic units.
In this embodiment of the present application, the entity unit refers to a unit having a 3D entity structure in the grid model, such as a chamber, a room, or other structures, and as a possible implementation manner of this application, when performing a mechanical structure performance simulation analysis on a structure, a reasonable splitting may need to be performed on the structure, in the grid model after splitting, some split modules may have no 3D entity unit, only 2D surface units exist in the module obtained by splitting, and then these 2D surface units are directly used as the base units of the grid model to be analyzed.
As a possible embodiment of the present application, in this embodiment, if a 3D solid unit exists in the structural analysis grid model, it is necessary to extract a boundary surface unit of the 3D solid unit, and use the boundary surface unit and a 2D surface unit in the structural analysis grid model as a base unit of the structural analysis grid.
As a possible implementation manner of the present application, in this implementation manner, as shown in fig. 3, the constructing an acoustic analysis cavity based on a topological connection relationship between the base units includes:
step S301, determining the unit edges of the boundary surface unit and the 2D surface unit, and determining a target unit group that can form a closed space, where all the unit edges in the target unit group are connected to at least two surface units.
In the embodiment of the application, when the acoustic analysis cavity is constructed based on the topological connection relationship between the basic units, the topological connection relationship between the basic units needs to be determined according to the unit edges of the edge surface unit and the 2D surface unit. In the embodiment of the present application, the topological connection relationship refers to that a connection relationship exists between basic units, and optionally, a connection relationship exists between a boundary surface unit and a unit edge of a 2D surface unit.
In this embodiment, the target unit group refers to a unit group formed by basic units that can form a closed acoustic analysis cavity, where, when determining the target unit group, the unit edges of the basic units may be determined, and as a possible implementation manner of this application, the unit edges of all the basic units in the target unit group are connected with at least the unit edges of two other basic units.
Step S302, constructing a closed acoustic analysis cavity based on the target unit group.
In an embodiment of the present application, after determining the target set of cells, a closed acoustic analysis cavity is constructed based on the target set of cells. As a possible embodiment of the present application, in this embodiment, as shown in fig. 4, the constructing a closed acoustic analysis cavity based on the target unit group includes:
step S401, for a target unit group, traversing the unit edges in the target unit group, and determining the target unit edges with topological connection relationship.
In the embodiment of the application, there may be a plurality of target unit groups which can be determined for a structural analysis grid model, and a separate closed acoustic analysis cavity can be constructed for each target unit group.
In this embodiment of the present application, for a target unit group, the unit edges of all the base units in the target unit group are traversed, and for each unit edge of each base unit, the unit edge connected to at least two unit edges of other base units is taken as the target unit edge.
As a possible embodiment of the present application, as shown in fig. 5, a schematic diagram of a structural analysis grid model is shown, in which there are two closed acoustic analysis cavities, where 12 edges of each cube in fig. 5 are target cell edges when determining target cell edges. Of course, the illustration is only one possible implementation of the present application, and the grid model in practical application is much more complex, but the principle of determining the target cell edge is the same as that provided in the present application.
And step S402, determining a coplanar surface unit based on the target unit edge, and determining the coplanar surface unit as a cavity surface in the closed acoustic analysis cavity.
In the present embodiment, after determining the target cell edge, it is necessary to determine the coplanar face cells, and then determine the coplanar face cells as cavity faces in the closed acoustic analysis cavity. Similar to the previous embodiments, each set of target cell sides may define a set of coplanar face cells that may form a plane, i.e., a cavity face in the acoustic analysis cavity.
In an embodiment of the present application, as shown in fig. 6, the determining, based on the target cell edge, a coplanar surface unit includes:
step S601, determining, based on the target unit edge, a candidate surface unit where the target unit edge is located.
In this embodiment of the present application, after determining the target unit edge, determining the candidate surface unit where the target unit edge is located, where optional, the candidate surface unit refers to a surface unit where the target unit edge is located and a surface unit which is in the same plane with the surface unit where the target unit edge is located, and for one target unit edge, multiple sets of candidate surface units may be determined, for example, as shown in fig. 5, where one edge of the cube is associated with two surfaces, and then both surfaces may be used as candidate surface units.
And step S602, determining candidate surface units with normal included angles not larger than a preset included angle threshold as coplanar surface units.
In the embodiment of the application, different candidate surface units may be in different planes, the cavity surface forming the closed acoustic analysis cavity needs to be a plane, and the coplanar surface units can be selected from the candidate surface units as the cavity surface. In the embodiment of the application, the candidate surface units with the normal included angle not larger than the preset included angle threshold value can be determined to be coplanar surface units.
Step S103, extracting cavity surfaces in the acoustic analysis cavity, and connecting the cavity surfaces to form an acoustic analysis grid model of the structure to be analyzed based on the topological connection relationship between the cavity surfaces.
In the embodiment of the application, after the acoustic analysis cavity is constructed, the cavity surfaces are connected to form an acoustic analysis grid model of the structure to be analyzed based on the topological connection relation among the cavity surfaces. As a possible embodiment of the present application, in this embodiment, as shown in fig. 7, the connecting each cavity surface to form the acoustic analysis grid model of the structure to be analyzed based on the topological connection relationship between each cavity surface includes:
step S701 of determining, based on each cavity surface, coplanar surface units constituting the cavity surface;
step S702, extracting boundary lines of the coplanar surface units, and determining the shape and the size of the boundary lines;
step S703, generating an acoustic analysis grid model based on the shape and size of the boundary line.
In the embodiment of the present application, six coplanar sets of face units can be found in both the left and right chambers as shown in fig. 5. And extracting boundary lines of each found surface unit group to form a polygon. The polygon is a cavity surface of the cavity for acoustic analysis, and the total side length and the area of the polygon of the cavity surface are calculated to obtain cavity surface parameters necessary for acoustic simulation analysis. Six cavity surfaces can be obtained for the left cavity and the right cavity, and each cavity surface is quadrilateral. It can be seen from the example mesh model that the resulting quadrilateral for each cavity face is made up of a large number of quadrilateral elements. In embodiments of the present application, after the shape and size of each cavity face is determined, an acoustic analysis mesh model of the structure to be analyzed may be generated.
As a possible embodiment of the present application, in this embodiment, the method further includes:
and combining the acoustic analysis grid model with preset attribute information to generate an acoustic analysis cavity model of the structure to be analyzed, wherein the attribute information comprises excitation and a noise control packet.
In the embodiment of the application, the cavity model for acoustic analysis contains attribute information such as a grid model, excitation, a noise control packet and the like, and the cavity model constructed in the application refers to the grid model of the cavity. In constructing a grid model of a cavity, the most important is the construction of the grid model of the cavity surface. Although the cavity surface in the above-described exemplary model is composed of a plurality of quadrangular units, the cavity surface is regular and may be represented by one large quadrangular unit. However, for complex models, the cavity surface is a complex polygon, and then a mesh model can still be used in which all the surface elements that make up the cavity surface form the cavity surface.
According to the embodiment of the application, the basic units of the structural analysis grid model are extracted, the cavity of the acoustic analysis model is determined based on the topological connection relation between the basic units, the acoustic analysis cavity grid model is constructed based on the cavity surface, the acoustic analysis grid model can be automatically generated according to the structural analysis grid model of the structure to be analyzed, the workload of constructing the grid model is reduced, the acoustic analysis grid model is generated based on the structural analysis grid model, the difference between the acoustic analysis grid model and the structural analysis grid model is smaller, and the simulation result is more accurate when the structural and acoustic coupling simulation analysis is performed.
Corresponding to the embodiment of the application function implementation method, the application also provides a grid model generation device, electronic equipment and corresponding embodiments.
Fig. 8 is a schematic structural diagram of the mesh model generating apparatus shown in the embodiment of the present application.
Referring to fig. 8, the mesh model generating apparatus 80 provided in the embodiment of the present application includes a base unit acquiring module 810, a cavity generating module 820, and a mesh model generating module 830, where:
a basic unit obtaining module 810, configured to obtain a structural analysis grid model of a structure to be analyzed, where the structural analysis grid model includes a basic unit for representing the structure to be analyzed;
a cavity generation module 820, configured to extract the base units based on the types of the base units in the structural analysis grid model, and construct an acoustic analysis cavity based on the topological connection relationship between the base units;
the grid model generating module 830 is configured to extract a cavity surface in the acoustic analysis cavity, and connect the cavity surfaces to form an acoustic analysis grid model of the structure to be analyzed based on a topological connection relationship between the cavity surfaces.
As a possible embodiment of the present application, in this embodiment, the extracting the base unit based on the type of the base unit in the structural analysis grid model includes:
when no entity unit exists in the structural analysis grid model, extracting a 2D surface unit in the structural analysis grid model as the basic unit;
and when a 3D entity unit exists in the structural analysis grid model, extracting the 3D entity unit as a boundary surface unit, and taking the boundary surface unit and the 2D surface unit as the basic unit.
As a possible implementation manner of the present application, in this implementation manner, the constructing an acoustic analysis cavity based on the topological connection relationship between the base units includes:
determining unit edges of the boundary surface unit and the 2D surface unit, and determining a target unit group capable of forming a closed space, wherein all the unit edges in the target unit group are connected with at least two unit edges;
based on the set of target cells, a closed acoustic analysis cavity is constructed.
As a possible embodiment of the present application, in this embodiment, the constructing a closed acoustic analysis cavity based on the target unit group includes:
traversing the unit edges in a target unit group aiming at the target unit group, and determining the target unit edges with topological connection relation;
based on the target cell edge, a coplanar face cell is determined, which is determined as a cavity face in the closed acoustic analysis cavity.
As a possible embodiment of the present application, in this embodiment, the determining a coplanar face unit based on the target unit edge includes:
determining a candidate surface unit where the target unit edge is located based on the target unit edge;
and determining candidate surface units with normal included angles not larger than a preset included angle threshold as coplanar surface units.
As a possible implementation manner of the present application, in this implementation manner, the connecting each cavity surface to form the acoustic analysis grid model of the structure to be analyzed based on the topological connection relationship between each cavity surface includes:
determining, based on each cavity face, coplanar face units that make up the cavity face;
extracting boundary lines of the coplanar surface units, and determining the shape and the size of the boundary lines;
an acoustic analysis mesh model is generated based on the shape and size of the boundary line.
As a possible embodiment of the present application, in this embodiment, the method further includes:
and combining the acoustic analysis grid model with preset attribute information to generate an acoustic analysis cavity model of the structure to be analyzed, wherein the attribute information comprises excitation and a noise control packet.
According to the embodiment of the application, the basic units of the structural analysis grid model are extracted, the cavity of the acoustic analysis model is determined based on the topological connection relation between the basic units, the acoustic analysis cavity grid model is constructed based on the cavity surface, the acoustic analysis grid model can be automatically generated according to the structural analysis grid model of the structure to be analyzed, the workload of constructing the grid model is reduced, the acoustic analysis grid model is generated based on the structural analysis grid model, the difference between the acoustic analysis grid model and the structural analysis grid model is smaller, and the simulation result is more accurate when the structural and acoustic coupling simulation analysis is performed.
Referring now to fig. 9, a schematic diagram of an electronic device 900 suitable for use in implementing embodiments of the present disclosure is shown. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 9 is merely an example, and should not impose any limitations on the functionality and scope of use of embodiments of the present disclosure.
An electronic device includes: a memory and a processor, where the processor may be referred to as a processing device 901 described below, the memory may include at least one of a Read Only Memory (ROM) 902, a Random Access Memory (RAM) 903, and a storage device 908 described below, as follows:
as shown in fig. 9, the electronic device 900 may include a processing means (e.g., a central processor, a graphics processor, etc.) 901, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 902 or a program loaded from a storage means 908 into a Random Access Memory (RAM) 903. In the RAM 903, various programs and data necessary for the operation of the electronic device 900 are also stored. The processing device 901, the ROM902, and the RAM 903 are connected to each other through a bus 904. An input/output (I/O) interface 905 is also connected to the bus 904.
In general, the following devices may be connected to the I/O interface 905: input devices 906 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, and the like; an output device 907 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 908 including, for example, magnetic tape, hard disk, etc.; and a communication device 909. The communication means 909 may allow the electronic device 900 to communicate wirelessly or by wire with other devices to exchange data. While fig. 9 shows an electronic device 900 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 909, or installed from the storage device 908, or installed from the ROM 902. When executed by the processing device 901, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: obtaining a structural analysis grid model of a structure to be analyzed, wherein the structural analysis grid model comprises a basic unit for representing the structure to be analyzed; extracting the basic units based on the types of the basic units in the structural analysis grid model, and constructing an acoustic analysis cavity based on topological connection relations among the basic units; and extracting cavity surfaces in the acoustic analysis cavity, and connecting the cavity surfaces to form an acoustic analysis grid model of the structure to be analyzed based on topological connection relations among the cavity surfaces.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules or units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. Where the name of a module or unit does not in some cases constitute a limitation of the unit itself.
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.

Claims (4)

1. A method for generating a mesh model, comprising:
obtaining a structural analysis grid model of a structure to be analyzed, wherein the structural analysis grid model comprises a basic unit for representing the structure to be analyzed;
extracting the basic units based on the types of the basic units in the structural analysis grid model, and constructing an acoustic analysis cavity based on topological connection relations among the basic units;
the extracting the base unit based on the type of the base unit in the structural analysis grid model comprises:
when no entity unit exists in the structural analysis grid model, extracting a 2D surface unit in the structural analysis grid model as the basic unit;
when a 3D entity unit exists in the structural analysis grid model, extracting a boundary surface unit of the 3D entity unit, and taking the boundary surface unit and the 2D surface unit as the basic unit;
the constructing an acoustic analysis cavity based on the topological connection relation among the base units comprises the following steps:
determining unit edges of the boundary surface unit and the 2D surface unit, and determining a target unit group capable of forming a closed space, wherein all the unit edges in the target unit group are connected with at least two surface units;
constructing a closed acoustic analysis cavity based on the target cell group;
the constructing a closed acoustic analysis cavity based on the target unit group comprises:
traversing the unit edges in a target unit group aiming at the target unit group, and determining the target unit edges with topological connection relation;
determining coplanar face units based on the target unit sides, determining the coplanar face units as cavity faces in the closed acoustic analysis cavity;
the determining coplanar face units based on the target unit edges includes:
determining a candidate surface unit where the target unit edge is located based on the target unit edge;
determining candidate surface units with normal angles not larger than a preset angle threshold as coplanar surface units;
the step of connecting the cavity surfaces to form the acoustic analysis grid model of the structure to be analyzed based on the topological connection relation among the cavity surfaces comprises the following steps:
determining, based on each cavity face, coplanar face units that make up the cavity face;
extracting boundary lines of the coplanar surface units, and determining the shape and the size of the boundary lines;
generating an acoustic analysis mesh model based on the shape and size of the boundary line;
extracting cavity surfaces in the acoustic analysis cavity, and connecting the cavity surfaces to form an acoustic analysis grid model of the structure to be analyzed based on topological connection relations among the cavity surfaces;
and combining the acoustic analysis grid model with preset attribute information to generate an acoustic analysis cavity model of the structure to be analyzed, wherein the attribute information comprises excitation and a noise control packet.
2. A mesh model generation apparatus, comprising:
the system comprises a basic unit acquisition module, a structural analysis grid model and a storage module, wherein the basic unit acquisition module is used for acquiring a structural analysis grid model of a structure to be analyzed, and the structural analysis grid model comprises a basic unit used for representing the structure to be analyzed;
the cavity generation module is used for extracting the basic units based on the types of the basic units in the structural analysis grid model and constructing an acoustic analysis cavity based on the topological connection relation among the basic units;
the extracting the base unit based on the type of the base unit in the structural analysis grid model comprises: when no entity unit exists in the structural analysis grid model, extracting a 2D surface unit in the structural analysis grid model as the basic unit; when a 3D entity unit exists in the structural analysis grid model, extracting a boundary surface unit of the 3D entity unit, and taking the boundary surface unit and the 2D surface unit as the basic unit;
the constructing an acoustic analysis cavity based on the topological connection relation among the base units comprises the following steps: determining unit edges of the boundary surface unit and the 2D surface unit, and determining a target unit group capable of forming a closed space, wherein all the unit edges in the target unit group are connected with at least two surface units; constructing a closed acoustic analysis cavity based on the target cell group;
the constructing a closed acoustic analysis cavity based on the target unit group comprises: traversing the unit edges in a target unit group aiming at the target unit group, and determining the target unit edges with topological connection relation; determining coplanar face units based on the target unit sides, determining the coplanar face units as cavity faces in the closed acoustic analysis cavity;
the determining coplanar face units based on the target unit edges includes: determining a candidate surface unit where the target unit edge is located based on the target unit edge; determining candidate surface units with normal angles not larger than a preset angle threshold as coplanar surface units;
the step of connecting the cavity surfaces to form the acoustic analysis grid model of the structure to be analyzed based on the topological connection relation among the cavity surfaces comprises the following steps: determining, based on each cavity face, coplanar face units that make up the cavity face; extracting boundary lines of the coplanar surface units, and determining the shape and the size of the boundary lines; generating an acoustic analysis mesh model based on the shape and size of the boundary line; extracting cavity surfaces in the acoustic analysis cavity, and connecting the cavity surfaces to form an acoustic analysis grid model of the structure to be analyzed based on topological connection relations among the cavity surfaces;
the grid model generation module is used for extracting cavity surfaces in the acoustic analysis cavity and connecting the cavity surfaces to form an acoustic analysis grid model of the structure to be analyzed based on topological connection relations among the cavity surfaces; and combining the acoustic analysis grid model with preset attribute information to generate an acoustic analysis cavity model of the structure to be analyzed, wherein the attribute information comprises excitation and a noise control packet.
3. An electronic device, comprising:
a processor; and
a memory having executable code stored thereon, which when executed by the processor, causes the processor to perform the method of claim 1.
4. A computer readable storage medium having stored thereon executable code which when executed by a processor of an electronic device causes the processor to perform the method of claim 1.
CN202310038565.8A 2023-01-13 2023-01-13 Grid model generation method, device, electronic equipment and computer readable storage medium Active CN115879320B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310038565.8A CN115879320B (en) 2023-01-13 2023-01-13 Grid model generation method, device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310038565.8A CN115879320B (en) 2023-01-13 2023-01-13 Grid model generation method, device, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN115879320A CN115879320A (en) 2023-03-31
CN115879320B true CN115879320B (en) 2023-06-16

Family

ID=85758417

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310038565.8A Active CN115879320B (en) 2023-01-13 2023-01-13 Grid model generation method, device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN115879320B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101367414B (en) * 2008-05-07 2010-06-02 奇瑞汽车股份有限公司 Car body sound vibration roughness NVH design method based on low frequency acoustic sensitiveness inside vehicle
CN109117488B (en) * 2017-06-26 2021-02-26 株洲中车时代电气股份有限公司 Converter noise analysis method
CN110852000B (en) * 2018-07-24 2023-01-03 上汽通用五菱汽车股份有限公司 Vehicle body structure optimization method
CN109657351B (en) * 2018-12-19 2023-05-30 安徽江淮汽车集团股份有限公司 In-car acoustic cavity modeling method based on in-car CAS
CN109977533A (en) * 2019-03-22 2019-07-05 中车永济电机有限公司 The simulated prediction method of traction electric machine fan noise
CN112528532A (en) * 2020-11-17 2021-03-19 上海工程技术大学 Acoustic comfort level testing method and system based on cabin virtual sound field environment construction

Also Published As

Publication number Publication date
CN115879320A (en) 2023-03-31

Similar Documents

Publication Publication Date Title
CN111967339B (en) Method and device for planning unmanned aerial vehicle path
CN109754464B (en) Method and apparatus for generating information
CN108364327B (en) Method and device for processing graph data
CN115879320B (en) Grid model generation method, device, electronic equipment and computer readable storage medium
WO2020155908A1 (en) Method and apparatus for generating information
CN112286808B (en) Application program testing method and device, electronic equipment and medium
CN112434064B (en) Data processing method, device, medium and electronic equipment
CN111754984B (en) Text selection method, apparatus, device and computer readable medium
CN115272760A (en) Small sample smoke image fine classification method suitable for forest fire smoke detection
CN112379967B (en) Simulator detection method, device, equipment and medium
CN111666449B (en) Video retrieval method, apparatus, electronic device, and computer-readable medium
CN111680754B (en) Image classification method, device, electronic equipment and computer readable storage medium
CN114820558A (en) Automobile part detection method and device, electronic equipment and computer readable medium
CN113034570A (en) Image processing method and device and electronic equipment
CN113570067A (en) Synchronization method, device and program product of distributed system
CN114863025B (en) Three-dimensional lane line generation method and device, electronic device and computer readable medium
CN117709129B (en) Multi-scale simulation method, device, equipment and storage medium
CN112883697B (en) Workflow form generation method, device, electronic equipment and computer readable medium
CN111582482B (en) Method, apparatus, device and medium for generating network model information
CN112884794B (en) Image generation method, device, electronic equipment and computer readable medium
CN116452770B (en) Three-dimensional model reconstruction method, device, equipment and medium
CN113283115B (en) Image model generation method and device and electronic equipment
CN112070163B (en) Image segmentation model training and image segmentation method, device and equipment
CN111582376B (en) Visualization method and device for neural network, electronic equipment and medium
CN116755889B (en) Data acceleration method, device and equipment applied to server cluster data interaction

Legal Events

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