postgkyl.diagnostics.mom.ten_moment.mach

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

Sonic Mach number M = |v| / c_s from 10-moment data.

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

  • gas_gamma – Adiabatic index used in the sound speed.

  • 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 Mach number.

Raises:

ValueError – if data is modal DG coefficients.

CLI: mom_ten_moment_mach