Miscible CO₂ Injection Convergence Problem and Capillary Pressure Issues #29947
-
Problem Description:
I found that during the simulation, the pressure falls below the range of the tabulated data. The formation pressure is around 3e7, but the simulated pressure goes out of range.
The program quickly fails during the advection process from the first row of the grid on the left to the right side. I'm not sure why this happens. Even with alpha = 1e-5, which should be a reasonable value in practice, the simulation still fails. I suspect the issue is with the capillary pressure settings or that the settings for the miscible CO₂ model are incorrect.
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
hello the tabulatedFluidProperties have other options than throwing for the out of bounds cases can you try those for your case? |
Beta Was this translation helpful? Give feedback.
-
Thank you, @GiudGiud Additionally, I tried using an alpha value of 1 for miscible CO₂, which also worked. However, when I set alpha to 1e-5 for miscible CO₂, the simulation fails to advect to the next mesh. I suspect that the alpha value might be the issue. An alpha of 1e-5 is considered a reasonable engineering value, isn't it? Could it be that a smaller alpha increases the capillary pressure, preventing the gas from entering adjacent meshes? |
Beta Was this translation helpful? Give feedback.
-
Thank you, @GiudGiud and @cpgr , for your responses and suggestions. |
Beta Was this translation helpful? Give feedback.
I think it is still the issue that is noted in #23197 (reply in thread)
The workaround in that case was to make a second (constant) capillary pressure user object and use that in the material. It doesn't affect the results, only the derivatives and hence has helped convergence.