CN111177967B - Batch modification method of grid cells, device and electronic equipment thereof - Google Patents

Batch modification method of grid cells, device and electronic equipment thereof Download PDF

Info

Publication number
CN111177967B
CN111177967B CN201911395621.3A CN201911395621A CN111177967B CN 111177967 B CN111177967 B CN 111177967B CN 201911395621 A CN201911395621 A CN 201911395621A CN 111177967 B CN111177967 B CN 111177967B
Authority
CN
China
Prior art keywords
grid
cells
model
grid cells
information
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
CN201911395621.3A
Other languages
Chinese (zh)
Other versions
CN111177967A (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.)
Suzhou Shushe Technology Co ltd
Original Assignee
Suzhou Shushe Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Shushe Technology Co ltd filed Critical Suzhou Shushe Technology Co ltd
Priority to CN201911395621.3A priority Critical patent/CN111177967B/en
Publication of CN111177967A publication Critical patent/CN111177967A/en
Application granted granted Critical
Publication of CN111177967B publication Critical patent/CN111177967B/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
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S10/00Systems supporting electrical power generation, transmission or distribution
    • Y04S10/50Systems or methods supporting the power network operation or management, involving a certain degree of interaction with the load-side end user applications

Landscapes

  • Apparatus Associated With Microorganisms And Enzymes (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a batch modification method of grid cells, a device thereof and electronic equipment. The method comprises the following steps: determining a mapping relation between the grid cells and the cells of the table; recording various model data of the grid unit through a plurality of tables according to the mapping relation; each table is used for recording model data; according to the received modification instruction, carrying out corresponding batch modification operation on the table to update the data information of the table; generating a model modification file corresponding to the data information of the updated form; importing the model modification file. According to the method, the model data of the grid cells are mapped into the corresponding multiple tables, the characteristic that the tables can support batch modification operation is utilized, batch modification of the model data of the grid cells in the finite element model is achieved, and the working efficiency of designers is effectively improved.

Description

Batch modification method of grid cells, device and electronic equipment thereof
Technical Field
The present invention relates to the field of CAE technologies, and in particular, to a method and an apparatus for modifying grid cells in batches, and an electronic device.
Background
The mesh model is a method commonly used in finite element models. The concept can be divided into 5 parts of units, characteristics, loads, analysis and results. Where a "cell" (or grid cell) corresponds to each component of a physical object. "Properties" are some of the properties of the individual components, such as materials, profiles, etc. "load" is the force experienced by the individual components of a physical object. The analysis is to solve the mechanical property characterization of each component by some engineering or finite element calculation method aiming at the load size on each component. "results" are the presentation of results calculated by the calculation method.
In the process of implementing the present invention, the inventors found that the related art has the following problems: if the appearance or the characteristics of the traditional finite element model are modified, the information of a plurality of grid cells needs to be added, deleted, changed and searched. However, when the information of the grid cells is modified by a grid file mode or a three-dimensional engine mode, very complex operations are required for a designer, and the batch is difficult to realize, so that the efficiency is low.
Disclosure of Invention
Aiming at the technical problems, the embodiment of the invention provides a batch modification method of grid cells, a device thereof and electronic equipment, which are used for solving the problems that the information modification operation of the existing grid cells is complex and batch modification cannot be performed.
A first aspect of an embodiment of the present invention provides a method for modifying mesh unit model data in batches.
The batch modification method comprises the following steps:
determining a mapping relation between the grid cells and the cells of the table; recording various model data of the grid unit through a plurality of tables according to the mapping relation; each table is used for recording model data; according to the received modification instruction, carrying out corresponding batch modification operation on the table to update the data information of the table; generating a model modification file corresponding to the data information of the updated form; importing the model modification file.
Optionally, the determining the mapping relationship between the grid cells and the cells of the table specifically includes:
cutting the three-dimensional model along a set direction, and flattening the model on a plane where the table is located; and determining the mapping relation between each grid cell in the three-dimensional model and the cells of the table by means of automatic expansion or manual expansion.
Optionally, according to the mapping relationship, recording, by a plurality of tables, multiple model data of the grid unit, including:
determining a cell location to which the grid cell maps; and recording the number information, the section thickness information and the characteristic information of the grid cells through the cells positioned at the same cell position in the number table, the thickness table and the characteristic table respectively.
Optionally, the grid cells include quadrilateral grid cells, triangular grid cells, and vacant grid cells; the quadrilateral grid cells are represented by first identifiers in cells of the numbering table, the triangular grid cells are represented by second identifiers in cells of the numbering table, and the blank grid cells are represented by spaces in the numbering table.
Optionally, the table further includes a node table for recording node information of the grid cells.
Optionally, the generating a model modification file corresponding to the data information of the updated table specifically includes:
acquiring the number information of the target grid unit related to the modification instruction; determining the cell positions of the target grid cells in a coding table according to the number information; acquiring node information corresponding to the grid cells in the node table; according to the cell positions, the section thickness information and the characteristic information of the target grid cells are searched in the thickness table and the characteristic table respectively; a corresponding model modification file is generated.
Optionally, the acquiring node information corresponding to the grid unit specifically includes:
determining the type of the grid cell according to the identification in the cell; when the grid unit is a quadrilateral grid unit, four node information is acquired from the node table; and when the grid unit is a triangular grid unit, three node information is acquired from the node table.
A second aspect of an embodiment of the present invention provides a batch modification apparatus for grid cells. Wherein the device comprises:
a mapping module, configured to determine a mapping relationship between the grid cells and cells of a table; the recording module is used for recording various model data of the grid unit through a plurality of tables according to the mapping relation; each table is used for recording model data; the batch modification module is used for carrying out corresponding batch modification operation on the table according to the received modification instruction so as to update the data information of the table; a modification file generation module, configured to generate a model modification file corresponding to the data information of the updated table; and the importing module is used for importing the model modification file.
A third aspect of an embodiment of the present invention provides an electronic device. The electronic equipment comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to hold at least one executable instruction that causes the processor to perform the steps of the batch modification method for grid cells as described above.
A fourth aspect of embodiments of the present invention provides a non-volatile computer storage medium. Wherein the non-volatile storage medium has stored therein at least one executable instruction that causes a processor to perform the steps of the batch modification method of grid cells as described above.
According to the technical scheme provided by the embodiment of the invention, the model data of the grid cells are mapped into the corresponding multiple tables, the characteristics of the tables that batch modification operation can be supported are utilized, the corresponding model modification file is generated based on the modification of the tables, the batch modification of the model data of the grid cells in the finite element model is realized, the working efficiency of designers can be effectively improved, and the modification of a large number of grid cells can be rapidly completed.
Drawings
FIG. 1 is a schematic diagram of one embodiment of a method for batch modification of grid cells in accordance with an embodiment of the present invention;
FIG. 2 is a schematic diagram of an embodiment of generating a model modification file according to an embodiment of the present invention;
FIG. 3 is a schematic view of one embodiment of a fuselage beam model in accordance with an embodiment of the present invention;
FIG. 4a is a schematic diagram of one embodiment of a quadrilateral mesh unit according to an embodiment of the present invention;
FIG. 4b is a schematic diagram of one embodiment of a triangular mesh unit in accordance with an embodiment of the present invention;
FIG. 5a is a schematic diagram of one embodiment of a numbering table according to an embodiment of the invention;
FIG. 5b is a schematic view of an embodiment of a thickness table according to an embodiment of the present invention
FIG. 5c is a schematic diagram of an embodiment of a characteristic table of an embodiment of the present invention
FIG. 5d is a schematic diagram of one embodiment of a node table according to an embodiment of the present invention
FIG. 5e is a schematic diagram of an embodiment of a generative model modification file program according to an embodiment of the present invention
FIG. 6 is a schematic diagram of one embodiment of a batch modification apparatus for grid cells of an embodiment of the present invention;
fig. 7 is a schematic diagram of an embodiment of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to fall within the scope of the invention.
It should be noted that, as used in this specification, terms "vertical," "horizontal," "left," "right," "upper," "lower," "inner," "outer," "bottom," and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are merely for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the device or element being referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and/or" as used in this specification includes any and all combinations of one or more of the associated listed items. In addition, the technical features of the different embodiments of the present invention described below may be combined with each other as long as they do not collide with each other.
Fig. 1 is a block diagram of a method for modifying grid cells according to an embodiment of the present invention. The key of the batch modification method is that the mapping relation between the grid cells of the plate shell model and the cells of the table is utilized, so that the model data information of the grid cells can be filled into the cells corresponding to the table.
Therefore, the information of the grid cells can be converted into the form of a table to be expressed, and the batch modification of the grid cells is realized by utilizing the characteristic that the table can execute batch modification operation. The specifically used form may be implemented in any software, such as an Excel form, which is widely used.
As shown in fig. 1, the batch modification method of the grid cell model data may include the steps of:
step 110: and determining the mapping relation between the grid cells and the cells of the table.
The grid cell numbers and characteristic numbers in the grid model are all distributed according to a specific mathematical rule. A typical distribution may be a linear function, for example, an initial cell number of 100, with 1 per cell increment.
It will be appreciated that such numbering arrangements are in fact consistent with the arrangement of cells in the table. For example, similar to the form manipulation function in Excel software. Therefore, grid cells of the three-dimensional grid model such as the plate-shell structure can be mapped into cells in the table, and a mapping relation between the grid cells and the table can be established.
In some embodiments, the step of determining the mapping relationship may include:
first, the three-dimensional model is cut along a set direction and flattened on a plane in which the table is located. The direction of the setting can be specifically selected according to the actual situation. In particular, it consists of a series of consecutive grid cells in a straight line. The three-dimensional model can be expanded along this direction, tiled onto Excel tables.
Then, the mapping relation between each grid cell in the three-dimensional model and the cells of the table is determined by means of automatic expansion or manual expansion. The grid cells after spreading can be used for establishing a mapping relation with each cell in the table by selecting a proper reference standard.
Step 120: and recording various model data of the grid unit through a plurality of tables according to the mapping relation.
Wherein the mapping relationship indicates a correspondence relationship between each cell and the grid cell. Thus, each model data can be filled into a single table for recording. That is, each table is used to record one model data.
The model data refers to information about each grid cell, such as profile thickness, material or other relevant attribute data, etc. The final goal of the batch modification operation is to modify the information of the individual grid cells.
Step 130: and carrying out corresponding batch modification operation on the table according to the received modification instruction so as to update the data information of the table.
Through the above steps, the information of each grid cell in the grid model is converted into a plurality of tables. Thus, modification of the grid model may be achieved through batch modification operations on the tables.
The modification instruction may specifically be any type of instruction information. Which is entered by the designer according to the modification requirements. In the actual operation process, the related office software such as Excel can complete batch modification operation of the table very simply and quickly.
Step 140: and generating a model modification file corresponding to the data information of the updated table.
After the batch modification operation, the data information of the table is updated. And recording the updated data information of the tables in a set format by means of computer programming and the like to form a final model modification file. The specific adopted format can be set by a technician according to the actual situation, and only the standard of three-dimensional software import needs to be met.
Step 150: importing the model modification file.
After the model modification file meeting the standard is generated, the model modification file can be imported into computer three-dimensional software, and a grid model corresponding to the modified grid unit is generated according to the model modification file so as to realize batch modification operation.
In the process of generating the model modification file, the key is to acquire the required model data of the grid cells in a form search mode so as to support automatic modification of the grid model by three-dimensional software.
Fig. 2 is a flowchart of obtaining model data of a grid cell to generate a model modification file according to an embodiment of the present invention. As shown in fig. 2, the step of generating the model modification file may include:
step 141: and acquiring the number information of the target grid cell related to the modification instruction.
The user entered modification instructions will point to the grid cells that need to be modified. The grid cells that require bulk modification are referred to herein as "target grid cells".
Step 142: and determining the cell positions of the target grid cells in a coding table according to the number information.
As disclosed in the above embodiments, the model data of the grid cell is recorded by a plurality of tables and converted into the form of table data. The same cell locations in each table represent the same target grid cells. Thus, determining the cell location of the target grid cell in one of the tables may continue to obtain additional model data.
Step 143: and acquiring node information corresponding to the grid unit in a node table.
Nodes are the basic components of the grid cell. The node table is node information for storing nodes constituting the grid cell. Which may take any suitable type of table or data storage structure. That is, it is only necessary to be able to record the association between each grid cell and the nodes that make up that grid cell.
In particular, different types of grid cells are composed of different numbers of nodes. Node information of these different types of grid cells can be recorded correspondingly in the node table. For example, when the grid cell is a quadrangular grid cell, four node information may be acquired from the node table. And when the grid unit is a triangular grid unit, three node information is acquired from the node table.
Step 144: and searching the section thickness information and the characteristic information of the target grid unit in the thickness table and the characteristic table respectively according to the cell positions.
After determining the cell positions of the target grid cells, other model data (such as profile thickness information and characteristic information) of the target grid cells can be obtained from other thickness tables and characteristic tables according to the cell positions.
Step 145: a corresponding model modification file is generated.
Based on the obtained model data of the target grid unit, specific data information can be generated into a model modification file meeting the standard in a set format through a computer programming mode and the like.
The following takes a fuselage beam frame model of an airplane as an example, and describes in detail the specific implementation process of the grid cell batch modification method provided by the embodiment of the invention:
as shown in fig. 3, the fuselage beam model of the aircraft is presented as a barrel-shaped slab-shell structure. The frame can be decomposed into a plurality of sections along the circumferential direction of the frame. Each segment is a grid cell (grid cells have independent numbering information, marked on the grid cells) and may correspond to a column in a table. And the grid cells forming the frame of the fuselage are equivalent to rows in a table.
Therefore, the frame beam model can be cut along the frame direction K, the grid cells are tiled and unfolded on the table, and then the mapping relation between each grid cell and the cells in the table can be determined through a proper unfolding standard.
Specifically, the grid cell that cuts the cut surface L of the body beam model may be used as a reference grid, and the coordinate value of the first reference grid located on the left side of the cut surface may be initialized to (0, 0) and set as the origin of the planar coordinate system.
Then, the coordinate values of the remaining reference grids are initialized to (0, k) in sequence. Where k represents the kth reference grid after the first reference grid, and the setting of the plane coordinate system is completed.
After initializing the reference grid, the reference grid may be used as a search start point, and one grid cell may be used as a step length to search for an adjacent grid cell.
In the searching process, judging whether the adjacent grid unit is a reference grid or not. If so, the search cycle is jumped out. If not, calculating coordinate values of adjacent grid cells according to the relative position relation.
It should be noted that different types of grid cells have different coordinate value calculation manners. For example, the number of the cells to be processed,
as shown in fig. 4a, when the grid cell is a quadrangular grid cell, coordinate values of four grid cells connected to four sides thereof may be sequentially calculated.
When the coordinate value of the known marking grid cell is (m, n), the coordinate value of the first grid cell to be marked connected with the top edge 1 of the marking grid cell is (m-1, n), the coordinate value of the second grid cell to be marked connected with the right side edge 2 of the marking grid cell is (m, n+1), the coordinate value of the third grid cell to be marked connected with the bottom edge 3 of the marking grid cell is (m+1, n), and the coordinate value of the fourth grid cell to be marked connected with the left side edge 4 of the marking grid cell is (m, n-1).
As shown in fig. 4b, when the grid cell is a triangle grid cell, coordinate values of three grid cells connected to three sides thereof may be sequentially calculated.
Similarly, assuming that the coordinate value of the known marking grid cell is (m, n), it may be determined that the coordinate value of the first grid cell to be marked, which is connected to the upper hypotenuse 1 of the triangular marking grid cell, is (m-1, n), the coordinate value of the second grid cell to be marked, which is connected to the lower hypotenuse 2 of the triangular marking grid cell, is (m+1, n), and the coordinate value of the third grid cell to be marked, which is connected to the base 3 of the triangular marking grid cell, is (m, n-1).
Finally, after all the coordinate values of the grid cells are calculated, judging whether all the coordinate values of the grid cells are larger than or equal to zero. If yes, the mapping relation can be directly output. If not, the adjustment is needed, and the absolute value of the minimum value of the coordinate values is added to ensure that all the coordinate values are positive numbers, and the coordinate values can correspond to the number of rows and columns of the table.
Through the automatic unfolding mode, the corresponding cell of each grid cell in the table can be obtained. The numbering information of the grid cells may be filled into the corresponding cells and different types of cells marked with different identifications to form a numbering table.
As shown in fig. 5a, in the numbering table, the square grid cells are directly filled with the numbering information in the cells, the triangle grid cells add the base color as different identifications in the cells of the numbering table, and the empty grid cells are represented by blank spaces.
Further, other model information is recorded by other different tables. As shown in fig. 5b, the cross-sectional thickness information of the corresponding grid cell is recorded in each cell. As shown in fig. 5c, characteristic information of the corresponding grid cell is recorded in each cell.
Thus, the batch modification operation for the grid cells may be embodied as an update to the data information of the cells in the plurality of tables. In the actual operation process, the data updating condition of the cells in the table can be obtained by the following modes:
11 Obtaining the number information of the target grid cells and determining the corresponding cell positions.
12 Node information of the target grid cell is acquired. Specifically, node information of the grid cell can be simply recorded through a table as shown in fig. 5d, and corresponding node information is obtained after the number of the target grid cell is determined.
13 In the thickness table, the section thickness information recorded in the cells at the same position is read.
14 In the characteristic table, characteristic information recorded in the cells at the same position is read.
Repeating steps 11) to 14) until all grid cells are traversed to obtain the information required by the complete grid model.
Finally, the complete mesh model information can be automatically generated into a model modification file which meets the three-dimensional software format standard and can be read by the model modification file in a computer programming manner as shown in fig. 5 e. After the model modification file is imported, a batch modified model can be generated by three-dimensional software, and batch modification operation on grid cells is realized.
In summary, according to the batch modification method for the grid cells provided by the embodiment of the invention, after the information of the grid cells is converted into the representation of the plurality of tables, the batch modification operation of the grid cells is realized by utilizing the characteristic that the tables can be operated in batches, so that the working efficiency of designers can be effectively improved.
The embodiment of the invention also provides a batch modification device for the grid cells. As shown in fig. 6, the batch modification apparatus of the grid cell includes: the system comprises a mapping module 610, a recording module 620, a batch modification module 630, a modification file generation module 640 and an importing module 650.
Wherein the mapping module 610 is configured to determine a mapping relationship between the grid cells and cells of a table. The recording module 620 is configured to record, according to the mapping relationship, multiple model data of the grid unit through multiple tables; each table is used to record a model data. The batch modification module 630 is configured to perform a corresponding batch modification operation on the table according to the received modification instruction, so as to update the data information of the table. The modification file generation module 640 is configured to generate a model modification file corresponding to the data information of the updated table. The import module 650 is configured to import the model modification file.
The embodiment of the invention also provides a non-volatile computer storage medium, which stores at least one executable instruction, and the computer executable instruction can execute the batch modification method of the grid cells in any method embodiment.
Fig. 7 is a schematic structural diagram of an embodiment of an electronic device according to an embodiment of the present invention, which is not limited to a specific implementation of the electronic device.
As shown in fig. 7, the electronic device may include: a processor 602, a communication interface (Communications Interface), a memory 706, and a communication bus 708.
Wherein the processor 702, the communication interface 704, and the memory 706 communicate with each other via a communication bus 708. A communication interface 704 for communicating with network elements of other devices, such as clients or other servers. The processor 702 is configured to execute the program 710, and may specifically perform relevant steps in the batch modification method embodiment of the grid cell described above.
In particular, program 710 may include program code including computer-operating instructions.
The processor 702 may be a Central Processing Unit (CPU), or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement embodiments of the present invention. The one or more processors included in the electronic device may be the same type of processor, such as one or more CPUs; but may also be different types of processors such as one or more CPUs and one or more ASICs.
Memory 706 for storing programs 710. The memory 606 may comprise high-speed RAM memory or may further comprise non-volatile memory (non-volatile memory), such as at least one disk memory.
The program 710 may be specifically configured to cause the processor 702 to: determining a mapping relation between the grid cells and the cells of the table; recording various model data of the grid unit through a plurality of tables according to the mapping relation; each table is used for recording model data; according to the received modification instruction, carrying out corresponding batch modification operation on the table to update the data information of the table; generating a model modification file corresponding to the data information of the updated form; importing the model modification file.
The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general-purpose systems may also be used with the teachings herein. The required structure for a construction of such a system is apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It will be appreciated that the teachings of the present invention described herein may be implemented in a variety of programming languages, and the above description of specific languages is provided for disclosure of enablement and best mode of the present invention.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the above description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
It will be understood that equivalents and modifications will occur to those skilled in the art in light of the present teachings and concepts, and all such modifications and substitutions are intended to be included within the scope of the present invention as defined in the accompanying claims.

Claims (9)

1. A method of batch modification of grid cells, comprising:
determining a mapping relation between the grid cells and the cells of the table;
recording various model data of the grid unit through a plurality of tables according to the mapping relation; each table is used for recording model data;
according to the received modification instruction, carrying out corresponding batch modification operation on the table to update the data information of the table;
generating a model modification file corresponding to the data information of the updated form;
the model modification file is imported in to be modified,
the method is characterized by comprising the following steps of determining the mapping relation between the grid cells and the cells of the table, wherein the method specifically comprises the following steps:
cutting the three-dimensional model along a set direction, and flattening the model on a plane where the table is located;
and determining the mapping relation between each grid cell in the three-dimensional model and the cells of the table by means of automatic expansion or manual expansion.
2. The method according to claim 1, wherein the recording the multiple model data of the grid cell by multiple tables according to the mapping relation specifically includes:
determining a cell location to which the grid cell maps;
and recording the number information, the section thickness information and the characteristic information of the grid cells through the cells positioned at the same cell position in the number table, the thickness table and the characteristic table respectively.
3. The method of claim 2, wherein the grid cells comprise quadrilateral grid cells, triangular grid cells, and vacant grid cells;
the quadrilateral grid cells are represented by first identifiers in cells of the numbering table, the triangular grid cells are represented by second identifiers in cells of the numbering table, and the blank grid cells are represented by spaces in the numbering table.
4. A method according to claim 3, wherein the table further comprises a node table for recording node information of the grid cells.
5. The method according to claim 4, wherein the generating the model modification file corresponding to the data information of the updated table specifically includes:
acquiring the number information of the target grid unit;
determining the cell position of the target grid cell in the numbering table according to the numbering information;
acquiring node information corresponding to the grid cells in the node table according to the number information;
according to the cell positions, the section thickness information and the characteristic information of the target grid cells are searched in the thickness table and the characteristic table respectively;
a corresponding model modification file is generated.
6. The method of claim 5, wherein the obtaining node information corresponding to the grid cell specifically includes:
determining the type of the grid cell according to the identification in the cell;
when the grid unit is a quadrilateral grid unit, four node information is acquired from the node table;
and when the grid unit is a triangular grid unit, three node information is acquired from the node table.
7. A batch modification apparatus for grid cells, comprising:
a mapping module, configured to determine a mapping relationship between the grid cells and cells of a table;
the recording module is used for recording various model data of the grid unit through a plurality of tables according to the mapping relation; each table is used for recording model data;
the batch modification module is used for carrying out corresponding batch modification operation on the table according to the received modification instruction so as to update the data information of the table;
a modification file generation module, configured to generate a model modification file corresponding to the data information of the updated table;
an importing module for importing the model modification file,
the method is characterized by comprising the following steps of determining the mapping relation between the grid cells and the cells of the table, wherein the method specifically comprises the following steps:
cutting the three-dimensional model along a set direction, and flattening the model on a plane where the table is located;
and determining the mapping relation between each grid cell in the three-dimensional model and the cells of the table by means of automatic expansion or manual expansion.
8. An electronic device comprising a processor, a memory, a communication interface, and a communication bus, wherein the processor, the memory, and the communication interface communicate with each other via the communication bus;
the memory is configured to hold at least one executable instruction that causes the processor to perform the steps of the batch modification method of grid cells of any one of claims 1-6.
9. A non-volatile computer storage medium having stored therein at least one executable instruction for causing a processor to perform the steps of the batch modification method of grid cells of any one of claims 1-6.
CN201911395621.3A 2019-12-30 2019-12-30 Batch modification method of grid cells, device and electronic equipment thereof Active CN111177967B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911395621.3A CN111177967B (en) 2019-12-30 2019-12-30 Batch modification method of grid cells, device and electronic equipment thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911395621.3A CN111177967B (en) 2019-12-30 2019-12-30 Batch modification method of grid cells, device and electronic equipment thereof

Publications (2)

Publication Number Publication Date
CN111177967A CN111177967A (en) 2020-05-19
CN111177967B true CN111177967B (en) 2023-07-14

Family

ID=70657579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911395621.3A Active CN111177967B (en) 2019-12-30 2019-12-30 Batch modification method of grid cells, device and electronic equipment thereof

Country Status (1)

Country Link
CN (1) CN111177967B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113221406B (en) * 2021-04-30 2022-04-19 中国电建集团华东勘测设计研究院有限公司 Model grid self-adaptive correction method under condition of maximum compression deformation
CN115828585B (en) * 2022-11-30 2023-07-28 四川大学 Method for modifying unit materials in batches based on GiD-code_bright software
CN117058269A (en) * 2023-07-05 2023-11-14 北京龙软科技股份有限公司 Method and device for rapidly normalizing mine informationized management mine map

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05174113A (en) * 1991-12-26 1993-07-13 Toshiba Corp Automatic mesh division system suitable for axial symmetric rotary structure
CN105718629A (en) * 2016-01-08 2016-06-29 桂林电子科技大学 Variant design method of meeting engineering constraint conditions

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05174113A (en) * 1991-12-26 1993-07-13 Toshiba Corp Automatic mesh division system suitable for axial symmetric rotary structure
CN105718629A (en) * 2016-01-08 2016-06-29 桂林电子科技大学 Variant design method of meeting engineering constraint conditions

Also Published As

Publication number Publication date
CN111177967A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
CN111177967B (en) Batch modification method of grid cells, device and electronic equipment thereof
CN104077446B (en) The method and system of two-dimentional electrical construction document are extracted from digital three-dimemsional model
CN113538706B (en) Digital sand table-based house scene display method, device, equipment and storage medium
CN112489213A (en) Three-dimensional terrain model generation method and device, electronic equipment and storage medium
JPH10293863A (en) Object searching method and device using the same
CN113724401A (en) Three-dimensional model cutting method and device, computer equipment and storage medium
CN114708358A (en) Object processing method, device, equipment and computer readable storage medium
CN113656891B (en) Liquid rocket dynamic characteristic modeling analysis method and terminal equipment
US10943037B2 (en) Generating a CAD model from a finite element mesh
CN108038335B (en) Method and device for determining stress load of aircraft skin unit
JP2915363B2 (en) Spatial search system
CN112669418A (en) Model rendering method and device
CN110009742B (en) System and method for finite element mesh repair
CN112407184A (en) Method and system for calculating weight gravity center distribution of ship
CN116127802B (en) Method, device and system for displaying CAE simulation result on 3D (three-dimensional) view
Agrawal et al. Conversion of a GIS surface data directly to a 3D STL part for terrain modeling
JP6087242B2 (en) Model conversion method and model conversion apparatus
CN114307158A (en) Three-dimensional virtual scene data generation method and device, storage medium and terminal
CN112818502B (en) Optical mirror surface shape calculating method
CN116681857A (en) Space collision detection method and device and electronic equipment
JP2005165606A (en) Device and method for producing cad data
CN111223185B (en) Grid cell information display method of three-dimensional model, device and electronic equipment thereof
CN116011066B (en) Building design method and system based on BIM technology
CN115359224A (en) Virtual reality display method and device, computer equipment and storage medium
CN117252993B (en) Verification method and device for feature point extraction algorithm, electronic equipment and storage medium

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220124

Address after: 215000 506, Zhenghe building, No. 198, Jinfeng Road, high tech Zone, Suzhou, Jiangsu

Applicant after: SUZHOU SHUSHE TECHNOLOGY Co.,Ltd.

Address before: 310000 room 1004, Chuangye building, No. 199, Wensan Road, Xihu District, Hangzhou City, Zhejiang Province

Applicant before: Hangzhou shutwin Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant