Internal energy equations
From Teyssier 2015, the nonconservative internal energy update (Equation 161):
From Bryan et al. 2014, the nonconservative internal energy update (Equation 43):
We need to decide when to use the nonconservative internal energy update, instead of the conservatively calculated internal energy,
Note: in Cholla notation, , so . Cholla tracks and .
In Teyssier 2015, the switch is calculated using an estimate for the truncation error of the method.
In Bryan 2014, the switch is made according to the ratio of internal energy to total energy.
The tests shown below consist of a shock tube with periodic boundaries, to allow for high mach number bulk flow.
For the high mach number test, .
Without Dual Energy
Figure 1: PPMP, exact Riemann solver, CTU
Figure 2: same as Figure 1, but with bulk velocity