Вы находитесь на странице: 1из 11
Computational Fluid Dynamics UUM 510E Eray Koç 511151111 Homework 3

Computational Fluid Dynamics UUM 510E

Eray Koç

511151111

Homework 3

Contents

  • 1. Problem Definition

..........................................................................................................................

3

  • 2. Analytical Solution ...........................................................................................................................

6

  • 3. Roe Scheme Solution .......................................................................................................................

7

  • 4. Results

8

Figure List

Figure 1. Comparing Density Analytical and Roe Solution ( dx= 0.1, dt = 0.001 t_end =1.2 sn)

8

Figure 2. Comparing Pressure Analytical and Roe Solution ( dx= 0.1, dt = 0.001 t_end =1.2 sn)

8

Figure 3. Comparing Velocity Analytical and Roe Solution ( dx= 0.1, dt = 0.001 t_end =1.2 sn)

9

Figure 4. Comparing Total Energy Analytical and Roe Solution ( dx= 0.1, dt = 0.001 t_end =1.2 sn)

9

Figure 5. Comparing Density Analytical and Roe Solution ( dx= 0.01, dt = 0.001 t_end =1.2 sn)

10

10

Figure 6. Comparing Velocity Analytical and Roe Solution ( dx= 0.01, dt = 0.001 t_end =1.2 sn)

Figure 7. Comparing Total Energy Analytical and Roe Solution ( dx= 0.01, dt = 0.001 t_end =1.2 sn) . 11

Figure 8. Comparing Pressure Analytical and Roe Solution ( dx= 0.01, dt = 0.001 t_end =1.2 sn)

11

1. Problem Definition

1. Problem Definition

2. Analytical Solution

In a shock tube problem, tube is divided by 5 areas. First area is from left side of tube to beginning of expansion fan. Second is up to end of the expansion fan. Third one is up to contact discontinuity. And the last one which divides the area is the shock. Below, these positions and formulations of state variables in these areas are presented.

Location contact discontinuity (pcd):

5

t

(

u

end 1

u

4

  • 2 (1

  1

c

1

4  2 1

)

p p

3

p p

4

1

) t u

end 4

Start of expansion fan (se)

  • 5

( u c ) t

1

1 end

End of expansion fan (eef)

  • 5

t

end

[(

u

1

u

4

  • 2 c (1

  1

1

4  2 1

)

p p

3

p p

4

1

)

u

4

c ]

4

Shock position (sp)

  • 5

t

end

  1  p /   4 4 2 
  1
 p /
4
4
2

 

1 p

3

2

p

4

t u

end 4

p

  • 3

  • 1

p

p

  • 4 p

  • 4   

  • 1

  1

u

1

  • 2 c

1

    3 ))   4 
3
))
4

(

  1)

c

4

(

p

4

1)

p

3

c

p 1) 1 p
p
1)
1
p

2

  1

(

   

(

2

 1

3. Roe Scheme Solution

The Roe approximate Riemann solver was one of the first method to compute the fluxes in a “simpler” way. It is based on approximating the Euler equation by a linear equation.

3. Roe Scheme Solution The Roe approximate Riemann solver was one of the first method to

4. Results

4. Results Figure 1. Comparing Density Analytical and Roe Solution ( dx= 0.1, dt = 0.001

Figure 1. Comparing Density Analytical and Roe Solution ( dx= 0.1, dt = 0.001 t_end =1.2 sn)

4. Results Figure 1. Comparing Density Analytical and Roe Solution ( dx= 0.1, dt = 0.001

Figure 2. Comparing Pressure Analytical and Roe Solution ( dx= 0.1, dt = 0.001 t_end =1.2 sn)

Figure 3. Comparing Velocity Analytical and Roe Solution ( dx= 0.1, dt = 0.001 t_end =1.2

Figure 3. Comparing Velocity Analytical and Roe Solution ( dx= 0.1, dt = 0.001 t_end =1.2 sn)

Figure 3. Comparing Velocity Analytical and Roe Solution ( dx= 0.1, dt = 0.001 t_end =1.2

Figure 4. Comparing Total Energy Analytical and Roe Solution ( dx= 0.1, dt = 0.001 t_end =1.2 sn)

Figure 5. Comparing Density Analytical and Roe Solution ( dx= 0.01, dt = 0.001 t_end =1.2

Figure 5. Comparing Density Analytical and Roe Solution ( dx= 0.01, dt = 0.001 t_end =1.2 sn)

Figure 5. Comparing Density Analytical and Roe Solution ( dx= 0.01, dt = 0.001 t_end =1.2

Figure 6. Comparing Velocity Analytical and Roe Solution ( dx= 0.01, dt = 0.001 t_end =1.2 sn)

Figure 7. Comparing Total Energy Analytical and Roe Solution ( dx= 0.01, dt = 0.001 t_end

Figure 7. Comparing Total Energy Analytical and Roe Solution ( dx= 0.01, dt = 0.001 t_end =1.2 sn)

Figure 7. Comparing Total Energy Analytical and Roe Solution ( dx= 0.01, dt = 0.001 t_end

Figure 8. Comparing Pressure Analytical and Roe Solution ( dx= 0.01, dt = 0.001 t_end =1.2 sn)