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

Sedov-Taylor blast wave. More...

Functions

void InitDomain (Data *d, Grid *grid)
 

Detailed Description

Set the initial condition for a Sedov-Taylor blast wave problem. Ambient density and pressure are constant everywhere and equal to rho0 and p0. While rho0 is an input parameter, p0=1.e-5. A large amount of energy is deposited in a small volume (a line, circle or sphere depending on geometry and dimensions) consisting of 2 or 3 computational zones.

The input parameters read from pluto.ini are labeled as:

The available configurations refer to:

  1. Cartesian (1D)
  2. Cylindrical (1D)
  3. Spherical (1D)
  4. Cartesian (2D, equivalent to cylindrical)
  5. Cartesian (3D, equivalent to spherical)
hd_sedov.02.jpg
Density plot at t=0.5 for configuration #02 (cylindrical blast)
Author
A. Mignone (migno.nosp@m.ne@t.nosp@m.o.inf.nosp@m.n.it)
Date
Feb 25, 2019

References:

Function Documentation

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