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

MHD blast wave (CT comparison version) More...

Functions

void InitDomain (Data *d, Grid *grid)
 
void BackgroundField (double x1, double x2, double x3, double *B0)
 

Detailed Description

Compare different CT averaging schemes for the blast wave problem.

Conf.GEOMETRY DIMT. STEP.RECONSTR CT Average
#01 CARTESIAN 2 RK2 LINEAR UCT_GFORCE
#02 CARTESIAN 2 RK2 LINEAR UCT_HLLD
#03 CARTESIAN 3 RK2 LINEAR CT_FLUX
#04 CARTESIAN 3 RK2 LINEAR UCT_GFORCE
#05 CARTESIAN 3 RK2 LINEAR UCT_HLLD

Configurations #03-#05 correspond to (half the resolution) some of computations in Sect. 6.4

Authors
A. Mignone (migno.nosp@m.ne@t.nosp@m.o.inf.nosp@m.n.it)
Date
Aug 28, 2019

References:

Function Documentation

◆ BackgroundField()

void BackgroundField ( double  x1,
double  x2,
double  x3,
double *  B0 
)

Define the component of a static, curl-free background magnetic field.

◆ 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().