-
Notifications
You must be signed in to change notification settings - Fork 41
Erroneous arithmetic operation #225
Comments
Thanks for reporting this. Just curious, can you try the same thing with PeleLMeX? |
Yep, happy to give it a try! |
FlameSheet works for PeleLMeX! |
Thanks for trying that! I'll give a try to PeleLM, there might be some updates needed due to changes in the dependencies. |
Sounds good! Thanks for the quick responses. |
This is likely similar to #233 and should be fixed in the latest development branch version. |
Sounds good! I will try recompiling in the next few days to test if it works. |
Hi @esclapez , I tried using the latest version of the code and ran into an error compiling the chemistry. Specifically, I receive an error, for example
This just looks like an issue with some sort of refactoring since the mechanisms are now in
Let me know if you don't find the same thing! |
The chemistry mechanism files were moved recently. You will have to run a |
Thanks @ldowen ! The case does now run successfully. However, I wanted to run the simulation out a bit longer, and in simply increasing the maximum number of time steps, the simulation ended up failing in less than 100 time steps, Step 87 for me, with a CVODE error.
Any thoughts as to what is going on here? Also, this is now a different issue than the original "Erroneous arithmetic operation" so it may be best to change the title of the issue or open a new issue altogether. |
Unfortunately, that can be a little harder to debug. It means the CVODE solver is failing for some reason. @esclapez is probably better at giving you steps to go through for that error. |
Sounds good. The same thing occurs in the PeleLMeX tutorial as well, with a notable slowdown in the computation time with each step after about 60 time steps. Happy to report that directly to the PeleLMeX repo if that is easier. |
I think both will suffer of the same issue. The flame is fairly under-resolved (< 5 cells in the flame thickness) and no subgrid modeling approach is used such that numerical errors are significant. The chemistry ODE integration is pretty sensitive to the initial conditions which deteriorate as the time step size increases. I'm testing a few things in the LMeX premixed bunsen case that should also help this case. |
Got it. The 2D FlameSheet tutorial did run for a longer amount of simulation time (I forget exactly) a few weeks ago so maybe its possible some recent changes are causing the issue. Don't hesitate to reach out if you need help running some tests! |
I think this is good to go now using the parameters specified in LMeX so I will close. |
I recently compiled PeleLM on two different supercomputers, with both gnu and intel on each, and consistently receive
Erroneous arithmetic operation
immediately upon running the simulation. I am just running the tutorial case out of the box: 2D FlameSheet, following instructions exactly from https://pelelm.readthedocs.io/en/latest/GettingStarted.html .I have tried editing a number of different inputs, but it seems like the error is pretty robust. I have also seen it occur in other tutorial cases. Has anyone else noticed this issue?
Hopefully there is an easy solution to the problem, but I am happy to provide more details (compilers, etc.) if they are needed. Thanks!
The text was updated successfully, but these errors were encountered: