Turbulence driving#
The block named &TURB_PARAMS contains the parameters related to the turbulence driving. Originally implemented by Andrew Mcleod.
General principle[1]#
The model used for turbulent driving in Ramses is a generalization of the Ornstein-Uhlenbeck process. The force is computed in Fourier space and then applied to the gas. The evolution of the Fourier modes \(\vec{\hat{f}}\) of the force was obtained via the resolution of the following stochastic differential equation:
In this equation, \(\mathrm{d}t\) is the timestep for integration and \(T\) is the autocorrelation timescale. The perturbation \(\mathrm{d}\vec{W_t}\) is a small vector randomly chosen following the Wiener process. The power spectrum \(F_0\) is a way to select the relevant mode.
Example
A parabolic power spectrum between \(k=1\) and \(k=3\):
The projection operator \(\vec{P_\chi}\) is a weighted sum of the components of the Helmholtz decomposition of compressive versus solenoidal modes:
with \(\vec{P}^{\perp}\) and \(\vec{P}^{\parallel}\) the projection operators respectively perpendicular and parallel to \(\vec{k}\) and \(\chi\) the compressive driving fraction. This compressive driving fraction applies only to the driving and is different from the compressive ratio measured in the velocity field. The forcing field \(\vec{f}(\vec{x}, t)\) is then computed from the Fourier transform:
The parameter \(f_{\mathrm{rms}}\) is directly linked to the power injected by the turbulent force into the simulation. The \(g(\chi)\) factor is an empirical correction so that the resulting time-averaged root-mean-square of the power of the Fourier modes is equal to \(f_{\mathrm{rms}}\), independently of the compressive fraction \(\chi\).
Overview of parameters#
Variable name |
Fortran type |
Default value |
Notation |
Description |
|---|---|---|---|---|
|
|
|
Turn on or off driving |
|
|
|
|
Random number generator seed. -1 = random |
|
|
|
|
How the driving changes over time. 1=driven evolving, 3=decaying |
|
|
|
|
Generate initial turbulence before start |
|
|
|
|
\(\chi\) |
The weight of compressive over solenoidal modes |
|
|
|
\(T\) |
Turbulent velocity auto-correlation time in code units. |
|
|
|
\(T/dt\) |
Number of timesteps per auto-correlation time |
|
|
|
\(f_\mathrm{rms}\) |
Root-mean-square turbulent forcing in code units. |
|
|
|
Minimum density for turbulence. Not forcing is added onto cellswith a density less than this value. |
|
|
|
|
\(F_0\) |
Power spectrum type of the forcing, which describes the relative strength of individual modes. Options are: power_law, parabolic, konstandin |