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

Two-dimensional Riemann problem. More...

Functions

void InitDomain (Data *d, Grid *grid)
 

Detailed Description

Sets the initial condition for the 2D Riemann problem described in Mignone et al. (2005). The computational domain is initially divided into four states and the outcoming wave pattern involves the formtation of 2 shocks and two contact waves.

rhd_riemann2D.01.jpg
Final state for configuration #01.
Authors
A. Mignone (migno.nosp@m.ne@p.nosp@m.h.uni.nosp@m.to.i.nosp@m.t)
Date
July 09, 2014

Reference:

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