Dear MRST community,
I am looking into an approach that seems to have potential to work in mrst-2019a, by using the class TwoPhaseGasOilModel from mrst release 2018b:
i) I modified equationsBlackOil (lines 167-182, 207-214, 248-262;
see here), to make them compatible with two-phase gas-oil as well.
ii) After that, when trying to run a simulation with the TwoPhaseGasOilModel I was getting an error (
see here) related to the rs and well (I am using a single injector well controled by total rate, injecting gas, i.e. compi [0, 1]); I decided to modify the TwoPhaseGasOilModel superclass ThreePhaseBlackOilModel to make it compatible with two-pase gas oil (lines 502-530,
see here).
iii) I then ran a couple of test simulations to perform a minimal validation. First, I compared the results using GenericBlackOilModel and TwoPhaseGasOilModel for no-flow boundary conditions, obtaining identical results. I then used TwoPhaseGasOilModel and constant-pressure boundary conditions in lateral boundaries. As expected, pressure change was lower, and gas saturation at the top of the reservoir was also lower.
Can someone provide feedback on this approach? I think the provided files should be enough to generate a toy problem to test it, but let me know if you prefer my test-problem file. As seen in the .DATA file
that I am using to test, fluids are "oil-gas" for now, so I would like to know if you envisage any problems when modifying those to the actual brine-CO2 properties. If possible, I would still appreciate feedback on my initial post.
Thanks again,
Lluis