Shale model

123 views
Skip to first unread message

K-ON

unread,
Oct 19, 2023, 5:31:13 AM10/19/23
to sintef-mrst
Dear MRST Team,

I hope this email finds you well.   We have encountered an issue while working with the Shale module.   Specifically, when trying to import the fluid named "20components" using the getShaleCompFluidCase function, we have encountered an error as illustrated in the attached screenshot.




Despite our best efforts to troubleshoot this problem independently, we have been unable to resolve the issue.   We believe that we are utilizing the function correctly based on the documentation.   However, we continue to encounter this particular error.   Consequently, we are reaching out to request your guidance on how to address and rectify this matter.

We would greatly appreciate any insights or assistance you can provide in successfully using the "20components" fluid with the getShaleCompFluidCase function.   If there are any specific considerations, known issues, or workarounds related to this situation, we would be grateful to gain a deeper understanding.

Thank you in advance for your attention to this matter.   We eagerly await your response and guidance.

Best regards,

lhy
63676334@48903050.EBF03065.png.jpg

Femi Olorode

unread,
Dec 10, 2023, 1:53:57 AM12/10/23
to MRST-users: The Matlab Reservoir Simulation Toolbox User Group
Hi Lhy,

I thought someone from our group would have posted the solution to this and your other question here. The updated working code is attached.

The error stems from the inclusion of “water” as a component in the fluid components. In the attached getShaleCompFluidCase.m file, the simulation runs successfully if the water component (which was set up with an initial overall mole-fraction of zero) is removed. The attached version specifies water injection via the argument …'comp_i', [1,0,0]… in the addWell() function instead of having water as a component in the hydrocarbon mixture. We ran it to completion and confirmed that water is actually injected using this approach by looking at the water saturation profile.

Please let us know if you still have any issues running this.

Thanks,
Femi

fracture_nz.m
zufen_fsf.m
getShaleCompFluidCase.m
Reply all
Reply to author
Forward
0 new messages