I hope this email finds you well.
When calculating the intersections between wells and fractures (including both natural fractures and hydraulic fractures), I need to compute the well index (WI) separately for the well–fracture intersections. However, I found that computeWellIndex.m does not include such calculations. I also could not find any script corresponding to Equations (10.10) and (10.11) in the textbook <Advanced modelling with the MATLAB reservoir simulation toolbox>.
May I ask which script contains the implementation of these calculations?
Thank you very much for your time and help.
Kind regards,

UNCLASSIFIED - NON CLASSIFIÉ
Hi all,
Does MRST include functions to assign permeability to a refined grid, e.g. refining a fine grid to coarse grid with similar rock property (mean values or interpolated..) or reverse..
Thanks a lot,
Jon
Hi
Olav,
Thank you again for the previous explanations. I have a follow-up question regarding EDFM in a 2D setting.
I am currently working with a 2D matrix grid and would like to introduce natural fractures modeled as EDFM line fractures. The physical dimensions of the model are set as
physdim = [320, 140], without a Z-direction.
The main reason for using a 2D matrix grid is to reduce computational cost, since the flow simulation will later be coupled with geochemical reactions. In my case, a full 3D matrix grid would make the coupled simulations prohibitively expensive.
My question is related to well–fracture intersections:
In a 2D matrix grid with EDFM line fractures, is it possible to compute well–fracture NNCs when a well intersects a fracture?
From my current understanding:
Conventional EDFM does not explicitly handle or compute well–fracture NNCs.
Such treatments are typically introduced only in pEDFM.
In MRST, the existing pEDFM implementations appear to be mainly designed for 3D grids, and they rely on the function wellfractureNNCs3D.m.
Given this, I am unsure whether there is a feasible or recommended approach to handle well–fracture intersections and the corresponding NNCs within a 2D matrix grid using EDFM line fractures.
Any insights, references, or suggestions would be greatly appreciated.
Best regards,
Calvin