Download presentation
Presentation is loading. Please wait.
Published byJordan Derick Parks Modified over 6 years ago
1
Isentropic βshock wavesβ in numerical simulations of astrophysical problems
S.G.Moiseenko(1), G.S.Bisnovatyi-Kogan(1,2) (1)IKI RAS, Moscow, Russia (2) MEPHI, Moscow, Russia
2
Euler equations Mass conservation Momentum conservation
Energy conservation Usually set of hyperbolic partial differential equations Divergent form of equations et is the total specific energy (internal energy + kinetic energy + potential energy)
3
Typical numerical method can be written in the form:
, for x >0, , for x <0.
4
When the gas flow is strongly supersonic and cold: Einternal << Ekinetic
To calculate pressure P or temperature T we need to subtract two big numbers. This is a source of numerical errors. Big numerical errors, or even negative pressure or temperature can be easily obtained. π π π+1 π‘,π β π π π π‘,π
5
To avoid this difficulty instead of the energy conservation equation
the conservation entropy equation is used. ππ ππ‘ + π£βπ» π+ π π π»βπ£=0 ππ ππ‘ + π£βπ» π =0 We tried to estimate possible consequences of such step quantitatively. G.S.Bisnovatyi-Kogan. SM Astrophysics, 2016, 59, 1-10 When there are no shocks in the flow it is correct substitution. Isentropic set of hydro equations is also hyperbolic in time. Isentropic strong discontinuities =βisentropic shock wavesβ exists.
6
Shock wave Rankine-Hugoniot conditions: π 1 π£ 1 = π 2 π£ 2 , π=πΎ(π) π πΎ
π 1 π£ 1 = π 2 π£ 2 , π=πΎ(π) π πΎ Equation of state π 1 + π 1 π£ 1 2 = π 2 + π 2 π£ 2 2 , e= 1 πΎβ1 π π = πΎ(π) πΎβ1 π πΎβ1 Internal energy π 1 + π 1 π π£ = π 2 + π 2 π π£
7
Hugoniot adiabat: π 2 π 1 = (πΎ+1) π 2 β(πΎβ1) π 1 (πΎ+1) π 1 β(πΎβ1) π 2
Index β1β β before the shock, β2β β after the shock Relations between parameters before and after the shock: π£ 1 β π£ 2 = 2 ( π 2 β π 1 ) π (πΎβ1) π 1 +(πΎ+1) π /2 π 1 = π£ 1 π Mach number before the shock. π 2 π 1 = π£ 1 π£ 2 = (πΎ+1) π 1 2 (πΎβ1) π π 2 π 1 = 2πΎ πΎβ1 π 1 2 β πΎβ1 πΎ+1 π 2 π 1 =1+ 2(πΎβ1) (πΎ+1 ) 2 π 1 2 ( π 1 2 β1)(1+πΎ π 1 2 ), π 2 2 = 2+(πΎβ1) π πΎ π 1 2 β(πΎβ1)
8
For isentropic case: π 1 + π 1 π π£ = π 2 + π 2 π π£ π 1 π 1 πΎ = π 2 π 2 πΎ . Instead we use Instead of Hugoniot relations we get relations for βisentropic shockβ: here π₯= π 2 π 1 π 1 2 = π₯ πΎ β1 πΎ π₯ π₯β1 π 2 π 1 = π₯ πΎ ; π 2 π 1 = π₯ πΎβ1 ; π£ 2 π£ 1 = 1 π₯ ; π 2 π 1 = π₯ πΎβ1 2 π 2 2 = π£ π 2 πΎ π 2 = π£ 1 2 πΎ π₯ 2 π₯ π 1 π 1 π 1 π 2 = π£ 1 2 πΎπ₯ π 1 π π₯ πΎ = π π₯ πΎ+1
9
Plots for π₯= π 2 π 1 π 1 , π 2 π 1 π 1 , π 2 π 1 π 1 , π£ 2 π£ 1 π 1
πΎ=5/3 For Hugoniot adiabat and for βisentropic shockβ Solid line β real shock Dashed line- βisentropicβ shock
11
x is implicit function of M1
Full energy before the βisentropic shockβ π 1 = πΈ 1 + π 1 π π£ = πΎ πΎβ1 π 1 π π£ 1 2 = π 1 πΎβ1 + π£ = π π πΎβ1 Full energy πππ‘ππ the βisentropic shockβ π 2 = πΈ 2 + π 2 π π£ = π π πΎβ1 Relative violation of full energy on βisentropic shockβ π 2 β π 1 π 1 = 1 πΎβ1 π₯ πΎβ1 β1 + π π₯ 2 β1 1 πΎβ1 + π 1 2 x is implicit function of M1
12
For M1=2, error in energy is more then 20% !
13
What to do? D. Ryu, J.P. Ostriker, H.Kang, R. Cen, ApJ, 414, 1, 1993
Calculate energy and entropy equations simultaneously. In nonshocked regions use entropy equations in shocked regions β energy equation. Some criteria were suggested. G.L.Bryan, M.L. Norman, J.M. Stone, R.Cen, J.P.Ostriker Comput. Phys. Commun., 89, 149, 1995 βDual energy formalismβ suggested. Calculations using internal energy were done in addition to the total energy equations. When the flow was essentially supersonic the pressure and temperature were calculated from the equation for the internal energy were done. In opposite case total energy equation was used.. V.Spergel, MNRAS, 401, 791, 2010 To estimate the shock wave amplitude. When Shock Mach number is βΌ 1.1 or less entropy balance equation was used. Comparison of kinetic and internal energy of every cell. For gravitational flows β comparison of the force by gas pressure and gravitational acceleration. When internal energy is much smaller then gravitational one - entropy equation scan be used.
14
Conclusions Always try to conserve energy.
Use entropy conservation equation very carefully.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.