Docsity

Shock Tube Problem: Solving Viscous Flows with Artificial Viscosity, Slides of Dynamics

Partial preview of the text

Download Shock Tube Problem: Solving Viscous Flows with Artificial Viscosity and more Slides Dynamics in PDF only on Docsity!

The above vectors can be modified for the shock tube problem.

Since only one space dimension is present, the vectors can be

shortened as follows

..................( )

U F J A t x

∂ ∂

  • = ∂ ∂

2

............( )

2

U u B

u e

ρ

ρ

ρ

        =        (^) +     (^)  

2

2

................( )

2

xx

xx

u

E u p C

u T e u pu k u x

ρ

ρ τ

ρ τ

        = (^)  + − 

    (^) ∂  (^) + + − −     (^)   ∂   

J 0 ...............( D)

ρq

3

1

3

1

2 2 1 2 2 2 3

v

v

xx

x xx

u U c T U

U (^) u

T

c U

E u

E u p

u E u e pu q u

2 2

u E u p x

Recall that, according to Stokes hypothesis λ = −(2 / 3)μ

Also recall that

xx

u u u u V x x x x

Therefore

E 1 =U 2

Also recall

v

p

p RT

e c T

h c T

Auxiliary relations for a perfect gas

1 1

n n n n U (^) i U (^) i Ei Ei

t x

− (^) + − = − ∆ ∆

1 1 1 (^11 )

n n n n n n U (^) i U (^) i Ei Ei Ei Ei

t x x

− ^ + − − −  = − (^)  +  ∆ (^)  ∆ ∆ 

Calculate (^) E n+^1 from U n+^1

This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.

1 2 2 3 1 2 2 2 3

v

v

U

U u

u U c T

E u

u E u p x

u u E u c T pu u x

This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.

2

1

2 3

2 2 2 3 3 2 2 2 3 1 1 1 1

2 2 2 2 1 3 3 1 1 1

v

v v v v

v v

U

u U

u U c T

U u U U U T U

c c c U U c U U

U R U

p RT U R U U c U U c U

 ^ ^  ^ 

The last terms in the momentum and energy equations that containThis image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed. μ are

the viscous dissipation terms.

The shock tube flow can be solved without including these terms (Euler

form). However, the resulting numerical scheme will give rise to

oscillations at sharp discontinuities such as the shock.

In order to avoid these oscillations, terms similar to the viscous terms

are introduced to smear out the discontinuities.

These terms are sometimes called the “artificial viscosity term.”

von Neumann and Richtmyer used a form of the artificial viscosity term

which for the MacCormack scheme can be written as follows.

This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.

1 2

1 1 1 1 1 2 2

1 1 1 1 2

0

1

0

( ) 1 ( )

0

( ) 1 ( )

i

i i^ i^ i i^ i^ i^ i

i i^ i^ i^ i^ i^ i^ i

i

u u u D x x x x u

D u u u u u u

u

D u u u u u u

u

α ρ

αρ

αρ

  • +^ + +^ +

  • +^ +^ +

∂ ∂ ∂ = ∆ ∂ ∂ ∂

− = − −

− = − −

von Neumann-Richtmyer artificial viscosity term and its two finite difference

forms are given below.

This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.

Initial conditions

1

2

0

n i

n i l

n i l

n i

u i I

p p i i

p p i i I

T T i I

Boundary conditionsThis image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.

Walls at I = 1 and I = I+

1

1

I^0

u

u (^) +

Open ends

1

1

amb

I amb

p p

p (^) + p

Other boundary conditions can be obtained by linear extrapolation

Substitution givesThis image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.

1

1 (^1 2) I I

n n n U (^) I U U (^) −

  • =^ −

Similarly an expression can be written for the left boundary

2 3

3 2

1 2

1 1 2

n n n

dU U U

dx x

dU U U x dx

U U U

U_1 U_2^ U_

This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.This image cannot currently be displayed.