Stable Numerical Scheme for the Magnetic Induction Equation with - - PowerPoint PPT Presentation

stable numerical scheme for the magnetic induction
SMART_READER_LITE
LIVE PREVIEW

Stable Numerical Scheme for the Magnetic Induction Equation with - - PowerPoint PPT Presentation

Stable Numerical Scheme for the Magnetic Induction Equation with Hall Effect Paolo Corti joint work with Siddhartha Mishra ETH Zurich, Seminar for Applied Mathematics 24-29th June 2012, Hyp 2012, Padova Outline MHD Theoretical Analysis


slide-1
SLIDE 1

Stable Numerical Scheme for the Magnetic Induction Equation with Hall Effect

Paolo Corti

joint work with Siddhartha Mishra

ETH Zurich, Seminar for Applied Mathematics

24-29th June 2012, Hyp 2012, Padova

slide-2
SLIDE 2

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

Outline

Formulation and motivation of the problem Theoretical analysis DG Formulation 1D Model Numerical Tests

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 2
slide-3
SLIDE 3

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

Magnetic Reconnection

Change in topology of the magnetic field

U in U in U out U out

Figure: Schematic of a reconnection.

Magnetic energy ⇒ kinetic and thermal energy Dissipation

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 3
slide-4
SLIDE 4

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

MHD Equations

The equations ∂ρ ∂t = −∇ · (ρu) ∂(ρu) ∂t = −∇

  • ρuu⊤ +
  • p + B2

2

  • I3×3 − BB⊤
  • ∂E

∂t = −∇

  • E + p − B2

2

  • u + E × B
  • ∂B

∂t = −∇ × E are coupled through the equation of state E = p γ − 1 + ρu2 2 + B2 2 To complete the formulation of the problem we need to state some equation for E

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 4
slide-5
SLIDE 5

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

Ideal MHD

Standard model for E: Ohm’s Law E = −u × B Problem: no dissipation ⇒ “frozen” condition.

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 5
slide-6
SLIDE 6

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

Ideal MHD

Standard model for E: Ohm’s Law E = −u × B Problem: no dissipation ⇒ “frozen” condition. We need to add dissipation Resistive MHD: E = −u × B + ηJ not sufficient for fast reconnection.

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 5
slide-7
SLIDE 7

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

Ideal MHD

Standard model for E: Ohm’s Law E = −u × B Problem: no dissipation ⇒ “frozen” condition. We need to add dissipation Resistive MHD: E = −u × B + ηJ not sufficient for fast reconnection. We need another model... Numerical simulation and laboratory experiment ⇒ Hall Effect

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 5
slide-8
SLIDE 8

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

Generalized Ohm’s Law

E = −u × B + ηJ + δi L0 J × B ρ − δi L0 ∇

p ρ + δe L0 2 1 ρ ∂J ∂t + (u · ∇) J

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 6
slide-9
SLIDE 9

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

Generalized Ohm’s Law

E = −u × B + ηJ + δi L0 J × B ρ − δi L0 ∇

p ρ + δe L0 2 1 ρ ∂J ∂t + (u · ∇) J

  • Resistivity

Hall effect Electron pressure Electron inertia

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 6
slide-10
SLIDE 10

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

Generalized Ohm’s Law

E = −u × B + ηJ + δi L0 J × B ρ − δi L0 ∇

p ρ + δe L0 2 1 ρ ∂J ∂t + (u · ∇) J

  • Resistivity

Hall effect Electron pressure Electron inertia J is the electric current given by Ampère’s law J = ∇ × B X.Qian, J.Bablás, A. Bhattacharjee, H.Yang (2009)

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 6
slide-11
SLIDE 11

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

General Induction Equation

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 7
slide-12
SLIDE 12

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

General Induction Equation

Faraday’s law ∂B ∂t = −∇ × E Generalized Ohm law Ampère’s law

p isotropic.

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 7
slide-13
SLIDE 13

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

General Induction Equation

Faraday’s law ∂B ∂t = −∇ × E Generalized Ohm law Ampère’s law

p isotropic. Are combined to obtain ∂ ∂t

  • B +

δe L0 2 1 ρ∇ × (∇ × B)

  • = ∇ × (u × B) − η∇ × (∇ × B)

− δe L0 2 1 ρ∇ × ((u · ∇)(∇ × B)) − δi L0 1 ρ∇ × ((∇ × B) × B)

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 7
slide-14
SLIDE 14

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

General Induction Equation

Faraday’s law ∂B ∂t = −∇ × E Generalized Ohm law Ampère’s law

p isotropic. Are combined to obtain ∂ ∂t

  • B +

δe L0 2 1 ρ∇ × (∇ × B)

  • = ∇ × (u × B) − η∇ × (∇ × B)

− δe L0 2 1 ρ∇ × ((u · ∇)(∇ × B)) − δi L0 1 ρ∇ × ((∇ × B) × B) This equation preserve the divergence of the magnetic field d dt (∇ · B) = 0

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 7
slide-15
SLIDE 15

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

Symmetrized Equation

Using the identity ∇ × (u × B) = (B · ∇)u − B(∇ · u) + u(∇ · B) − (u · ∇)B

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 8
slide-16
SLIDE 16

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

Symmetrized Equation

Using the identity ∇ × (u × B) = (B · ∇)u − B(∇ · u) + u(∇ · B) − (u · ∇)B Since the magnetic field is solenoidal ∇ · B = 0 we subtract u(∇ · B) to the right side of the equation ∂ ∂t

  • B +

δe L0 2 ∇ × (∇ × B)

  • =

(B · ∇)u − B(∇ · u) − (u · ∇)B − η∇ × (∇ × B) − δe L0 2 1 ρ∇ × ((u · ∇)(∇ × B)) − δi L0 1 ρ∇ × ((∇ × B) × B) (1)

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 8
slide-17
SLIDE 17

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

Boundary Condition

Ω ⊂ R3 is a smooth domain ∂Ωin = {x ∈ ∂Ω|n · u < 0} is the inflow boundary. Natural BC η(B × n) = 0

  • n ∂Ω\∂Ωin

(2) Inflow BC B = 0

  • n ∂Ωin

δiJ = 0

  • n ∂Ωin

(3)

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 9
slide-18
SLIDE 18

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

Estimate

Theorem

For u ∈ C2(Ω) and B solution of (1) satisfying (2) and (3), then this estimate holds d dt

  • B2

L2(Ω) +

δe L0 2 1 ρ∇ × B2

L2(Ω)

  • ≤ C1
  • B2

L2(Ω) +

δe L0 2 1 ρ∇ × B2

L2(Ω)

  • (4)

with C1 a constant that depend on u and its derivative only.

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 10
slide-19
SLIDE 19

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

System of Equations with Auxiliary Variables

∂B ∂t + U1B + (u∇)B = −η∇ × J − α∇ × ˜ E1 − β∇ × ˜ E2 J = ∇ × B ˜ E1 = J × B ˜ E2 = (∂J ∂t + (u∇)J) Boundary Condition: η(B × n) = 0

  • n ∂Ω

B = G1

  • n ∂Ωin

βJ = G2

  • n ∂Ωin.

U1 depends on ∂ui

∂xj , α = δi L0ρ and β = δ2

e

L2

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 11
slide-20
SLIDE 20

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

Define (v, w)Th =

  • K∈Th
  • K

v(x)w(x) dx v, wFaces =

  • f∈Faces
  • e

v(x)w(x) ds where Th a triangulation of Ω. Faces can be Fh set of faces in Th. FI

h set of inner faces in Th.

Γh set of boundary faces in Th. Γ+

h set of outflow boundary faces in Th.

Γ−

h set of inflow faces boundary in Th.

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 12
slide-21
SLIDE 21

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

To have unique valued on faces we define: averages {.} normal jumps [ [.] ]N tangential jumps [ [.] ]T

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 13
slide-22
SLIDE 22

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

Find Bh, Eh, Jh ∈ Vh ∂Bh ∂t + U2Bh, ¯ Bh

  • Th

  • Bh, (u∇)¯

Bh

  • Th + η
  • Jh, ∇ × ¯

Bh

  • Th

+ α

  • ˜

Eh,1, ∇ × ¯ Bh

  • Th

+ β

  • ˜

Eh,2, ∇ × ¯ Bh

  • Th

+

  • i
  • uBi h, [

[ ¯ Bi h] ]NΓ+

h ∪F I h

− η Jh, ¯ BhFh − α ˜ Eh,1, ¯ BhFh − β ˜ Eh,2, ¯ BhFh = −(u · n)G1, ¯ BhΓ−

h

∀ ¯ Bh ∈ Vh

  • Jh, ¯

Eh

  • Th −
  • Bh, ∇ × ¯

Eh

  • Th +

Bh, [ [¯ Eh] ]T F I

h = 0

∀ ¯ Eh ∈ Vh

  • ˜

Eh,1 − Jh × Bh, ¯ Jh

  • Th

= 0 ∀ ¯ Jh ∈ Vh

  • ˜

Eh,2 + (∇ · u)Jh − ∂Jh ∂t , ¯ ¯ Jh

  • Th

+

  • Bh, (u∇) ¯

¯ Jh

  • Th

  • i
  • uJi

h, [

[¯ ¯ Ji

h]

]NΓ+

h ∪F I h

= −(u · n)G2, ¯ ¯ JhΓ−

h

∀ ¯ ¯ Jh ∈ Vh

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 14
slide-23
SLIDE 23

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

DG Fluxes

LDG:

  • Bh = {Bh} + b[

[Bh] ]T

  • Jh =
  • {Jh} − b[

[Jh] ]T + a0[ [Bh] ]T internal edges {Jh} + a0[ [Bh] ]T boundary edges

  • Eh,i =
  • {Eh,i} − b[

[Eh,i] ]T + ai[ [Bh] ]T internal edges {Eh,i} + ai[ [Bh] ]T boundary edges I.Perugia, D. Schötzau (2002)

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 15
slide-24
SLIDE 24

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

Upwind:

  • uBi

h = {uBi h} + c[

[Bi

h]

]N

  • uJi

h = {uJi h} + c[

[Ji

h]

]N with c = |nu|/2.

u e Bh,left Bh,right

Figure: In the case the flux uBi

h will be uBi h,left.

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 16
slide-25
SLIDE 25

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

Upwind:

  • uBi

h = {uBi h} + c[

[Bi

h]

]N

  • uJi

h = {uJi h} + c[

[Ji

h]

]N with c = |nu|/2.

u e Bh,left Bh,right

Figure: In the case the flux uBi

h will be uBi h,left.

With this Fluxes ⇒ Discrete Energy estimate.

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 16
slide-26
SLIDE 26

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

1D Model

∂tb + u∂xb − η∂xxb − β(∂xxtb + ∂x(u∂xxb)) = 0 in (0, 1). With boundary conditions b(0, t) = b(1, t) = 0, β∂xb(0, t) = gl(t) when v(0, t) > 0, β∂xb(1, t) = gr(t) when v(1, t) < 0. ⇒ Energy Estimate.

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 17
slide-27
SLIDE 27

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

Auxiliary variables ∂tb + u∂xb − η∂xj − β∂xe = 0 j = ∂xb e = ∂tj + u∂xj Build DG Formulation (as for the Vector Equation) Use Upwind fluxes for Advection Part. Use LDG fluxes for the diffusive part. Matrix Formulation (Semi-discrete). Eliminate Auxiliary Variables.

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 18
slide-28
SLIDE 28

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

(M − βW(b))bt = −(ηa0 + βa1)Qb + ηW(b)b + Z(c)b − ˜ Z(c)b Mass Matrix "Laplace Parts" "Advection Parts"

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 19
slide-29
SLIDE 29

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

(M − βW(b))bt = −(ηa0 + βa1)Qb + ηW(b)b + Z(c)b − ˜ Z(c)b Mass Matrix "Laplace Parts" "Advection Parts" Implicit-Explicit Time Discretization: (M − βW)bn+1 − bn ∆t = −(ηa0 + βa1)Qbn+1 + ηWbn+1 + Zbn − ˜ Zbn

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 19
slide-30
SLIDE 30

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

Choosing: a1 = a0

∆t

(M − (β + ∆tη)

  • :=γ

(W − a0Q))bn+1 = (M − βW + ∆t(Z − ˜ Z))bn ADG(γ) := M − γ(W − a0Q)

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 20
slide-31
SLIDE 31

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

Choosing: a1 = a0

∆t

(M − (β + ∆tη)

  • :=γ

(W − a0Q))bn+1 = (M − βW + ∆t(Z − ˜ Z))bn ADG(γ) := M − γ(W − a0Q) Solve ADG(γ)x = l ADG(γ) is the DG discretization of u − γ∂xxu. Use Conform Discretization (ACG(γ)) ⇒ Auxiliary Space Preconditioner.

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 20
slide-32
SLIDE 32

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

Fast Approximated Solution: Auxiliary Space

joint work with Ralf Hiptmair

Solve ADG(γ)x = l: x ← x0 for i ≤ Niter do x ← Smoother(x, ADG, l) r ← l − ADGx ρ ← P⊤r κ ← ACGκ = ρ x ← x + Pκ x ← Smoother(x, ADG, l) end for Auxiliary P Prolongation operator from Conform to Discontinuous Space.

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 21
slide-33
SLIDE 33

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

Numerical Tests

Advection: β = η = 0 b0(x) =

  • (1 − (4x2 − 1))4

0 ≤ x < 1/2 1/2 ≤ x ≤ 1 u(x) = c ⇒ b(x, t) = b0(x − ct), u(x) = cx ⇒ b(x, t) = b0(xe−ct). Heat Equation: β = u = 0. b(x, t) = e−π2ηt sin(π x) + 1 2e−4π2ηt sin(2π x) Advection Diffusion: β = 0 and u = c b(x, t) = e

c 2η x(e−λ1t sin(π x) + e−λ1t

2 sin(2π x) + e−λ1t 4 sin(3π x)). with λk = c2+4π2k2η2

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 22
slide-34
SLIDE 34

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

10

−4

10

−3

10

−2

10

−1

10

−8

10

−7

10

−6

10

−5

10

−4

10

−3

10

−2

10

−1

h Error in L2 norm Error Plot for beta=0 u=3/4, eta=0 u=log(2)x eta=0 u=0 eta=0.05 u=3/4 eta=0.05

Figure: Convergence plot for test problems, at time T = 1. The reference triangle has a slope of 2, i.e. convergence order of 2.

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 23
slide-35
SLIDE 35

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

Forced Solution: Solving ∂tb + u∂xb = η∂xxb + β(∂xxtb + ∂x(u∂xxb)) + f Choose f(x, t, β) so that b(x, t) = e

c 2η x(e−λ1t sin(π x) + e−λ1t

2 sin(2π x) + e−λ1t 4 sin(3π x)). with λk = c2+4π2k2η2

is solution.

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 24
slide-36
SLIDE 36

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

10

−4

10

−3

10

−2

10

−1

10

−6

10

−5

10

−4

10

−3

10

−2

10

−1

10 h Error in L2 norm Error Plot for Forced Problem u=3/4, eta=0.05, beta=0.01

Figure: Convergence plot for solution of Forced Problem at T = 1. The reference triangle has a slope of 2, i.e. convergence order of 2.

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 25
slide-37
SLIDE 37

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

Initial Data b0(x) =

  • 2e

−1 (1−(4x−2)2)

1/4 < x < 3/4 elsewhere.

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 Solution with u=3/4 eta=0.1 beta=0.0 x T=0 T=0.1 T=0.2

Figure: Solution for u = 3/4, η = 0.1 and β = 0.

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 26
slide-38
SLIDE 38

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 −0.1 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 Solution with u=3/4 eta=0.1 beta=0.02 x T=0 T=0.1 T=0.2 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 −0.1 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 Solution with u=3/4 eta=0.1 beta=0.002 x T=0 T=0.1 T=0.2

Figure: Solution for u = 3/4, η = 0.1. On the left β is 0.02 on the right 0.002.

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 27
slide-39
SLIDE 39

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

Preconditoner

2000 4000 6000 8000 10000 12000 14000 16000 18000 10

−4

10

−3

10

−2

10

−1

10 Preconditioner N Time [s] Direct Inversion Preconditioned

Figure: Time to obtain the solution for u = 3/4, η = 0.1, β = 0.02 and T = 0.2 with and without preconditioner.

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 28
slide-40
SLIDE 40

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

Conclusion

The solution of the induction equation with Hall term possesses an energy estimate . We can build a DG discretization which satisfies a similar estimate. ⇒ stability granted for exact-time evolution of the discrete system. We presented a1D Model based on the full equations.

Space-time Discretization was presented. Preconditioner for time evolution. Numerical Examples and Test.

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 29
slide-41
SLIDE 41

Outline MHD Theoretical Analysis Discontinuous Galerkin One Dimensional Model Numerical Examples Conclusion

Conclusion

The solution of the induction equation with Hall term possesses an energy estimate . We can build a DG discretization which satisfies a similar estimate. ⇒ stability granted for exact-time evolution of the discrete system. We presented a1D Model based on the full equations.

Space-time Discretization was presented. Preconditioner for time evolution. Numerical Examples and Test.

Thank You!

  • P. Corti

24-29th June 2012, Hyp 2012, Padova

  • p. 29