PLUTO Test Problems  4.4-patch2
Functions
init.c File Reference

Streaming Instability Setup. More...

Functions

void InitDomain (Data *d, Grid *grid)
 
void Analysis (const Data *d, Grid *grid)
 

Detailed Description

Streaming instability as presented in Mignone et al (2019). Configurations should be compiled with –with-sb and –with-fargo.

We set the resolution to 64, one particle per cell. The particle stopping time is tau_s = 0.1 for all cases.

Conf.rho(p) KX, KZ Part. Integrator Setup name Procs.
#01 3 30,30 Semi Impl LinA 1
#02 3 30,30 Semi Impl LinA 8
#03 3 30,30 Exp Midpoint LinA 1
#04 3 30,30 Exp Midpoint LinA 8
#05 0.2 6, 6 Semi Impl LinB 1
#06 0.2 6, 6 Semi Impl LinB 8
#07 0.2 6, 6 Exp Midpoint LinB 1
#08 0.2 6, 6 Exp Midpoint LinB 8
#09 1 30, 30 Exp Midpoint -1 8
#10 1 30, 30 Exp_Midpoint -1 8

Setup #09,#10 is employed for nonlinear evolution. The configuration is for very small runs. For proper study increase tstop to 80 and set Nparticles to 9 (per cell).

Setup #10 has low resolution and does not show instability (unless higher resolution is employed).

Author
A. Mignone (migno.nosp@m.ne@t.nosp@m.o.inf.nosp@m.n.it)
Date
Dec 06, 2020 References:
  • "A PARTICLE MODULE FOR THE PLUTO CODE. III. Dust" Mignone etal, ApJS (2019) 244:38 [Sec. 4.3]

Function Documentation

◆ Analysis()

void Analysis ( const Data *  d,
Grid *  grid 
)

Perform runtime data analysis.

Parameters
[in]dthe PLUTO Data structure
[in]gridpointer to array of Grid structures

◆ InitDomain()

void InitDomain ( Data *  d,
Grid *  grid 
)

Assign initial condition by looping over the computational domain. Called after the usual Init() function to assign initial conditions on primitive variables. Value assigned here will overwrite those prescribed during Init().