upper: table EOS lower: ideal gas EOS