postgkyl.diagnostics.mom.ten_moment.pressure_tensor

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

Full symmetric pressure tensor (P_xx, P_xy, P_xz, P_yy, P_yz, P_zz).

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

  • 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 six-component dataset of the symmetric pressure tensor.

Raises:

ValueError – if data is modal DG coefficients.

CLI: mom_ten_moment_pressure_tensor