Hello everyone,
I am trying to build a black oil reservoir model with a gas oil system. currently I am in the initialization stage, where I have an error (I put the error in the picture). In fluid modeling I use initSimpleADIFluid with the values of bO, bG, muO, and muG data I input manually. what solutions can be applied?
then the thing that I am confused about is also for the initialization result of saturation, is the value only 1 0 or I have missed a step, how to define saturation so that it is distributed based on fluid rho, pressure and reservoir depth.
Hi Bård,
Thank you for the clarification. I have followed your suggestions, especially by using the interpTable function, and it worked — the previous errors are no longer appearing. However, I would like to ask further regarding the initialization of saturations. Currently, the saturation values are strictly either 1 or 0 for oil and gas. Is this expected behavior, or have I possibly missed a step?
How should I properly define the initial saturation so that it is distributed more realistically based on fluid density (rho), pressure, and reservoir depth? I would like to understand how to set up an initial saturation distribution that is more physical, rather than just binary values.
Thank you in advance for your help and guidance.
Hi Olav,
Thank you for answering, I have tried to input a constant rs value in my region using getInitializationRegionsBlackOil but it returns an error like this.Iis there something wrong with the way I define properties in initSimpleADIFluid using interpTable, can you help me with this?
Thank you
Hi Olav,
I have tried following your suggestion regarding the setup of the fluid functions and refer to assignPVTO as in blackOilTutorialSPE9. However, I am still encountering some errors during initialization, as attached below.
The main error seems to happen during pressure initialization and interpolation in the fluid table (interpPVT -> interpolate), specifically related to indexing out of bounds.
Would you be able to help me troubleshoot this issue further?
Thank you very much for your help!
After I tried using assignPVTO there was still an error and I was not good at using it, finally I tried using the general method, but until the step of running the simulation the error occurred again. is this wrong in the way of defining the fluid and the model or the way I have a schedule because if you look at this warning "Matrix is close to singular or badly scaled" ?
Is there any input related to how to solve the error? thank you very much in advance