PLUTO Test Problems
4.4-patch2
|
Stellar wind test problem. More...
Functions | |
void | InitDomain (Data *d, Grid *grid) |
Sets initial condition for a spherically symmetric radial wind blowing from the origin of coordinates, see [Mig14]. The initial condition consists of a constant-density ambient medium with
where v_csm
is the velocity of the star with respect to the background. The wind is injeted using the INTERNAL_BOUNDARY
where flow quantities are kept constant in time and equal to
These value are defined through the UserDefBoundary() function when side
is equal to 0.
Dimensions are chosen so that the spherical wind shell has radius 1, density 1 and velocity 1 ( ).
The input parameters that control the problem dynamics are
g_inputParam[CS_WIND]
: sets the sound speed in the wind region;g_inputParam[RHO_AMB]
: sets the ambient densityg_inputParam[CS_AMB]
: sets the ambient sound speed;g_inputParam[V_CSM]
: sets the velocity of the star with respect to the background;Configurations #01-05 and #07-08 work in 2D cylindrical axisymmetric coordinates while conf. #06 is 3D Cartesian. An AMR setup is available with configuration #04.
References