Chris Regier - MEDSI08 - June 11 2008

Dynamic Modeling of TwoPhase Helium Pipe Flow in the
Cryosystem at the Canadian
Light Source
Chris Regier, Ph.D. Candidate
University of Calgary
Schulich School of Engineering
Dept. of Mechanical and Manufacturing Engineering
Calgary, Alberta, Canada
June 11, 2008
Overview
The CLS and the RF Cavity
The Cryogenic System
The Liquid Helium (LHe) Supply Line
Modeling and Simulation Procedure
Results
The CLS and the RF Cavity

RF Cavity
500 MHz VHF
Replenishes lost
electron beam
energy
Superconducting
Operates ~ 4.5 K
Requires LHe
Cryogenic system
The Cryogenic System
LHe Transfer Line
The Cryogenic System
Computer Model of entire cryo system desired



Dynamic system model – Controls perspective
Can answer questions about system operation
Model individual components and connect
The LHe Supply Line
The LHe Supply Line
LHe Line is one component of the system

Possibly most complex model
LHe Line Exhibits Two-Phase Flow



Much more difficult to simulate
May be required to create effective dynamic
model
Flow boiling due to:
Temperature increase
Pressure decrease causes majority of boiling
Modeling and Simulation
Objectives of LHe Supply Line Simulation:
1. Ability to simulate liquid and gas flowrates
exiting the LHe line
2. Determine whether gas has impact on flow
3. Determine whether a simpler model can
produce accurate results
Quasi-Steady-State?
Simple dynamic model?
TF

s  z1 s  z2 ....

s  p1 s  p2 ....
Modeling and Simulation
Two-Phase Flow Modeling

1-D Conservation equations
Mass of Gas
 g g 
t
Mass of Liquid
Momentum
Energy

 g g v 
x

Q b

   l l     l l v 
Q b

 
t
x



  v    v 2
P


 Ff  Fg
t
x
x
 e   ev  
Pv 

 Q  Ff v 
t
x
x
Modeling and Simulation
Discretize conservation equations
Use upwind scheme to solve


Solution depends only on upstream properties
Can start at inlet of line and solve each grid
cell in sequence to end of line.
Pj, gj, vj, Tj
Pj+1, gj+1,
vj+1, Tj+1
Cell j
Cell j+1
Modeling and Simulation
BCs complicate solution


LHe line inlet velocity not known
Outlet pressure known instead
1. Guess inlet velocity
2. Solve P, v, g, T for each cell along pipe
3. If outlet P is correct then go to next time
step
4. If outlet P is not correct then adjust guess
of inlet v and repeat
Modeling and Simulation
To solve P, v, g, T for a grid cell

Solution of each equation depends on all 4
Start
Set state ij = state i-1 j
Solve Liquid Mass
Cons.
vij = vij-1
No
Is g ij > 0?
(Is there 2-phase
flow?)
Is delta Pij, ag ij, vij and
Tij small enough?
Yes
Yes
Solve Momentum
Cons.
Pij
Solve Energy Cons.
Q b ij
Solve Energy Cons.
Tij
Solve Gas Mass Cons.
g ij
Solve boiling temp
Tb ij = 0.232Pij0.252
Is Tij > Tb ij?
(Is there 2-phase
flow?)
No
Yes
Set Tij to boiling T
Tij = 0.232Pij0.252
Solve Momentum Cons. Pij
Solve Liq Mass Cons.
vij
No
End
Results
Objective 1: Ability to simulate various flows

R2 value = 0.91
Based on measured rates at CLS
Simulated various valve positions & heat loads
Average error 6.3%
0.06
Lhe Flowrate (L/s)

0.05
0.04
0.03
0.02
Experimental
Simulated
0.01
0.00
0
5
10
15
20
Valve opening (%)
25
30
Results
Objective 2: Determine if gas impacts flow

0.25
16
14
0.20
12
10
0.15
8
0.10
6
4
0.05
2
0.00
0%
10%
20%
30%
Valve Position
40%
0
50%
Mass Flow (g/s)

Maximum g ~0.12 at pipe exit
g varies slightly with control valve position
Some impact on flow of LHe
Void Fraction Gas at Exit

Void Fraction Gas:
1.21 bar
Void Fraction Gas:
1.00 bar
LHe Mass Flow:
1.21 Bar
LHe Mass Flow:
1.00 bar
Results
Objective 3: Can a simpler model be used?

Quasi-steady-state has problems
g dynamics are very slow
QSS can incorrectly predict oscillation size and phase
Results
Objective 3: Determine if a simpler model
can be used 2.8 108 s  0.005s  0.05
s  0.8 s  0.5 s  0.4s  0.025
2
4
2
Acknowledgements
J. Pieper – U of C
Elder Matias - CLS
Mark deJong – CLS
Mark Silzer – CLS
Jon Stampe - CLS
Abdulmajeed Mohammad – U of C
John Swirsky - CLS
J. Bugg – U of S
Carey Simonson – U of S
Tom Regier - CLS
Questions?
[email protected]