fixed kelvin-hemholtz to have constant pressure via modifying the initial state energy parameter