Function hermes::initTurbulence¶
- Defined in File GridTools.cpp
Function Documentation¶
Create a random initialization of a turbulent field.
- Parameters
lMin
: Minimum wavelength of the turbulencelMax
: Maximum wavelength of the turbulencealpha
: Power law index of <B^2(k)> ~ k^alpha (alpha = -11/3 corresponds to a Kolmogorov spectrum)Brms
: RMS field strengthseed
: Random seedhelicity
: Turn on/off helicityH
: helicity parameter