Method, device and equipment for visualizing a three-dimensional geological model and storage medium

By determining the grid surfaces to be displayed in a 3D geological model and displaying them based on the 3D coordinate values ​​of its vertices, the problem of slow display speed caused by a large number of grids is solved, and fast and efficient 3D geological model display is achieved.

CN115564904BActive Publication Date: 2025-11-28PETROCHINA CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110742822.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-01
Publication Date
2025-11-28
Estimated Expiration
2041-07-01

AI Technical Summary

Technical Problem

The large number of grids in a 3D geological model results in a huge amount of data processing and slow display speed.

Method used

By identifying the mesh faces to be displayed and showing them based on the 3D coordinates of their vertices, avoiding the display of the 3D coordinates of all vertices, the mesh faces are determined using coordinate differences and difference thresholds, and markers are set to quickly locate the data positions.

Benefits of technology

It significantly improves the display speed of 3D geological models, meeting the display requirements of tens of millions and hundreds of millions of grids.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115564904B_ABST
    Figure CN115564904B_ABST
Patent Text Reader

Abstract

The disclosure provides a kind of three-dimensional geological model visualization method, belong to oil exploitation production field.The visualization method includes: obtaining the display related data in the model data of three-dimensional geological model, determine the grid face to be displayed, the grid face to be displayed includes boundary surface and grid face pair, the boundary surface is the grid face of the outer surface of the plurality of grids that constitutes the three-dimensional geological model, the grid face pair includes first grid face and second grid face, the first grid face and the second grid face are respectively the opposite grid face between two adjacent grids in the plurality of grids, the first grid face and the second grid face do not completely coincide;According to the attribute field data and the three-dimensional coordinate numerical value of the vertex of the grid face to be displayed, the three-dimensional geological model is displayed.The disclosure can greatly improve the display speed of the three-dimensional geological model of million, hundred million grid through the visualization method.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present disclosure belongs to the field of geological model construction, and particularly relates to a method and device for visualizing a three-dimensional geological model, an equipment and a storage medium. BACKGROUND

[0002] A three-dimensional geological model is a kind of three-dimensional graphics generated by integrating geological, logging, geophysical data and various interpretation results or conceptual models. The three-dimensional geological model is generally used for geological history fitting so as to truly reflect the geological conditions of a study area and provide reliable geological basis for oilfield development and oilfield well pattern adjustment.

[0003] In the related art, when a three-dimensional geological model is established, it is generally simulated based on a mesh with ten million or one hundred million nodes, and the three-dimensional geological model is displayed through a visual operation.

[0004] However, since the three-dimensional geological model has a large number of meshes, and each mesh has a plurality of mesh surfaces, when the three-dimensional geological model is displayed, a large number of mesh surfaces need to be displayed, and the data processing amount is huge, which results in slow display speed. SUMMARY

[0005] The present disclosure provides a method and device for visualizing a three-dimensional geological model, an equipment and a storage medium, which can greatly improve the display speed of the three-dimensional geological model. The technical solution is as follows:

[0006] The present disclosure provides a method for visualizing a three-dimensional geological model, which comprises:

[0007] obtaining display-related data in model data of a three-dimensional geological model, the three-dimensional geological model comprising a plurality of meshes, the meshes comprising a plurality of vertices and a plurality of mesh surfaces, the display-related data comprising coordinate data and attribute field data of each mesh in the plurality of meshes, the coordinate data comprising three-dimensional coordinate values of each vertex of a mesh in a three-dimensional coordinate system; determining mesh surfaces to be displayed, the mesh surfaces to be displayed comprising boundary surfaces and mesh surface pairs, the boundary surfaces being mesh surfaces of the plurality of meshes constituting an outer surface of the three-dimensional geological model, the mesh surface pairs comprising a first mesh surface and a second mesh surface, the first mesh surface and the second mesh surface being opposite mesh surfaces between two adjacent meshes in the plurality of meshes, the first mesh surface and the second mesh surface not being completely coincident; and displaying the three-dimensional geological model according to the attribute field data and three-dimensional coordinate values of vertices of the mesh surfaces to be displayed.

[0008] In yet another implementation manner of the present disclosure, the determining the grid face to be displayed comprises: determining three-dimensional coordinate values of corresponding first vertices and second vertices, the first vertices being vertices on the first grid face, the second vertices being vertices on the second grid face, line segments with the corresponding first vertices and second vertices as endpoints being located at outer edges of the first grid face and the second grid face respectively, and the line segments being spaced apart from each other; obtaining coordinate differences based on the three-dimensional coordinate values of the corresponding first vertices and second vertices; and determining the grid face pair based on the coordinate differences and a difference threshold.

[0009] In yet another implementation manner of the present disclosure, the obtaining the coordinate differences based on the three-dimensional coordinate values of the corresponding first vertices and second vertices comprises: obtaining two-dimensional coordinate values of the corresponding first vertices and second vertices according to the three-dimensional coordinate values of the corresponding first vertices and second vertices, the two-dimensional coordinate values being coordinate values corresponding to the first vertices and second vertices after being projected in a coordinate plane, the coordinate plane being formed by two coordinate axes in the three-dimensional coordinate system, and the coordinate plane being opposite to the first grid face and the second grid face; and obtaining the coordinate differences of the vertices by subtracting the two-dimensional coordinate values of the first vertices and the second vertices.

[0010] In yet another implementation manner of the present disclosure, the determining the grid face pair based on the coordinate differences and the difference threshold comprises: determining the first grid face and the second grid face as the grid face pair in response to at least one value in the coordinate differences being greater than the difference threshold.

[0011] In yet another implementation manner of the present disclosure, the method further comprises: setting a mark for the display-related data in the model data of the three-dimensional geological model before the obtaining the display-related data in the model data of the three-dimensional geological model, the mark being used to indicate starting positions, data lengths and ending positions of coordinate data and attribute field data in the display-related data.

[0012] In yet another implementation manner of the present disclosure, a visualization device of a three-dimensional geological model is further provided, the visualization device comprising:

[0013] a data obtaining module, configured to obtain display-related data in model data of a three-dimensional geological model, the three-dimensional geological model comprising a plurality of grids, the grid comprising a plurality of vertices and a plurality of grid faces, the display-related data comprising coordinate data and attribute field data of each grid in the plurality of grids, the coordinate data comprising three-dimensional coordinate values of each vertex of a grid in a three-dimensional coordinate system;

[0014] The grid face to be displayed is determined by the grid face to be displayed determination module, wherein the grid face to be displayed includes a boundary face and a grid face pair, the boundary face is a grid face of an outer surface of the three-dimensional geological model in the plurality of grids, and the grid face pair includes a first grid face and a second grid face, the first grid face and the second grid face are opposite grid faces between two adjacent grids in the plurality of grids, and the first grid face and the second grid face do not completely overlap.

[0015] The three-dimensional geological model is displayed by the three-dimensional geological model visualization module according to the attribute field data and the three-dimensional coordinate values of the vertices of the grid face to be displayed.

[0016] In another implementation manner of the present disclosure, the grid face to be displayed determination module is further configured to: determine the three-dimensional coordinate values of the corresponding first vertex and second vertex, the first vertex is one vertex on the first grid face, the second vertex is one vertex on the second grid face, a line segment with the corresponding first vertex and second vertex as endpoints is located on the outer edges of the first grid face and the second grid face respectively, and the line segments are spaced apart from each other; obtain a coordinate difference based on the three-dimensional coordinate values of the corresponding first vertex and second vertex; and determine the grid face pair based on the coordinate difference and a difference threshold.

[0017] In another implementation manner of the present disclosure, the grid face to be displayed determination module is further configured to: obtain two-dimensional coordinate values of the corresponding first vertex and second vertex according to the three-dimensional coordinate values of the corresponding first vertex and second vertex, the two-dimensional coordinate values are corresponding coordinate values of the first vertex and the second vertex after being projected in a coordinate plane, the coordinate plane is formed by two coordinate axes in the three-dimensional coordinate system, and the coordinate plane is opposite to the first grid face and the second grid face; and obtain a coordinate difference of the vertex by corresponding difference between the two-dimensional coordinate values of the first vertex and the two-dimensional coordinate values of the second vertex.

[0018] In another implementation manner of the present disclosure, a computer device is further provided, the computer device includes a processor and a memory configured to store instructions executable by the processor; and the processor is configured to execute the visualization method of the three-dimensional geological model.

[0019] In another implementation manner of the present disclosure, a computer storage medium is further provided, and computer instructions are stored on the computer storage medium, the computer instructions are executed by a processor to implement the visualization method of the three-dimensional geological model.

[0020] The technical scheme provided by the embodiments of the present disclosure has the following beneficial effects:

[0021] The visualization method provided by the embodiment of the present disclosure can avoid displaying the three-dimensional coordinate values of all the vertices when visualizing and displaying the three-dimensional geological model, and thus greatly improves the grid display speed of the three-dimensional geological model, and meets the display needs of the three-dimensional geological model containing ten million or more than one hundred million grids. BRIEF DESCRIPTION OF DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings needed to be used in the embodiments will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without creative effort based on these drawings.

[0023] Figure 1 is a flowchart of a visualization method of a three-dimensional geological model provided by an embodiment of the present disclosure;

[0024] Figure 2 is a flowchart of another visualization method of a three-dimensional geological model provided by an embodiment of the present disclosure;

[0025] Figure 3 is a type diagram of a grid face provided by an embodiment of the present disclosure;

[0026] Figure 4 is a structural schematic diagram of a visualization device of a three-dimensional geological model provided by an embodiment of the present disclosure;

[0027] Figure 5 is a structural schematic diagram of a computer device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0028] In order to make the objects, technical solutions and advantages of the present disclosure clearer, the embodiments of the present disclosure will be further described in detail below with reference to the drawings.

[0029] The present disclosure provides a visualization method of a three-dimensional geological model, as shown in Figure 1 The visualization method includes:

[0030] S101: Obtain display-related data in model data of a three-dimensional geological model.

[0031] The three-dimensional geological model includes a plurality of grids, and each grid includes a plurality of vertices and a plurality of grid faces. The display-related data includes coordinate data and attribute field data of each grid in the plurality of grids. The coordinate data includes three-dimensional coordinate values of each vertex of the grid in a three-dimensional coordinate system.

[0032] In this embodiment, each grid in the three-dimensional geological model is a parallelepiped, and two adjacent grids are arranged according to the direction of one of the coordinate axes in the three-dimensional coordinate system. The volume of each grid is different. Each grid has eight vertices, and each grid face corresponds to four vertices.

[0033] S102: Determine a grid face to be displayed, the grid face to be displayed including a boundary face and a grid face pair, the boundary face being a grid face of a plurality of grids constituting an outer surface of the three-dimensional geological model, the grid face pair including a first grid face and a second grid face, the first grid face and the second grid face being opposite grid faces between two adjacent grids in the plurality of grids, and the first grid face and the second grid face not being completely coincident.

[0034] The opposite grid faces refer to a face-to-face relationship between a grid face of one of the two adjacent grids and a grid face of the other grid, and the face-to-face relationship can be parallel and spaced apart, coplanar, or spaced apart but not parallel.

[0035] The non-completely coincident refers to a projection of the first grid face on the second grid face being not completely the same as the second grid face.

[0036] S103: Display the three-dimensional geological model according to the attribute field data and the three-dimensional coordinate values of the vertices of the grid face to be displayed.

[0037] The visualization method provided in the embodiments of the present disclosure can avoid displaying the three-dimensional coordinate values of all the vertices when visualizing and displaying the three-dimensional geological model, thereby greatly improving the grid display speed of the three-dimensional geological model and meeting the display needs of the three-dimensional geological model containing tens of millions of grids or more than one hundred million grids.

[0038] Figure 2 is a flowchart of another visualization method of a three-dimensional geological model provided by the embodiments of the present disclosure, which is combined with Figure 2 The determination method comprises:

[0039] S201: Set a mark for display-related data in model data of the three-dimensional geological model.

[0040] The display-related data includes coordinate data and attribute field data of each grid in the plurality of grids, and the coordinate data includes three-dimensional coordinate values of each vertex of the grid in a three-dimensional coordinate system.

[0041] The attribute field data includes attribute data of each grid in the three-dimensional geological model, and is used to reflect geological characteristics, such as the permeability, porosity, and formation pressure of the stratum position corresponding to the grid in the three-dimensional geological model.

[0042] The model data of the three-dimensional geological model further includes fault data, well trajectory data, and the like.

[0043] The mark is used to indicate the start position, data length, and end position of the coordinate data and the attribute field data in the display-related data, so that the coordinate data and the attribute field data of each grid can be quickly located in the loading stage of the model data of the three-dimensional geological model.

[0044] In this embodiment, the mark is realized by separately storing the start position, data length, and end position of the coordinate data and the attribute field data in a file, or storing the start position, data length, and end position of the coordinate data and the attribute field data in the file header of the corresponding model data.

[0045] S202: Obtain display-related data in the model data of the three-dimensional geological model.

[0046] Exemplarily, the display-related data in the model data of the three-dimensional geological model is quickly obtained according to the pre-set mark.

[0047] In this embodiment, in order to facilitate the use of the coordinate data subsequently, the coordinate data is separately stored in the form of an array pointer after the display-related data is obtained, so that the coordinate data can be quickly pointed to according to the array pointer.

[0048] S203: Determine a grid face to be displayed, the grid face to be displayed including a boundary face and a grid face pair, the boundary face being a grid face of a plurality of grids constituting an outer surface of the three-dimensional geological model, the grid face pair including a first grid face and a second grid face, the first grid face and the second grid face being opposite grid faces between two adjacent grids in the plurality of grids, and the first grid face and the second grid face not being completely coincident.

[0049] Exemplarily, step S203 is realized by the following manner:

[0050] 2031: Determine three-dimensional coordinate values of corresponding first and second vertices, the first vertex being a vertex on the first grid face, and the second vertex being a vertex on the second grid face.

[0051] The line segments with the corresponding first and second vertices as end points are respectively located outside the edges of the first and second grid faces, and the line segments are spaced apart from each other without intersection.

[0052] According to the foregoing, each grid face includes four vertices, in order to make the vertices in the first grid face and the second grid face one-to-one corresponding, the positions of the four vertices in the first grid face and the second grid face, i.e., the first and second vertices, need to be determined.

[0053] That is, the first mesh surface includes four first vertices, the second mesh surface includes four second vertices, the four first vertices and the four second vertices are one-to-one corresponding, and the four first vertices and the four second vertices are spaced apart from each other.

[0054] The spacing refers to no intersection, that is, the spacing can be parallel or non-parallel.

[0055] 2032: Obtain the coordinate difference based on the three-dimensional coordinate values of the corresponding first vertex and the second vertex.

[0056] Step 2032 includes:

[0057] First, obtain the two-dimensional coordinate values of the corresponding first vertex and the second vertex based on the three-dimensional coordinate values of the corresponding first vertex and the second vertex. The two-dimensional coordinate values are the coordinate values corresponding to the projections of the first vertex and the second vertex in the coordinate plane. The coordinate plane is formed by two coordinate axes in the three-dimensional coordinate system, and the coordinate plane is opposite to the first mesh surface and the second mesh surface.

[0058] The relative relationship herein refers to the face-to-face relationship as described above, which can be parallel and spaced apart, coplanar, or spaced apart and non-parallel.

[0059] As known from the foregoing, the two adjacent meshes are arranged in the direction of one of the coordinate axes in the three-dimensional coordinate system.

[0060] For the mesh surface pair formed by the two adjacent meshes in the positive direction of the X-axis (generally also referred to as the I direction), the two-dimensional coordinate values of the corresponding first vertex and the second vertex are the coordinate values corresponding to the projections of the first vertex and the second vertex in the YOZ coordinate plane.

[0061] For the mesh surface pair formed by the two adjacent meshes in the positive direction of the Y-axis (generally also referred to as the J direction), the two-dimensional coordinate values of the corresponding first vertex and the second vertex are the coordinate values corresponding to the projections of the first vertex and the second vertex in the XOZ coordinate plane.

[0062] For the mesh surface pair formed by the two adjacent meshes in the positive direction of the Z-axis (generally also referred to as the K direction), the two-dimensional coordinate values of the corresponding first vertex and the second vertex are the coordinate values corresponding to the projections of the first vertex and the second vertex in the XOY coordinate plane.

[0063] Second, the two-dimensional coordinate values of the first vertex and the second vertex are subtracted to obtain the coordinate difference of the vertex.

[0064] For the grid face pair in the positive direction of the X axis, the corresponding coordinate values of the first vertex and the second vertex in the Y axis and the Z axis are subtracted. For the grid face pair in the positive direction of the Y axis, the corresponding coordinate values of the first vertex and the second vertex in the X axis and the Z axis are subtracted. For the grid face pair in the positive direction of the Z axis, the corresponding coordinate values of the first vertex and the second vertex in the X axis and the Y axis are subtracted. In this way, the corresponding coordinate differences can be obtained.

[0065] 2033: Determine the grid face pair based on the coordinate differences and the difference threshold.

[0066] In this embodiment, the grid face pair is determined by comparing the coordinate differences and the difference threshold.

[0067] In response to at least one value in the coordinate differences being greater than the difference threshold, the first grid face and the second grid face are determined as the grid face pair.

[0068] Exemplarily, the difference threshold is proportional to the number of grids in the three-dimensional geological model. The greater the number of grids, the greater the difference threshold. For a three-dimensional geological model including more than ten million grids, the difference threshold is ±0.02.

[0069] Figure 3 is a type diagram of the grid face pair provided by the embodiment of the present disclosure, in combination with Figure 3 , the grid face pair includes six types in the figure. For ease of understanding, the two-dimensional coordinates of the first vertex and the second vertex in the grid face pair on the figure are (x, y).

[0070] The grid face without filling on the figure is denoted as the first grid face, and the grid face with filled shadow graphics is denoted as the second grid face.

[0071] The two-dimensional coordinate values of the corresponding four first vertices in the first grid face are A1(x a1 , y a1 ), B1(x b1 , y b1 ), C1(x c1 , y c1 ), and D1(x d1 , y d1 ), and the two-dimensional coordinates of the corresponding four second vertices in the second grid face are A2(x a2 , y a2 ), B2(x b2 , y b2 ), C2(x c2 , y c2 ), and D2(x d2 , y d2 ).

[0072] Correspondingly, the coordinate difference of the corresponding first vertex and second vertex includes four coordinate values, i.e., (x a1 -x a2 , y a1 -y a2 ), (x b1 -x b2 , y b1 -y b2 ), (x c1 -x c2 , y c1 -y c2 ), (x d1 -x d2 , y d1 -y d2 ).

[0073] Figure 3 In the first case a, four first vertices in the first mesh surface, the vertex on the left upper side (i.e., A1) falls in the second mesh surface, and the other three first vertices are all outside the second mesh surface, at least one of the four coordinate differences is greater than the corresponding threshold difference.

[0074] Figure 3 In the second case b, four first vertices in the first mesh surface, the first vertex on the left lower side (i.e., D1) falls in the second mesh surface, and the other three first vertices are all outside the second mesh surface, at least one of the four coordinate differences is greater than the corresponding threshold difference.

[0075] Figure 3 In the third case c, four first vertices in the first mesh surface, the first vertex on the right upper side (i.e., B1) falls in the second mesh surface, and the other three first vertices are all outside the second mesh surface, at least one of the four coordinate differences is greater than the corresponding threshold difference.

[0076] Figure 3 In the fourth case d, four first vertices in the first mesh surface, the first vertex on the right lower side (i.e., C1) falls in the second mesh surface, and the other three first vertices are all outside the second mesh surface, at least one of the four coordinate differences is greater than the corresponding threshold difference.

[0077] Figure 3 In the fifth case e, four first vertices (i.e., A1, B1, C1, D1) in the first mesh surface all fall in the second mesh surface, at least one of the four coordinate differences is greater than the corresponding threshold difference.

[0078] Figure 3In the sixth case f, none of the four first vertices (i.e., A1, B1, C1, and D1) in the first mesh surface falls in the second mesh surface, and at least one of the four coordinate differences is greater than the corresponding threshold difference.

[0079] S204: Display the three-dimensional geological model according to the attribute field data and the three-dimensional coordinate values of the vertices of the mesh surface to be displayed.

[0080] Step S204 includes:

[0081] 2041: Store the three-dimensional coordinate values of the vertices of the mesh surface to be displayed in a list in units of the mesh surface to be displayed, to obtain a visualization list.

[0082] The visualization list can provide data support for subsequent display of the three-dimensional geological model, so that all mesh surfaces are not displayed as the mesh surface to be displayed, and the display speed of the three-dimensional geological model is improved.

[0083] 2042: Display the three-dimensional geological model according to the visualization list and the attribute field data.

[0084] In this embodiment, the visualization list and the attribute field data are displayed by computer software OpenGL (Open Graphics Library) to obtain the three-dimensional geological model.

[0085] Step 2042 includes:

[0086] First step: Determine the appearance attribute of the grid in which the mesh surface to be displayed is located according to the attribute field data.

[0087] The appearance attribute is the color corresponding to the display of the grid when the three-dimensional geological model is displayed.

[0088] According to the displayed color, the size of the physical property parameters such as porosity and permeability at the stratigraphic position corresponding to the grid can be understood.

[0089] Second step: Obtain the appearance attribute of each mesh surface to be displayed in the visualization list according to the appearance attributes of different grids.

[0090] For any grid, the appearance attributes of all mesh surfaces of the grid are the same and are the appearance attribute of the grid.

[0091] In OpenGL, all geometric primitives (functions used to describe graphics) are defined by vertices, and the appearance attributes of vertices located on different meshes are not completely the same. Therefore, when displaying by using computer software OpenGL, the mesh surface to be displayed is first matched with the corresponding appearance attribute to determine the appearance attribute of the mesh surface to be displayed, so that it can be known that the mesh surface to be displayed is displayed in what color.

[0092] Step 3: Forming a visual vertex array by matching the appearance attributes of different mesh surfaces to be displayed with the visual list.

[0093] When displaying a three-dimensional geological model by using OpenGL, if the corresponding appearance attributes of vertices located on different mesh surfaces are described by calling functions one by one, the overhead is very large, and it is not convenient to manage the vertices of a complex geometric body. Therefore, the visual list and the appearance attributes of different mesh surfaces to be displayed are matched to form a visual vertex array, so as to improve the drawing efficiency.

[0094] Step 4: Displaying the three-dimensional geological model by using the visual vertex array.

[0095] When displaying, the software OpenGL automatically displays different colors according to the different appearance attributes of different mesh surfaces to be displayed.

[0096] When displaying, the glDrawElements function command can be directly called in OpenGL, so that the three-dimensional geological model can be quickly displayed.

[0097] In the embodiment, in order to more quickly display the three-dimensional geological model, the visual vertex array can be extracted and stored for OpenGL display, so that the efficiency can be improved.

[0098] Figure 4 is a structural schematic diagram of a three-dimensional geological model visualization device provided by the disclosure, which is combined with Figure 4 The visualization device comprises:

[0099] The data acquisition module 41 is configured to acquire display-related data in model data of a three-dimensional geological model, the three-dimensional geological model comprising a plurality of meshes, each mesh comprising a plurality of vertices and a plurality of mesh surfaces, and the display-related data comprising coordinate data and attribute field data of each mesh in the plurality of meshes, the coordinate data comprising three-dimensional coordinate values of each vertex of the mesh in a three-dimensional coordinate system.

[0100] The grid face to be displayed is determined by the grid face to be displayed determining module 42. The grid face to be displayed includes a boundary face and a grid face pair. The boundary face is a grid face of an outer surface of the three-dimensional geological model in the plurality of grids. The grid face pair includes a first grid face and a second grid face. The first grid face and the second grid face are opposite grid faces between two adjacent grids in the plurality of grids, respectively. The first grid face and the second grid face do not completely overlap.

[0101] The three-dimensional geological model is displayed by the three-dimensional geological model visualization module 43 according to the attribute field data and the three-dimensional coordinate values of the vertices of the grid face to be displayed.

[0102] The above visualization device has Figure 1 All the beneficial effects of the method shown are not repeated here.

[0103] Optionally, the display face determining module 42 further includes a corresponding vertex determining submodule 421 configured to determine three-dimensional coordinate values of corresponding first vertices and second vertices. The first vertices are vertices on the first grid face. The second vertices are vertices on the second grid face. A line segment with the corresponding first vertices and second vertices as endpoints is located on the outer edges of the first grid face and the second grid face, respectively, and the line segments are spaced apart from each other without intersection.

[0104] The coordinate difference determining submodule 422 is configured to obtain a coordinate difference based on the three-dimensional coordinate values of the corresponding first vertices and second vertices.

[0105] The grid face pair determining submodule 423 is configured to determine the grid face pair based on the coordinate difference and a difference threshold value.

[0106] Optionally, the corresponding vertex determining submodule 421 is further configured to obtain two-dimensional coordinate values of the corresponding first vertices and second vertices according to the three-dimensional coordinate values of the corresponding first vertices and second vertices. The two-dimensional coordinate values are coordinate values corresponding to the first vertices and second vertices after projection in a coordinate plane. The coordinate plane is formed by two coordinate axes in the three-dimensional coordinate system, and the coordinate plane is opposite to the first grid face and the second grid face.

[0107] The two-dimensional coordinate values of the first vertices and the two-dimensional coordinate values of the second vertices are subtracted from each other to obtain a coordinate difference of the vertices.

[0108] Optionally, the grid face pair determining submodule 423 is further configured to determine the first grid face and the second grid face as the grid face pair in response to at least one value in the coordinate difference being greater than the difference threshold value.

[0109] The visualization device further comprises a marking module 44: before acquiring the display-related data in the model data of the three-dimensional geological model, setting a mark for the display-related data in the model data of the three-dimensional geological model, the mark being used to indicate the starting position, data length and ending position of the coordinate data and attribute field data in the display-related data.

[0110] Figure 5 is a structural schematic diagram of a computer device provided by an embodiment of the present disclosure, in combination with Figure 5 The computer device 100 can include one or more of the following components: a processor 101, a memory 102, a communication interface 103 and a bus 104.

[0111] The processor 101 includes one or more processing cores, and the processor 101 performs various functional applications and information processing by running software programs and modules. The memory 102 and the communication interface 103 are connected to the processor 101 through the bus 104. The memory 102 can be used to store at least one instruction, and the processor 101 is used to execute the at least one instruction to implement the steps in the above method.

[0112] In addition, the memory 102 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, including but not limited to: a magnetic or optical disk, an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a static random access memory (SRAM), a read-only memory (ROM), a magnetic storage, a flash memory, a programmable read-only memory (PROM).

[0113] The present disclosure further provides a computer storage medium, and computer instructions are executed by a processor to implement the above visualization method of the three-dimensional geological model.

[0114] The above description is only optional embodiments of the present disclosure, and does not limit the present disclosure, and any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A method of visualizing a three-dimensional geological model, characterized by, The visualization method comprises: acquiring display-related data in model data of a three-dimensional geological model, the three-dimensional geological model comprising a plurality of meshes, the meshes comprising a plurality of vertices and a plurality of mesh faces, the display-related data comprising coordinate data and attribute field data of each mesh in the plurality of meshes, the coordinate data comprising three-dimensional coordinate values of each vertex of a mesh in a three-dimensional coordinate system; determining mesh faces to be displayed, the mesh faces to be displayed comprising boundary faces and mesh face pairs, the boundary faces being mesh faces of meshes constituting an outer surface of the three-dimensional geological model in the plurality of meshes, the mesh face pairs comprising a first mesh face and a second mesh face, the first mesh face and the second mesh face being opposite mesh faces between two adjacent meshes in the plurality of meshes, the first mesh face and the second mesh face not being completely coincident; displaying the three-dimensional geological model according to the attribute field data and three-dimensional coordinate values of vertices of the mesh faces to be displayed; wherein the determining of the mesh faces to be displayed comprises: determining three-dimensional coordinate values of corresponding first vertices and second vertices, the first vertices being vertices on the first mesh face, the second vertices being vertices on the second mesh face, a line segment with the corresponding first vertices and second vertices as endpoints being located at outer edges of the first mesh face and the second mesh face respectively, and the line segments being spaced apart from each other; obtaining a coordinate difference based on the three-dimensional coordinate values of the corresponding first vertices and second vertices; and determining the mesh face pair based on the coordinate difference and a difference threshold value; wherein the obtaining of the coordinate difference based on the three-dimensional coordinate values of the corresponding first vertices and second vertices comprises: acquiring two-dimensional coordinate values of the corresponding first vertices and second vertices according to the three-dimensional coordinate values of the corresponding first vertices and second vertices, the two-dimensional coordinate values being coordinate values corresponding to projections of the first vertices and second vertices in a coordinate plane, the coordinate plane being formed by two coordinate axes in the three-dimensional coordinate system and opposite to the first mesh face and the second mesh face; and obtaining the coordinate difference of the vertices by subtracting the two-dimensional coordinate values of the first vertices and second vertices from each other; wherein the determining of the mesh face pair based on the coordinate difference and the difference threshold value comprises: determining the first mesh face and the second mesh face as the mesh face pair in response to at least one value in the coordinate difference being greater than the difference threshold value.

2. The visualization method of claim 1, wherein, The method further comprises: setting a mark for the display-related data in the model data of the three-dimensional geological model before the acquiring of the display-related data in the model data of the three-dimensional geological model, the mark being used to indicate a starting position, a data length and an ending position of the coordinate data and the attribute field data in the display-related data.

3. A device for visualizing a three-dimensional geological model, characterized in that The visualization device comprises: The data acquisition module is configured to acquire display-related data in model data of a three-dimensional geological model, the three-dimensional geological model comprising a plurality of meshes, each mesh comprising a plurality of vertices and a plurality of mesh faces, the display-related data comprising coordinate data and attribute field data of each mesh in the plurality of meshes, the coordinate data comprising three-dimensional coordinate values of each vertex of a mesh in a three-dimensional coordinate system; The mesh face to be displayed determination module is configured to determine that the mesh face to be displayed comprises a boundary face and a mesh face pair, the boundary face being a mesh face of a mesh in the plurality of meshes that constitutes an outer surface of the three-dimensional geological model, the mesh face pair comprising a first mesh face and a second mesh face, the first mesh face and the second mesh face being opposite mesh faces between two adjacent meshes in the plurality of meshes, the first mesh face and the second mesh face not being completely coincident; to determine three-dimensional coordinate values of corresponding first and second vertices, the first vertex being a vertex on the first mesh face, the second vertex being a vertex on the second mesh face, a line segment with the corresponding first and second vertices as endpoints being located at outer edges of the first and second mesh faces, respectively, and the line segments being spaced apart from each other; to obtain a coordinate difference based on the three-dimensional coordinate values of the corresponding first and second vertices; to determine the mesh face pair based on the coordinate difference and a difference threshold; to obtain two-dimensional coordinate values of the corresponding first and second vertices based on the three-dimensional coordinate values of the corresponding first and second vertices, the two-dimensional coordinate values being corresponding coordinate values of the first and second vertices after projection in a coordinate plane, the coordinate plane being formed by two coordinate axes in the three-dimensional coordinate system, and the coordinate plane being opposite to the first and second mesh faces; to obtain a vertex coordinate difference by subtracting the two-dimensional coordinate values of the first and second vertices from each other; and to determine the first mesh face and the second mesh face as the mesh face pair in response to at least one value in the coordinate difference being greater than the difference threshold. The three-dimensional geological model visualization module is configured to display the three-dimensional geological model based on the attribute field data and the three-dimensional coordinate values of the vertices of the mesh face to be displayed.

4. A computer device, comprising: The computer device comprises a processor and a memory configured to store instructions executable by the processor; the processor is configured to execute the three-dimensional geological model visualization method of any one of claims 1 to 2.

5. A computer storage medium having stored thereon computer instructions, wherein the computer instructions, when executed by a computer, cause the computer to perform the method of claim 1. The computer instructions, when executed by the processor, implement the three-dimensional geological model visualization method of any one of claims 1 to 2.

Citation Information

Patent Citations

  • Simplified algorithm of three-dimensional triangular mesh model

    CN101877147A

  • Layered machining multi-connected-domain construction method of adjacency topological correlation of geometric network model

    CN106600710A