-
Notifications
You must be signed in to change notification settings - Fork 24
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
atomic77 data gives anomalous recombination cooling results for hydrogen and others. #62
Comments
Further testing shows that if, by hand, I restrict the range of the integrals in xinteg_fb, then the answers for fb emissivity return to the values of the standard73. |
Nick, I'm glad your are pursuing this. We should take a look at what the actual integrals are. If we are doing a piece-wise power law for the cross section we may be able to calculate the results directly. The alternative is to find an upper frequency bound to carry out the integration over. My guess is that this could be estimated from a hydrogenic approximation. Knox |
So, this is a problem I've encountered before - when computing the ground state recombination rate via the milne relation. It comes about because there is a factor of e^(-hnu/kt) in the integral. I fixed it very simply, by the following code
This solution could be used here - it is independent of what cross section we are integrating over - even if it is dropping as 1/nu^3, it is the exponential that causes the problem… |
Another little note: I was slightly confused that the integration which computes the number of recombinations was working, but the emissivity was failing. I now realise that this was because the integrand of the emissivity is multiplied by the energy released by the recombination. So, for low temperatures, the only point returning a non zero value was the intrgrand evaluated at the threshold frequency. Of course, this is fine for the number, but since the energy released by a recombination of an electron with just the threshold energy is zero, so the only non zero value, gets multiplied by zero! |
…the recombination rates for very cold plasmas with the new extrap topbase data which extends to very high frequencies
This behaviour was first seen by NSH when running a loop of thin shell models with a flat power law spectrum to compare with cloudy.
The recombination cooling vs IP curve has a step change, at IP about -3 > -2.
Further investigation reveals that below the threshold, hydrogen gives zero recombination cooling, and above the threshold it dominates the recombination cooling.
Hydrogen is mostly ionised in both cases.
Further investigation revealed that switching from standard77 to standard73 fixes the problem.
Presumably this means it is a numerical issue with the integration scheme in integ_fb with the new much larger frequency range over which the cross sections are defined.
Is there any way of attaching a file to this? If so I'll attach a .pf file that reproduces this behaviour. If not - anyone who wants it just ask and I'll mail it..
The text was updated successfully, but these errors were encountered: