Simulation with PEBI grid

212 views
Skip to first unread message

Gaoliu Qiu

unread,
Mar 9, 2018, 3:54:31 AM3/9/18
to MRST-users: The Matlab Reservoir Simulation Toolbox User Group
Dear MRST team,

In MRST, how can we achieve reservoir simulation with PEBI grid ?  

I would be grateful if someone could tell me the method.

Thank you.

Cordially,

Gaoliu Qiu

Knut-Andreas Lie

unread,
Mar 9, 2018, 10:17:49 AM3/9/18
to Gaoliu Qiu, MRST-users: The Matlab Reservoir Simulation Toolbox User Group

Hi,


MRST is designed to work with virtually any sort of unstructured grid. The question is how you construct the model. Currently, you must either set up the model yourself or construct it based on ECLIPSE input.


1) To construct the model yourself, you need to generate a grid, place wells, set up fluid model, time steps, etc). The tutorials and the MRST book show several examples of how to generate simple PEBI grids. For more complex ones, you should check out the 'upr' module.


2) If you model is given on ECLIPSE format, the best option is probably to read a result file. The deckformat module has functions that read EGRID files, which I assume is how you would specify a PEBI grid.


If you provide us with more information about your grid/model, we can try to help you getting started.


- Knut-Andreas

--
Knut-Andreas Lie, Professor, PhD
Chief Scientist, SINTEF Digital, Mathematics & Cybernetics, Oslo
Phone: +47 930 58 721 (mobile)
http://folk.ntnu.no/andreas

From: sinte...@googlegroups.com <sinte...@googlegroups.com> on behalf of Gaoliu Qiu <25424...@qq.com>
Sent: Friday, March 9, 2018 9:54:31 AM
To: MRST-users: The Matlab Reservoir Simulation Toolbox User Group
Subject: [MRST Users] Simulation with PEBI grid
 
--
You received this message because you are subscribed to the Google Groups "MRST-users: The Matlab Reservoir Simulation Toolbox User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sintef-mrst...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sintef-mrst/490976b5-ea7d-4c05-bcea-b9719df04471%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Gaoliu Qiu

unread,
Mar 10, 2018, 3:02:12 AM3/10/18
to MRST-users: The Matlab Reservoir Simulation Toolbox User Group

Hi,


Thanks for your answer and recommendation. 

The simple PEBI grid could be achieved.













Actually,  It is convenient that wells are designed with Cartesian grid. But  I don't find the methods to add wells with PEBI grid for production or injection. 

Would you give some examples or functions ? 

Thank you.

Cordially,

Gaoliu Qiu










在 2018年3月9日星期五 UTC+8下午11:17:49,Knut-Andreas Lie写道:

Knut-Andreas Lie

unread,
Mar 12, 2018, 3:06:16 PM3/12/18
to Gaoliu Qiu, MRST-users: The Matlab Reservoir Simulation Toolbox User Group

Hi,


You can use the addWell function, which assumes that you know the indices of the perforated cells.


For a simple case like the one in your figure, you can find the cell indices using the function findEnclosingCell. Notice, however, that this function only works for 2D coordinates. 


For 3D models, you can use functions from the 'wellpaths' module. Look at wellTrajectoryExample.m


Hope this helps,


- Knut-Andreas 


--
Knut-Andreas Lie, Professor, PhD
Chief Scientist, SINTEF Digital, Mathematics & Cybernetics, Oslo
Phone: +47 930 58 721 (mobile)
http://folk.ntnu.no/andreas
Sent: Saturday, March 10, 2018 9:02:12 AM

To: MRST-users: The Matlab Reservoir Simulation Toolbox User Group
Subject: Re: [MRST Users] Simulation with PEBI grid
 
Reply all
Reply to author
Forward
0 new messages