Out of memory error #1903
-
Hello ! I am having some memory issues while performing poromechanics simulation on an imported full hex grid (see screenshot below). However, there is no problem with the mesh because I used it for compositionalMultiphaseFlow and geomechanics simulations and this error did not happen. I also performed poromechanics simulations on grids with less cells but with multiple elements and the error did not happen. We did some debugging but that did not help. Any idea of the cause of this error ? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Hello @alexandrebtessael, If your problem is too large, the direct linear solver is likely to run out of memory. I recommend using:
to switch to an iterative linear solver. You can choose
and if the linear solver still struggles, please post the xml and the simulation log |
Beta Was this translation helpful? Give feedback.
-
Thanks for answering @francoishamon , I tried your method and it worked. I don't encounter this memory issue anymore. I have another question linked to the LinearSolverParameters when it comes to CO2 injection. I used the direct linear solver because when I use : I encounter the "Error!! Block ordering for non-Galerkin coarse grid is not currently supported". But with large problems, I face the memory issue with direct linear solver. Is there an another solverType or preconditionerType that I could use to avoid this ? |
Beta Was this translation helpful? Give feedback.
-
Hello @francoishamon , thanks for the answer, I will use this solution for the moment. |
Beta Was this translation helpful? Give feedback.
-
@alexandrebtessael If you want to try again the problem with wells, the iterative linear solver with:
should work now with the latest version of |
Beta Was this translation helpful? Give feedback.
@alexandrebtessael If you want to try again the problem with wells, the iterative linear solver with:
should work now with the latest version of
develop
. Let me know if you have some issues