Introduction

Shock phenomena such as a global shock resulting from a stellar pulsation or supernova explosion passing outward through a stellar envelope or perhaps a shock emanating from a point source such as a man-made explosion in the Earth’s atmosphere or an impulsive flare in the Sun’s atmosphere have tremendous importance in astrophysics and space sciences. Shock waves are common in the interstellar medium because of a great variety of supersonic motions and energetic events, such as cloud–cloud collision, bipolar outflow from young protostellar objects, powerful mass losses by massive stars in a late stage of their evolution (stellar winds), supernova explosions, central part of star burst galaxies, etc. Shock waves are also associated with spiral density waves, radio galaxies and quasars. Similar phenomena also occur in laboratory situations, for example, when a piston is driven rapidly into a tube of gas (a shock tube), when a projectile or aircraft moves supersonically through the atmosphere, in the blast wave produced by a strong explosion, or when rapidly flowing gas encounters a constriction in a flow channel or runs into a wall.

The analysis and explanation for the internal motion in stars is one of the basic problems in astrophysics. According to the observational data, the unsteady motion of a large mass of gas followed by sudden release of energy results flare-ups in novae and supernovae. A qualitative behavior of the gaseous mass may be discussed with the help of the equations of motion and equilibrium taking gravitational forces into account. Numerical solutions for self-similar adiabatic flows in self-gravitating gas were obtained by Sedov [1] and Carrus et al. [2], independently. Purohit [3] and Singh and Vishwakarma [4] have discussed homothermal flows behind a spherical shock wave in a self-gravitating gas using similarity method. Nath et al. [5] have studied the above problem assuming the flow to be adiabatic and self-similar and obtained the effects of the presence of a magnetic field. Shock waves through a variable-density medium have been treated by Sedov [1], Sakurai [6], Nath [7], Rogers [8], Rosenau and Frankenthal [9], Nath et al. [5], Vishwakarma and Yadav [10] and others. Their results are more applicable to the shock formed in the deep interior of stars.

Laumbach and Probstein [11], Hayes [12], Deb Ray [13], Verma and Vishwakarma [14, 15], Vishwakarma [16], Nath [17] have discussed the propagation of shock waves in a medium where density varies exponentially and obtained similarity and non-similarity solutions. These authors have not taken into account the effects of the self-gravitation of the medium. Also, Nath et al. [18] analyzed the non-similarity solutions and investigated the effects of the presence of an ambient azimuthal magnetic field and the self-gravitation of the ambient medium on the flow field behind a magnetogasdynamic spherical (or cylindrical) shock wave in the case of adiabatic flow. They assumed that the density in the ambient medium varies according to exponential law and the initial magnetic field to be constant.

Since at high temperatures that prevail in the problems associated with the shock waves a gas is ionized, electromagnetic effects may also be significant. A complete analysis of such a problem should, therefore, consist of the study of the gasdynamic flow and the electromagnetic field simultaneously. A detailed study towards gaining a better understanding of the interaction between gasdynamic motion of an electrically conducting medium and magnetic field within the context of hyperbolic system has been carried out by many investigators such as Korobeinikov [19], Shang [20], Lock and Mestel [21]. A detailed review in the field of magnetogasdynamic flows can be seen in the paper Shang [20]. Lock and Mestel [21] analyzed the annular self-similar solutions in ideal magnetogasdynamics by casting the ideal magnetogasdynamic equations to a three-dimensional autonomous system in which either the magnetic pressure or the fluid pressure vanishes.

The shock waves in the presence of a magnetic field in conducting perfect gas can be important for description of shocks in supernova explosions and explosion in the ionosphere. The strong magnetic fields play significant roles in the dynamics of the interstellar medium. Among the industrial applications involving applied external magnetic fields are drag reduction in duct flows, design of efficient coolant blankets in tokamak fusion reactors, control of turbulence of immersed jets in the steel casting process and advanced propulsion and flow control schemes for hypersonic vehicles. The magnetic fields have important roles in a variety of astrophysical situations. Complex filamentary structures in molecular clouds, shapes and the shaping of planetary nebulae, synchrotron radiation from supernova remnants, magnetized stellar winds, galactic winds, gamma-ray bursts, dynamo effects in stars, galaxies, and galaxy clusters as well as other interesting problems all involve magnetic fields (see Hartmann [22], Balick and Frank [23]).

In all of the works mentioned above, the effect of self-gravitation and magnetic field is not taken into account by any of the authors in the case of isothermal flow with exponentially varying density.

The purpose of this study is, therefore, to obtain the non-similarity solutions for the unsteady isothermal flow behind magnetogasdynamic spherical (or cylindrical) shock waves in a self-gravitating gas with exponentially varying density. The density in the medium ahead of the shock is assumed to obey an exponential law. The medium is assumed to be a perfect gas and the initial magnetic field to be constant. The assumption of isothermal flow is physically realistic, when radiation heat transfer effects are implicitly present. As the shock propagates, the temperature behind it increases and becomes very large so that there is intense transfer of energy by radiation. This causes the temperature gradient to approach zero, that is the dependent temperature tends to become uniform behind the shock front and the flow becomes isothermal (Laumbach and Probstein [24], Sachdev and Ashraf [25], Korobeinikov [19], Zhuravskaya and Levin [26], Nath [7, 17, 27]). A detailed mathematical theory of one-dimensional isothermal blast waves in a magnetic field was developed by Lerche [28, 29]. Numerical solutions for the flow field between the shock and the piston are obtained in the case of isothermal flow in “Solution to the equations”. Effects of viscosity and rotation are not taken into account. The present study can be important to verify the accuracy of the solution obtained by the theory of self-similarity and computational methods such as finite difference scheme, finite element, etc.

Variation of the flow variables behind the shock for different values of the Alfven-Mach number, gravitational parameter and time is obtained. It is investigated that the presence of gravitational field reduces the effects of the magnetic field. Also, the presence of gravitational field increases the compressibility of the medium, due to which it is compressed and, therefore, the distance between the inner contact surface and the shock surface is reduced. Further, it is investigated that due to an increase in the strength of magnetic field, the distance of the inner contact surface from the shock front is increased, i.e., the flow field behind the shock becomes somewhat rarefied, i.e., there is a decrease in the shock strength. A comparison is made between the solutions in the cases of the self-gravitating and the non-gravitating medium for both the magnetic and non-magnetic cases. The obtained solutions are applicable for arbitrary values of time.

Equations of motion and boundary conditions

The fundamental equations governing the unsteady and cylindrically (or spherically) symmetric isothermal flow of an electrically conducting and self-gravitating ideal gas, in the presence of an azimuthal magnetic field, may be written as (c.f. Carrus et al. [2], Laumbach and Probstein [24], Sachdev and Ashraf [25], Korobeinikov [19], Zhuravskaya and Levin [26], Nath [7, 27], Whitham [30])

ρ t + u ρ r + ρ u r + i u ρ r = 0 ,
(2.1)
u t + u u r + 1 ρ p r + μ h h r + μ h 2 r + G m r i = 0 ,
(2.2)
h t + u h r + h u r + ( i - 1 ) h u r = 0 ,
(2.3)
m r = 2 π i ρ r i ,
(2.4)
T r = 0 ,
(2.5)

where r and t are independent space and time coordinates, u is the fluid velocity, ρ is the density, p is the pressure, h is the azimuthal magnetic field, T is the temperature, μ is the magnetic permeability, m is the mass contained in a unit cylinder of radius r or in a sphere of radius r and the dimension of m is taken as [m] = M L(i − 2) and i takes the values 2 and 1 for the respective cases of spherical and cylindrical symmetries, and G is the gravitational constant. In the non-gravitating case, Eq. (2.4) and the term G m r i in Eq. (2.2) do not occur. The electrical conductivity of the gas is assumed to be infinite. Therefore, the diffusion term from the magnetic field equation is omitted, and the electrical resistivity is ignored. Also, the effect of viscosity on the flow of the gas is assumed to be negligible.

The above system of equations should be supplemented with an equation of state. An ideal gas behavior of the medium is assumed, so that

p = Γ ρ T ; e = p ( γ - 1 ) ρ ,
(2.6)

where Γ is the gas constant and γ is the ratio of specific heats at constant pressure and volume.

The ambient density of the medium is assumed to obey the exponential law, namely,

ρ 1 = ρ 0 e δ R ,
(2.7)

where ‘R’ is the shock radius and ρ0 and δ are suitable constants and the subscript ‘1’ refers to the conditions immediately ahead of the shock.

We assume that a strong spherical (or cylindrical) shock is propagating outwardly in the undisturbed ideal gas with infinite electrical conductivity and variable density in the presence of a constant azimuthal magnetic field. The jump conditions at the shock wave are given by the principles of conservation of mass, momentum, magnetic field and energy across the shock (see [7, 17, 27, 30]), namely

ρ 1 V = ρ 2 ( V - u 2 ) , h 1 V = h 2 ( V - u 2 ) , p 1 + 1 2 μ h 1 2 + ρ 1 V 2 = p 2 + 1 2 μ h 2 2 + ρ 2 ( V - u 2 ) 2 , e 1 + p 1 ρ 1 + 1 2 V 2 + μ h 1 2 ρ 1 - F 1 ρ 1 V = e 2 + p 2 ρ 2 + 1 2 ( V - u 2 ) 2 + μ h 2 2 ρ 2 - F 2 ρ 1 V , m 1 = m 2 ,
(2.8)

where the subscript ‘2’ denotes the conditions immediately behind the shock front, V ( = d R d t ) denotes the velocity of the shock front and ‘F’ is the radiation heat flux.

If the shock is a strong one, then the jump conditions (2.8) become

u 2 = ( 1 - β ) V , ρ 2 = ρ 1 β , p 2 = L ρ 1 V 2 , m 2 = m 1 , h 2 = h 1 β ,
(2.9)

where L = [ ( 1 - β ) + 1 2 M A 2 ( 1 - 1 β 2 ) ] , and M A = ρ 1 V 2 μ h 1 2 1 2 is the Alfven-Mach number. The density ratio β ( 0 < β < 1 ) across the shock front is obtained by the relation

β 2 - β γ ( 1 + M A - 2 ) - 1 ( γ + 1 ) + ( γ - 2 ) M A - 2 ( γ + 1 ) - 2 ( γ - 1 ) β ( F 2 - F 1 ) p 2 V ( 1 - β ) ( γ + 1 ) = 0 .
(2.10)

As the shock is strong one, we assume (F2 − F1) to be negligible in comparison with ρ 1 V 3 , i.e., with the product of p2 and V (Laumbach and Probstein [24], Nath [7, 17, 27]). Therefore, (2.10) reduces to

β 2 - β γ ( 1 + M A - 2 ) - 1 ( γ + 1 ) + ( γ - 2 ) M A - 2 ( γ + 1 ) = 0 .
(2.11)

Equation (2.5) together with Eq. (2.6) gives

p p 2 = ρ ρ 2 .
(2.12)

Let the solution of Eqs. (2.1)–(2.6) be of the form (Verma and Vishwakarma [14], Vishwakarma [16], Nath [17], Nath et al. [18])

u = 1 t U ( η ) , ρ = t Ω D ( η ) , p = t Ω - 2 P ( η ) , μ h = t ( Ω - 2 ) / 2 H ( η ) , m = t Ω K ( η ) ,
(2.13)

where

η = t e λ r , λ 0 ,
(2.14)

and the constants Ω and λ are to be determined subsequently. We choose the shock surface to be given by

η 0 = constant .
(2.15)

The variable η assumes constant value η0 at the shock surface, so that its velocity is given by

V = - 1 λ t ,
(2.16)

which represents an outgoing shock surface, if λ < 0.

The solution of Eqs. (2.1)–(2.5) in the form (2.13) to (2.16) is compatible with the shock conditions, if

Ω = 2 , λ = - δ 2 .
(2.17)

Since necessarily λ < 0, relation (2.17) shows that δ > 0, thereby meaning that the shock surface expands outwardly in an exponentially increasing medium (Hayes [12], Deb Ray [13]).

From Eqs. (2.16) and (2.17), we obtain

R = 2 δ log t t 0 ,
(2.18)

where t0 is the duration of the almost instantaneous explosion.

Solution to the equations

The flow variables in the flow field behind the shock front will be obtained by solving the Eqs. (2.1)–(2.5). From Eqs. (2.13), (2.16) and (2.17), we obtain

u t = λ u V - V u r ,
(3.1)
ρ t = - 2 ρ λ V - V ρ r ,
(3.2)
p t = - V p r ,
(3.3)
h t = - V h r ,
(3.4)
m t = - 2 λ m V - V m r .
(3.5)

Using the Eqs. (3.1)–(3.5) and the transformations

r = r R , u = u V , ρ = ρ ρ 2 , h = h h 2 , p = p p 2 , m = m m 2 ,
(3.6)

in the fundamental Eqs. (2.1)–(2.4) and (2.12), we obtain for spherical symmetry (i = 2)

p = ρ ,
(3.7)
d ρ d r = ρ ( 1 - u ) d u d r + 2 log ( t t 0 ) + 2 u r ,
(3.8)
d h d r = h ( 1 - u ) d u d r + u r
(3.9)
d m d r = 4 ρ r 2 log t t 0 3 β 2 log t t 0 2 - 2 log t t 0 + 1
(3.10)
d u d r = 2 u r + log t t 0 L - ( 1 - u ) u log t t 0 + M A - 2 h u β ρ r + M A - 2 h 2 ( 1 - u ) β ρ r + L m ( 1 - u ) r 2 2 log t t 0 + 2 log t t 0 - 1 - 2 t t 0 4 ( 1 - u ) 2 - M A - 2 h β ρ - L ,
(3.11)

where L = π ρ 0 G t 0 2 is the gravitational parameter.

Also, the total energy of the disturbance is given by

E = 2 π i r ¯ R ρ e + 1 2 u 2 + μ h 2 2 ρ - G m r i - 1 r i d r ,
(3.12)

where r ¯ is the position of inner boundary of the disturbance. Using (2.6), (2.9) and (3.6), (3.12) becomes (for i = 2)

E = 16 π ρ 0 δ 2 η 0 2 R 3 J ,
(3.13)

where

J = r ¯ 1 L p ( γ - 1 ) + ρ u 2 2 β + M A - 2 h 2 2 β - π G η 0 2 m r ( log t t 0 ) 2 ( log t t 0 ) 2 - 2 ( log t t 0 ) + 1 ( t t 0 ) 2 r 2 d r .

Thus, the total energy of the shock wave is non-constant and varies with time. The increase of total energy may be achieved by the pressure exerted on the fluid by the inner expanding surface (a contact surface or a piston). A situation very much of the same kind may prevail during the formation of a cylindrical spark channel from exploding wires. In addition, in the usual cases of spark breakdown, time-dependent energy input is a more realistic assumption than instantaneous energy input (see [31, 32]).

In terms of dimensionless variables r , ρ , p , h , u and m , the shock conditions (2.9) take the form

r = 1 , ρ = 1 , p = 1 , h = 1 , u = ( 1 - β ) , m = 1 .
(3.14)

Equations (3.7)–(3.11) along with the boundary conditions (3.14) give the solution of our problem. The solution so obtained is a non-similar one, since the motion behind the shock can be determined only when a definite value for time is prescribed.

Results and discussion

The distribution of the flow variables behind the shock front in the case of isothermal flow is obtained from Eqs. (3.7) to (3.11) with the boundary conditions (3.14) by the Runge–Kutta method of the fourth order. For the purpose of numerical integration, the values of the constant parameters are taken to be (Pai [33], Nath [7, 27], Rosenau [34], Nath et al. [18]) γ = 5 3 ; M A - 2 = 0 , 0.04 , 0.08 , 0.1 ; t / t 0 = 2 , 3 ; L = 0 , 0.1 . For fully ionized gas, γ = 5 3 , and therefore, it is applicable to the stellar medium. Rosenau and Frankenthal [8] have shown that the effects of magnetic field on the flow field behind the shock are significant when M A - 2 0.01 ; therefore, the above values of M A - 2 are taken for calculation in the present problem. The value M A - 2 = 0 corresponds to the non-magnetic case. The value L = 0 , M A - 2 = 0 corresponds to the solution in the non-gravitating and non-magnetic case (the solution obtained by Nath [17] in the dust-free isothermal case). Our present study is the generalization of earlier works of Nath [17] in the case of non-dusty isothermal flow by considering the presence of gravitational force and the presence of azimuthal magnetic field. It should be noted that 0 < t t 0 < 1 corresponds to the shock free flow and 1 < t t 0 < corresponds to the flow under the influence of shock (i.e., shock formation requires that t t 0 > 1 ); therefore, the above values of t t 0 are taken for calculation to know the flow field behind the shock at different times. Starting from the shock front the numerical integration is carried out until the singularity of the solution

ρ ( 1 - β ) + M A - 2 2 1 - 1 β 2 + M A - 2 h β - ρ ( 1 - u ) 2 = 0
(4.1)

is reached. This marks the inner boundary of the disturbance and at this surface the value of r ( = r ¯ ) remains constant. The inner boundary is the position in the flow field behind the shock front at which the velocity of the inner boundary and the fluid velocity are equal.

The results are shown in Figs. 1a–c, 2 and Table 1. These figures and table show that the self-gravitation of the medium has a significant effect on the flow variables and shock strength. Our analysis reveals that after inclusion of gravitational field effect, surprisingly the shock strength increases and the effect of magnetic field on the shock decreases and remarkable difference is found in the distribution of the flow variables.

Fig. 1
figure 1

Variation of the flow variables in the region behind the shock front for γ = 5 3 . 1 M A - 2 = 0 , t t 0 = 2 ; 2 M A - 2 = 0.04 , t t 0 = 2 ; 3 M A - 2 = 0.1 , t t 0 = 2 ; 4 M A - 2 = 0 , t t 0 = 3 ; 5 M A - 2 = 0.04 , t t 0 = 3 ; 6 M A - 2 = 0.1 , t t 0 = 3 . a reduced fluid velocity u b reduced density ρ (or pressure p ). c reduced mass m

Fig. 2
figure 2

Variation of reduced azimuthal magnetic field h in the region behind the shock front for γ = 5 3 . 1 M A - 2 = 0.04 , t t 0 = 2 ; 2 M A - 2 = 0.1 , t t 0 = 2 ; 3 M A - 2 = 0.04 , t t 0 = 3 ; 4 M A - 2 = 0.1 , t t 0 = 3

Table 1 Variation of the density ratio β = ρ 1 ρ 2 across the shock front and the position of the inner expanding surface r ¯ for different values of M A - 2 with γ = 5 3

Table 1 shows the variation of the density ratio β ( = ρ 1 ρ 2 ) across the shock front and the position of the inner expanding surface for different values of M A - 2 with γ = 5 3 ; t / t 0 = 2 , 3 ; and L = 0 , 0.1 in both the gravitating and non-gravitating cases. The shock strength decreases with an increase in the strength of the magnetic field. By an increase in time the distance of the inner contact surface from the shock front is decreased for gravitating and magnetic or non-magnetic case (i.e., for L = 0.1 , M A - 2 = 0 or 0.1 ) and for non-gravitating and non-magnetic case (i.e., for L = 0 , M A - 2 = 0 ). It means that the shock becomes stronger with time in gravitating and magnetic or non-magnetic case, and in non-gravitating and non-magnetic case, but reverse behavior is obtained for non-gravitating and magnetic case (i.e., for L = 0 , M A - 2 0 ), i.e., the shock strength decreases with time in non-gravitating and non-magnetic case. Also, Table 1 shows that the distance of the inner expanding surface from the shock front is less in the case of the gravitating medium in comparison with that in the case of the non-gravitating medium. Physically, it means that the gas behind the shock is compressed in the gravitating medium, that is, the shock strength is increased in the gravitating medium.

Figures 1a–c and 2 show the variation of the flow variables u , ρ ( = p ) , m and h with r at various values of the parameters M A - 2 , t / t 0 and L .

Figure 1a, c shows the distributions of reduced velocity and reduced mass, respectively. These figures show that the reduced velocity increases, while reduced mass increases as we move from the shock front to the inner expanding surface (or piston). The velocity increases from the shock front and approaches to maximum near the inner expanding surface (see Fig. 1a). In fact the velocity of the inner expanding surface is higher than the fluid velocity just behind the shock due to increasing energy input given by Eq. (3.13).

Figure 2 shows that the reduced magnetic field h′ increases as we move from the shock front to the inner expanding surface and its profiles decrease after attaining a maximum for t / t 0 = 2 in the flow field region behind the shock front. This behavior of magnetic field is obtained due to less compression of magnetic flux which leads to decrease in magnetic field h′.

Conclusions

Non-similarity solution for propagation of explosion waves in a stellar model in the case of unsteady isothermal flow, in which density varies exponentially, has been obtained in this paper. The shock wave moves with variable velocity, and the total energy of the wave is not constant and varies with time. It is investigated that the presence of gravitational field reduces the effects of the magnetic field. Also, the presence of gravitational field increases the compressibility of the medium, due to which it is compressed and, therefore, the distance between the inner contact surface and the shock surface is reduced.

The article concerns with the explosion problem; however, the methodology analysis presented here may be used to describe many other physical systems involving non-linear hyperbolic partial differential equations. The shock waves in conducting perfect gas can be important for description of shocks in supernova explosions, in the study of central part of star burst galaxies, nuclear explosion, rupture of a pressurized vessel and explosion in the ionosphere. Other potential applications of this study include analysis of data from exploding wire experiments and cylindrically symmetric hypersonic flow problems associated with meteors or re-entry vehicles (c.f. Hutchens [35]). Also, the present study can be important to verify the accuracy of the solution obtained by the theory of self-similarity and computational methods such as finite difference scheme, finite element, etc.

The following conclusions may be drawn from the finding of the current analysis (see Figs. 1a–c, 2; Table 1):

  1. 1.

    By an increase in the strength of magnetic field, the distance of the inner contact surface from the shock front is increased in general, i.e., the flow field behind the shock becomes somewhat rarefied, i.e., there is a decrease in the shock strength.

  2. 2.

    Due to the presence of gravitation, the pressure (density), velocity and azimuthal magnetic field increase, in general, as we move inward from the shock front.

  3. 3.

    It is found that the reduced velocity and reduced pressure (density) decrease in general with the strength of magnetic field, whereas the reduced mass shows a reverse behavior.

  4. 4.

    The reduced pressure (density) with or without magnetic field in non-gravitating case (i.e., for L = 0 ) decreased with an increase in time ( t / t 0 ) in general, whereas it increases in gravitating case (i.e., for L = 0.1 ).

  5. 5.

    It is found that reduced velocity and reduced magnetic field increase with an increase in time ( t / t 0 ), whereas the reduced mass shows a reverse behavior.