BinWang0213 / MRST_Shale

Shale gas simulation environment
32 stars 12 forks source link

MRST-Shale: A Open-source Shale Gas Simulator

Bin Wang (binwang.0213@gmail.com)

Craft & Hawkins Department of Petroleum Engineering, Louisiana State University, US

OpenShale is a light-weight open-source library for simulating flow in naturally-fractured shale-gas reservoirs based on the Matlab Reservoir Simulation Toolbox (MRST) provided by SINTEF ICT (http://www.sintef.no/projectweb/mrst/). It requires MRST to be added to the matlab path by running "startup.m".

Currently available features include:

Features available in our new 3D code (https://github.com/UnconvRS/shale/tree/MRST):

This documentation of the 3D code is presented in an upcoming book chapter Advanced Modelling with the MATLAB Reservoir Simulation Toolbox

Install & Usage

The code is tested and developed based on MRST 2018a. New version of MRST may cause problmes.

Install

  1. Install MRST2018a.
  2. Add the MRST_Shale folder to the "modules" folder of MRST.
  3. Update the "mrst-2018a/modules/hfm" and "mrst-2018a/modules/compositional" from "MRST_Shale/3rdParty"
  4. Update the "mrst-2018a/utils/ADI.m" from "MRST_Shale/3rdParty"

Once MRST and our module are installed and our module can be used like any other MRST module.

Getting start

To run examples in MRST_Shale:

  1. Before any script that relies on the repository is run, MRST must be started. This is done by running the file startup.m which is loacted inside of your MRST directory.
  2. Navigate to "mrst-2018a/modules/" and add the "MRST_Shale" folder to Path by "Add to Path" - > "Selected Folders and Subfolderes"
  3. Run any example script in the "MRST_Shale/examples"

this will make the contents of the geochemistry directory available in the workspace.

Example List

Example FileName Comments
Case 1a/1b Case1_MRST_EDFM/LGR_benchmark.m Single vertical HF with EFM and EDFM
Case 1c Case1_MRST_EDFM/LGR_NF_benchmark.m Single vertical HF and 3 horizontal NFs with EFM and EDFM
Case 2 Case2_MRST_LGR_benchmark.m 5 vertical HFs verification case (Jiang et al, 2015)
Case 3 Case3_HistoryMatching_Barnett.m 28 vertical HFs history matching case of Barnett Shale (Cao et al, 2016)
Case 4 Case4_NaturalFrac_Geomechanics_Barnett.m Same with Case 3 but with non-planar HFs, random generated NFs and geomechanics effect

License

Please cite this project when you using it in your project

Wang B, Fidelibus C. An Open-Source Code for Fluid Flow Simulations in Unconventional Fractured Reservoirs. Geosciences. 2021; 11(2):106. https://doi.org/10.3390/geosciences11020106

Reference