[0006]Various embodiments of systems, methods, and computer-readable media are provided for a near-well unstructured grid model builder for generating a full-field unstructured grid for reservoir simulation. In some embodiments, a method for generating a near-well unstructured grid is provided. The method includes receiving, by one or more processors, input data and determining, by one or more processors, a field polygon based on the input data. The input data includes a structured geocellular model having a well or a structured reservoir simulation having a well or a structured reservoir simulation having a well and well trajectory data and completion data for the well. The method further includes determining, by one or more processors, a reservoir polygon having a region of interest containing the well and generating, by one or more processors, a plurality of grid points. The plurality of grid points include a plurality of well grid points based on a first grid size and a plurality of other grid points outside of the region of interest based on a second grid size, the second grid size coarser than the first grid size. Additionally, the method includes performing, by one or more processors, a Delaunay triangulation based on the generated grid points and generating, by one or more processors, a Voronoi grid based on the Delaunay triangulation. The method also includes generating, by one or more processors, a near-well unstructured grid based on the Voronoi grid. Generating the near-well unstructured grid includes generating a geometry of the near-well unstructured grid, generating properties of the near-well unstructured grid, and generating perforation of the near-well unstructured grid.
[0007]In another embodiment, a non-transitory tangible computer-readable storage medium having executable computer code stored thereon for generating a near-well unstructured grid is provided. The computer code has a set of instructions that causes one or more processors to perform the following: receiving, by one or more processors, input data and determining, by one or more processors, a field polygon based on the input data. The input data includes a structured geocellular model having a well or a structured reservoir simulation having a well or a structured reservoir simulation having a well and well trajectory data and completion data for the well. The computer code further includes a set of instructions that causes one or more processors to perform the following: determining, by one or more processors, a reservoir polygon having a region of interest containing the well and generating, by one or more processors, a plurality of grid points. The plurality of grid points include a plurality of well grid points based on a first grid size and a plurality of other grid points outside of the region of interest based on a second grid size, the second grid size coarser than the first grid size. Additionally, the computer code further includes a set of instructions that causes one or more processors to perform the following: includes performing, by one or more processors, a Delaunay triangulation based on the generated grid points and generating, by one or more processors, a Voronoi grid based on the Delaunay triangulation. The computer code further includes a set of instructions that causes one or more processors to perform the following: also includes generating, by one or more processors, a near-well unstructured grid based on the Voronoi grid. Generating the near-well unstructured grid includes generating a geometry of the near-well unstructured grid, generating properties of the near-well unstructured grid, and generating perforation of the near-well unstructured grid.
[0008]In another embodiment, a