+ All Categories
Home > Documents > PDE2D GUI Example 1

PDE2D GUI Example 1

Date post: 16-Oct-2021
Category:
Upload: others
View: 0 times
Download: 2 times
Share this document with a friend
27
PDE2D GUI Example 1 Problem solved is eigenvalue problem Q xx + Q yy + Q zz - Q/ x 2 + y 2 + z 2 = λQ in half of a torus, with Q = 0 on the curved surface of the torus and at one flat end of the torus, and dQ/dn+Q = 0, where dQ/dn is the normal derivative of Q, at the other flat end. We ask to find the eigenvalue closest to -1.15. The parametric equations for the torus used are the usual toroidal equations: X = (R0+ P 3 * COS (P 2)) * COS (P 1) Y = (R0+ P 3 * COS (P 2)) * SIN (P 1) Z = P 3 * SIN (P 2) where P 1 is the toroidal angle, P 2 is the poloidal angle and P 3 is the radius (distance from centerline of torus). 1
Transcript
Page 1: PDE2D GUI Example 1

PDE2D GUI Example 1

Problem solved is eigenvalue problem

Qxx + Qyy + Qzz − Q/√

x2 + y2 + z2 = λQ

in half of a torus, with Q = 0 on the curved surface of the

torus and at one flat end of the torus, and dQ/dn+Q = 0,where dQ/dn is the normal derivative of Q, at the other

flat end.

We ask to find the eigenvalue closest to −1.15.

The parametric equations for the torus used are the

usual toroidal equations:

X = (R0 + P3 ∗ COS(P2)) ∗ COS(P1)

Y = (R0 + P3 ∗ COS(P2)) ∗ SIN(P1)

Z = P3 ∗ SIN(P2)

where P1 is the toroidal angle, P2 is the poloidal angle

and P3 is the radius (distance from centerline of torus).

1

Page 2: PDE2D GUI Example 1

2

Page 3: PDE2D GUI Example 1

3

Page 4: PDE2D GUI Example 1

4

Page 5: PDE2D GUI Example 1

5

Page 6: PDE2D GUI Example 1

6

Page 7: PDE2D GUI Example 1

7

Page 8: PDE2D GUI Example 1

8

Page 9: PDE2D GUI Example 1

9

Page 10: PDE2D GUI Example 1

10

Page 11: PDE2D GUI Example 1

11

Page 12: PDE2D GUI Example 1

12

Page 13: PDE2D GUI Example 1

13

Page 14: PDE2D GUI Example 1

14

Page 15: PDE2D GUI Example 1

15

Page 16: PDE2D GUI Example 1

16

Page 17: PDE2D GUI Example 1

17

Page 18: PDE2D GUI Example 1

18

Page 19: PDE2D GUI Example 1

Eigenvalue output was λ = −1.1375MATLAB plots of FEM and output grids are drawn below, then MATLABgraphs (of eigenfunction) at several P3=constant cross-sections are shown onthe following pages. Finally PDE2D graphs at the first two P1=constant cross-sections are shown.

−50

5

02

46

8

−4

−2

0

2

4

X

Finite element grid

Y

Z

19

Page 20: PDE2D GUI Example 1

−50

5

02

46

8

−4

−2

0

2

4

X

Output grid

Y

Z

20

Page 21: PDE2D GUI Example 1

−50

5

02

46

8

−4

−2

0

2

4

X

T = 25, P3 = 0.8

Y

Z

−1

−0.8

−0.6

−0.4

−0.2

0

0.2

0.4

0.6

0.8

1

21

Page 22: PDE2D GUI Example 1

−50

5

02

46

8

−4

−2

0

2

4

X

T = 25, P3 = 1.6

Y

Z

−1

−0.8

−0.6

−0.4

−0.2

0

0.2

0.4

0.6

0.8

1

22

Page 23: PDE2D GUI Example 1

−50

5

02

46

8

−4

−2

0

2

4

X

T = 25, P3 = 2.4

Y

Z

−1

−0.8

−0.6

−0.4

−0.2

0

0.2

0.4

0.6

0.8

1

23

Page 24: PDE2D GUI Example 1

−50

5

02

46

8

−4

−2

0

2

4

X

T = 25, P3 = 3.2

Y

Z

−1

−0.8

−0.6

−0.4

−0.2

0

0.2

0.4

0.6

0.8

1

24

Page 25: PDE2D GUI Example 1

−50

5

02

46

8

−4

−2

0

2

4

X

T = 25, P3 = 4

Y

Z

−1

−0.8

−0.6

−0.4

−0.2

0

0.2

0.4

0.6

0.8

1

25

Page 26: PDE2D GUI Example 1

26

Page 27: PDE2D GUI Example 1

27


Recommended