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

2D Blast wave problem with thermal conduction. More...

Functions

void InitDomain (Data *d, Grid *grid)
 

Detailed Description

Sets the initial conditions for a 2D Blast wave problem with thermal conduction. For the HD case:

\[ \rho = \rho_{\rm out} + \frac{\rho_{\rm in} - \rho_{\rm out}}{\cosh\left[10(r/r_0)^{10}\right]}\,, \quad\quad\quad T = \left\{\begin{array}{ll} T_{\rm in} & \quad{\rm for} \quad r \le r_0 \\ \noalign{\medskip} T_{\rm out} & \quad{\rm for} \quad r > r_0 \end{array}\right.\,, \]

where $r_0$ is the cloud radius.

Input Parameters are that are read from pluto.ini are

Configurations:

Author
A. Mignone (migno.nosp@m.ne@p.nosp@m.h.uni.nosp@m.to.i.nosp@m.t)
Date
March 06, 2018

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