+ All Categories
Home > Documents > MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Date post: 10-Feb-2016
Category:
Upload: fathia
View: 56 times
Download: 5 times
Share this document with a friend
Description:
CSC Seminar March 9, 2006, BNL. MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak Center for Data Intensive Computing, BNL. Collaborators: Tianshi Lu , CSC/BNL, modeling, software development, fusion applications - PowerPoint PPT Presentation
46
Brookhaven Science Associates U.S. Department of 1 MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak Center for Data Intensive Computing, BNL CSC Seminar March 9, 2006, BNL Collaborators: Tianshi Lu, CSC/BNL, modeling, software development, fusion applications Jian Du, Stony Brook University, software development, accelerator applications Zhiliang Xu, Xiaolin Li, CSC/SBU, front tracking methods Paul Parks, General Atomics, MHD theory, fusion applications James Glimm, SBU/CSC, modeling, numerical algorithms
Transcript
Page 1: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 1

MHD of Multiphase Flows: Numerical Algorithms and Applications

Roman Samulyak

Center for Data Intensive Computing, BNL

CSC SeminarMarch 9, 2006, BNL

Collaborators:Tianshi Lu, CSC/BNL, modeling, software development, fusion applicationsJian Du, Stony Brook University, software development, accelerator applicationsZhiliang Xu, Xiaolin Li, CSC/SBU, front tracking methods

Paul Parks, General Atomics, MHD theory, fusion applications

James Glimm, SBU/CSC, modeling, numerical algorithms

Page 2: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 2

Talk outline

• Motivation

• MHD system for free surface multiphase flow at low magnetic Reynolds numbers; approximations

• Numerical algorithms for MHD equations

• Applications

• Numerical simulations of the pellet ablation in a tokamak

Page 3: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 3

Motivation: Studies of Tokamak Fueling

Problems • Pellet ablation• Striation instabilities• Laser driven pellet acceleration• Gyrotron driven pellet acceleration• Liquid jet for plasma disruption mitigation

Laser driven pellet acceleration

Fueling using a high speed gaseous jet

ITER schematic

Page 4: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 4

Motivation: Accelerator Design(Neutrino Factory/Muon Collider target)

Exparinemtal data (BNL), no B field

• The target has been proposed as a free mercury jet interacting with an intensive proton pulse in a 20Tesla magnetic field

Future experiment at CERN (2007) will operate with • 20 m/s mercury jet• 15 Tesla pulsed solenoid• proton beam line

Page 5: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 5

2

2

1

1

4( , ), 0

t

Pt c

e Pt

ctP P e

u

u u u J B

u u J

B u B B

B

ext ext

1

1 ,

1with ( )

( , ), 0

c

c

cx t

J u B

u B

u B nn

B B B

MHD equations and approximations

MHD regimes, approximations, and discretization techniques • Astrophysics: full system, explicit time discretization, 7-wave Riemann problem• Magnetically Confined Fusion plasmas: full system, implicit or semi-implicit discretization• Liquid metal MHD: incomplessible fluid, low magnetic Re, implicit time discretization• Our approach: compressible fluid (shock waves), low magnetic Re, phase transitions, free surface flows, explicit time discretization

Full system of MHD equations Low magnetic Re approximation

Page 6: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 6

Numerical Approach

• The low megnetic Re MHD is a copuled hyperbolic/elliptic system. Operator splitting.

• The hyperbolic subsystem is solved on a finite difference grid in both domains separated by the free surface using flont tracking numerical techniques.

• Implemented in FronTier code• Riemann problem for interface propagation• Complex interfaces with topological changes in 2D and 3D• High resolution hyperbolic solvers• Realistic EOS models

•The elliptic subsystem is solved in geometrically complex domains• Dynamic grid generation, finite element diecretization of conforming grids• Embedded boundary finite volume discretization• Fast parallel linear solvers

Page 7: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy

Hyperbolic step

nijF

1/ 2,ni j

1/ 21/ 2,ni j

1nijF

FronTier-MHD numerical scheme

Elliptic step

1/ 2nijF

• Propagate interface• Untangle interface• Update interface states

• Apply hyperbolic solvers• Update interior hydro states

• Generate finite element grid• Perform mixed finite element discretizationor• Perform finite volume discretization• Solve linear system using fast Poisson solvers

• Calculate electromagnetic fields • Update front and interior states

Point Shift (top) or Embedded Boundary (bottom)

Page 8: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 8

Stencil and equations for the interface point propagate

Page 9: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 9

Schematic of the interface point propagate algorithm

Page 10: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 10

Comparison of techniques for elliptic equations

Point-shift grid generation• Compatible with mixed finite element formulation• The same order accuracy for the potential and gradients• Capable of generating grids for vector finite elements• Not robust (especially in 3D)

Colella’s embedded boundary method• Second order accurate for the potential• Robust• Simple implementation for parallel computing• Due to arbitrary shape elements, incompatible with mixed finite element formulation

Page 11: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 11

Embedded Boundary Elliptic Solver

egefaFaFaF

xF

xF

jj

jijij

jijij

;2

12

1

;

1

1,1,11

,,1

Main Ideas• Based on the finite volume

discretization

• Potential is treated as cell centered value, even if the center is outside the computational domain

• Domain boundary is embedded in the rectangular Cartesian grid, and the solution is treated as a cell-centered quantity

• Using finite difference for full cell and linear interpolation for cut cell flux calculation

Page 12: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 12

Embedded Boundary Elliptic Solver

area

ldfldf

area

ds

Fn

if

fii

areaarea

00limlim

• Area is corresponding to the computational cell on which to make integration

• f i is the flux across the non-boundary cell edges and f f is the boundary edge flux given by Neumann Conditions. All fluxes are calculated at the middle point of the edge and dl is the related edge length

Page 13: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 13

Algorithm

• Reconstruct the interface, record the crossings, and set the component type for grid point

• Simplify the control volume configurations, remove small volume cells (better condition number)

• Count the local number of blocks (both full and partial cells), set the matrix and vector dimension for the linear system solver,set global index for the counted blocks

• For partial cells, the necessary information such as cell edge type, position of cell edge center and partial cell edge length are recorded.

• A nine-point stencil is set for each partial cell. With the above information, related stencil value from flux integration is set and addeded into the corresponding matrix row

• Set up the right hand side for the linear system, which is also calculated from flux integration by divergence theorem. Note that for partial cell, the boundary flux from both left and right side are cancelled out by Neumann boundary conditions.

• Solve the linear system Ax = b with some fast parallel linear solver (PETSc or HYPRE)

Page 14: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 14

Algorithm

1ji,

1j1,i

j1,i

ji,

j1,i

1j1,i

1ji,

),1(),(),1(1

jicjicjicarea

2hyb)hxb(1

hxhyj)1,c(i;

2hxa)hya(1

hyhx1)jc(i,

2hxa)hya(11)j1,c(i;

2hyb)hxb(11)j1,c(i

2hxa)hya(1j)1,c(i;

2hyb)hxb(11)jc(i,

2hxa)hya(1

2hyb)hxb(1

hxhy

hyhxj)c(i,Stencil Setting

Figure 3. Stencil for partial cells

Page 15: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 15

Validation

Test Function: 2

22

1 YkXke Domain Boundary: Sin wave perturbed circle

Convergence Rate: )/ln()e/eln(

12

12

hhR

Mesh Size error (fx) R

32x32 2.496e-2 N/A

64x64 8.841e-3 1.497

128x128 3.093e-3 1.506

256x256 1.096e-3 1.503

Computational Domain

Page 16: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 16

Validation

Illustration of flux error (X direction)

Page 17: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 17

3D implementation

• Same principle as 2D • Bilinear interpolation of flux

Parallel 3D implementation has been completed and fully tested

Page 18: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 18

Muon Collider target: a brief summary of modeling and simulation

Jet surface instabilities

Cavitation in the mercury jet and thimble

Simulation of the mercury jet target interacting with a proton pulse in a magnetic field

• Studies of surface instabilities, jet breakup, and cavitation • MHD forces reduce both jet expansion, instabilities, and cavitation

Page 19: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 19

Mercury jet entering magnetic field.Schematic of the problem.

Magnetic field of the 15 T solenoid is given in the tabular format

Page 20: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 20

Incompressible steady state formulation of the problem

1

0

11

000

Pc

cc

u u J B

u

J u Bu B

JBB

1 2

. . :1 ( )

1 1

0

a

BC

c

p p Sr r

u B nn

u n

Page 21: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 21

Results: Aspect ratio of the jet cross-section

B = 15 TV0 = 25 m/s

Page 22: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 22

Results: Aspect ratio of the jet cross-section

0.10 B = 15 TV0 = 25 m/s

Page 23: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 23

Consequences of the jet distortion

• The cross-section of the mercury jet interaction with the proton pulse is significantly reduced

• This reduces the pion production rate

• In order to avoid these undesirable consequences, the angle between the magnetic field and the solenoid axes was reduced to 0.3 rad. This implies some new constraints on the hardware design

• Another possible solution was the use of an elliptic nozzle to compensate the MHD distortion. This option has not been explored due to time constraints on the final design.

Page 24: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 24

Processes in the ablation cloud

Page 25: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 25

Pellet ablation in tokamaks: previous works. Local models

• Neutral gas shielding (NGS) model, P. Parks & R. Turnbull, 1978• Provides the scaling of the ablation rate with the pellet radius and the plasma temperature and density• 1D steady state hydrodynamics model• Neglected effects: MHD, geometric effects, atomic effects (dissociation, ionization)

• Theoretical studies of MHD effects, P. Parks

• P2D code, A. K. MacAulay, 1994; CAP code R. Ishizaki, P. Parks, 2004• Non-spherical ablation flow (axial symmetry), proper treatment of scattering• Kinetic calculation of the electron heat deposition, atomic physics processes• MHD effects not considered

Page 26: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 26

Pellet ablation in tokamaks: previous works. Global models

• Simulations using MH3D code, H. Strauss & W. Park, 1998• Finite element version of the MH3D full MHD code• Details of the ablation are not considered• Pellet is given as a density perturbation of initial conditions• Smaller values of density and larger pellet radius (numerical constraints)

• Simulations using MHD code based on CHOMBO AMR package, R. Samtaney, S. Jardin, P. Colella, D. Martin, 2004

• Analytical model for the pellet ablation: moving density source• 8-wave upwinding unsplit method for MHD• AMR package – significant improvement of numerical resolution

Page 27: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 27

Improved model is needed:

• Studies of the local pellet ablation physics are still missing • MHD• 3D effects• Model for currents in the ablation cluod

• Global plasma simulations in the presence of an ablating pellet need a better local model as input

• Studies of striation instabilities, observed in all experiments, are not possible without a 3D detailed physics model

• We are working on building and validations of such models

Page 28: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 28

Physics Models for Pellet Studies :Electron Energy Deposition

( , ') '( , )z n r z dzu r z

( , ') '( , )

z

n r z dzu r z

2 / 2q q uK u

1

( , ) ( ) ( )

( ) / 4

q n r zq g u g u

g u uK u

In the cloud: On the pellet surface:

2

48 ln ( , , )e

e i

Te n T f

Page 29: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 29

Physics Models for Pellet Studies :Surface Ablation

Some facts: • The pellet is effectively shielded from incoming electrons by its ablation cloud• Processes in the ablation cloud define the ablation rate, not details of the phase transition on the pellet surface• No need to couple to acoustic waves in the solid/liquid pellet• The pellet surface is in the super-critical state • As a result, there is not even well defined phase boundary, vapor pressure etc.

This justifies the use of a simplified model: • Mass flux is given by the energy balance (incoming electron flux) at constant temperature• Pressure on the surface is defined through the connection to interior states by the Riemann wave curve • Density is found from the EOS.

Page 30: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 30

Saha equation for the dissociation (ionization) fraction

2/

2/

1

1

dd

ii

e Td

t

Ti

t

d TN ed n

i TN ei n

2 /t g a in n n n m

2

+

Let's define:

is the total number density of nuclei

is the number density gas molecules D

is the number density atoms D

is the number density of ions D

t

g

a

i

nn

n

n Dissociation (ionization) fractions:

/ , /d a i t i i tf n n n f n n

Physics Models for Pellet Studies :Equation of State with Atomic Processes. 1

d

For deuterium:

e = 4.48 eV = 13.6 eVie

24

21

1.55 10 , 0.327

3.0 10 , 3 / 2d d

i i

N

N

Page 31: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 31

1 12 2

1 12( 1) 1 2

d i

m

kTP d im

ke ked d i kTE d im m m

EOS with Atomic Processes

Incomplete EOS(known from literature):

High resolution solvers (based on the Riemann problem) require the sound speed and integrals of Riemann invariant type expressions along isentropes. Therefore the complete EOS is needed.

Second law of thermodynamics: TdS dE PdV

We found the complete EOS and showed that compatibility with the second law of thermodynamics requires:

1 33 ,1 2d i

Page 32: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 32

For better numerical efficiency, FronTier operates with three pairs of independent thermodynamic variables:

Numerical Algorithms for EOS

, , , , ,E P T

• For the first two pairs of variables, solve numerically nonlinear algebraic equation, and find T. Using , find the remaining state.

• Such an approach is prohibitively slow for the calculation of Riemann integrals (involves nested nonlinear equations).

• To speedup calculations, we precompute and store values on Riemann integrals as functions of the density and entropy. Two dimensional table lookup and bi-linear interpolation are used.

,T

Page 33: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 33

16 1/ 2 15 3/ 2

9 3/ 2

1/ 2

1 ,3.4 10 1 5.8 10 ln

3.6 10where

i

i i

e

fs f T f T

Tn

Conductivity of weakly ionized plasmas

Page 34: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 34

EOS with Atomic Processes. Numerical Results

Page 35: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 35

EOS with Atomic Processes. Numerical Results

Page 36: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 36

• Gas (deuterium vapor) near the pellet surface is cold and dense• Ideal EOS model is not accurate• A very good approximation is given by the Redlich-Kwong EOS:

Real gas EOS (future work)

1/ 2

2 5.2

where0.42748

0.08664

m m m

crit

crit

crit

crit

RT aPV b T V V b

R TaPRTb

P

• We propose an extension of the Redlich-Kwong EOS to include atomic processes (dissociation and ionization)• The EOS will contain three terms; the partial pressure/energy of the molecular gas is written in the Redlich-Kwong form, and the partial pressure/energies of the dissociated and ionized components is written in the ideal EOS form.• Challenges to derive the complete EOS.

Page 37: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 37

Formation of pellet ablation channels in magnetic fields ranging from 0 to 5 Tesla

Simulation results

B = 0 = 1 = 2.5 = 5 Tesla

Page 38: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 38

B = 2.5 Tesla B = 5.0 Tesla P T P T

Developed ablation flow channels in magnetic fields of 2.5 and 5 Tesla.

Simulation results

Page 39: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 39

Numerical results. Spherical model

G = 118 g/sec

Page 40: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 40

Numerical results. Spherical model

G = 110 g/sec

Page 41: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 41

Numerical results. Spherical model

G = 105 g/sec

Page 42: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 42

Polytropic EOS Plasma EOS

Numerical results. 2D axisymmetric model

Pressure distribution at t = 2 microseconds

Page 43: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 43

Numerical results. 2D axisymmetric model

Page 44: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 44

• Striation instabilities have been observed in all pellet experiments; Important problem for the plasma confinement

• Fluctuations of emitted light due to the cloud pellet separation; fingering of the ablated material

• Several theories have been proposed, but they don’t satisfactory explain the phenomenon

• Idea: Striation instabilities are caused by the Rayleigh-Taylor instability due to the cloud rotation. Linear model of the E x B rotation by Parks (1996).

• Nonlinear studies (numerical simulations) are necessary

Striation instabilities

Page 45: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 45

Let’s add missing physics

3D detailed physics model is critical for the study of cloud rotation, pellet – cloud separation, and striation instabilities. Work on the 3D model is in progress.

Page 46: MHD of Multiphase Flows: Numerical Algorithms and Applications Roman Samulyak

Brookhaven Science AssociatesU.S. Department of Energy 46

Conclusions and future work

• Developed MHD code for free surface low magnetic Re number flows• Front tracking method multiphase/multimaterial flows• Elliptic problems in geometrically complex domains• Phase transition models

• Numerical simulations of the Muon Collider target in magnetic fields • 2D numerical simulations of the pellet ablation

• Axially symmetric ablation flow• Kinetic calculation of the electron heat deposition, atomic physics processes• MHD effects; formations of ablation channels• Calculated pellet ablation rates, channel properties

• Future work• 3D simulations of the pellet ablation and striation instabilities (3D detailed physics model is critical for the study of cloud rotation, pellet – cloud separation, and striation instabilities)•Laser -- plasma interaction model with sharp absorption front • Laser acceleration of pellets


Recommended