USER’S MANUAL OF THE MESHMAKER v1.5 CODE: A MESH GENERATOR FOR DOMAIN DISCRETIZATION IN SIMULATIONS OF THE TOUGH+ AND TOUGH2 FAMILIES OF CODES
George Julius Moridis · eScholarship (California Digital Library) · 2016
MESHMAKER V1.5 is a code that describes the system geometry and discretizes the domain in problems of flow and transport through porous and fractured media that are simulated using the TOUGH+ [Moridis and Pruess, 2014] or TOUGH2 [Pruess et al., 1999;2012] families of codes.It is a significantly modified and drastically enhanced version of an earlier simpler facility that was embedded in the TOUGH2 codes [Pruess et al., 1999;2012], from which it could not be separated.The code (MeshMaker.f90) is a stand-alone product written in FORTRAN 95/2003, and can be run on any computational platform (workstations, PC, Macintosh).Its architecture follows the tenets of Object-Oriented Programming, has a modular structure and can perform a number of mesh generation and processing operations, including the creation of heterogeneous subdomains and boundaries within the simulated domains.It can generate two-dimensional radially symmetric (r,z) meshes, and one, two-, and three-dimensional rectilinear (Cartesian) grids in (x,y,z).The code generates the file MESH, which includes all the elements and connections that describe the discretized simulation domain and conforming to the requirements of the TOUGH+ and TOUGH2 codes.Multiple-porosity processing for simulation of flow in naturally fractured reservoirs can be invoked by means of a keyword MINC, which stands for Multiple INteracting Continua.The MINC process operates on the data of the primary (porous medium) mesh as provided on disk file MESH, and generates a secondary mesh containing fracture and matrix elements with identical data formats on file MINC.