on relaxing the boussinesq approximation in scrape-off layer...

18
On relaxing the Boussinesq approximation in scrape-off layer turbulence (SOLT) model simulations* D.A. Russell, D.A. D’Ippolito and J.R. Myra Lodestar Research Corporation, Boulder, CO, USA *Work supported by DOE grant DE-FG02-97ER54392.

Upload: nguyentu

Post on 16-May-2019

215 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: On relaxing the Boussinesq approximation in scrape-off layer …lodestar.com/LRCreports/Russell_APS_2012_Poster.pdf · 2014-12-01 · On relaxing the Boussinesq approximation in

On relaxing the Boussinesq approximation in

scrape-off layer turbulence (SOLT) model simulations*

D.A. Russell, D.A. D’Ippolito and J.R. Myra

Lodestar Research Corporation, Boulder, CO, USA

*Work supported by DOE grant DE-FG02-97ER54392.

Page 2: On relaxing the Boussinesq approximation in scrape-off layer …lodestar.com/LRCreports/Russell_APS_2012_Poster.pdf · 2014-12-01 · On relaxing the Boussinesq approximation in

Abstract

In the Boussinesq approximation, spatial variations in the plasma density are ignored

in the convection of vorticity, leading to an equation of evolution for n2 rather than

(n), where n and are the density and potential. In the blob-dominated

turbulence of the near edge and SOL, density and potential fluctuation scales are

similar, making this approximation hard to justify. The shortcomings of the

approximation have been shown in studies of isolated blob motion [1], while recent

studies of SOL turbulence suggest a relatively weak effect [2]. The numerical

hardships and physical advantages of relaxing the approximation in the SOLT model

[3] are discussed. On the algorithmic side, a Poisson solve for the potential becomes

n2+n+=0, to be solved for at each time step, given the evolved turbulent

fields n and . We present multi-grid relaxation and direct (sparse matrix) methods for

doing so. Eliminating the approximation allows us to add physics to the SOLT model

that could not otherwise be included, such as self-consistent ion diamagnetic drift

evolution.

[1] G. Yu et al., Phys. Plasmas 13, 042508 (2006).

[2] K. Bodi et al., 38th EPS Conf. Plasma Phys. (2011).

[3] D.A. Russell et al., Phys. Plasmas 16, 122304 (2009).

2

Page 3: On relaxing the Boussinesq approximation in scrape-off layer …lodestar.com/LRCreports/Russell_APS_2012_Poster.pdf · 2014-12-01 · On relaxing the Boussinesq approximation in

I. Model Equations

• the Boussinesq approximation

II. Numerical Method

• Multigrid (MG)

III. Blob dynamics

• Boussinesq blobs are fragile

• MG: the agony and the ecstasy

IV. Ion pressure effects

• Enhanced blob polarization

• A blob’s radial E-field (mean flow)

• At the edge

V. Summary

3 Outline

Page 4: On relaxing the Boussinesq approximation in scrape-off layer …lodestar.com/LRCreports/Russell_APS_2012_Poster.pdf · 2014-12-01 · On relaxing the Boussinesq approximation in

2

i

2sy / /

2 21 1E i E i2 2

2

E

... other gyro-viscosity terms, here ignored.

General Case

(n ) P 0 :

2dP J

dt R

(v P ) v ( P )

dnb̂ n v ( )

dt

SOLT model equations

(reduced Braginskii)

Vorticity

2D (OM)

x

y B

B

2 2

B i

2sB y / / B

2 21 1E i E i2 2

Boussinesq Approximation

P / n 0 :

2d 1P J / n

dt R n

1(v P ) v ( P )

n

Bohm units

4

Widely used Difficult to justify

All fields are turbulent: n = n(x,y,t), etc. We do not expand about ambient profiles. Self-consistent O(1) fluctuations are supported.

Page 5: On relaxing the Boussinesq approximation in scrape-off layer …lodestar.com/LRCreports/Russell_APS_2012_Poster.pdf · 2014-12-01 · On relaxing the Boussinesq approximation in

Density (quasi-neutral) 2

//,n n n

dn J D n S

dt

Electron Temperature 2

e //,e Te e Te

dT q / n D T S

dt

Ion Temperature 2

i //,i Ti i Ti

dT q / n D T S

dt

See J.R. Myra et al., Phys. Plasmas 18, 012305 (2011)

for details of J// and q//.

SOLT model equations (continues)

2

E E E

//

//

d ˆ ˆv , v b (b v ) ,dt t

J models on the closed field lines

and , through closure relations, in the SOL.

q models heat flux in the S

electron drift waves

sheath ph

OL.

ysics

5

Page 6: On relaxing the Boussinesq approximation in scrape-off layer …lodestar.com/LRCreports/Russell_APS_2012_Poster.pdf · 2014-12-01 · On relaxing the Boussinesq approximation in

Numerical Method The Problem

2 2

2

B i

2 m 1 m 2

i

i

Boussinesq Poisson:

P / n 0

This suggests a for the general case

Extra

:

n n P 0

It's simple - a straightforward application of the Poisso

ct from

(n ) P 0

relaxation

n

method

solver.

But, it's where the mean flow lives!

And

slow to converge at long scales

instabilit, there is an lurking at long scales for smooth density profiy les.

2

n

von Neumann multiplier

n k 1ξ(k) ~

n k L k

…a result that assumes n is “sufficiently smooth.” But this is not the case in edge turbulence: dn and d have comparable and broadly distributed scales, and instability may not be observed in realistic test cases.

An exact linear solve grows prohibitive on larger grids.

This looks like a job for Multigrid.

6

Page 7: On relaxing the Boussinesq approximation in scrape-off layer …lodestar.com/LRCreports/Russell_APS_2012_Poster.pdf · 2014-12-01 · On relaxing the Boussinesq approximation in

Numerical Method Multigrid (MG)

0

2 (m) (m 1)

0

(0)

( )

Exact

φ n φ /n ρ/n ; m = 1,...,

φ = a good guess, e.g., the previous result from simulation.

error =

0 0( ) ( )2D φ n φ / n ρ / n

(0) Relax , from an initial guess, 0 times on the simulation grid (Nx, Ny):

2 (m) (m 1) (0)

1 1 1 1 1 1 1 1

1 1

ε n ε /n ρ /n P(D) ; ε = 0 ; m = 1,...,

where (n , ) P(n, ), n and projected onto the coarse grid.

With relaxation, the error is reduced by numerical diffusion (~kp) so long scale-length errors persist. The defect (D) drives the error:

2ε n ε / n ρ / n D

Solve this, correct , and we’re done. But it’s the same problem again, and we want to reduce the error at long scales, in particular. To do so efficiently, project the defect onto a 4x coarser grid, ½ (Nx, Ny), and

0( )

(1) Relax the error there:

Short-cycle Poisson relaxation on nested coarse grids

7

Page 8: On relaxing the Boussinesq approximation in scrape-off layer …lodestar.com/LRCreports/Russell_APS_2012_Poster.pdf · 2014-12-01 · On relaxing the Boussinesq approximation in

Multi-Grid (MG) (continues)

Don’t stop yet! There are errors in the error, especially at long scales…

Project the defect onto a 4x coarser grid, ¼ (Nx, Ny), and

2 (m) (m 1) (0)

2 2 2 2 2 2 1 2 2

2 2 1 1

ε n ε /n ρ /n P(D ) ; ε = 0 ; m = 1,...,

where (n , ) P(n , ), the projection of the fields onto a still coarser grid.

(2) Relax the error there:

1 1( ) ( )2

1 1 1 1 1 1 1D n / n ρ / n

A pattern emerges! Continue projection/relaxation down through NC coarse grids until the problem is exactly solved, easily, on the grid. Return to the original, finest grid through the coarse grids by (a) Interpolating the error to the next finer grid, and correcting the relaxed error there and (b) Relaxing the corrected error (or ) to remove high-k errors from the interpolation. Continue “up” until is corrected on the simulation (finest) grid.

CN

X Y(N , N ) / 2

This basic MG algorithm is the V-cycle.

Reference: W. L. Briggs, V. E. Henson and S. F. McCormick, A Multigrid Tutorial, 2nd ed., SIAM (2000) .

8

Page 9: On relaxing the Boussinesq approximation in scrape-off layer …lodestar.com/LRCreports/Russell_APS_2012_Poster.pdf · 2014-12-01 · On relaxing the Boussinesq approximation in

V-cycle

4 coarse grids

Multi-Grid (MG) (continues)

R : relax times

P : project

E : exact solve

I : interpolate

1ˆ ˆR ( ) I( )

i i i 1

4 4

ˆ ˆR ( ) I( )

ˆ E( )

How well does it work?

14

N

116

N

164

N

N

1256

N

P(D)

1R ( )

R ( )

2R ( )

3R ( )

1P(D )

2P(D )

3P(D )

4E( )

start finish

4ˆI( )

3ˆR ( )

3ˆI( )

2ˆR ( )

2ˆI( )

1ˆR ( )

1ˆI( )

ˆR ( )

grid

9

Page 10: On relaxing the Boussinesq approximation in scrape-off layer …lodestar.com/LRCreports/Russell_APS_2012_Poster.pdf · 2014-12-01 · On relaxing the Boussinesq approximation in

Pure Relaxation (R) on the fine grid vs. the MG V-cycle (NC = 3, = 2)

Method of Manufactured Solutions (MMS)

(1) Target 0 : high-k blob, no mean field, n = 1.05 tanh(xLx/2)

R

R

MG

red : max | D | blue : max | |

(2) Target 0 : blob string + linear(x) mean field, n : rippled tanh

R MG

Pure relaxation is unstable at long scales. Relaxation alone cannot achieve MG accuracy.

The error persists at long scales for pure relaxation.

Pure relaxation is stable but slow. Relaxation may never achieve MG accuracy on time scales of interest.

10

Page 11: On relaxing the Boussinesq approximation in scrape-off layer …lodestar.com/LRCreports/Russell_APS_2012_Poster.pdf · 2014-12-01 · On relaxing the Boussinesq approximation in

V-cycle accuracy and timing vs. # coarse grids (NC) (MMS case 2 above)

E :

exact solution on the fine grid

(bi-conjugate gradient method*)

S :

2 relaxations of the initial guess

on the fine grid only

V :

V-cycle

V improves S

(just making sure) E

V

S: 0.15 sec How much error can we tolerate?

Are 2 or 3 coarse grids good enough?

Do MMS results extrapolate to turbulence?

S

V

E red : max | D | blue : max | |

error

11

*W. H. Press, S. A. Teukolsky, W. T. Vetterling and B. P. Flannery, Numerical Recipes in Fortran 77, 2nd ed., Cambridge University Press, (1992), pg. 77.

Page 12: On relaxing the Boussinesq approximation in scrape-off layer …lodestar.com/LRCreports/Russell_APS_2012_Poster.pdf · 2014-12-01 · On relaxing the Boussinesq approximation in

Blob Dynamics Boussinesq (B) v. non-Boussinesq (E)

0n(t 0) n Gaussian, (t 0) 0

i.c.

E

E : Exact solution of the general case

0n 0.01

B B

E

Compared to the general case, Boussinesq blobs are unstable* and liable to under-estimate turbulent transport in simulations.

*Related: G.Q. Yu, S.I. Krasheninnikov and P.N. Guzdar, Phys. Plasmas 13, 042508 (2006).

12

i

e i

2

e escale invariance (P 0) : t t, / , / (or / and T T / )

1,T 1,T 0,no sheath, no drift waves

0n 0.05

Page 13: On relaxing the Boussinesq approximation in scrape-off layer …lodestar.com/LRCreports/Russell_APS_2012_Poster.pdf · 2014-12-01 · On relaxing the Boussinesq approximation in

Blob Dynamics : MG Triumph Boussinesq (B) v. non-Boussinesq (E) v. MG (NC = 1,2,3)

E: exact solution of the general case on the simulation grid (256x128), B: Boussinesq approximation, and MG V-cycle(=2), with NC = 1, 2, 3 coarse grids

0n 0.05 case (previous slide)

B

B

E, 1, 2, 3 E, 1, 2, 3

The Ecstasy MG achieves exact solution accuracy in 1/10 the time,

in some test cases.

• Boussinesq is fast but inaccurate. • All 3 MGs follow the exact

solution very well.

13

cpu sec/step E : 0.7

1 : 0.23 2 : 0.084 3 : 0.068 B : 0.03

Page 14: On relaxing the Boussinesq approximation in scrape-off layer …lodestar.com/LRCreports/Russell_APS_2012_Poster.pdf · 2014-12-01 · On relaxing the Boussinesq approximation in

No bombs if

is small enough.

Ñn / n

Blob Dynamics : MG Collapse Boussinesq (B) v. non-Boussinesq (E) v. MG (NC = 1,2,3)

The 2- and 3-coarse-grid cases bomb due to a numerical instability lurking in the relaxation scheme at long scales: The instability is apparent in the divergence of the mean field y .

2

n kmultiplier ~

nk

von Neumann

E: exact solution of the general case on the simulation grid (256x128), B: Boussinesq approximation, and MG V-cycle(=2), with NC = 1, 2, 3 coarse grids

No bombs if

is small enough.

Ñn / nThe Agony

But how small is that, à priori? No clue: this is turbulence.

B

E, 1, 2, 3

B

E, 1, 2, 3

B E, 1, 2, 3

0n 0.01case (slide 12)

14

Page 15: On relaxing the Boussinesq approximation in scrape-off layer …lodestar.com/LRCreports/Russell_APS_2012_Poster.pdf · 2014-12-01 · On relaxing the Boussinesq approximation in

Ion Pressure Effects

Ion pressure enhances curvature drive and blob instability.

n0 0.05, Te = 1, = 1

c) Ti = 1.0 b) Ti = 0.5 a) Ti = 0.1

MG(3)

B B B

MG(3) MG(3)

The disintegration of the blob under the Boussinesq approximation may be mistaken for a transport barrier. See “blob trails,” next slide.

15

Page 16: On relaxing the Boussinesq approximation in scrape-off layer …lodestar.com/LRCreports/Russell_APS_2012_Poster.pdf · 2014-12-01 · On relaxing the Boussinesq approximation in

The blob’s ion pressure drives a mean poloidal flow or radial (x) E field.

2

i

y y

x x x iy y y y

n P 0

d~ P 0

dt

E vy ~ P / n

In all cases (previous slide) the blobs move upward (y) as they travel outward, initially.

The blob rotates in its mean flow. i.e.

The radial dipole exerts a torque on the poloidal (y) dipole d .

*See J. R. Myra, Edge Sheared Flows and Blob Dynamics, Invited Talk YI3.00002, Friday 10:00, this

meeting: analysis of blob trails from NSTX and CMOD, and comparison with SOLT simulations.

+

B

MG(3)

a) b) c)

*

16 Ion Pressure Effects Blob Mean Flow

Page 17: On relaxing the Boussinesq approximation in scrape-off layer …lodestar.com/LRCreports/Russell_APS_2012_Poster.pdf · 2014-12-01 · On relaxing the Boussinesq approximation in

Ion Pressure Effects Edge Crumble, or Not

17

Boussinesq (B) over-estimates the ion pressure-driven flow shear and may stifle the instability artificially.

E B

E

B

E

B

E: exact and MG(3) solution

Page 18: On relaxing the Boussinesq approximation in scrape-off layer …lodestar.com/LRCreports/Russell_APS_2012_Poster.pdf · 2014-12-01 · On relaxing the Boussinesq approximation in

Summary 18

• We eliminated the Boussinesq approximation (B) from the SOLT model and added ion pressure dynamics. • We solved the generalized vorticity equation using a multigrid (MG) method and found accuracies of the “exact” solution requiring 1/10 the cpu time. In comparisons with the exact (or MG) solution we • Demonstrated inaccuracies of the B approximation in

o isolated blob dynamics (blobs are too fragile, turbulent flux may be under-estimated) and o ion pressure profile driven mean flow (flow shear rate is exaggerated, raising the instability threshold artificially)

Future work: L-H transition physics.