postgkyl.diagnostics.mom.plasma.lambdaD

postgkyl.diagnostics.mom.plasma.lambdaD(species, *, gas_gamma=1.6666666666666667, num_moms=None, mass=1.0, charge=1.0, epsilon_0=1.0, mu_0=1.0, no_sqrt2=False, inplace=False, tag=None, label=None)

Debye length lambda_D = v_th / omega_p.

Parameters:
  • species – Fluid moment data; must contain point values.

  • gas_gamma – Adiabatic index used to compute thermal velocity.

  • num_moms – Number of fluid moments (5 or 10); inferred when None.

  • mass – Particle mass.

  • charge – Particle charge.

  • epsilon_0 – Vacuum permittivity used in the plasma frequency.

  • mu_0 – Vacuum permeability forwarded to thermal-velocity calculation.

  • no_sqrt2 – Use sqrt(T/m) internally; the returned conventional Debye length remains unchanged.

  • inplace – Mutate and return species 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 Debye length.

Raises:

ValueError – if species is modal DG coefficients.

CLI: mom_plasma_lambdaD