We compare the thermodynamic properties and execution speed of five independent equations of state. A wide range of temperatures, densities, and compositions are considered—conditions appropriate for modeling the collapse of a cloud of hydrogen gas (or an exploding supernova) to the outer layers of a neutron star. The pressures and specific thermal energies calculated by each equation-of-state routine are reasonably accurate (typically 0.1% error or less) and agree remarkably well with each other, despite the different approaches and approximations used in each routine. The derivatives of the pressure and specific thermal energies with respect to the temperature and density generally show less accuracy (typically 1% error or less) and more disagreement with one another. Thermodynamic consistency, as measured by deviations from the appropriate Maxwell relations, shows that the Timmes equation of state and the Nadyozhin equation of state achieve thermodynamic consistency to a high degree of precision. The execution speed of the five equation-of-state routines—evaluated across several different machine architectures, compiler options, and modes of operation—differ dramatically. The Arnett equation of state is the fastest of the five routines, with the Nadyozhin equation of state close behind.
[1]
J. Aparicio.
A Simple and Accurate Method for the Calculation of Generalized Fermi Functions
,
1998
.
[2]
S. Blinnikov,et al.
Equation of State of a Fermi Gas: Approximations for Various Degrees of Relativism and Degeneracy
,
1996
.
[3]
F. Swesty,et al.
Thermodynamically Consistent Interpolation for Equation of State Tables
,
1996
.
[4]
I. Iben,et al.
Diffusion and Mixing in Accreting White Dwarfs
,
1992
.
[5]
S. Woosley,et al.
Presupernova evolution of massive stars.
,
1978
.
[6]
K. Riper,et al.
Equation of state of an ideal Fermi gas
,
1977
.
[7]
W. Arnett,et al.
A possible model of supernovae: Detonation of12C
,
1969
.
[8]
N. Divine.
Numerical Evaluation of the Degenerate Equation of State.
,
1965
.
[9]
I. Iben.
A Comparison Between Homogeneous Stellar Models and the Observations.
,
1963
.
[10]
H. Poincaré,et al.
Les Méthodes nouvelles de la Mécanique céleste and An Introduction to the Study of Stellar Structure
,
1958
.
[11]
D. Arnett.
Supernovae and Nucleosynthesis: An Investigation of the History of Matter, from the Big Bang to the Present
,
1996
.