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

Relativistic shock-cloud interaction. More...

Functions

void InitDomain (Data *d, Grid *grid)
 

Detailed Description

Sets initial condition for the relativistic shock-cloud interaction problem in 2D or 3D. A high-density spherical cloud with $ \rho = 10 $ is initially located at $ (0.8,0) $ adjacent to a shock wave located at $ x=0 $. The post-shock region ( $ x < 0 $) is at rest with

\[ \begin{array}{lcll} (\rho,\, v_z,\, B_z,\, p) &=& (42.5942,\,0,\, -2.12971,\, 127.9483) & \qquad\mathrm{Ideal}\quad\mathrm{EOS, [MB06]} \\ \noalign{\medskip} (\rho,\, v_z,\, B_z,\, p) &=& (39.5052,\,0,\, 1.9753,\, 129.72386) & \qquad\mathrm{TM}\quad\mathrm{EOS, [Mig12]} \end{array} \]

while the upstream region is characterized by

\[ (\rho,\, v_z,\, B_z,\, p) = (1, \, -\sqrt{0.99}, \,0.5,\, 10^{-3}) \]

This test has no input parameters

The first two configurations employ adaptive mesh refinement.

rmhd_shock_cloud.01.jpg
Density map (in log scale) for configuration #01

References

Authors
A. Mignone (migno.nosp@m.ne@p.nosp@m.h.uni.nosp@m.to.i.nosp@m.t)
Date
Aug 31, 2015

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