opm_gridprocessing
¶
C-accelerated processing of corner-point grids based on the GRID section of ECLIPSE input data
-
mprocessGRDECL
(grdecl, varargin)¶ Compute grid topology and geometry from pillar grid description.
Synopsis:
G = mprocessGRDECL(grdecl) G = mprocessGRDECL(grdecl, 'pn1', pv1, ...)
Parameters: grdecl – - Raw pillar grid structure, as defined by function
- ’readGRDECL’, with fields COORDS, ZCORN and, possibly, ACTNUM.
- ’pn’/pv - List of ‘key’/value pairs defining optional parameters. The
- supported options are:
- Verbose – Whether or not to display progress information
- Logical. Default value: Verbose = false.
- Tolerance –
- Minimum distinguishing vertical distance for points along a pillar. Specifically, two points (x1,y1,z1) and (x2,y2,z2) are considered separate only if ABS(z2 - z1) > Tolerance. Non-negative scalar. Default value: Tolerance = 0.0 (distinguish all points along a pillar whose z coordinate differ even slightly).
- CheckGrid –
- Whether or not to perform basic consistency checks on the resulting grid. Logical. Default value: CheckGrid = true.
- SplitDisconnected –
- Whether or not to split disconnected grid components into separate grids/reservoirs. Logical. Default value: SplitDisconnected=true.
Returns: G – Valid grid definition containing connectivity, cell geometry, face geometry and unique nodes. Example:
G = mprocessGRDECL(readGRDECL('small.grdecl')); plotGrid(G); view(10,45);
See also
-
processgrid
(varargin)¶ Compute grid topology and geometry from pillar grid description.
Synopsis:
G = processgrid(grdecl) G = processgrid(grdecl,ztol)
Parameters: - grdecl – Raw pillar grid structure, as defined by function ‘readGRDECL’, with fields COORDS, ZCORN and, possibly, ACTNUM.
- ztol – tolerance for unique points
Returns: G – Valid grid definition containing connectivity, cell geometry, face geometry and unique nodes.
Example:
G = processgrid(readGRDECL('small.grdecl')); plotGrid(G); view(10,45);
See also
-
processgrid_mex
(varargin)¶ Compute grid topology and geometry from pillar grid description.
Synopsis:
G = processGRDECL(grdecl)
Parameters: grdecl – Raw pillar grid structure, as defined by function ‘readGRDECL’, with fields COORDS, ZCORN and, possibly, ACTNUM. Returns: G – Valid grid definition containing connectivity, cell geometry, face geometry and unique nodes. Example:
G = processgrid(readGRDECL('small.grdecl')); plotGrid(G); view(10,45);
See also
processGRDECL
,readGRDECL
,deactivateZeroPoro
,removeCells
.