-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
The use_exp_form = true
flag allows users to track neutron flux values as exponent values instead of raw values (e.g. e^10 -> 10). Refer to moltres/src/base/ScalarTransportBase.C
for the source code.
However, this flag requires careful use because it easily triggers the DIVERGED_FNORM_NAN
error on nonlinear solve iterations. The error message does not indicate that use_exp_form
is responsible for the failed solve.
I suspect that it triggers the error because Moltres tries to evaluate exp(x) and the value can easily exceed the maximum representable float/double.
This issue is more of a PSA for future users who encounter the DIVERGED_FNORM_NAN
with this flag, which is true by default.