Hi,
I was using the PDE solver with about 10 variables and a system of equations. I noticed that sometimes, after sweeping, the variable values become 1.#QNAN. What confuses me even more is that it shows up randomly. If I re-run the time steps, sometimes it will go all the way to the end without giving me NANs, and sometimes, after a few time steps, 1.#QNAN pops up.

One of the equations I'm solving is like this:

eq_C_1b = TransientTerm() == ((k_on_b/epsilon) * Ab * R_1b) - ImplicitSourceTerm(coeff = k_off_b) \ - ImplicitSourceTerm(coeff = k_x_a * R_1a) \
                                               + k_negx_a * C_1ab

eq_C_1ab = xxx.....

Because I'm actually testing different control sets, sometimes, some variables (ex: C_1ab) and constants (ex: k_x_a) will be purposely set to 0, but the equations (ex: eq_C1_ab) still gets sweeped and the variable updated. Could this be the cause?

Thanks,
Elizabeth

Reply via email to