Version 43 (modified by 7 years ago) ( diff ) | ,
---|
Shocked Clump (2D)
Am investigating the interaction between a cold clump in a supernovae remnant and a shock. To model this, am injecting a supersonic wind into the boundary, whose properties are specified by the jump conditions across an adiabatic shock. The jump conditions are calculated using the following parameters in the ambient medium (note all values given are approximate; actual values are calculated to machine precision in the attached problem module):
The sound speed of the ambient material for these parameters is (for
):which for a injected wind speed of
gives a Mach number of:The wind parameters are then given by the R-H jump conditions (see attached pdf for equations used):
The clump is initially in pressure equilibrium with the ambient medium, and its properties are given by:
The thermodynamics in the simulation is governed by an ideal EOS (with
). The abundances are taken to be solar ( ). Other parameters of interest are the clump radius ( ), clump-ambient density contrast ( ), clump crushing time ( ), sound crossing time (for sound waves in ambient and clump medium to travel a clump radius; ), wind crossing time (for wind to travel clump radius; ):(ambient medium) | |
(clump medium) | |
The domain dimensions, resolution, clump origin, simulation time & framerate (for 155 frames), are given by:
Run 1 - Steady inflow condition
Run description: supersonic wind is injected into the left edge of the computational domain each timestep over the course of the simulation.
Note that we must initialize the left and right state of the "Riemann problem" (where the discontinuity corresponds to the interface between the grid and the boundary zones) which generates a shock traveling to the right into the grid at 2,000 km/s. In other words, we solve the jump conditions across a 2,000 km/s shock using the pre-shock values of the gas in the grid to initialize the boundary zones (the "post-shock" gas). If the incoming flow does not match the jump condition values exactly, additional waves will be generated once the incoming flow collides with the ambient gas in the box. To illustrate this, see the following image which shows an initial inflow at the boundary that has slightly different values than those specified by the jump conditions, compared to the true values (right).
The shock front in the right panel shows some oscillations, but these are to be expected given the numerical scheme. Currently, am using a PPL interpolation method, but will see if PPM reduces these oscillations further in a future run.
Visualizations:
rho (cm-3) | movie |
temp (K) | movie |
press (Ba) | movie |
Sound speed (cm/s) | movie |
vx (cm/s) | movie |
Density jump | image |
Run 2 - Pulsed case
Supersonic wind only injected at t=0 (from lower x-boundary)
<To be added… >
Unresolved thoughts:
Q - estimate on sim runtime?
Q - location of clump center wrt grid?
Q - reflected BC differences?
Attachments (22)
- density_shockfront_comparison.png (364.8 KB ) - added by 7 years ago.
- n_cgs.gif (10.3 MB ) - added by 7 years ago.
- T_cgs.gif (8.7 MB ) - added by 7 years ago.
- P_cgs.gif (12.4 MB ) - added by 7 years ago.
- Mach.gif (11.4 MB ) - added by 7 years ago.
- Schleiren.gif (8.5 MB ) - added by 7 years ago.
- temp_cgs.2.gif (8.9 MB ) - added by 7 years ago.
- density_front.png (106.4 KB ) - added by 7 years ago.
- Last_Frame_Comparison.png (572.5 KB ) - added by 7 years ago.
- jump_conditions.pdf (26.8 KB ) - added by 7 years ago.
- solver.data (1.5 KB ) - added by 7 years ago.
- global.data (7.9 KB ) - added by 7 years ago.
- scales.data (619 bytes ) - added by 7 years ago.
- physics.data (9.8 KB ) - added by 7 years ago.
- problem.data (1.4 KB ) - added by 7 years ago.
- problem.f90 (10.2 KB ) - added by 7 years ago.
- AMR_Fixed_Comparison.png (588.7 KB ) - added by 7 years ago.
- amr_mesh.png (2.0 MB ) - added by 7 years ago.
- Mach_comparison_earlier.png (187.5 KB ) - added by 7 years ago.
- Mach_comparison_later.png (198.8 KB ) - added by 7 years ago.
- 3D_contour.png (158.5 KB ) - added by 7 years ago.
- 3D_Mesh.png (347.3 KB ) - added by 7 years ago.