-
Hi, I was wondering what the I see that it sets up the I was a bit confused about the reason behind this. Or is it some legacy configuration that is no longer used? I appreciate your help. Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is not deprecated legacy code. You can see where the tolerances are set for CVode or other solvers here: PelePhysics/Source/Reactions/ReactorUtils.H Line 148 in e371e15 |
Beta Was this translation helpful? Give feedback.
This is not deprecated legacy code.
set_typ_vals_ode
specifies a characteristic value for each species in the chemical system, which is then used in setting absolute error tolerances for the Sundials integrators. This is can be important because the orders of magnitudes for species mass fractions can range from O(1) for major species to very very tiny for radicals, so the appropriate absolute tolerance varies from species to species.You can see where the tolerances are set for CVode or other solvers here:
PelePhysics/Source/Reactions/ReactorUtils.H
Line 148 in e371e15