-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Electron thermal conductivity misbehaving #298
Comments
The bad behavior was first identified in a test case that @shaering put together during development for PR #297 (see
to avoid the problem but changing to
will lead to negative total thermal conductivity, which causes the temperature solve to fail. The problem was traced to the electron contribution to the thermal conductivity becoming negative. |
By hacking Doing so gives the attached plot, which clearly shows that there appear to be combinations where the third order model is singular (on a curve between approx 7900K and 8800K). For \alpha below the singularity, \kappa_e is negative. Assuming positive electron mole fraction (which is imposed in this test), negative \kappa_e is only possible if the factor So... what could cause this to go negative? |
Since the problem appears at low electron mole fraction, I decided to start the investigation by looking at the contribution of the electron-neutral collisions. This part involves e-Ar collision integrals that were curve fit by @dreamer2368 (see comments here). I haven't been able to locate the original fitting code, so instead I put together a python script to evaluate the fits against approximating the collision integral with quadrature (just trapezoid rule) using the BSR e-Ar momentum transfer cross section. The script and the necessary input cross section are attached here for traceability. (The The script generates the following results: The first plot shows the TPS fits compared to the quadrature results, which are not terrible, at least at first glance. But, computing the term that goes into \kappa_e (i.e., This is the source of the bad behavior in \kappa_e: marginal approximations of the the collision integrals leading to very bad behavior in this derived quantity. |
So, to fix the problem, we need to update these fits, which turns out to be very simple. Rather than using a high and low T form, I decided to try the following form:
for The collision integral fits are somewhat better than before, but much more importantly, the determinant result |
These should always pass for a valid model, but they don't. See #298 for more explanation. Because of those problems, a number of regression tests will fail at this commit.
The original fits (in functions collision::argon::eAr11, collision::argon::eAr12 etc) cause problems in the third order electron thermal conductivity calculation. Specifically, although the fits aren't that bad, the resulting approximation of the quantity L11 * L22 - L12 * L12, (where L here corresponds the \Lambda in the usual notation) behaves very badly (e.g., it goes negative near 8000K). This bad behavior can cause the electron thermal conductivity to also behave badly. This commit updates the fits to eliminate this problem. Due to these changes, a number of regression tests fail at this commit. These will be fixed in subsequent commits.
The third order electron thermal conductivity model is misbehaving. Specifically, it is producing negative values for some combinations of inputs.
The text was updated successfully, but these errors were encountered: