Top Banner
6

a anic Ir - Sharifscientiairanica.sharif.edu/article_2579_2683cd827ff16bf67762ed91331ca14f.pdfV 13, No. 3, pp 217{222 c Sharif y ersit Univ of , hnology ec T July 2006 Numerical Solution

Oct 04, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: a anic Ir - Sharifscientiairanica.sharif.edu/article_2579_2683cd827ff16bf67762ed91331ca14f.pdfV 13, No. 3, pp 217{222 c Sharif y ersit Univ of , hnology ec T July 2006 Numerical Solution

Scientia Iranica, Vol. 13, No. 3, pp 217{222

c Sharif University of Technology, July 2006

Numerical Solution of Compressible Euler

Equations for Gas Mixture Applications

R. Kamali1, M.M. Alishahi� and H. Emdad1

A computer code, based on Euler Equations in generalized curvilinear coordinates, has been

developed to resolve binary perfect gas mixture ows. The capability of modeling various mixture

e�ects is built in the algorithm and the computer code. The Roe's numerical scheme is used to

discretize the convective terms of the governing uid ow equations, while a simple upwinding

method is applied for the equation of continuity of species. Some applications of binary gas

mixture ows, including nozzle cooling and thrust vectoring, are investigated and the role of

mixing phenomenon in these ows is classi�ed. Additionally, the in uences of using di�erent

gases on ow �elds are evaluated, especially in two-dimensional thrust-vectoring problems.

INTRODUCTION

Recent years have witnessed a growing interest indeveloping suitable numerical methods for computingthe mixture of uid ows and their e�cient implemen-tation in studying complex ow phenomena (e.g., [1-10]). In 1996, a quasi conservative algorithm wasdeveloped by Abgrall [6] to prevent pressure oscillationsin multicomponent ows. In 1997, Jenny, Muellerand Thomann [11] showed that conservative Eulersolvers for gas mixtures produce numerical errors andoscillations near to contact discontinuities.

For a mixture of perfect gases, a simple correctionof the total energy per unit volume was proposed byJenny, Mueller and Thomann [11] to avoid errors andoscillations found near contact discontinuities. Ivings,Causon and Toro [12] developed a hybrid high reso-lution upwind algorithm for multicomponent inviscid ows. Then, Shyue [8] developed a uid mixture typealgorithm for compressible multicomponent ow withthe Van der Waals equation of state.

Also, Abgrall and Karni [9] proposed a simplealgorithm for multimaterial ows consisting of pure uids separated by material interfaces to remove theoscillations generated at material interfaces. Marquinaand Mulet [10] developed a conservative extension ofthe Euler equations for gas dynamics in Cartesian

1. Department of Mechanical Engineering, Shiraz Univer-

sity, Shiraz, I.R. Iran.

*. Corresponding Author, Department of Mechanical Engi-

neering, Shiraz University, Shiraz, I.R. Iran.

coordinates to reduce the oscillations near to gasinterfaces.

Most recent works have focused on the problemsconsisting of pure uids separated by material inter-faces (e.g., [1,2,9,13-16]). Understanding the dynamicsof uids consisting of several interpenetrating uidcomponents is also of great interest in a wide range ofphysical ows, as well as in industrial applications. Forthis purpose, in the present study, Euler equations, forthe mixture and conservation of the species, are solvedusing Roe's method. Some typical ows are consideredin this study, which give rise to both theoretically andcomputationally challenging problems.

In the present work, the in uences of usingdi�erent sets of binary mixtures of gas are studied inthe context of a converging-diverging supersonic nozzleproblem. This paper focuses on proper modeling andthe appropriate numerical method for interpenetratinga mixture of perfect gases.

MULTICOMPONENT FLOW EQUATIONS

For simplicity of exposition, the dynamics of a mixtureof two gases in two space dimensions will be considered.An extension to more components or more dimensionscan be directly carried out. Let � denote the densityof the mixture and c the mass fraction of the �rstcomponent. Therefore, 1�c is the mass fraction ofthe second component. Both components of gasesare assumed to be in thermal equilibrium and arecalorically perfect gases. cv1, cv2, cp1, cp2, 1 and 2 are the speci�c heat at constant volume, speci�c

Page 2: a anic Ir - Sharifscientiairanica.sharif.edu/article_2579_2683cd827ff16bf67762ed91331ca14f.pdfV 13, No. 3, pp 217{222 c Sharif y ersit Univ of , hnology ec T July 2006 Numerical Solution

218 R. Kamali, M.M. Alishahi and H. Emdad

heat at constant pressure and ratio of speci�c heat ofgas components, respectively. By standard thermody-namic arguments [10], the ratio of the speci�c heat ofa mixture of gases is:

(c) =cp

cv=

cp1c+ cp2(1� c)

cv1c+ cv2(1� c): (1)

The equation of state expresses the pressure, p, in termsof the density, �, the speci�c internal energy, e, andmass fraction, c, i.e.:

p(�; e; c) = ( (c)� 1)�e; (2)

where:

c =�1

�: (3)

In ows with negligible viscous e�ects, the uiddynamics of this mixture are described by the Eu-ler equations with an additional equation expressingconservation of mass for the �rst component, which,in conjunction with the conservation of mass for themixture, also implies conservation of mass for thesecond component.

In a generalized curvilinear two-dimensional coor-dinate system, the governing equations for the mixtureare as follows:

@U

@t+

@F

@�+

@G

@�= 0; (4)

where:

U =

8>>>><>>>>:

E

�u

�v

�c

9>>>>=>>>>;; F =

8>>>><>>>>:

(E + p)u�u

�u2 + p

�uv

�uc

9>>>>=>>>>;; (5)

G =

8>>>><>>>>:

(E + p)v�v

�uv

�v2 + p

�vc

9>>>>=>>>>;; (6)

where u and v are cartesian velocity and vector com-ponents of the mixture, respectively and E is the totalenergy per unit volume. Also,

F =1

J(G�x + F�y); (7)

G =1

J(G�x + F�y); (8)

where:

J =@(�; �)

@(x; y)= �x�y � �y�x: (9)

Using the above formulation, a computer code, basedon the explicit ux di�erencing of Roe's scheme, isdeveloped.

RESULTS

First Shock Tube Problem

To validate the computer code, the standard shock tubeproblem for a binary perfect gas mixture is numericallysolved. The shock tube problem is de�ned as follows:

pl = 1; l = 1:4; cvl = 1; �l = 1; ul = 0; (10)

pr=0:1; r=1:2; cvr =1; �r=0:125; ur=0; (11)

where subscripts l and r denote left and right, respec-tively.

Comparison of the obtained results with those ofMarquina and Mulet [10] in Figures 1 to 3, show goodagreement. Some di�erences in the gradient of Machnumber near the contact discontinuity can be observedin Figure 3. This is mainly due to the �rst order scheme

Figure 1. Density distribution.

Figure 2. Pressure distribution.

Page 3: a anic Ir - Sharifscientiairanica.sharif.edu/article_2579_2683cd827ff16bf67762ed91331ca14f.pdfV 13, No. 3, pp 217{222 c Sharif y ersit Univ of , hnology ec T July 2006 Numerical Solution

Numerical Solution of Gas Mixtures 219

Figure 3. Mach number distribution.

and two-dimensional e�ects of the present method incontrast to the �fth order scheme and one-dimensionalmodel of Marquina and Mulet [10].

The small amount of overheating in the vicinityof the contact surface in Figures 1 and 3, is mainlydue to gas mixture e�ects, which is not present in theconventional single uid computation.

The prepared algorithm and the computer codeare capable of modeling mixture e�ects in di�erent uid ows. To present some of these in uences, several ow�eld examples have been computed.

Second Shock Tube Problem

A second shock tube problem, for a binary perfect gasmixture of He-Xe with the following properties, hasbeen considered.

pl = 1; l = 1:66; cvl = 1:0; �l = 1; ul = 0; (12)

pr = 0:1; r = 1:66; cvr = 0:03; �r = 0:125;

ur = 0: (13)

Although the speci�c heat ratios for two gases of thismixture are the same, the speci�c heat at constantvolumes is too di�erent. Therefore, the results for thiscase should be somehow di�erent from those of the �rstexample, shown in Figures 1 to 3.

Comparison of the results of the �rst and secondshock tube problems is shown in Figures 4 to 6. As canbe seen from these �gures, overheating in the vicinityof the contact surface has vanished for the He-Xe gasmixture. This is due to the same in both componentsof the mixture. Additionally, Figure 6 shows a smalldi�erence in pressure distribution for both cases.

For the next example, wall-cooling of a two-dimensional supersonic converging-diverging nozzle is

Figure 4. Density distribution for He-Xe and the �rstexample.

Figure 5. Mach number distribution for He-Xe and the�rst example.

Figure 6. Pressure distribution for He-Xe and the �rstexample.

Page 4: a anic Ir - Sharifscientiairanica.sharif.edu/article_2579_2683cd827ff16bf67762ed91331ca14f.pdfV 13, No. 3, pp 217{222 c Sharif y ersit Univ of , hnology ec T July 2006 Numerical Solution

220 R. Kamali, M.M. Alishahi and H. Emdad

considered. The problem properties are Nozzle arearatio:

Ae

At

= 1:38; pr = 105 pa; Tr = 300 k;

and, at the inlet;

p0

pr= 2:4;

T0

Tr= 1:1;

where Ae and At denote exit and throat areas, respec-tively, subscript r denotes reference and subscript 0represents stagnation conditions.

Lighter gas enters from the main entrance atthe left and the heavier gas, as the coolant, is blownfrom lower and upper walls, starting from x = 0:87afterwards with Cartesian velocity components equalto (75,10) m/s (Figures 7 and 8).

To show the e�ect of the various properties ofdi�erent gases, two binary sets of gases (N2-O2 andHe-Xe) are selected as the media.

Figure 7 shows the concentration (�N2

�N2+�O2) distri-

bution for the mixture of N2-O2 and, similarly, Figure 8shows the concentration ( �He

�He+�Xe) distribution for the

mixture of He-Xe. Comparing these two �gures, itis clear that the second type of mixture He-Xe hasa larger zone of mixing than that of the �rst kindof mixture N2-O2. This is due to the e�ect of thelarge di�erence in properties (m;Cp; R; � � � ) of He andXe. Note that mass di�usion is not allowed and thismixing is only due to convective terms and di�erentgas properties. Additionally, from Figures 9 and 10, itcan be concluded that Mach numbers in the supersoniczone of He-Xe are smaller than those of N2-O2. Thecase of a mixture of too di�erent gases is more e�ectivein reducing Mach number or eliminating the shockwave. If the aim is just wall-cooling, the case of N2-O2

Figure 7. Concentration contours for N2-O2.

Figure 8. Concentration contours for He-Xe.

Figure 9. Mach number contours for N2-O2.

is more e�ective than that of He-Xe, which is due to thealmost similar properties of N2-O2. By using di�erentgases, a larger mixing zone can be created, which causesa large disturbance in the ow �eld. These e�ectsare also observed in Mach number contours seen inFigures 9 and 10.

As the next example, the problem of thrustvectoring is presented as follows. The nozzle geometryand binary sets of uid properties chosen here are thesame as those in the previous example. This time,the second gas is blown from the upper wall startingafter the throat and extends afterwards (Figures 11and 12). Concentration contours for the mentionedproblems are shown in Figures 11 and 12. A largermixing region can be observed for the second case.It might be expected that a larger normal force canbe extracted from this supersonic nozzle, using binary

Page 5: a anic Ir - Sharifscientiairanica.sharif.edu/article_2579_2683cd827ff16bf67762ed91331ca14f.pdfV 13, No. 3, pp 217{222 c Sharif y ersit Univ of , hnology ec T July 2006 Numerical Solution

Numerical Solution of Gas Mixtures 221

Figure 10. Mach number contours for He-Xe.

Figure 11. Concentration contours for N2-O2 gas ow.

Figure 12. Concentration contours for He-Xe gas ow.

Figure 13. Streamlines for thrust vectoring for N2-O2

gas ow.

Figure 14. Streamlines for thrust vectoring for He-Xe gas ow.

uids with too di�erent properties. This is actually thecase. Larger deviations in streamline directions for theHe-Xe mixture provides more thrust vector capabilitythan that of N2-O2 mixture (Figures 13 and 14).

The change in direction of the thrust vectorwas computed for both of these two mixtures, whichwere held under the same conditions. The resultsshowed that the deviation of thrust vector in the N2-O2 mixture is about 27� and about 55� for the He-Xemixture. In all of the above cases, the rate of blowingwas similar.

CONCLUSION

A computer code has been developed for numericalcomputation of compressible two-dimensional Eulerequations in a generalized curvilinear coordinate to

Page 6: a anic Ir - Sharifscientiairanica.sharif.edu/article_2579_2683cd827ff16bf67762ed91331ca14f.pdfV 13, No. 3, pp 217{222 c Sharif y ersit Univ of , hnology ec T July 2006 Numerical Solution

222 R. Kamali, M.M. Alishahi and H. Emdad

solve binary perfect gas mixture ows. The preparedalgorithm and computer code are capable of modelingmixture e�ects in di�erent uid ows. It was shownthat using gases with large di�erences in their proper-ties can be more useful in thrust vectoring applicationsthan for nozzle cooling problems, while, for the lattercase, it produces more mixing and, hence, more losses.It can also be concluded that, regarding all limitations,the choice of binary uid in di�erent applications playsan important role in the overall performance of thedevice.

REFERENCES

1. Chern, I.L., Glimm, J., McBryan, O., Plohr, B.and Yaniv, S. \Front tracking for gas dynamics", J.Comput. Phys., 62, p 83 (1986).

2. Karni, S. \A level-set scheme for compressible in-terfaces", Numerical Methods for Wave Propagation,Kluwer Academic Publishers, Dordrecht, pp 253-274(1988).

3. Larouturou, B. and Fezoui, L., On the Equations

of Multicomponent Perfect or Real Gas Inviscid

Flow, Lecture Notes in Mathematics, Springer-Verlag,Berlin/New York, 1402, pp 69-97 (1989).

4. Chargy, D., Abgrall, R., Fezoui, L. and Larrouturou,B. \Conservative numerical schemes for multicompo-nent inviscid ows", Rech. A'erosp., 2, p 61 (1992).

5. Karni, S. \Multi-component ow calculations by aconsistent primitive algorithm", J. Comput. Phys.,112, p 31 (1994).

6. Abgrall, R. \How to prevent pressure oscillationsin multicomponent ows: A quasi conservative ap-proach", J. Comput. Phys., 125, p 150 (1996).

7. Shyue, K.M. \An e�cient shock-capturing algorithmfor compressible multicomponent problems", J. Com-put. Phys., 1, pp 208 (1998).

8. Shyue, K.M. \A uid-mixture type algorithm forcompressible multicomponent ow with Van der Waalsequation of state", J. Comput. Phys., 1, p 43 (1999).

9. Abgrall, R. and Karni, S. \Computations of compress-ible multi uids", J. Comput. Phys., 169, pp 594-623(2001).

10. Marquina, A. and Mulet, P. \A ux-split algorithmapplied to conservative models for multicomponentcompressible ows", J. Comput. Phys., 185, pp 120-138 (2003).

11. Jenny, P., Mueller, B. and Thomann, H. \Correctionof conservative Euler solvers for gas mixtures", J.

Comput. Phys., 132, p 91 (1997).

12. Ivings, M.J., Causon, D.M. and Toro, E.F. \On hybridhigh resolution upwind methods for multicomponent ows", Z. Angew. Math. Mech., 77(9), p 645 (1997).

13. Miller, G.H. and Puckett, E.G. \A high order Godunovmethod for multiple condensed phases", J. Comput.Phys., 128, pp 134 (1996).

14. Coquel, F., El-Almine, K., Godlewski, E., Perthame,B. and Rascle, P. \A numerical method using upwindschemes for the resolution of two-phase ows", J.

Comput. Phys., 136, p 272 (1997).

15. Fedkiw, R., Aslam, T., Merriman, B. and Osher,S. \A non-oscillatory Eulerian approach to interfacesin multimaterial ows, the ghost uid method", J.

Comput. Phys., 152, p 457 (1999).

16. Davis, S.F. \An interface tracking method for hy-perbolic systems of conservation laws", Appl. Numer.Math., 10, p 447 (1992)