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

Underexpanded jet. More...

Functions

void InitDomain (Data *d, Grid *grid)
 

Detailed Description

The domain is initialized with a static medium, whereas in the bottom boundary the following conditions are applied (see Section 5.2 of [Mig07])

\[ P_{\rm jet} = \frac{P_{\rm ratio}}{\Gamma}\left(\frac{2}{\Gamma + 1}\right)^{\Gamma/(\Gamma - 1)} \,,\quad \rho_{\rm jet} = \rho_{\rm ratio}\left(\frac{2}{\Gamma + 1}\right)^{1/(\Gamma - 1)} \,,\quad v_{\rm jet} = \sqrt{\frac{\Gamma P_{\rm jet}}{\rho_{\rm jet}}}\,. \]

The runtime parameters 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 2, 2017

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