Three-dimensional Robust Solver for Parabolic Equation

15
Three-dimensional Three-dimensional Robust Solver for Robust Solver for Parabolic Equation Parabolic Equation Lanfa Wang 5.18.2011 Proposal in LCLS effort meeting

description

Three-dimensional Robust Solver for Parabolic Equation. Lanfa Wang. 5.18.2011 Proposal in LCLS effort meeting. Motivation. Parabolic equation has been solved in FEL , CSR , and Impedance calculations, etc. (Important for LCLS and LCLSII, etc). - PowerPoint PPT Presentation

Transcript of Three-dimensional Robust Solver for Parabolic Equation

Page 1: Three-dimensional Robust Solver for Parabolic Equation

Three-dimensional Three-dimensional Robust Solver for Robust Solver for

Parabolic EquationParabolic EquationLanfa Wang

5.18.2011

Proposal in LCLS effort meeting

Page 2: Three-dimensional Robust Solver for Parabolic Equation

MotivationMotivation Parabolic equation has been solved in FEL, CSR, and Impedance calculations, etc. (Important for LCLS

and LCLSII, etc). The present codes(solver) are limited for simple cases (geometry), or/and slow, and kind of 2D solver

(3D problem, z is treated like time) We propose to develop fast 3D parabolic solver for general cross-section of the beam pipe.

Page 3: Three-dimensional Robust Solver for Parabolic Equation

FEL (for example, Genesis by sven reiche)

FELFEL

Modeling challenges : EE-HG (D. Xiang and G. Stupakov, PR STAB 12, 030702 (2009) Large number of particles, CSR in Chicane

New numerical methods have to be applied to solve field equation

Page 4: Three-dimensional Robust Solver for Parabolic Equation

Genesis (boundary approximation) Genesis (boundary approximation)

Set the field ZERO out the domain of interest

Page 5: Three-dimensional Robust Solver for Parabolic Equation

CSRCSRCSR ( for example, CSR in bend magnet (Tomonori Agoh, Phys. Rev. ST Accel. Beams 7, 054403 (2004))

All this type of codes can only for rectangular cross-section!

•Agoh, PRSTAB 054403•Gennady, PRSTAB 104401•Demin, in preparation

Page 6: Three-dimensional Robust Solver for Parabolic Equation

Impedance calculation Impedance calculation Gennady Stupakov, New Journal of Physics 8 (2006) 280(mathematica code )

Axis ymmetric geometry

Page 7: Three-dimensional Robust Solver for Parabolic Equation

GENERALITYGENERALITY

IF We neglect the 1st term

Page 8: Three-dimensional Robust Solver for Parabolic Equation

Various Solver we have developedVarious Solver we have developedSolver for all modes in Disk-loaded Structures, NIMA, Vol. 481,

95(2002). (Traveling wave, all mode, meshless method)Solver for microwave element and accelerating structure

High Energy Physics &Nuclear Physics, 25 (2001)(2D)

Solver for Poisson Equation (2D,3D), PRSTAB 5, 124402 (2002)

Adaptive impedance Analysis of grooved surface (THPAS067 ,PAC07)

Two-dimensional FEM Code for Impedance Calculation (IPAC'10)

Page 9: Three-dimensional Robust Solver for Parabolic Equation

Fields in Disk-loaded StructuresFields in Disk-loaded Structures

Page 10: Three-dimensional Robust Solver for Parabolic Equation

Advantages of FEMAdvantages of FEMIrregular grids

Arbitrary geometryEasy to handle boundary

Page 11: Three-dimensional Robust Solver for Parabolic Equation

Impedance ofImpedance ofGrooved surfaceGrooved surface

Shape A

Shape B

Shape C

Rounded Tip

(b)

(THPAS067 ,PAC07)

Page 12: Three-dimensional Robust Solver for Parabolic Equation

Advantages of FEMAdvantages of FEMIrregular grids

Arbitrary geometryEasy to handle boundarySmall beam in a large domain (FEL in undulator)CPU (fast)Accuracy(higher order element, adaptive mesh, etc)

Disadvantage & Challenge:Disadvantage & Challenge: Complexity in coding (irregular grid, arbitrary geometry, 3D…)Time tables of milestones: (hard to predict) Time tables of milestones: (hard to predict) (1) coding---6 months (2)benchmark, application.

Deliverables :Deliverables : SLAC-pub, and maybe Journal paper

Page 13: Three-dimensional Robust Solver for Parabolic Equation

•Arbitrary geometry of beam pipe

•Any shape of beam

Mesh of chamber & beamMesh of chamber & beam

Page 14: Three-dimensional Robust Solver for Parabolic Equation

2D parabolic solver for 2D parabolic solver for Impedance calculation Impedance calculation

L. Wang, L. Lee, G. Stupakov, fast 2D solver (IPAC10)

0 200 400 600 800 1000-0.01

0

0.01

0.02

0.03

0.04

0.05

0.06

0.07

f (GHz)

ReZ

, Im

Z (

k)

Real, ECHO2Imaginary, ECHO2Real, FEM codeImaginary, FEM code

0 10 20 30 40 50 600

0.5

1

1.5

2

2.5

z (mm)

r (m

m)

0 200 400 600 800 1000-0.02

0

0.02

0.04

0.06

0.08

0.1

0.12

0.14

f (GHz)

ReZ

, Im

Z (

k)

Real, ECHO2-Imaginary, ECHO2

dot-lines: FEM code

0 2 4 6 8 100

0.1

0.2

0.3

0.4

0.5

z (cm)

r (c

m)

Page 15: Three-dimensional Robust Solver for Parabolic Equation

HIGHER ORDER ELEMENTSHIGHER ORDER ELEMENTS

Tetrahedron elements

1

9

8

7 10

2

5

6

3

4

10 nodes, quadratic:

1

13 12

7

15

2

9

6 3

4

5

8

10

11

14

16

17

18

195

20

20 nodes, cubic:

z

x

y

i

j

l

k

1 =

4 =

2 =

3 =

=0

=1

=1

=constant

P

Q

4 nodes, linear: