The aim of this research is the design and implementation of an integrated framework to solve numerically the two-dimensional convection diffusion equations on non-rectangular grids formed only by quadrilaterals honoring the internal structures of an oil reservoir. The framework is composed of (1) a preprocessor of the internal boundaries of a 2D oil reservoir structure, (2) a 2D structural quadrilateral grid generator, (3) a solver of the 2D convection diffusion equation (CDE) on the grid, and (4) a visualization module to display the reservoir properties, wells and the simulation results on the grid. An example of typical structures corresponding to an areal view of a hydrocarbon reservoir is presented. Different scenarios were considered varying boundary conditions, source term, and diffusion constant fluid velocity. All the results are consistent with the physical interpretation of each configuration.
Read full abstract