Machine, Computer Program Product and Method to Generate Unstructured Grids and Carry Out Parallel Reservoir Simulation
AssigneeSaudi Arabian Oil Company
InventorsLarry S.K. Fung, Mokhles M. Mezghani
Life of this patent
Estimating the term…
Abstract
A machine, computer program product, and method to enable scalable parallel reservoir simulations for a variety of simulation model sizes are described herein. Some embodiments of the disclosed invention include a machine, methods, and implemented software for performing parallel processing of a grid defining a reservoir or oil/gas field using a plurality of sub-domains for the reservoir simulation, a parallel process of re-ordering a local cell index for each of the plurality of cells using characteristics of the cell and location within the at least one sub-domain and a parallel process of simulating at least one production characteristic of the reservoir.
Claims20
A machine for simulating a production characteristic for a plurality of oil or gas wells defined by a grid of a reservoir, the machine comprising:
- a first application server having a processor and a non-transitory memory, the memory having computer readable instructions stored thereon and operable on the processor, the first application server performing a process of dividing the grid into a plurality of sub-domains, and a process of assigning each of the cells in the plurality of sub-domains an index;
- the computer readable instructions comprising:
- creating the plurality of cells from geologic characteristics of the subsurface, the plurality of cells having faces that are formed equidistant to each of a plurality of points corresponding to the geologic characteristic,
- discounting any grid cells that are not active, and dividing the remaining cells into a plurality of sub-domains, and
- assigning each one of the cells an original index;
- at least one separate application server having a processor and a memory with computer readable instructions stored thereon, the at least one application server being assigned at least one sub-domain and including a computer program product, operable on the memory, for performing a process of re-ordering a local cell identification reference for each of the plurality of cells using characteristics of the cell and location within the at least one sub-domain and a process of simulating at least one production characteristic of the reservoir;
- the computer readable instructions comprising:
- creating an initial local cell identification reference for each of the plurality of cells in the sub-domain, each local cell identification reference being mapped to original index for each of the plurality of cells,
- generating transmissibility characteristics between each of the plurality of cells in the sub-domain using grid data, well data and permeability data read into the memory of the separate application server using the initial local cell identification reference,
- determining at least one other sub-domain adjacent to the sub-domain, and which of the plurality of grid cells share at least one face with grid cells of the at least one other subdomain,
- re-indexing each of the plurality of grid cells according to whether the grid cell shares at least one face with grid cells of the at least one other sub-domain, and
- re-indexing each of the plurality of grid cells according to the transmissibility of each of the plurality of grid cells, and transmitting simulation data between the grid cells sharing at least one face with the at least one other sub-domain adjacent to the sub-domain with the one other sub-domain.
A computer program product, operable on a machine defining a computer and stored in a memory of the computer, the computer program product performing a process of dividing a grid defining a reservoir into a plurality of sub-domains and a plurality of cells, a process of reordering a local cell identification reference for each of the plurality of cells using characteristics of the cell and location within the at least one sub-domain and a process of simulating at least one production characteristic of the reservoir;
- the computer program product performing the steps of:
- creating the plurality of cells from geologic characteristics of the subsurface, the plurality of cells having faces that are formed equidistant to each of a plurality of points corresponding to the geologic characteristic;
- discounting any grid cells that are not active, and dividing the remaining cells into a plurality of sub-domains;
- assigning each one of the cells an original index;
- creating an initial local cell identification reference for each of the plurality of cells in the sub-domain, each local cell identification reference being mapped to original index for each of the plurality of cells;
- generating transmissibility characteristics between each of the plurality of cells in the sub-domain using grid data, well data and permeability data read into the memory of the separate application server using the initial local cell identification reference;
- determining at least one other sub-domain adjacent to the sub-domain, and which of the plurality of grid cells share at least one face with grid cells of the at least one other subdomain;
- re-indexing each of the plurality of grid cells according to whether the grid cell shares at least one face with grid cells of the at least one other sub-domain;
- re-indexing each of the plurality of grid cells according to the transmissibility of each of the plurality of grid cells;
- and
- transmitting simulation data between the grid cells sharing at least one face with the at least one other sub-domain adjacent to the sub-domain with the one other sub-domain.
A computer-implemented method for performing a process of dividing the grid into a plurality of sub-domains for processing, a process of dividing a grid defining a reservoir into a plurality of sub-domains and a plurality of cells, a process of re-ordering a local cell identification reference for each of the plurality of cells using characteristics of the cell and location within the at least one sub-domain and a process of simulating at least one production characteristic of the reservoir;
- the computer-implemented method performing the steps of:
- creating the plurality of cells from geologic characteristics of the subsurface, the plurality of cells having faces that are formed equidistant to each of a plurality of points corresponding to the geologic characteristic;
- discounting any grid cells that are not active, and dividing the remaining cells into a plurality of sub-domains;
- assigning each one of the cells an original index;
- creating an initial local cell identification reference for each of the plurality of cells in the sub-domain, each local cell identification reference being mapped to original index for each of the plurality of cells;
- generating transmissibility characteristics between each of the plurality of cells in the sub-domain using grid data, well data and permeability data read into the memory of the separate application server using the initial local cell identification reference;
- determining at least one other sub-domain adjacent to the sub-domain, and which of the plurality of grid cells share at least one face with grid cells of the at least one other sub-domain;
- re-indexing each of the plurality of grid cells according to whether the grid cell shares at least one face with grid cells of the at least one other sub-domain;
- re-indexing each of the plurality of grid cells according to the transmissibility of each of the plurality of grid cells;
- and
- transmitting simulation data between the grid cells sharing at least one face with the at least one other sub-domain adjacent to the sub-domain with the one other sub-domain.
Dependencies are inferred from the claim text.