Function crpropa::initHelicalTurbulence

Function Documentation

void crpropa::initHelicalTurbulence(ref_ptr<Grid3f> grid, double Brms, double lMin, double lMax, double alpha = -11 / 3., int seed = 0, double H = 0)

Create a random initialization of a turbulent field including helicity

Parameters:
  • grid – grid on which the turbulence is calculated

  • Brms – RMS field strength

  • lMin – Minimum wavelength of the turbulence

  • lMax – Maximum wavelength of the turbulence

  • alpha – Power law index of <B^2(k)> ~ k^alpha (alpha = -11/3 corresponds to a Kolmogorov spectrum)

  • seedRandom seed

  • H – Helicity