mesa icon indicating copy to clipboard operation
mesa copied to clipboard

EOS errors from ideal ions at high density / low temperature

Open evbauer opened this issue 1 year ago • 2 comments

See discussion on c58b3fc7cae532008ef437231033dd86718764b2, which was reverted.

The ideal ion free energy in Skye gives negative entropy at sufficiently high density. This is a problem not just for Skye, but also for ideal, which is meant to be our backstop EOS. Therefore we end up having no EOS coverage at all in the region labeled 'nothing' in this plot:

image

The proper physical solution is to account for ion degeneracy, but that might require some tabulations of fermi-dirac integrals?

evbauer avatar Jul 21 '23 17:07 evbauer

Practically, I'm most concerned about falling off Skye near logRho = 10 on this plot. Massive WDs could possibly get there, and falling from Skye to HELM here would likely cause problems.

I'm also wondering if this unphysical ideal ion term may have had an unintended impact on the discussion of quantum melting in Appendix D of the Skye paper. See figure 18 in the paper. The shape of the quantum melting region for C/O looks suspiciously similar to the shape of the region where Skye is failing and falling back to HELM/nothing as it approaches logRho=10. (The plot above is for a C/O mixture)

evbauer avatar Jul 21 '23 17:07 evbauer

i have a helm-style table that treats ions as fermions (an approximation). in the low-density limit it is ideal gas and at larger densities captures the onset of ion degeneracy, where ideal gas expressions fail. the entropy remains positive and smooth. the cost is additional table machinery. i also haven't explicitly tested it in a few years.

fxt44 avatar Jul 21 '23 18:07 fxt44