• 沒有找到結果。

u 1 ρp u 2

N/A
N/A
Protected

Academic year: 2022

Share "u 1 ρp u 2"

Copied!
50
0
0

加載中.... (立即查看全文)

全文

(1)

Computing

Interface Motion in

Hyperbolic Problems

Keh-Ming Shyue

Department of Mathematics National Taiwan University

Taiwan

(2)

Problem Setup

Consider an interface I in 2D (shown below) that separate the domain into two parts with different states qL and qR Motion and dynamics of interface depends, clearly, on

Mathematical model Interface conditions

Initial & boundary cond.

Discretization scheme

qL

qR

~t ~n I

(3)

Mathematical Model

As an example, we consider problems governed by compressible Euler equations in N ≥ 1 dimension

∂t

 ρ ρui

E

 +

N

X

j=1

∂xj

ρuj

ρuiuj + pδij Euj + puj

 =

0

−ρ∂xiφ

−ρ~u · ∇φ

 , i = 1, . . . , N

ρ p = p(ρ, e) e E = ρe + ρ PN

j=1 u2j/2 φ

density pressure int. energy total energy gr. potential

(4)

Mathematical Model (Cont.)

For the ease of the latter reference, we write the above compressible flow model as

∂q

∂t +

N

X

j=1

∂fj(q)

∂xj = ψ(q),

where

q = [ρ, ρu1, . . . , ρuN, E]T ,

fj = ρuj, ρu1uj + pδj1, . . . , ρuNuj + pδjN, Euj + pujT

, ψ = [0, −ρ∂x1φ, . . . , −ρ∂xNφ, −ρ~u · ∇φ]T

(5)

Interface Conditions

Interface conditions of interest are such as Dynamic condition

pR − pL = 0 (or = f (κI)) Kinematic condition

(~uR − ~uL) · ~n = 0, (~uR − ~uL) · ~t = 0 (or 6= 0) Vacuum (or called cavitation) condition

(~uR − ~uL) · ~n <

Z ρL

ρvL

c

ρ dρ +

Z ρR

ρvR

c

ρ dρ

κI ρv c

curvature at interface density at vacuum sound speed

(6)

Aim of Talk

With the above compressible flow model & interface conditions in mind, the plan of this talk is to:

Discuss anomales of state-of-the-art methods for solving the following interface problems:

Slip line (shear flow) problem Material line problem

Cavitation problem

Discuss mapped grid approach for problems with complex geometries

(7)

Slip Line (Shear Flow) Problem

For simplicity, we consider a plane interface moving

vertically from the left to right in x1-direction as shown in N = 2 below. Interface conditions for this problem are

Dynamic condition: pR = pL

Kinematic condition: u1,R = u1,L & u2,R − u2,L 6= 0

slip line

¯ u1

¯

u2 −u¯2

(8)

Slip Line Problem (Cont.)

Ignore gravitational-potential term, we may derive following transport equations for motion of ρ, ρu2, & ρe + ρu22/2,

respectively, as

∂ρ

∂t + ¯u1

∂ρ

∂x1

= 0 (from mass conservation law)

∂t (ρu2) + ¯u1

∂x1

(ρu2) = 0 (from momentum in x2-dir)

∂t (ρe) + ¯u1

∂x1

(ρe) +

∂t

 1

2ρu22



+ ¯u1

∂x1

 1

2ρu22



= 0 (from total energy)

(9)

Slip Line Problem (Cont.)

Assume a single phase ideal gas flow with EOS p(ρ, e) = (γ − 1)ρe; γ > 1 is ratio of specific heats

In this instance, to ensure pressure equilibrium, as it should be for this slip line problem, from

∂t

 p γ − 1



+ ¯u1

∂x1

 p γ − 1

 +

∂t

 1

2ρu22



+ ¯u1

∂x1

 1

2ρu22



= 0,

we should have

∂t

 1

2ρu22



+ ¯u1

∂x1

 1

2ρu22



= 0

(10)

Slip Line Problem (Cont.)

Note that when the problem is solved numerically by an interface-capturing method, it is common to compute pressure, p, based on conservative variables as

p = (γ − 1) E −

P2

i=1(ρui)2

! ,

while generally (ρu2)2/2ρ 6= ρu22/2 when a slip line is smeared out

Immediate consequence of this is loss of pressure equilibrium, and so incorrect solution of other state variables (see below)

(11)

Slip Line Problem (Cont.)

Suppose a first order Godunov method of the form Qn+1ij = Qnij − ∆t

∆x1

F1 Qni,j, Qni+1,j − F1 Qni−1,j, Qnij

is used for numerical discretization of this slip line problem Here Qnij denotes approximate value of cell average of

solution q over cell Cij at time tn, i.e., Qnij = 1

∆x1∆x2

Z Z

Cij

q(x1, x2, tn)dx1dx2,

and F1(Qi±1,j, Qij) denotes numerical flux, say, defined by F1(Qi±1,j, Qij) = f1

qi±1/2,j 

(qi±1/2,j Riemann solution)

(12)

Slip Line Problem (Cont.)

An example obtained by using a Godunov-type method Errors depend strongly on transverse velocity jump

0 0.2 0.4 0.6 0.8 1

1 2 3 4 5 6

0 0.2 0.4 0.6 0.8 1

1 1.05 1.1 1.15 1.2 1.25 1.3 1.35

0 0.2 0.4 0.6 0.8 1

9.95 10 10.05 10.1 10.15

0 0.2 0.4 0.6 0.8 1

−1

−0.5 0 0.5 1

x1

x1

u1 u 2

ρ p

(13)

Slip Line Problem (Cont.)

To devise a more accurate method for numerical resolution of slip lines, we may use

Diffuse interface approach

Include transverse kinetic energy equation in the model & use its solution for pressure update

p = (γ − 1)



E − (ρu1)2

2ρ + ρu22 2



This transverse kinetic equation should be modified so that there is no difficulty to work with shock waves

Sharp interface approach

Front tracking or Lagrangian moving grid method

(14)

Slip Line Problem (Cont.)

Result obtained using a Lagrangian-like method Errors are on the order of machine epsilon

0 0.5 1 1.5

0 1 2 3 4 5 6

0 0.5 1 1.5

1 1 1 1 1

0 0.5 1 1.5

10 10 10 10 10 10 10 10

0 0.5 1 1.5

−1

−0.5 0 0.5 1

x1

x1

u1 u 2

ρ p

(15)

Slip Line Problem (Cont.)

Grid system for a Lagrangian run of slip line problem

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9

0.05 0.1 0.15

Initial grid

0.4 0.5 0.6 0.7 0.8 0.9 1 1.1 1.2

0 0.05 0.1 0.15 0.2

Final grid

(16)

Euler Equations in Generalized Coord.

Lagrangian results shown above is based on solving Euler equations in generalized coordinates of the form

∂τ

ρJ ρJui

JE

+

N

X

j=1

∂ξj

J

ρUj

ρuiUj + p∂ξ∂xj

i

EUj + pUj p∂ξ∂tj

=

0

−ρJ ∂x∂φ

i

−ρJ~u · ∇φ

which is as a result of coordinate change (~x, t) 7→ (~ξ, τ ) via

dt = dτ,

dx1 = ug1 dτ + a1 1 + a2 2 + a3 3, dx2 = ug2 dτ + b1 1 + b2 2 + b3 3, dx3 = ug3 dτ + c1 1 + c2 2 + c3 3.

(17)

Euler in Generalized Coord. (Cont.)

For convenience, we write

∂ ˜q

∂τ +

N

X

j=1

∂ ˜fj(˜q)

∂ξj = ˜ψ(˜q), where

˜

q = [ρJ, ρu1J, . . . , ρuNJ, EJ]T ,

f˜j = J [ρUj, ρu1Uj + p∂x1ξj, . . . , ρuNUj + p∂xNξj, EUj + pUj p∂tξj]T , ψ = [0, −ρJ∂˜ x1φ, . . . , −ρJ∂xNφ, −ρJ~u · ∇φ]T

Uj = ∂tξj + PN

i=1 uixiξj: contravariant velocity in ξj-direction

~ug = h~u: speed of grid motion, h ≈ 1

(18)

Material Line Problem

Now let us move on to our second interface-only problem that concerns a material line, separating regions of two different fluid phases

Again for simplicity, we consider a plane interface moving vertically from the left to right in x1-direction.

Interface conditions for this problem are the same as in slip line case.

Dynamic condition: pR = pL (but there is jump in material quantities)

Kinematic condition: u1,R = u1,L & u2,R − u2,L 6= 0

(19)

Material Line Problem (Cont.)

Assume ideal gas law p(ρ, e) = (γ − 1)ρe for each fluid phase, where γ takes different quantities for each phase In this instance, to ensure pressure equilibrium, from

∂t

 p γ − 1



+ ¯u1

∂x1

 p γ − 1

 +

∂t

 1

2ρu22



+ ¯u1

∂x1

 1

2ρu22



= 0,

we should have

∂t

 1 2ρu22



u1

∂x1

 1 2ρu22



= 0 &

∂t

 1 γ − 1



+ ¯u1

∂x1

 1 γ − 1



= 0

(20)

M a te ri a l L in e P ro b le m (C o n t.)

Comparisonwithdifferentγmodel(nou2 jump)

2.5 4.0 5.5

2.5 4.0 5.5

2.5 4.0 5.5

2.5 4.0 5.5

1.0 1.2

1.0 1.2

1.0 1.2

1.0 1.2

1.00 1.06

1.00 1.06

1.00 1.06

1.00 1.06

0.00.40.8

1.20 1.30 1.40

0.00.40.8

1.20 1.30 1.40

0.00.40.8

1.20 1.30 1.40

0.00.40.8

1.20 1.30 1.40

withργwithρ/(γ−1)withγwith1/(γ−1)

ρe ρe ρe ρe

u1

u1

u1

u1

p p p p

γ γ γ γ

DES2010,DepartmentofMathematics,NTU,8-9January,2010p.20/44

(21)

Material Line Problem (Cont.)

Comments on problems with complex equation of state Even for single phase flow case, standard method will fail to attain pressure equilibrium, say, for example, van der Waals gas

p(ρ, e) = γ − 1

1 − bρ ρe + aρ2 − aρ2

For multiphase flow case, suitable transport equations for characterizing numerical fluid mixing can be derived (see in a later)

(22)

Cavitation Problem: 1D

Homogeneous flow with standard atmospheric condition

Due to opposite flow motion, pressure drop & formation of cavitation zone

u1 −u1

(23)

Cavitation test: 1D

Dynamic cavitation formation (gas-liquid mixture case)

−10 0 1

5

10x 104

−1 0 1

−100

−50 0 50 100

u 1

−10 0 1

500 1000

ρ

−10 0 1

0.5 1

cavitation

p α

x x

(24)

Cavitation test: 1D

Cavitation formation after t = 0+ (elastic-plastic case)

−4 −2 0 2 4

7.8 7.85 7.9 7.95 8

ρ (Mg/m3 )

−4 −2 0 2 4

−1

−0.5 0 0.5 1

u (km/s)

−4 −2 0 2 4

0 2 4 6 8

x (m) σ x (GPa)

−4 −2 0 2 4

−0.6

−0.4

−0.2 0 0.2 0.4 0.6

x (m) s x (GPa)

(25)

Cavitating Problem (Cont.)

Isentropic relaxation model (Saurel et al. JCP ’09)

∂t 1ρ1) +

N

X

j=1

∂xj

1ρ1uj) = 0,

∂t 2ρ2) +

N

X

j=1

∂xj

2ρ2uj) = 0,

∂t (ρui) +

N

X

j=1

∂xj

(ρuiuj + pδij) = 0, i = 1, . . . , N

∂α1

∂t +

N

X

j=1

uj ∂α1

∂xj

= µ (p1 1) − p2 2))

Each phasic pressure pι satisfies pι(ρ) = (p0 + B) (ρ/ρ0)γ − B

Mixture pressure p satisfies p = α1p1 + α2p2, µ : parameter

(26)

Cavitating Problem (Cont.)

There are some funadmental issues for numerical

resolution cavitating problems that I do not show here. But in general the following two things are important for the

problem

Devise of general cavitation-capturing method ?

Relaxation model to elastic-plastic & to other physical laws

(27)

Mapped Grid Method

To solve problem with complex geometries, here we consider body-fitted mapped grid method for its easy extension to three dimensions

Employ finite volume formulation of numerical solution

Qnij 1

∆ξ1∆ξ2 Z

Cij

q(ξ1, ξ2, τn) dξ1ξ2

i − 1 i − 1

i

i j

j

j + 1 j + 1

Cij Cˆij

ξ1 ξ2

mapping

∆ξ1

∆ξ2 logical domain physical domain

←−

x1 = x11, ξ2) x2 = x21, ξ2) x1

x2

(28)

Mapped Grid Method (Cont.)

In three dimensions N = 3, equations to be solved take

∂q

∂t +

N

X

j=1

∂ ˜fj

∂ξj = ψ(q)

A simple dimensional-splitting method based on wave propagation approach of LeVeque et al. is used, i.e.,

Solve one-dimensional Riemann problem normal at each cell interfaces

Use resulting jumps of fluxes (decomposed into each wave family) of Riemann solution to update cell

averages

Introduce limited jumps of fluxes to achieve high resolution

(29)

Shock waves over circular array

A Mach 1.42 shock wave in water over a circular array

t=0

shock

(30)

Shock waves over circular array

Grid system

−3 −2 −1 0 1 2 3 4 5

−4

−3

−2

−1 0 1 2 3 4

time=0

(31)

Shock waves over circular array

Contours for density

t=0.0024

(32)

Cavitation test: 2D steady state

Uniform gas-liquid mixture with speed 600m /s over a circular region

(33)

Cavitation test: 2D steady state

Pseudo colors of volume fraction

Formation of cavitation zone (Onset–shock induced, diffusion, . . . ?)

(34)

Cavitation test: 2D steady state

Pseudo colors of pressure

Smooth transition across liquid-gas phase boundary

(35)

Cavitation test: 2D steady state

Pseudo colors of volume fraction: 2 circular case

Convergence of solution as the mesh is refined ?

t=0.05

(36)

Moving cylindrical vessel

Initial setup

time=0

air helium

interface

(37)

Moving cylindrical vessel

Solution at time t = 0.25

(38)

Moving cylindrical vessel

Solution at time t = 0.5

(39)

Moving cylindrical vessel

Solution at time t = 0.75

(40)

Moving cylindrical vessel

Solution at time t = 1

(41)

Shock wave & Disperse phases

(42)

Shock wave & Disperse phases

(43)

Shock wave & Disperse phases

(44)

Shock wave & Disperse phases

(45)

Shock wave & Disperse phases

(46)

Shock wave & Disperse phases

(47)

Shock wave & Disperse phases

(48)

Shock wave & Disperse phases

(49)

Compressible Multiphase Flow

Homogeneous equilibrium pressure & velocity across material interfaces

Volume-fraction based model equations (Shyue JCP

’98, Allaire et al. JCP ’02)

∂t iρi) + 1 J

Nd

X

j=1

∂ξj iρiUj) = 0, i = 1, 2, . . . , mf

∂t (ρui) + 1 J

Nd

X

j=1

∂ξj

(ρuiUj + pJji) = 0, i = 1, 2, . . . , Nd,

∂E

∂t + 1 J

Nd

X

j=1

∂ξj

(EUj + pUj) = 0,

∂αi

∂t + 1 J

Nd

XUj ∂αi

∂ξ = 0, i = 1, 2, . . . , mf 1;

(50)

Thank You

參考文獻

相關文件

Key words: Compressible two-phase flow, Five-equation model, Interface sharpening, THINC reconstruction, Mie-Gr¨ uneisen equation of state, Semi-discrete wave propagation method..

We have presented a numerical model for multiphase com- pressible flows involving the liquid and vapor phases of one species and one or more inert gaseous phases, extending the

Solver based on reduced 5-equation model is robust one for sample problems, but is difficult to achieve admissible solutions under extreme flow conditions.. Solver based on HEM

Have shown results in 1 , 2 &amp; 3 D to demonstrate feasibility of method for inviscid compressible flow problems. Department of Applied Mathematics, Ta-Tung University, April 23,

A constant state u − is formed on the left side of the initial wave train followed by a right facing (with respect to the velocity u − ) dispersive shock having smaller

Have shown results in 1 , 2 &amp; 3 D to demonstrate feasibility of method for inviscid compressible flow

We would like to point out that unlike the pure potential case considered in [RW19], here, in order to guarantee the bulk decay of ˜u, we also need the boundary decay of ∇u due to

The main tool in our reconstruction method is the complex geometri- cal optics (CGO) solutions with polynomial-type phase functions for the Helmholtz equation.. This type of