postgkyl.diagnostics.mom.ten_moment.pressure

postgkyl.diagnostics.mom.ten_moment.pressure(data, *, gas_gamma=1.6666666666666667, inplace=False, tag=None, label=None)

Scalar pressure (trace of the pressure tensor over three) from 10-moment fluid data.

Parameters:
  • data – Ten-moment fluid data; must contain point values.

  • gas_gamma – Unused compatibility parameter.

  • inplace – Mutate and return data instead of a new dataset.

  • tag – Optional tag for the returned dataset.

  • label – Optional label for the returned dataset.

Returns:

A single-component dataset of the scalar pressure.

Raises:

ValueError – if data is modal DG coefficients.

CLI: mom_ten_moment_pressure