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
Hi,
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