Thanks for your solution, it worked. I want to implement the following boundaries to my case:
# Boundary conditions
bc = [];
bc = pside([], G, 'FRONT', 100, 'sat', [1 0]);
bc = fluxside(bc, G, 'BACK', -5*stb/day, 'sat', [1 0]);
bc = pside(bc, G, 'LEFT', 100, 'sat', [1 0]);
bc = fluxside(bc, G, 'RIGHT', 10*stb/day, 'sat', [1 0]);
I observed that these boundaries result in an error saying:
error: MRST does not support injection and production in same cell
However, if some boundaries are passed, for example, only left-right, front-back, or back-left, it successfully runs without the error. For some other boundaries; back-right or front-right, it also gives the same error.
I wonder why?
Cheers,
Yohanes