nasa technical note nasa tn€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method...

59
----- . ~... ...A -. . NASA TECHNICAL NOTE NASA TN D-6438 e,/ - -2 - -0 NUMERICAL METHOD AND FORTRAN PROGRAM FOR SOLVING POISSON'S EQUATION OVER AXISYMMETRIC REGIONS OF A SPHERE by Oliver W, Reese =-' c _" Lewis Research Center Cleveland, Ohio 44135 NATIONAL AERONAUTICS AND SPACE ADMINISTRATION WASHINGTON, D. C. JULY 1971 https://ntrs.nasa.gov/search.jsp?R=19710021789 2020-05-01T09:22:08+00:00Z

Upload: others

Post on 30-Apr-2020

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

-----

. ~... ...A -. .

NASA TECHNICAL NOTE NASA TN D-6438 e , /

-- 2­- 0

NUMERICAL METHOD AND FORTRAN PROGRAM FOR SOLVING POISSON'S EQUATION OVER AXISYMMETRIC REGIONS OF A SPHERE

by Oliver W, Reese =-' c _"

Lewis Research Center Cleveland, Ohio 44135

NATIONAL AERONAUTICS A N D SPACE ADMINISTRATION WASHINGTON, D. C. JULY 1971

https://ntrs.nasa.gov/search.jsp?R=19710021789 2020-05-01T09:22:08+00:00Z

Page 2: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

TECH LIBRARY KAFB, NM

llllllllllllllllllllllllllllllllllllllllill .I 1. Report No. I 2. Government Accession No. 3. Recipient 5 .. 0332942

1- NASA TN D-6438 I 1I

4. Title and Subtitle 5. Report Da& NUMERICAL METHOD AND FORTRAN PROGRAM FOR July 1971 SOLVING POISSON'S EQUATION OVER AXISYMMETRIC 6. Performing Organization Code

REGIONS OF A SPHERE ­7. Abthor(s) 8. Performing Organization Report NO.

Oliver W. Reese E-6121 10. Work Unit No.~ ~~

9. Performing Organization Name and Address 129-04 Lewis Research Center 11. Contract or Grant No. National Aeronautics and Space Administration Cleveland, Ohio 44135 13. Type of Report and Period Covered

12. Sponsoring Agency Name and Address Technical Note National Aeronautics and Space Administration 14:Sponsoring Agency Code

Washington, D. C. 20546 15. Supplementary Notes

~~

16. Abstract

This report describes a numerical method and FORTRAN program for solving Poisson's equation with a specified source te rm, in axisymmetric regions of a sphere bounded by the spherical coordinates r 5 1, 0 5 e o < 0 5 IT. Irregular mesh spacing is allowed in both the r and 0 directions, and the associated mat r ix equation is solved by a direct (noniter­ative) method. Fo r a mesh with a maximum allowable number of 376 points, the program returns a solution in 6 to 7 seconds (IBM DCS 7094/7044 computer) and requires approxi­

17. Key Words (Suggested by Authods) 1 18. Distribution Statement

Unclassified - unlimited

19. Security Classif. (of this report) 20. Security Classif. (of this page) 121. NO. of Pages 22. Price'i Unclassified I .-Unclassified ~ 57 I $3.00

f

,

For sale by the National Technical Information Service, Springfield, Virginia 22151

Page 3: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

NUMERICAL METHOD AND FORTRAN PROGRAM FOR SOLVING POISSON'S

EQUATION OVER AXISYMMETRIC REGIONS OF A SPHERE

by Ol iver W. Reese

Lewis Research Center

SUMMARY

This report describes a numerical method and FORTRAN program for solving Poisson's equation in axisymmetric regions of a sphere. The associated matrix equa­tion is solved by a direct (noniterative) method. Two geometries are considered:

(1)A full sphere with boundary values specified on the surface only. (2) A spherical cone with additional boundary values specified on the conical surface

and, optionally, along the interior negative polar axis. In developing the numerical method, a curvilinear cell is used at each mesh point to

derive the finite difference equation. The points a r e then ordered s o as to produce a block tridiagonal symmetric matrix when the difference equation is written at all points. Finally, the particular properties of this matrix are used to write an algorithm from which the computer program is produced.

The program will accept various combinations of boundary conditions and spherical shapes. Irregular mesh spacing is permitted in both the r and 0 directions. The program is very easy to use and general enough to be used as a "black box" where the solution to Poisson's equation is needed in spherical regions. The numerical method is also general enough for easy extension to other types of equations and other geom­etries.

INTRODUCTlON

In designing a multielectrode spherical collector for r tube,microwave amplifi part of the problem required the solution to Poisson's equation for the electric potential distribution in the collector. This report describes the numerical method and the asso­ciated FORTRAN computer program for solving this equation in axisymmetric regions of a sphere. Two geometries are considered:

Page 4: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

(1) A full sphere with boundary values prescribed on the surface only. (2) A spherical cone, where additional boundary values a r e prescribed on the coni­

cal surface and, optionally, along the interior negative polar axis. These two shapes are illustrated in figure 1.

The following approach was used in developing the numerical method. First, a curvilinear cell was used at each mesh point to derive a finite difference analog to Poisson's equation. Next, the mesh points were ordered in such a manner as to produce

(a) Full sphere. (b) Spherical cone, eo < e <T.

Figure 1. - Spherical geometries considered.

a block tridiagonal symmetric matrix when the finite difference equation was written at all points in the region. Finally, the particular properties of this type of matrix were used advantageously to produce a fast, efficient, and compact computer program. A direct rather than iterative method is particularly desirable in this problem since the program is used iteratively as a subroutine by a much larger calling program. This calling program continually calculates and feeds the source term used by the subroutine.

The program is flexible in two ways: (1)It will accept various combinations of boundary conditions and spherical shapes.

This feature was needed to determine the optimum design for ar, efficient collector. (2) Irregular mesh spacing is permitted in both the r and 0 directions. This

flexibility is necessary since the solution of the problem described was nonuniform in character. There were regions where it varied slowly and regions where it varied rapidly. The a rea of particular interest in this study was immediately adjacent to and along the negative polar axis where the electron beam was entering the collector. Here, a relatively small mesh spacing was required to obtain the solution in sufficient detail. Since the use of such a small mesh throughout the entire region would be wasteful, both of computer storage and execution time, an irregular mesh of increasing coarseness in both directions was used in moving away from this axial region. Such gradation was

2

Page 5: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

also desirable in maintaining a reasonably smooth transition from mesh point to mesh point in the solution.

In addition to the features just described, the program is easy to use and general enough to recommend it for use as a black box in any situation where the solution to Poisson’s equation is needed in spherical regions.

The numerical method is also general enough for easy extension to other geometries and equations where a fast, compact program is needed.

The report first explains the numerical method by discussing the derivation of the finite difference equation, the mesh point ordering, the generation of the tridiagonal block matrix, and the development of the algorithm used.

Finally, a general description of the FORTRAN computer program is given together with instructions on its use. The appendixes show such details as listing of the FOR­TRAN program, the results of sample problem execution, the flow charts, the FORTRAN symbol list.

SYMBOLS

(All quantities a r e dimensionless unless otherwise specified. )

M -n

r

Ar, h e , A @ -r

‘1”4

rl S

tridiagonal elements of M

element of a r ea

element of volume

coefficient of source term in Poisson’s equation

source term in Poisson’s equation

column vectors

left, right, top, bottom, and central coefficients of the unknown at any general mesh point

block diagonal matrix

outward unit normal

radius vector in spherical coordinates

incremental change in spherical coordinates

average value of r

radius vector at midpoint of faces 1 and 4 of curvilinear cube

unit radius vector in spherical coordinates

total surface of curvilinear cube

3

Page 6: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

Sr, So, S@

ASr, ASg, ASd

U

V

E

$ -c

$1

P

Subscripts:

i

m

n

faces of curvilinear cube pierced by r, 0, and @ axes, respectively

areas of faces of curvilinear cube pierced by the r, 8, and $ axes, respectively

a reas of faces 1and 4 of curvilinear cube

areas of faces 2 and 5 of curvilinear cube

electric potential, V

partial derivatives of u with respect to r , 9, and q5

a2u/ar2

a2u/ae2

gradient of u taken at midpoint of faces 1and 4 of curvilinear cube

gradient of u taken at midpoint of faces 2 and 5 of curvilinear cube

volume

matr ices

dielectric constant, F/M

azimuthal angle in polar coordinates

unit q5 vector in spherical coordinates

volume charge density, C/m 3

polar angle in spherical coordinates

average value of 8

unit 8 vector in spherical coordinates

average values of 8 at midpoint curvilinear cube faces 2 and 5

vector differential operator

Laplacian operator

ith ring

jth (8= constant) ray

upper limit of i

upper limit of j

order of block tridiagonal matrix

4

Page 7: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

STATEMENT OF PROBLEM

The electric potential u satisfies Poisson's equation

v2u = - P E

where p is the space charge density and E is the dielectric constant or permitivity. In spherical coordinates equation (1) is written

2i a 1 a u p- = - ­

r2 ar r2 sin 0 ae

o r

ar2 r ar .2 ae2 ae r2 sin2e a+2 E

Azimuthal symmetry is assumed in this problem (&/a$ = 0); therefore, the fifth term vanishes. The particular regions of interest are bounded by the coordinates r 5 1

(a) Case I; f u l l sphere (�Io = 0). Boundary values are specified o n spherical surface only.

'-Spherical surface

surface-. i--. -

IJI

-0.-!-Negative 0polaraxis-, .

(b) Case 11; spherical segment (�Io k 0). Boundary values are specified on spherical surface, and on conical surface (On = constant).

(c) Case 111; spherical segment (�Io / 0) wi th axial boundary values. Boundary vslues are specified on spherical surface, on conical surface (�I - constant), and o n negative polar axis%-= n i i n e ) .

Figure 2. -Th ree spherical configurations for wh ich solut ion can be ob­tained. Right ha l f of r - 0 plane shown only. Boundary condit ions are indicated by solid lines.

5

I

Page 8: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

and 0 5 eo < 8 5 7c. These regions a r e shown in figure 2 and are described as follows: Case I ( 0 , = 0): The volume is a full sphere and boundary conditions a r e prescribed

on the surface only. Case II ( B o f 0): The volume is a spherical segment, and additional boundary values

a r e specified on the conical surface ( B o = constant). Case III: This case is identical to case II, with the additional option of specifying

boundary values along the negative polar axis (0 = T). Maximum allowable r - B mesh s ize is 15 by 25. Mesh s ize and spacing is chosen by the user .

The mesh for the full sphere configuration was composed of (1) one center point, 15 interior r = constant rings, and the outer or surface boundary ring; (2) twenty-five 8 = constant lines.

METHOD OF SOLUTION

Of the various methods known for solving this type problem, the one presented here requires the least computing time and storage.

These advantages a r e a consequence of ordering the mesh points in such a way as to produce a block tridiagonal matrix. Thc particular properties of this matrix are then used to develop a direct (noniterative) solution.

Der iva t ion of F i n i t e D i f fe rence Equat ion

We will now derive the finite difference equation for a general interior point by applying Gauss' divergence theorem to Poisson's equation in the cell. The resulting derivatives a r e then approximated by using a linear combination of each mesh point and its four neighbors.

Poisson's equation

2V u = f

may be written for any volume V such that

L V 2 u dV = ifdV (4)

6

I

Page 9: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

By the divergence theorem

where n' is the outward unit normal and S is the surface of V. Equation (4) may now be rewritten as

Now consider a typical mesh point in spherical coordinates (r, 8, @)enclosed by an

Figure 3. - Curv i l inear element of volume in spherical coordi­nates.

element of volume as shown in figure 3. The surface of this cell is made up of three parts Sr + Se + S@' where Sr denotes left and right faces 1and 4, Se denotes top and bottom faces 2 and 5, S@ denotes front and rear faces 3 and 6. The a rea formulas of these faces and the volume of the element a r e then

7

Page 10: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

ASe = r s in 8 A r A +

AS$ = rA r A0

dV = (r sin e A$)(r ae ) ( a r )t = r 2 s in 6 A r A0 A$

Equation (6) may now be approximated by the volume bounded by this cell in the following manner :

1 - 1 -V U = ~ ' U + - B U ' e + r s in e @P@l r r

0 -where Fl, e l , and G1 are unit vectors in spherical coordinates. Therefore,

r- ur on face 1

+ ur on face 4

ue- -on face 2 r

u0n - V u = + -on face 5 r

uq on face 3

t uq on face 6 r s in 8

The @ t e rms in expressions (8) and (9) will be neglected since u @ =

0 in this problem.

8

Page 11: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

--

The following t e rms are now defined:

= rl2 sin 0 A0 A @ = area of face 1

2 Asr = r4 sin e ~0 A @ = area of face 4

AS = r sin Q2 A r A $ = area of face 2 O2

ASe5 = r sin O5 A r A @ = area of face 5

Substituting equations (8) and (9) into equation (6),we obtain

1 ur4ASr4- UrlASrl+ y U~~~~e~ - ;1Ue2ASe2 = f * dV

where

u 'I - araulr=rlj

Figure 4 shows that the area approximations in equation (11)may be improved by using the actual dimensions of the cell.

9

Page 12: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

-2

Figure 4. -Typical portions of mesh arrangement in r - 0 plane. Heavy l ines represent f ront face of curv i l inear element of volume enclosing mesh points. (1i i I 5 l l j l m ) .

-ri (sinS.+ sin Sj-l)(Sj- e jUl)h@ AS = J '4 2

where

10

Page 13: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

- -

- -

-

Similarly, the element of volume as originally expressed in equation (7)may now be refined as

dV = (ri - ri-l - ej-l) + Fi(gj ­

2

- ­r. sin e. + Ti s in ej-l + ri-l s in e.

J + riql s in

b 1

XI; J 4

Also, the four derivatives in equation (11)may be expressed as

- ('i+l, j - ui,j ) Ur4 Ar

Finally, by substituting equations (13a), (13b), and (13c) in equation (11)and divid­ing through by A @ , we obtain the finite difference equation for the typical interior mesh point.

11

Page 14: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

,..

(r. sin e . 3

+ ri sin ej-!_+ ri- l sin e . + r. sin ej--l\ - fx 1 . _ _ _ . J - 2 -1 . .\ 4

where

and where

f , - P E

Reformulation of Finite Difference Equation

To simplify these expressions, we now use the following notation. Let

12

Page 15: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

- - - -

-

= (ri - ri-l) (ri s in 0.J + rimlsin S.)

B. J 1, j (2ri A e . )J

1 4 1

where

Substituting these expressions in equation (14a)then yields

13

Page 16: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

Finally,

* + Li,ju i - l , J. + Ri , j.u.i+1,j + Ti,j'i, j - 1 + Bi,j'i, j + l =F.D.1,J.u.1 7 1 i , j.f (18a)

where

These L, R, T, B, and D expressions refer to the coefficients associated with any set of left, right, top, bottom and central mesh points as shown in figure 5. Be­cause of this point configuration, equation (18a) is called a five-point formula. This

Figure 5. - Five-point mesh configuration

equation is valid for all points except those on the polar axis. We will now discuss these exceptions by considering three special conditions; (1)the center point, (2) points on the 8 = 0 positive polar axis, and (3) points on the 8 = IT negative polar axis.

(1)Center point (i = 1, 1 5 j 5 m): In this case the cell simply becomes a sphere; and equation (18a) uses D- and R-coefficients only and becomes

-(2) Points on the 8 = 0 axis (2 5 i 7 1-1, j = 1): Setting eo = el, equation (18a)

reduces to

14

Page 17: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

Di, lUi,1+ Li, lUi-1,1+ Ri,lUi+l,1 + 2Bi, lUi,2 -- Fi, 1 f (19b)

(3) Points on the f3 = IT axis (2 5 i 5 1-1, j = m): With = Om, equation (18a) reduces to

-Di,mui, m + Li,mui- I, m + Ri,mUi+l, m + 2Ti,mui, m-1 - Fi,m - f (19c)

Notice that in the last two cases, the cell becomes the frustum of a spherical cone. Summarizing then, for each interior mesh point (ri, 8.) where u.

1, j is unknown, the

Jfinite difference expression is derived in t e rms of its four adjacent mesh points. Notice that three kinds of cells were used:

(1)The curvilinear cube enclosing all mesh points interior to the sphere but not on the axis,

(2) The sphere enclosing the center point, (3) The frustum of a spherical cone enclosing all axial points except the central

point.

Ordering of Mesh Points

In this section we will explore how the ordering of mesh points affects the form of the coefficient matrix. Let us consider first case I, the full sphere configuration. There are two natural ways of point ordering, ring by ring o r r a y by ray . Both methods a r e shown below in figure 6 for a 35-point sample (5 r - r ings and 7 8-rays).

29 5

22 4

15 3

a 2

1 1

0 32 0 M

7 31

14 32

21 33

28 34

35 35

(a) Ring-by-r ing ordering. (b) Ray-by-ray ordering,

Figure 6. - Example of mesh point ordering.

15

Page 18: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

The ring-by-ring ordering shown in figure 4 has considerable advantages. At mesh point 0, equation (19a) would use points 0, 1, 2, . ..., 7. At mesh point 1, equation (19b) would use points 0, 8, 2, and 1for the L, R, B, and D coefficients, respectively. Sim­ilarly, for mesh point 2, equation (18a) would use points 0, 9, 1, 3, and 2 for the L, R, T, Byand D coefficients, respectively. This method is then continued for points 3 to 6. For mesh point 7, equation (19c) would use points 0, 6, 7, and 14. This process is then continued clockwise and outward for each ring until the finite difference equation is written at all mesh points. The resultant coefficient matrix is shown in figure 7. Note

1 2 3 4 5 6 7 12 8 1 2 3 9

2 3 4 10 3 4 5 11 0

4 5 6 12 5 6 7

6 -7 14 1 8 9 15

Row 10 2 8 9 10 16 3 9 10 11 17

4 10 11 12 18 5 11 12 l3 19

6 12 13 14 20 7 13 14 21

8 I 5 16 22 9 15 16 17 23

10 16 17 18 24 11 17 18 19 25

12 18 19 20 26 13 19 20 21 27

14 20 21 2E 15 22 23

16 22 23 24 0 17 23 24 25

18 24 25 26 19 25 26 27

20 26 27 28 21 27 28

Figure 7. - Example of block tridiagonal coefficient matr ix resul t ing from applying the five-point f in i te difference equation at each i n t e r i o r mesh point of t h e f u l l sphere configuration. Note that t he diagonal blocks are tr idiagonal matrices, and the off-diagonal blocks are simply diagonal matrices. Circled numbers represent coeffi­cients of t he surface boundary values. (The elements of any par t icu lar row are formed by L . . . TDB . . . R coefficients. For example, t h e elements of row 10 ( 2 , . . 8, 9, 10 . . . 16) are formed by t h e left, top, central, bottom and r i g h t coefficients associated wi th mesh point 9 in fig. 4).

that the partitioning of the rows and columns of the matrix in a 1, 7 , 7 , 7, 7 fashion resul ts in nonzero elements lying in blocks that a r e zero except for the diagonal blocks, the superdiagonal blocks, and the subdiagonal blocks. We define this matrix as "block tridiagonal. ''

The other method of point ordering (ray-by-ray) shown in figure 6 would not yield a matrix with th i s block tridiagonal property. This is illustrated in figure 8. In a s im­

16

Page 19: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

21 26

0 31

7 32

14

21

28

35 w34 Figure 9. - Example of order ing

of mesh points for spherical segment (cases I1 and 111) Boundary values are speci­fied on the spherical surface by points 29 t o 35 and on t h e conical surface (9, = constant surface) by points 0, 1, 8, 15, 22, and 29. Optional boundary values o n t h e negative polar axis (9 = x l i ne) are specified by points 0, 7, 14, 2 1 28, and 35.

Figure 8. - Coefficient matr ix resu l t ing f rom improper choice of mesh point ordering. Notice t h e ou t r id ing coefficients in row 1 and co lumn 1. Circled numbers represent coefficients of mr face boundary values.

6 9 10 11 17

10 11 12 18 11 12 13 19

12 13 1 20 2

6 17 6 17 18

17 18 19 ia 19 20

19 20 2 202

6 17 23 24 25

ia 24 25 26 19 25 26 27

20 26 27 28 2

Figure 10. - Example of block tridiagonal coefficient matr ix generated from the mesh points of t h e unknowns in t h e spherical segment configuration. Circ led numbers repre­sent coefficients for t h e boundary values.

17

Page 20: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

2 3 9 2 3 4 10

3 4 5 11 4 5 6

5 6 2

3 9 10 11 4 10 1112

5 1112 13 6 12 13 4

10 11

12 13

7118

19 20

16 17 16 17 18

17 18 19 25

16 17 23 24 25

Figure 11. - Example of block tr idiagonal coefficient matrix resul t ing from applying f in i te dif ference equation to mesh points of each unknown in example of spherical segment wi th axial values. Circled points represent coefficients for boundary values.

ilar fashion, the point ordering and matrix generation for cases 11and 111a r e shown in figures 9 to 11. Note that the block tridiagonal property pers is ts throughout, the only change being that of a decrease in the order of the matr ices as one moves from case to case.

Generation of Coefficient Matrix

We have just shown with a small sample mesh how proper ordering of points is nec­essary for the formation of the block tridiagonal matrix.

The corresponding coefficient matrix associated with case I, the full sphere config­uration, will now be examined. Here, ring-by-ring ordering of the 15 by 25 r-e mesh points yields a block tridiagonal matrix whose nonzero elements all lie in a band of width 51 around the principal diagonal. This was shown previously in figure 7.

It is possible at this time to write the matrix equation and, using an algorithm of the type given in reference 1, to obtain a solution. But this would necessitate working with a matrix requiring 19 125 storages (51 by 375). But, when a coefficient matrix exhibits the tridiagonal block property and, in addition, has off-diagonal blocks that are in themselves diagonal, then a modification of the algorithm enables one to solve the matrix equation at a considerable savings in storage. One needs to s tore only the in­verse of the block matr ices associated with the principal diagonal blocks. For the pre­sent mesh size, this would require only 9375 storages (15 by 625).

18

Page 21: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

Note also that the matr ix is symmetrical. This is clearly shown by figure 7 and equation (15) where

-Li+l,j - Ri,j

and

-Ti,j + l - Bi,j

'From this property we may now write

Ai+l = C i

where the A's and C's a r e block matrices as defined in equation (20). In this problem the five-point stencil previously shown in figure 5 produces a set of

matrix equations MZ = K, where matrix M is block tridiagonal of the form

and

lo

K =

, .

K1

K2

Kn

whose elements a r e matrices. Note that the A's and C's tridiagonal symmetric, and K is simply a column vector.

a r e diagonal, the B's a r e

Developm ent of Algo rithm

The matrix equation can be solved directly by using the algorithm of reference 1.

19

Page 22: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

Matrices W1, W2, ..., Wn-l are calculated from

W1= B i l C 1

-1Wi = (Bi - AiWi-l) Ci 2 i 5 (n-1) 1

Vectors G1, G2, ...., Gn are calculated from

G~ = B ; ~ K ~ 1 Gi = (Bi - AiWi-l)-l(Ki - AiGi-1)

Then the vector components Zi of the solution of MZ = K are given recursively by

Zn = Gn

The algorithm may be modified as follows. Rewrite equation (21a) as

(Bi - AiWi-l)-l = Wicl 1

Now define

vi = wici-1

then

Wi- 1 = Vi- 1Ci-1

Since by symmetry Ai = Ci-l , this may be rewritten as

wi-l = V.1-1Ai

By definition Vi = (Bi - AiWi-l)-l, then

v.1 = ( B ~- A ~ v ~ - ~ A ~ ) - ~

20

Page 23: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

Using equation (22e), the algorithm may now be rewritten as

V1 = Bi l 7

G1 = BilK1 (Unchanged) IGi = Vi(% - AiGi-l)

Zn = Gn (Unchanged)

Z.1

= G.i

- ViAi+lZi+l (n-1) 2 i 2 1

Notice that two multiplication operations have been eliminated, one in the calculation of Vi, and one in the calculation of Gi. For the full sphere, B1 is a scalar , and A2 is an NT by 1 column matrix (L-coefficients of innermost ring). The Vi a r e full and symmetric, and these are all that must be stored (15 by 625 storages).

The following section describes the FORTRAN program writtep from the algorithm just developed.

THE FORTRAN PROGRAM

General Desc ription

The program consists of nine subroutines: (1)POISS1 - generates r and mesh a r r ays and sets all switches required by

the spherical geometry specified. (2) SPHERl - generates all coefficient matrices required for case I, the full

sphere configuration. (3) SPHER2 - uses the algorithm to calculate the solution for case I. (4) SEG1 - generates all coefficient matrices required for either the case 11

or case IU configuration (5)SEG2 - uses the algorithm to calculate the solution for either case 11or

case III. (6) FACTOR - performs matr ix factorization before calculating inverses.

2 1'

Page 24: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

(7) INVERT - performs matrix inversions. (8) AE - calculates coefficients associated with each interior mesh point. (9) FE - calculates coefficients associated with each value of the source

term ar ray . The FORTRAN program is listed in appendix B and flow charts in appendix D. All

FORTRAN symbols used are defined in appendix C. The program will re turn a solution in about 6 or 7 seconds and requires approximately 10 000 storages.

Using the Program

Using the subroutine is easy. First, the appropriate quantities are stored in

AVS (logical constant), NR, NT, X1, RA(NR), TA(NT), and X(NT, NR-1)

Subroutine POISS1 is called. Then subroutine POISS2 is called, and the solution is re ­turned in the X-array. This procedure will now be described in detail.

Regardless of which case is being run, the main calling program must contain the following COMMON card

COMMON/BLOCKl/NR, NT, RA(17), TA(25), X(25,16), X1, AVS

and the following definitions:

NR number of r mesh lines, including the center point (maximum value, 17)

NT number of 8 mesh lines (maximum value, 25)

W I R ) r mesh values, 1 5 IR 5 NR (note that RA(1) = 0)

TA(1T) 8 mesh values, 1 5 IT 5 NT (note that TA(NT) = IT)

X(IT, NR-1) surface boundary values, 1 5 IT P NT

In addition, the main calling program must provide the following data: Case I, 8 = 0 (full sphere configuration): Load space charge te rms into X(IT, IR), 1 5 IT 5 NT, 1 5 IR 5 NR-2

Call POISSl then pOISS2. The solution is then returned in the X-array. Case 11, 8 f 0 (spherical cone; no axial values):

(a) Load center point value into X1. (b) Load additional boundary values from the conical surface (8 = constant) into

X(1,IR) (1 5 IR 5 NR-2).

22

Page 25: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

(c) Load space charge t e rms into X(IT, IR)(2 5 IT 1NT; 1 5 IR 5 NR-2). (d) Set AVS to false.

Call POISS1, then POISS2. The solution is then returned in the X-array. Case 111, 0 # 0 (spherical cone with axial values):

(a)Load center point value into X1 (b) Load additional boundary values from the conical surface (0 = constant) into

X(1,IR) (1 5 IR 5 NR-2). (c) Load axial boundary values into X(NT,IR) (1 5 IR r NR-2). (d) Load space charge t e r m s into X(IT,IR) (2 5 IT P NT-1, 1 5 IR 5 NR-2). (e)Set AVS to true.

Call POISS1, then POISS2. The solution is then returned in the X-array. Note that in all cases the solution is returned in the X-array, but the boundary values remain undis­turbed. When repeated solutions a r e sought for the same mesh but for different space charge terms, POISS1 need be called only once.

A sample test run is given in appendix A which illustrates the running of each of the three cases described.

CONCLUDING REMARKS

We have described a numerical method and computer program for solving Poisson's equation in axisymmetric regions of a sphere of two geometries:

(1)A full sphere with boundary values on the surface only (2) A spherical cone with additional boundary values on the conical surface, and,

optionally, along the negative polar axis. In developing the numerical method, a curvilinear cell was used at each mesh point

to derive the finite difference analog to Poisson's equation. The mesh points were then ordered in such a manner so as to produce a block tridiagonal symmetric coefficient matrix. The particular properties of th i s type of matrix were then used to write an algorithm from which a computer program was developed. The program uses a direct, noniterative solution and requires minimal storage of the requisite matrices.

Two types of flexibility were built into the program: variable spherical geometry and irregular mesh spacing in two directions.

It should be noted that the cell approach presents a simple way to avoid numerical difficulties in regions where singularities might be present. For example, in this prob­lem such a region would be along the polar axis. The numerical method is also general enough for easy extension to other equations and other geometries.

The program is easy to use and general enough to be used as a black box in any situation where a solution to Poisson's equation is needed in spherical regions.

23

Page 26: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

1111 I I I I l l I

For a mesh with a maximum allowable number of 376 points, the program returns a solution in 6 to 7 seconds (IBM DCS 7094/7044 computer) and requires an approximately 10 000-word storage.

Lewis Research Center, National Aeronautics and Space Administration,

Cleveland, Ohio, April 14, 1971, 129-04.

24

Page 27: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

APPENDIX A

SAMPLE PROBLEM

A potential distribution was assumed to be of the form

u = r3 COS e

Therefore,

ur = 3r cos e2urr = 6r COS e

ue = -r3 sin 8

lt Substituting these quantities into equation (2a), the expression for the right- hand

side is obtained:

6r COS e + -3r 2 COS e + -1 (-r3 cos e) + ­2 cot e (-r3 s in 6 ) = lor COS e (A3) r r2 r2

For all three cases, NR = 17,NT = 25, and the RA a r r a y was 0, 0.2,0.3,0.39,0.48, 0.56,0.63,0.70,0.76,0. 81, 0. 86,0.90,0.93,0.96,0.98,0.99,and 1.00.

The TA a r r a y varied for all three cases in the following manner: Case I.(O0 = 0') - TA = 0, 14,28, 41,54,66,77, 88,98,108,117,125, 133, 140,

147, 153, 158,163, 167,171,174,176, 178, 179, 180. Case II (eo = 45') - TA = 45, 56,66,76,86,95,103, 111, 119,126,133, 139,145,

150,155, 160, 164,168,171,174,176,177, 178, 179, 180. Case I11 (eo = 60') - TA = 60, 70, 79, 88,96,104, 112, 119, 126,132, 138,144,

149, 154,158,162, 166,169,172,174, 176,177,178, 179,180. Once these values are stored, the values on the right-hand side are calculated from equation (A3)and stored in X(IT, NR-1)(where IT = 1,2,.....,25 and NR = 2,3,... . , 16). The following sets of boundary values are now calculated from equation (Al). For cases I, 11, and 111, the surface boundary values (r = 1)are calculated and stored in X(IT, 16)(where IT = 1,2,... ., 25). For cases 11 and 111, the conical surface

25

Page 28: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

(0 = constant) boundary values a r e calculated and stored in X(l, IR) (where IR = 1,2, .. , 16). For case 111only, the negative afial (0 = r ) boundary values a r e calculated and stored in X(25, IR) (where IR = 1 ,2 , . . .., 16).

POISS1 is then called, followed by the final call, POISS2. The exact answers are calculated using equation (Al) and compared with those calculated by the subroutine. These residuals a r e a lso printed out for each case. Note that the largest residuals occur in those a reas where the mesh spacing is coarsest .

The FORTRAN program and output follow:

S I R F T C T E S T

C O M Y O N / B L O C K l / N R , N T r R A ( 1 I ) 9 T A ( 2 5 1 9 X ( 25 9 16 1 9 X 1t A V S L O G I C A L A V S NAME! L I S T / D A T A / T A * R A I N R I N T

C 14 F O R M A T ( 1 X 9 F 6 . 2 9 16F7.2) 1 5 F O R M A T ( 6 H T t i E T A , 3 X v 1 6 ( F 5 . 3 r Z X ) 1 1 6 F O R Y A T ( l l H l R E S I D U A L S - 1 4 1 Y 1 3 H R H O ) 1 7 F f l R M A T ( 1 4 H O A X I A L V A L U E S - ) 18 F O K M A T ( 4 x 9 l H R * 8 X I1 H V 1 19 F O R M A T ( 2 X 9 F 5 . 3 r 3 X 9 F 6 - 3 ) 20 F I ~ R M A T ( ~ H ~ O U T P U T - I ~ ~ X ~ ~ H K H ~ ) 2 1 F O R M A T ( 1 4 H 3 E X A C T A N S W F R S v 4 5 X p 3 H K H O ) 2 2 F O R Y A T ( 1 X 1 F 6 . 2 9 16F7.4 1 2 3 F O R g AT ( 7HQ I NPUT-9 5 3 X 9 3 H R H O 2 4 F O R M A T ( 1 H 1 ) 2 5 F O R P A T ( 5 5 H ) 26 F O R M A T ( 6 H X C T K = r F5.2 1

C C V F = 5 7 . 2 9 5 7 8 GO 13 L = l r 3 W R I T E ( 6 1 2 4 ) R E A D ( 5 v 25 ) k R I T E ( 6 9 2 5 R E A U ( 5 r 2 5 ) W R I T E ( 6 9 2 5 1 REAL) (5ID A T A A V S = . F A L S E . NRM 1 = V R - 1

c C C O Y V E R T l H E T A A R R A Y TI3 R A D I A N S .

DO 1 J = 1 9 N T 1 T A ( J ) = T A ( J ) / C V F

C C G E Y E R A T E R I G H T - H A N D S I D E .

C O 2 I T = l p N T T H = T A ( I T ) C T = C O S ( T H 1

DO 2 I r Z = l , N K P l 2 X ( I T 9 I R ) = l O , + K A ( I R + 1 ) + C T

x 1=1:) .3 C

26

Page 29: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

C C A L C U L A T E S U R F A C E BOU' \ IDARY V A L U E S . C O 3 I T = l * N T

3 X ( I T * 1 6 ) = C O S ( T A ( I T ) )

C

4

rL

C

5

6 7

C c

8

rL C

9

c . C

C C

10

11

I F ( L o E O . 1 ) GO TO 7

C A L tUL A T E R A D I A L B0UP4 !]A R Y V A L IJk S C T = C O S ( T A ( 1 ) 1 D O 4 I R = l . N K M l X(l*IR)=(RA(IR+l)**3)*CT I F ( L o E Q . 2 ) GO T O 7

C A L C U L A T t / P R I N T A X I A L B O U N D A R Y V A L U E S . AVS=.TSUE. C T = C O S ( T A ( N T 1 1 D O 5 I R = l , N R M l R 3 = X A ( I R . + l ) * + 3 X ( N T * I S ) = R 3 * C T W R I T E ( 6 r l 7 ) W R I T E ( 69 18 1 W R I T E ( $ 9 19) R A ( 1)9 x 1

D O 6 I = l r N R M l I P l = I + l W R I T E ( 6 . 1 9 ) R A ( I P l ) . X ( N T r I 1 C A L L P f l l S S l

P R I V l I W P U T B L O C K . W R I T E ( 6 r 2 3 1 W R I T E ( 6 r l . 5 ) ( K A ( I ) r I = 2 r h R ) DO 8 J = l r N T T H D = C V F * T A ( J ) W K I T E ( 6 . 1 4 ) THDI ( X ( J T K - ~ )T K = 2 r N R ) C A L L P O I S S Z

P R I V T O U T P U T H L O C K . W R I T E ( 6 9 2 0 ) W R I T E ( 6 r 1 5 ) ( K A ( I ) * I = 2 . ' J R ) DO 9 J = l r N T T H U = C V F * T A ( J 1 W R I T E ( 6 922 1 T H D T ( X ( J 9 K - 1 ) r K = Z t N K 1 W R I T E ( 6 r 2 6 ) X 1

C A L C U L A T E A N U P R I N T E X A C T AqSIU'ERS. W R I T E ( 6 r 21 1 W R I T E ( 6 r l S ) ( R A ( I ) T1 = 2 r ' . J K ) D O 10 1 = l ~ N t ? M l 00 10 J = l r N T R 3 = R A ( I + l ) + * 3 C T = C f l S I T A ( J ) 1

R E S ID U A L S . D I M E N S I O N K t S ( 2 5 r 1 6 ) T l = R 3 * C T R E S ( J I I ) = X ( J I I ) - T ~ X ( J * I ) = T l D O 11 J = l r N T T H D = C V F + T A ( J ) W R I T E ( 6 r 2 2 ) T H D t ( X I J v K - 1 ) . K = 2 t N R ) W R I T E ( 6 9 2 6 ) X 1

r

27

I

Page 30: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

C P R I N T R E S I D U A L S . W R I T E( 6.16)W R I T E ( 6 r l S ) IKA(I)r I = Z v N R ) DO 12 J = l r N T THD=CVF*TA ( J 1

1 2 WRIrE(6.22) THOI ( R E S ( J 9 K - 1 ) . K = 2 r N R ) 13 C O N T I Y U E

C S T O P END

I

Page 31: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

I

TEST CASE 1 9 THETAOzO DEGREES. ( F U L L SPHERE ).

INPUT- R H O THETA 0.203 0.300 0.390 0.480 0.560 0.630 0.700 0.760 0.8lC 0.860 0.900 0.930 0.960 0.980 B. 993 1.0j0

0. 2.00 3.00 3.90 4.80 5.60 6.30 7.00 7.60 8.10 8.60 9-00 9.30 9 e60 9.80 9.9b 1.00 14.00 1.94 2.91 3.78 4.66 5.43 6.11 6.79 7.37 7.86 8.34 8.73 9.02 9 -31 9.51 9.61 0.97 28.00 1.77 2.65 3.44 4.24 4.94 5.56 6.18 6.71 7.15 7.59 7.95 8.21 8 -40 8.65 8 . 14 0.88 41 00 1.51 2.26 2.94 3.62 4.23 4.75 5.28 5.74 6.11 b.49 6.79 7.02 7.25 7.40 7.47 0.75 54.00 1.18 1.76 2.29 2.82 3.29 3.7u 4.11 4.47 4.76 5.05 5.29 5.47 5 -64 5.76 5. 82 0.59 66.00 0.81 1.22 1.59 1.95 2.28 2.56 2.85 3.09 3.29 3.50 3.66 3.78 3 -90 3.99 4.03 0.41 77.00 0.45 0.67 0.88 1.38 1.26 1.42 1.57 1.71 1.82 1.93 2.02 2.09 2.16 2.20 2.23 0.22 88.00 0.07 0.10 0.14 U. 17 0.20 0.22 0.24 0.27 0.28 0.30 0.31 0.32 0.34 0.34 0.35 0.03 98.00 -0.28 -0.42 -0.54 -0.67 -0.78 -0.88 -0.97 -1.06 -1.13 -1.20 -1.25 -1.29 -1 -34 -1.36 -1.36 -0.14

108.00 -2.62 -0.93 -1.21 -1.48 -1.73 -1.95 -2.16 -2.35 -2.52 -2.66 -2.78 -2.87 -2.97 -3.03 -3.C6 4 - 3 1 117.00 -0.91 -1.36 -1.77 -2.18 -2.54 -2. a6 -3.18 -3.45 -3.68 -3.90 -4.09 -4.22 -4 e36 -4.45 -4.49 -0.45 125.00 -1.15 -1.72 -2.24 -2.75 -3.21 -3.61 -4.02 -4.36 -4.65 -4.93 -5.16 -5.33 -5 -51 -5.62 -5.68 -0.57 133.00 -1.36 -2.05 -2.66 -3.27 -3.82 -4.30 -4.77 -5.18 -5.52 -5.87 -6.14 -6.34 -6 -55 -6.68 -6.75 -0.68 140.00 -1.53 -2.30 -2.99 - 3.68 -4.29 -4.83 -5.36 -5.82 -6.23 -6.59 -6.89 -7.12 -7.35 -7.51 -7.58 -0.77 147.00 -1.68 -2.52 -3.27 -4.03 -4.70 -5.28 -5.87 -6.37 -6.79 -7 .21 -7.55 -7.80 -8.05 -8.22 -3.3 J -0.84 153.00 -1.78 -2.67 -3.47 -4.28 -4.99 -5.61 -6.24 -6.,77 -7.22 -7.66 -8.02 -8.29 -8.55 -8.73 -8. 82 -U.89 158.00 -1.85 -2.78 -3.62 -4.45 -5.19 -5.84 -6.49 -7.05 -7.51 -7.97 -8.34 -8.62 -8.90 -9.09 -9.18 -0.93 163e00 -1.91 -2.87 -3.73 -4.59 -5.36 -6.02 -6.69 -7.27 -7.75 -8.22 -8.61 -8.89 -9 e 1 8 -9.37 -9.47 -0.96 167.00 -1.95 -2.92 -3.80 -4.68 -5.46 -6.14 -6.82 -7.41 -7.89 -8.38 -8.77 -9.06 -9.35 -9.55 -9.65 -c. 97 171.00 -1.98 -2.96 -3.85 -4.74 -5.53 -6.22 -6.91 -7.51 -8.00 -8.49 -8.89 -9.19 -9.48 -9.68 -9.78 -0.99 174.00 -1.99 -2.98 -3.88 -4.77 -5.57 -6.27 -6.96 -7.56 -8.06 -8.55 -8.95 -9.25 -9.55 -9.75 -9.85 -0.99 176.00 -2.00 -2.99 -3.89 -4.79 -5.59 -6.28 -6.98 -7.58 -8.08 -8.58 -8.90 -9.23 -9.58 -9.78 -9.88 -1.00 178.00 -2.00 -3.00 -3.90 -4.80 -5.60 -6.30 -7.00 -7.60 -8.10 -8.59 -8.99 -9.29 -9.59 -9.79 -9.8’) -1.00 179.00 -2.00 -3.00 -3.90 -4.80 -5.60 -6.30 -7.00 -7.60 -8.10 -8.60 -9.00 -9.30 -9 -60 -9.80 -9.90 -1.00 180.00 -2.33 -3 00 -3.90 -4.80 -5.60 -6.30 -7.00 -7.60 -8.10 -8.60 -9.30 -9.30 -9.60 -9.80 -9. 912 -1.lJo

Lu W

Page 32: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

W 0 OUTPUT- RHO

THETA 0.203 0.300 0.390 0.480 0.560 0.630 0.700 0.760 0.813 0.860 0.900 0.930 0.960 0.980 C.990 1.000 0. 0.0089 0.0282 0.0605 0.1114 0.1762 0.2504 0.3432 0.4390 0.5314 0.6360 0.7289 0.8043 0.8847 0.9412 0.9703 1.0000

14.00 0.0086 0.0274 0.0587 0.1081 0.1709 0.2430 0.3329 0.4260 0.5156 0.5171 0.7073 0.7804 0.8584 0.9132 0.9415 0.9763 28.00 0.0078 0.0249 0.0534 0.0983 0.1555 0.2210 0.3029 0.3875 0.4692 0.5615 0.6435 0.7101 0.7811 0.8310 0.8567 0.8829 41.00 0.3066 0.0212 0.0456 0.0840 0.1328 0.1889 0.2589 0.3312 0.401i) 3.4799 0.5501 0.6070 0.6677 0.7103 0.7323 0.7547 54.00 0.0051 0.0164 0.0354 0.0653 0.1033 0.1470 0.2015 0.2578 0.3122 0.3737 0.4283 0.4727 0.5200 0.5532 0.5703 0.5878 66.00 0.0034 0.0113 0.0244 0.0451 0.3714 0.1016 0.1393 0.1783 0.2160 0.2585 0.2963 0.3270 0.3598 0.3828 0.3946 0.4067 77.00 0.0018 0.0061 0.0133 0.U248 0.0394 0.0561 0.077C 0.0986 0.1194 3.1429 0.1639 0.1809 0.1990 0.2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~ 0 2 8 7 ~ 0 ~ 0 6 0 8 ~ 0 ~ 1 1 1 6 ~ 0 ~ 1 7 6 3 ~ ~ ~ 2 5 0 5 ~ 0 ~ 3 4 3 2 ~ 0 ~ 4 3 9 0 ~ 0 ~ 5 3 1 4 ~ 0 ~ 6 3 5 9 ~ 0 ~ 7 2 8 9 ~ 0 ~ 8 3 4 3 ~ @ ~ 8 8 4 7 ~ 0 ~ 9 4 1 2 ~ ~ ~ 9 7 ~ 3 ~ 1 ~ 0 0 0 0 XCTR=-0.00

EXACT ANSWERS RHO THETA 0.203

0. 0.0080 14.00 0.0078 28.00 0.3071 41.00 0.0050 54.00 0.0047 66.00 0.0033 77.00 0.0018 88.00 0.0003

0.300 0.390 0.480 0.560 0.630 0.700 0.760 0.81C 0.860 0.900 0.930 0.960 0.980 '2.990 1 .OJO 0.0270 0.0593 0.1106 0.1756 0.2500 0.3439 0.4390 0.5314 0.6361 0.7290 0.8044 0.8847 0.9412 0.97C3 1.OOUO 0.0262 0.0576 0.1073 0.1704 0.2426 0.3328 0.4259 0.5157 0.6172 0.7073 0.7805 0.8585 0.9132 0.9415 0.9703 0.0238 0.0524 0.('976 0.1551 0.2208 0.3029 0.3876 0.4692 0.5616 0.6437 0.7102 0.7812 0.8310 C.8567 0.8829 0.0204 0.0448 0.0835 0.1325 0.1887 0.2589 0.3313 0.4011 0.4800 0.5502 0.6071 0.6677 0.7103 0.7323 0.7547 0.0159 0.0349 0.3650 0.1032 0.1470 0.2016 0.2580 0.3124 0.3739 0.4285 0.4728 0.5200 0.5532 0.5703 0.5878 0.3110 0.0241 0.C450 0.3714 0.1C17 0.1395 Q.1785 0.2162 3.2587 0.2965 ' j .3272 0.3599 0.3828 0.3947 0.4067 0.0061 0.0133 0.C249 0 . ~ 3 9 5 0.0562 0.0772 0.0987 0.1195 0.1431 0.1640 0.1809 0.1990 0.2117 0.21f j3 0.2250 0.0009 0.0021 O.GO39 0.0061 0.0387 0.0120 0.0153 0.0185 0.3222 0.0254 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0.390 0 -480 0.560 0.630 0.700 0.760 0.810 0.860 0.900 0.930 0.960 0.980 0.990 1.090

45.00 0.01 0.02 0.04 0.08 0.12 0.18 0.24 0.31 0.38 3 r 4 5 0.52 0.57 0 -63 0.67 0.69 0.71 56.00 1.12 1.68 2.18 2.68 3.13 3.52 3.91 4.25 4.53 6.81 5rD3 5.20 5.37 5.48 5.54 O m 56 66.00 0.81 1.22 1.59 1.95 2.28 2.56 2.85 3.09 3.29 3.50 3.66 3.78 3 -90 3.99 4 . L ' 3 0.41 76.00 0.48 0.73 0.94 1.16 1.35 1.52 1.69 1.84 1.96 2.08 2.18 2.25 2 -32 2.37 2.40 0.24 86.00 0.14 0.21 0.27 0.33 0.39 0.44 0.49 0.53 0.57 3.60 0.63 0.65 0 -67 3.68 0.69 0.07 95.00 -0.17 -0.26 -0.34 -5.42 -0.49 -0.55 -0.61 -0.66 -0.71 -3.75 -0.78 -0.81 -0.84 -0.85 -0.86 -0.09

103.00 -0.45 -0.67 -0.88 -1.08 -1.26 -1.42 -1.57 -1.71 -1.82 -1.93 -2.02 -2.09 -2.16 -2.20 -2.23 -0.22 111.00 -0.72 -1.08 -1 e40 -1.72 -2.01 -2.26 -2.51 -2.72 -2.90 -3.08 -3.23 -3.33 -3.44 -3.51 -3.55 -0.36 119.00 -0.97 -1.45 -1.89 -2.33 -2.71 -3.05 -3.39 -3.68 -3.93 -4 17 -4.36 -4.51 -4 -65 -4.75 -4.8ci -e . 48 126.00 -1.18 -1.76 -2.29 -2.82 -3.29 -3.70 -4.11 -4.47 -4.76 -5.05 -5.29 -5.47 -5 - 6 4 -5.76 -5.82 -0.59 133.00 -1.35 -2.05 -2.66 -3.27 -3.82 -4.30 -4.77 -5.18 -5.52 -5.87 -6.14 -6.34 -6 -55 -6.68 -6.75 4. b8 139.00 -1.51 -2.26 -2.94 -3.62 -4.23 -4.75 -5.28 -5.74 -6.11 -6.49 -6.79 -7.02 -7 -25 -7 4 0 -7.47 -0.75 145.00 -1.64 -2.46 -3.19 -3.93 -4.59 -5.16 -5.73 -6.23 -6.64 -7.04 -7.37 -7.62 -7 - 8 6 -8.03 -8 .11 -0.82 150.00 -1.73 -2.60 -3.38 -4.16 -4.85 -5.46 -6.06 -6.58 -7.01 -7.45 -7.79 -8.05 -8.31 -8.49 -8.57 -0.87 155.00 -1.81 -2.72 -3.53 -4.35 -5.08 -5.71 -6.34 -6.89 -7.34 -7.79 -8.16 -8.43 - 8 -70 -8.88 -8.97 -0.91 160.00 -1.88 -2.82 -3.66 -4.51 -5.26 -5.92 -6.58 -7.14 -7.61 -8.08 -8.46 -8.74 -9 -02 -9.21 -9.36 -0.94 164.00 -1.92 -2.88 -3.75 -4.61 -5.38 -6.G6 -6.73 -7.31 -7.79 -a. 27 -8.65 -8.94 -9.23 -9.42 -9.52 -0.96 168.00 -1.96 -2.93 -3.81 -4.70 -5.48 -6.16 -6.85 -7.43 -7.92 -8.41 -8.80 -9.10 -9.39 -9.59 -9.08 -0.98 171.00 -1.98 -2.96 -3.85 -4.74 -5.53 -6. 22 -6.91 -7.51 -8.00 -8 . 49 -8.89 -9.19 -9.48 -9.68 -9.78 -0.99 174.00 -1.99 -2.98 -3.88 -4.77 -5.57 -6.27 -6.96 -7.56 -8.06 -8.55 -8.95 -9.25 -9.55 -9.75 -9.85 -0.99 176.00 -2.03 -2.99 -3.89 -4.79 -5.59 -6.28 -6.98 -7.58 -8.08 -8.58 -8.98 -9.28 -9.58 -9.78 -9.88 -1.00 177.00 -2.00 -3.00 -3.89 -4.79 -5.59 -6.29 -6.99 -7.59 -8.09 -8.59 -8.99 -9.29 -9.59 -9.79 -9.89 71.00 178.00 -2.00 -3 00 -3.90 -4.80 -5.60 -6.30 -7.00 -7.60 -8.10 -8.59 -8.99 -9.29 -9.59 -9.79 -9.89 -1.00 179.00 -2.33 -3.00 -3.90 -4.80 -5.60 -6.30 -7.00 -7.60 - 8 . 1 3 -8.60 -9.00 -9.30 -9 -60 -9.80 -9.9G - 1.09 180.00 -2.33 -3.00 -3.90 -4.80 -5.60 -6.30 -7.00 -7.60 -8.10 -8 6 0 -9.03 -9.30 -9 -60 -9.80 -9.92 -1.00

Page 35: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

OUTPUT- RHO THETA 0.233 0.300 0.390 0.480 0.560 0.630 0.700 0.760 0.81@ 0.860 0.903 3.930 0.960 0.980 L-990 1.000 45.00 0.0057 0.0191 0.0419 0.0782 0.1242 0.1768 0.2425 0.3104 0.3758 0.4498 0.5155 0.5688 0.6256 0.6655 0.6861 0.7071 56.00 0.0044 0.0151 0.0332 0.0618 0.0981 0.1397 0.1917 0-2453 0.2970 C.3555 0.4075 0.4497 0.4947 0.5263 0.5 26 0.5592 66.00 0.0031 0.0109 0.0241 0.0449 0.0713 0.1016 0.1393 0.1784 0.2160 0.2586 0.2964 3.3271 3.3598 0.3828 C.3946 0.4067 76.00 0.0016 0.0'263 0.0142 0.0265 0.0423 0.0603 0-0828 0.1060 0.1284 0.1537 0.1763 0.1945 0.2140 0.2277 0.2347 0.2419 86.00 0.0001 0.0015 0.0038 0.0074 0.0119 0.0171 0.5236 0.0304 0.0369 0.0442 0.0507 0.0560 0.0617 0.0656 0.0677 0.0698 9 5 ~ 0 0 ~ 0 ~ 0 0 1 3 ~ 0 ~ 0 0 2 9 ~ 0 ~ 0 0 5 7 ~ 0 ~ 0 1 0 1 ~ 0 ~ 0 1 5 7 ~ 0 ~ 0 7 2 1 ~ 0 ~ 0 3 0 2 ~ 0 ~ 0 3 8 5 ~ 0 ~ 0 4 6 5 ~ @ ~ 3 5 5 6 ~ 0 ~ 0 6 3 7 ~ 0 ~ 0 7 0 2 ~ ~ ~ 0 7 7 2 ~ 0 ~ C ~ 8 2 1 ~ 0 ~ 0 8 4 6 ~ 0 ~ 0 8 7 2 1 0 3 ~ 0 0 ~ 0 ~ ~ 0 2 5 ~ 0 ~ 0 0 6 8 ~ 0 ~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( W I T H A X I A L BOUNOARV V A L U E S ) .

A X I A L VALUES-R V

0. 0. 0.200 -0.908 0.300 -0.027 0.390 -0.059 0.480 -0.111 0.560 -0.176 0.630 -0.250 0.700 -0.343 0.760 -0.439 0.810 -0.531 0.860 -0.636 0.900 -0.729 0.930 -0.804 0.960 -0.885 0.980 -0.941 0.990 -0.970 1.000 -1.300

INPUT- - RHO THETA 0.200 0 300 0.390 0.480 0.560 0.630 0.700 0.763 0.8lG 0.860 0 900 0.930 0.960 0.980 0.990 1.0-10 60.00 3.33 0.01 0.03 0.06 0.09 0.13 0.17 0.22 0.27 3.32 0.36 0.40 0-44 0.47 0.49 0.50 70.00 3.68 1.03 1.33 1.64 1.92 2.15 2.39 2.60 2.77 2.94 3.08 3.18 3 -28 3.35 3.39 0.34 79.00 0.38 0.57 0.74 0.92 1.07 1.20 1.34 1.45 1.55 1.64 1.72 1.77 1.83 1.87 1. E9 0.19 88.00 0.07 0.10 0.14 U. 17 0.21, (r.22 0.24 0.27 0.28 0.30 0.31 0.32 0e34 0.34 0.35 0.03 96.00 -0.21 -0.31 -0.41 -0.50 -0.59 -0.66 -0.73 -0.79 -0.85 -3.90 -0.94 -0.97 -1 .oo -1.02 -1.G3 -0.10 104.00 -0.48 -0.73 -0.94 -1.16 -1.35 -1.52 -1 69 -1.84 -1.96 -2.08 -2.18 -2.25 -2.32 -2.37 -2.40 -0.24 112.00 -0.75 -1.12 -1.46 -1.80 -2.10 -2.36 -2 62 -2.85 -3.03 -3.22 -3.37 -3.48 -3 -60 -3.67 -3.71 -0.37 119.00 -9.97 -1.45 -1.89 -2.33 -2.71 -3.05 -3.39 -3.68 -3.93 -4.17 -4.36 -4.51 -4.65 -4.75 -4. eo -0.48 126.00 -1.18 -1.76 -2.29 -2.82 -3.29 -3.70 -4.11 -4.47 -4.7b -5.05 -5.29 -5.47 -5 -64 -5.76 -5.82 -0.59 132.00 -1.34 -2.01 -2.61 -3.21 -3.75 -4.22 -4.68 -5.09 -5.42 -5.75 -6.02 -6.22 -6 -42 -6.56 -6.61 -0.67 138.00 -1.49 -2.23 -2.90 -3.57 -4.16 -4.68 -5.20 -5.65 -6.02 -6.39 -6.69 -6.91 -7 -13 -7.28 -7.36 -0.74 144.00 -1.62 -2.43 -3.16 -3.88 -4.53 -5.10 -5.66 -6.15 -6.55 -6.96 -7.28 -7.52 -7.77 -7.93 -8.01 -0.81 149.00 -1.71 -2 57 -3.34 -4.11 -4.80 -5.40 -6 00 -6.51 -6.94 -7.37 -7.71 -7.97 -8 e23 -8.40 -8.49 -0.86 154.00 -1.80 -2.70 -3.51 -4.31 -5.03 -5.66 -6.29 -6.83 -7.28 -7.73 -8.09 -8.36 -8 -63 -8.81 -8.90 -c. 90 158.00 -1.85 -2.78 -3.62 -4.45 -5.19 -5.84 -6.49 -7.05 -7.51 -7.97 -8.34 -8.62 -8 -90 -9.09 -9.18 -0.93 162.00 -1.90 -2.85 -3.71 -4.57 -5.33 -5.99 -6.66 -7.23 -7.70 -8.18 -8.56 -8.84 -9 e13 -9.32 -9.42 -0.95 166.00 -1 .94 -2.91 -3.78 -4.66 -5.43 -6.11 -6.79 -7.37 -7.86 -8.34 -8.73 -9.02 -9 -31 -9.51 -9.61 -0.97 169.00 -1.96 -2.94 -3.83 -4.71 -5.50 -6.18 -6.87 -7.46 -7.95 -8.44 -8.83 -9.13 -9 e 4 2 -9.62 -9.72 -0.98 172.00 -1.98 -2.97 -3.86 -4.75 -5.55 -6.24 -6 93 -7.53 -8.02 -8.52 -8.91 -9.21 -9.51 -9.70 -9.80 -0.99 174.00 -1.99 -2.98 -3.88 -4.77 -5.57 -6.27 -6.96 -7.56 -8.06 -8.55 -8.95 -9.25 -9.55 -9.75 -9.85 -0.99 176.00 -2.33 -2 99 -3.89 -4.79 -5.59 -6.28 -6.98 -7.58 -8.08 -8.58 -6.98 -9.28 -9.58 -9.78 -9.88 -1.00 177 -00 -2.00 -3 00 -3.89 -4.79 -5.59 -6.29 -6.99 -7.59 -8.09 -8.59 -8.99 -9.29 -9.59 -9.79 -9.89 -1.00 178.00 -2.03 179.00 -2.33

-3.00 -3 00

-3.90 -3.90

-4.80 -4.80

-5.60 -5.60

-6.30 -6.30

-7.00 -7.00

-7.60 -7.60

-8.10 -0.1;

-8.59 -8.60

-8.99 -9.00

-9.29 -9.30

-9.59 -9 -60

-9.79 -9.80

-9.89 -9.90

-1.c)o-1.00 180.00 -3.31 -0.03 -0.06 -0.11 -0.18 -0.25 -0.34 -0.44 -0.53 -3.64 -0.73 -0.80 -0.88 -0.94 -0.97 -1.00

w cn

Page 38: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

W b,

OUTPUT- RHO THETA 0.233 0 . 3 0 0 0.390 0.480 0.560 0.630 0.700 0.760 0.810 0.860 0.933 0.930 0.960 0.980 C.990 1.000

60.00 0.0040 0.0135 0.0297 0 . ~ 5 5 3 0.0878 0.1250 0.1715 0.2195 0.2657 0.3180 0.3645 0.4022 0.4424 0.4706 0.4851 0.5000 70.00 0.0026 0.0091 0.0202 0.c1377 0.0600 0.0854 O.l i72 0.1500 0.1816 0.2174 0.2492 0.2750 0.3025 0.3219 0.3318 0.3420 79.00 0.0013 0.0049 0.0111 G.CI209 0.0333 0.0475 0.0653 0.0836 0.1013 0.1212 0.1390 0.1534 0.1688 0.1796 0.1851 0.1908 88.00-0.0031 0.0006 0.0017 0.0036 0.0059 0,0085 0.0118 0.0151 0.0184 0.3221 0.0253 0.0280 0.0308 0.0328 0.0338 0.0349 9 6 ~ 0 0 ~ 0 ~ 3 0 1 3 ~ 0 ~ 0 0 3 3 ~ 0 ~ 0 0 6 7 ~ 0 ~ 0 1 1 9 ~ 0 ~ ~ 1 8 7 ~ 0 ~ 0 2 6 4 ~ 0 ~ U 3 6 0 ~ 0 ~ 0 4 6 0 ~ 0 ~ 0 5 5 7 ~ 0 ~ 0 6 6 6 ~ 0 ~ 0 7 6 3 ~ 0 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0.0001 0.0000 O.i)03&-0. 0.0001 0.0001 0.30011 7 7 ~ 0 0 ~ 0 ~ 0 0 0 7 ~ 0 ~ 0 0 0 8 ~ 0 ~ 0 0 0 8 ~ 0 ~ 0 0 0 5 ~ 0 ~ 0 0 0 3 ~ 0 ~ 0 @ 0 2 ~ 0 ~ 0 0 0 0 0.0001 0.0001 0.0001 0.0000 0.006C-0. 0.0001 0.0001 0.00011 7 8 ~ 0 0 ~ 0 ~ 0 0 3 6 ~ 0 ~ 0 0 0 7 ~ 0 ~ 0 0 0 7 ~ 0 ~ 0 0 G 5 ~ 0 ~ 0 0 0 3 ~ 0 ~ 0 0 0 2 ~ 0 ~ 0 0 0 0 0.0031 0.0001 0.0001 O.OOG0 0.0OJO-0. 0.0000 0.0001 0.00011 7 9 ~ 0 0 ~ 0 ~ 0 0 0 4 ~ 0 ~ 0 0 0 6 ~ 0 ~ 0 0 0 5 ~ 0 ~ 0 0 0 3 ~ 0 ~ 0 0 0 2 ~ 0 ~ 0 0 0 A ~ 0 ~ 0 ~ 0 00.0001 0.0001 0.0000 0.0000 0.03CC-0.

180.00-0. -0. -0. -0. -0. -0. -0. -0. -0. -0. -0. -0. -0. -0 . -0 . -0.

*01* E X I T I N TEST

W4

Page 40: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

APPENDIX B

LISTING OF FORTRAN PROGRAM

The following computer program should be considered a subroutine, or black box for which an executive program is written. Such a program and sample test run are given in appendix A.

Subroutine POISSl generates the r-0 mesh then generates and inverts the requisite coefficient matrices. POISSB then uses these matrices together with the right-hand side values to generate the solution.

S I B F T C P O I S l

SUBROUTINE P O I S S l rL

C O M M O N / B L O C K 1 / N R ~ N T ~ R A ~ l 7 ~ ~ T A ~ Z 5 ~ ~ X l Z 5 ~ 1 6 ~ ~ X l ~ A V ~ C O M M O N / B L O C K 2 / V l 2 5 ~ 2 5 ~ l 5 ~ ~ A l Z 5 , l 5 l ~ F M l Z 5 ~ l 5 ~ ~ B C M C l 2 5 ~ ~ ~ C M R l l 6 ~ ~

1 E C M R 1 ~ 2 5 ~ ~ ~ C M A ~ 1 6 ~ r V l ~ F M l ~ N R M l ~ N R M Z ~ N R M 3 ~ N T M l ~ R ~ A l l 6 ~ ~ D R A l l 6 ~ ~ 2 N T E ~ Y T E M l ~ T B A ~ 2 5 l ~ D T A l Z 5 ~ ~ S T B A l Z 5 ~ ~ R O ~ l 2 5 ~ ~ D l Z 5 ~ Z 5 ~

LOGICAL AVS C

NRMl=NR-1 NRMZ=VR-Z NRM3=NR-3 HTMl=NT-L

C C CHECK MESH S I Z E .

IFlNR.GT.171 C A L L ARERRl23HTOO MANY R MESH L I N E S S ) IFlNT.GT.25) CALL ARERRlZ7HTOO MANY THETA MESH L I N E S 5 )

C C GEYERATE RBAR AND OELR ARRAYS.

DO 1 I R = l , N R M l R B A ( I R ) = . S * ( R A ( I R ) + R A l I R + l I )

1 D R A l I R ) = R A ( I R + l ) - R A I I R ) C C GENERATE THETA-BAR. S I N THETA-BAR C AND DEL-THETA ARRAYS.

DO 2 I T = l , N T H l TBA ( I T 1 = .5+ I T A 1 I T 1 +TA I I T+ 1) 1 S T B A ( I T I = S I N l T B A ( 1 T ) 1

2 D T A l I T J = T A ( I T + l ) - T A l I T ) C C TEST CONFIGURATION FOR F I R S T PASS.

IF(TAl l ) .EO.O.)GO TO 3 NTE=NT I F ( A V S 1 NTE=NT-1 NTEMLSNTE-1 CALL S E G l RETURN

C C FULL SPHERE SOLUTION 11ST PASS).

3 C A L L S P H E R l RETURY

L ENTRY P O I S S 2 IFlTAlL).EQ.O.) GO T O 4 CALL SEG2 RETURY

C FULL SPHERE SOLUTION IZNO PASS).4 CALL SPHERZ

L

RETURN END

38

Page 41: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

S I B F T C S P H R l

C C C C C

C C

C

C C

C

C C C

C C

C C

C C C

C

C

SUBROUTINE S P H E R l GEMERATES AND I N V E R T S C O E F F I C I E N T M A T R I C E S USED FOR F U L L SPHERE SOLUTION.

NR-2 T R I D I A G O N A L BLOCK MATRICES. 2 ( N R - 2 1 - 1 D I A G O N A L BLOCK MATRICES.

I N V E R S E OF CENTER P O I N T . V 1 = l . I A E ( l r l v 0 ) FM1= F E ( l . 1 ) K l = l

DO 14 I R z 2 r N R M l GO TO ( l r 3 ) r K l

I R z 2 ONLY. 1 DO 2 I T l * l r N T

A ( I T l r l ) = A E ( 2 r I T l r l ) FMt I T l . l ) = F E 1 2 . I T 1 1

2 BCMCl I T 1 1 = -A� ( N R M l , I T l r 2 ) GO TO 5

GENERATE NR-2 NTXNT MATRICES. ( O Y E FOR EACH R=CONSTANT L I N E ) .

5 DO 12 I T l Z l r N T GO 1 0 ( 6 * 8 ) . K l

FORM - A 2 * V l + A 2 . b DO 7 I 1 2 = l v N T 7 0 ( I T 1v I T Z 1 =-A ( I T 1 * 1 1 *V 1*A( I T 2 11

GO TO 10

FORM - A ( I ) + V ( I - l ) + A ( I 8 DO 9 I T Z = l v N T 9 D ~ I T l ~ I T 2 ~ ~ ~ A ~ I T l ~ I R ~ l ~ * V ~ I T l ~ I T 2 ~ I R ~ Z ~ + A ~ I T 2 r I R ~ l ~

10 I F ( I T l o E Q . 1 1 GO TO 11

ADD T R I D I A G O N A L ELEMENTS OF B I I 1 TO - A ( I ) + V ( I - l ) + A I 1 ) .

D ( I T 1 ~ I T 1 - 1 1 = A E ~ I R ~ I T l ~ 3 ) + D ( I T l ~ I T l ~ l ) 11 D ( I T l r I T l ) = A E ~ I R ~ I T l r O ~ + D I I T 1 ~ 1 T l ~

I F ( I T l . E O . N T I GO TO 12 D ~ I T l ~ I T l * l ) =AE(IR~ITl~4)+D(ITl~ITl+l)

12 C O N T I N U E

C A L L FACTOR(D.ROW,NT) C A L L I N V E R T ( D ~ R O W ~ N T r V ( l ~ l * I R - l ~ ~ GO TO ( 1 3 r l 4 1 r K l

13 K l = 2 14 C O N T I Y U E

RETURN END

39

Page 42: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

11111 I1 I II

S I B F T C SPHRZ

C

C

C

C C

C C

C C

C C

C

C

C

S U B R O U T I N E SPHERZ

COMMON/ BLOCK 1/NR INT, RA ( 17I I T A ( 25 1 I X ( 251161I X 11A V S C O M M O Y / B L O C K ~ / V ( ~ ~ ~ ~ ~ ~ ~ ~ ) ~ A ( ~ ~ ~ ~ ~ ~ I F M ~ ~ ~ ~ ~ ~ ~ I B C M C ~ ~ ~ ~ I B C M R ~ ~ ~ I ~

1 6 C M R l (25) r 6 C M A ( 1 6 19 V 1 V F M l VNRMl pNRM2tNRM3rNTMA 1 R 6 A ( 16 1 r D R A ( 1 6 1 I 2 N T E ~ N T E M l ~ T 6 A ~ 2 5 l ~ D T A ~ 2 5 l ~ S l 6 A ~ 2 5 ~ 1 R O W ~ 2 5 l ~ D ~ 2 5 s 2 5 l

L O G I C A L A V S

DOUBLE P R E C I S I O N TIY (251 C A L C U L A T E G1.

X 1 = V l * F M l * X l

C A L C U L A T E 62 I I R = 2 1 DO 1 I T - l I N T

1 Y ( I T ) = F M ~ I T I ~ ~ * X ~ I T I ~ I - A ~ I T I L ) , X L DO 3 I T l = L * N T T=O .DQ 00 2 I T Z - l q N T

2 T ~ T + V ~ I T l r I T 2 r l ) + Y ~ I T 2 1 3 X ( I T l r l ) = T

C A L C U L A T E 63 TO G ( N R M 2 ) . DO 6 IR=3 ,NRH2 DO 4 I T Z L I N T

4 Y ( I T ) = FM I I T * I R - 1 1 +X ( I T * I R - 1 ) - A ( I T . I R - 1 )+X I TI I R - 2 1 DO 6 I T l = l r N T T=O 03 DO 5 I T Z = l * N T

5 T=T+V( I T 1 9 I T i ! r I R - l I * Y ( I T 2 1 6 X ( I T l * I R - l ) = T

C A L C U L A T E G ( N R M l 1 DO 7 I T = l * N T

7 Y ( I T ~ ~ F M ~ I T ~ N R M Z I * X ~ I T I N R M ~ ~ + B C M C ~ I T ~ + X ~ I T ~ N R M ~ ~ ~ A ~ I T ~ N R M ~ ~ + 1 X ( I T * N R M 3 )

DO 9 I T l = l , N T T= O.DQ DO 8 I T 2 = l r N T

8 T=T+V(ITlrIT2rNRM21+Y(ITZ) 9 X I I T l r N R M 2 l = T

BACKWARD S U B S T I T U T I O N FOR SOLUTION. DO 11 I R C = l t N R M 3 I R = N q M 1 - I R C DO 11 I T l = l r N T T= 0.00 DO 10 I T 2 = l r N T

10 T = T + V ~ I T ~ I I T Z I I R - ~ ~ + A ~ I T ~ ~ I R ~ ~ X ~ I T ~ I I R I 11 X ( I T l I I R - l ) = X ( I T l * I R - l I - T

C A L C U L A T E CENTER POINT. T= 9.D3 DO 1 2 I T l = l * N T

12 T = T + A ( I T l ~ l ) * X ( I T l ~ l ) X1= X l - V l * T

RETURN END

40

Page 43: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

S I B F T C S E G H l

C C C C C C C C

C

C

C

C C C

C

C C

C

SUBROUTINE S E G l

BOUNDARY VALUE C O E F F I C I E N T S . BCHA - A X I A L VALUES I T H E T A = P I 9 BCMC -SURFACE V A L U E S I C I R C U M F E R E N C E I BCHR - R A D I A L L I N E VALUES ITHETA=CONST. SURFACE) . BCHR 1 -CENTRAL VALUES.

C O M M O Y / B L O C K l / N R * N T * RA ( 1 7 1 * T A ( 25 1. X ( 2 5 . 1 6 1 .X1. A V S C O M M O N / B L O C K 2 / V ~ 2 5 r 2 5 r P 5 ) r A o r F n ( 2 5 r l 5 l r ~ C H C ~ 2 5 l ~ B C M R ~ l 6 l ~

1 B C H R 1 ~ 2 5 ) ~ E C M A ~ 1 6 l ~ V l ~ F M l ~ N R M l ~ N R M 2 ~ N R H 3 ~ N T H l ~ R B A ~ l 6 l ~ D R A ~ l 6 ~ ~ 2 N T E ~ N T E H ~ ~ T B A ~ ~ ~ ~ ~ D T A ~ ~ ~ ~ ~ S T B A ~ ~ ~ I I R O W ~ ~ ~ I ~ D ~ ~ ~ ~ ~ S ~

L O G I C A L AVS

DO 1 I R = 2 * N R M l BCHR ( I R I =-A� ( I RI 2r 3 1 I F ( AVS I BCMA ( I R )=-A� ( IR . NTEI 4 1

DO 3 I T l = l * N T E I N 1 T I A L I Z E .

DO 2 I T 2 r l . N T E D ( I T l r I T 2 l = O . O BCMC(1 T 1 ) = - A � l N R H l . I T l r 2 1 BCMR1( I T 1 l = - A E ( 2 r I T 1 9 1I F M ( I T l . l I = F E ( 2 . I T l ~ I F ( I T l . E Q . 1 1 GO TO 3

GEYERATE ELEMENTS OF 81 THEN I N V E R T TO GET V1. (T .D*B COEFFS. FOR I R = 2 MESH L I N E ) .

I F ( I T L . N E . 2 1 D ~ I T ~ ~ ~ I I T ~ ~ ~ I ~ A E ~ ~ ~ I T ~ ~ ~ I D ( I T 1 - l r I T l - l I = A E ( 2 r I T l r O l I F ( I T l . N E . N T E 1 D ( I T 1 - 1 . I T l I = A E ( 2 . I T l r 4 ) CON T I Y U E C A L L F A C T O R ( Dr ROW. NT E M 1 1 C A L L I N V E R T ( D ~ R O W I N T E M ~ ~ V ( 111. 11 1

DO 7 I 9 = 3 r N R H l DO 4 I T l ~ Z . N T E A ( I T 1 9 I R - 1 ) = A � ( I R r I T 1 r 1I FM( I T 1 9 IR-lI=FE( I R . I T l 9

GENERATE R E M A I N I N G V I MATRICES. DO 6 I T l = 2 r N T E 00 5 I T 2 - 2 r N T E D ~ I T 1 ~ l r I T 2 ~ 1 1 ~ ~ A ~ I T l ~ I R ~ l l + V ~ I T l ~ l ~ I T 2 ~ l ~ I R ~ 2 l + A ~ I T 2 ~ I R ~ l 1 I F I I T l . N E . 2 1 D ~ I T 1 ~ l ~ I T l ~ 2 l ~ D ~ I T 1 ~ l r I T l ~ 2 l + A E ~ I R ~ I T l ~ 3 l D ~ I l 1 ~ 1 ~ I T 1 ~ l ) ~ D ~ I T l ~ l ~ I T l ~ l l + A E ~ I R ~ I T l ~ O l I F ( I l L . N E . N T E ) D ~ I T l ~ 1 . I T l l ~ D ~ I T 1 ~ 1 r I T L ) + A E ( I R I I T 1 . 4 1 C A L L FACTOR De ROY* NT EM 1I C A L L I N V E R T ~ D ~ R O W I N T E M ~ ~ V ~ ~ ~ ~ ~ I R ~ ~ ~ I

RETURN END

41

Page 44: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

S I B F T C SEGMZ

SUBROUTINE S E G 2 L

COMMON/BLOCKl/NR 9 NTI RA 1 7 ) 9 T A( 25 1 9 X I 259 16) 9 X 1 s A V S C O M M O ~ / B L ~ C K 2 / V ( 2 5 . 2 5 r 1 5 ) . A ( 2 5 . 1 5 ) . F H ( 2 5 ~ 1 5 ~ ~ B C M C ~ 2 5 ~ r B C M R ~ l 6 ~ ~

1 B C M R 1 ( 2 5 ~ ~ B C M A ~ l 6 ~ ~ V l ~ F M l ~ N R M l ~ N R M Z ~ N R M 3 ~ N T M l ~ R 6 A ~ l 6 ~ ~ D R A ~ l 6 ~ ~ 2 N T E r N T E H l ~ T B A ( 2 5 ) ~ D T A ~ 2 5 ~ ~ S T B A ( 2 5 ) . R O W 1 2 5 ~ . D ~ Z 5 ~ Z 5 ~

L O G I C A L A V S L

DOUBLE P R E C I S I O N T , Y ( 2 5 ) C C C A L C U L A T E G l ( INNERMOST R I N G ) .

DO 1 I T 1 = 2 r N T E 1 Y ~ I T l ~ ~ F M ~ I T 1 ~ 1 ~ + X ~ I T l ~ l ~ + B C M R l ~ I T l ~ * X l

Y ( 2 )=Y Z)+BCMR 1 2 ) + X I 1 9 1 ) IF ( A V S I Y ( N T E ) = Y ( N T E 1 +BCMA( 2 ) * X ( N T 9 1 1 DO 3 I T 1 = 2 * N T E T=O .DO DO 2 I T 2 = 2 r N T E

2 T=T+V( I 1 1 - 1 9 I T 2 - 1 9 1 ) *Y f I T2 ) 3 X ( I T l r l ) = T

C C C A L C U L A T E G( I R - 1 ) I I N T E R I O R C R I N G S 2 TO NRM3).

DO 6 I R z 3 r N R M 2 DO 4 I T 1 = 2 s N T E

4 Y ~ I T l ~ ~ F M ~ I T l r I R ~ 1 ~ + X ~ I T l ~ I R ~ l ~ ~ A ~ I T l ~ I R ~ l ~ * X ~ I T l ~ I R ~ 2 ~ Y ( 2 ) = Y 1 2 ) +BCMR( I R I F I A V S ) Y I N T E ) = Y I N T E ) + B C M A ( I R ) + X ( N T 1 I R - l ) DO 6 I T l = 2 r N T E T x O 03 DO 5 I T 2 - 2 r N T E

1 + X ( 1 I R - 1 )

5 T = T + V I I T l - l r IT2-lr IR-1) * Y ( I T 2 1 6 X ( I T l r I R - l ) = T

L C C A L C U L A T E G(NR-2)

DO 7 I T 1 = 2 9 N T � 7 Y ~ I T 1 ~ ~ F M ~ I T l r N R M 2 ~ * X ~ I T l ~ N R M 2 ~ + ~ C M C ~ I l l ~ * X ~ I T l ~ N R M l ~ 1 - A I I T 1 r N R M 2 ) * X ( I T l r N R M 3 1

Y ( 2 ) = Y ( 2 ) + B C M K ( N R M l ) * X ( l r N R M 2 1 IF ( AVS 1 Y ( NT E 1 =Y INTE 1 +BCMA N R M l 1 +X ( NT t NRM2 ) DO 9 I T l = Z v N T E T=O. DO DO 8 I T Z z 2 r N T E

8 T=T+V( I T l - 1 9 I T 2 - 1 * N R M 2 ) * Y ( I T 2 1 9 X ( I T l r N R H Z ) = T

C C BAtKWARD S U B S T I T U T I O N FOR SOLUTION.

DO 11 I R C = l r N R M 3 I R = N R H l - I R C DO 11 I T 1 - 2 r N T E T=O.DO DO 10 I T Z = Z v N T E

10 T = T + V ( I T l - l 9 I T 2 - 1 ~ I R - l ) * A ( I T 2 . 1 R 1 * X ( I T 2 r I R I 11 X(ITlrIR-l)=XIITlrIR-l)-T

C RETURY END

42

Page 45: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

1 2

4

6

3

5

7

S I B F T C A E l

C C

C

C C

C C

C C

C C

C C

C C

C C

F U N C T I ON A � ( I , J * K I

C A L C U L A T I O N O F LEFT-HAND SIDE, COMMOV/BLOCKl /NR*NTv R A ( l . 7 1 s T A ( 2 5 l w X ( 259 161 v X 1 e A V S C O M M O N / B L O C K 2 / V ~ 2 5 ~ 2 5 1 1 5 ) . A o . F n ~ 2 5 ~ l 5 l ~ B C M C ~ Z 5 I t B C M R ~ l 6 I ~

1 B C M R l ~ 2 5 l ~ B C H A ~ 1 6 l ~ V l ~ F M l ~ N R M l ~ N R M 2 ~ N R M 3 ~ N T M l ~ R B A ~ l 6 ~ ~ D R A ~ l 6 l ~ 2 N T E ~ Y T E H l ~ T B A ~ 2 5 ~ r D T A ~ Z 5 l ~ S T B A ~ 2 5 l ~ R O ~ ~ 2 5 I ~ D ~ Z 5 ~ 2 5 1

L O G I C A L AVS

M=NT I F I I . E P . 1 1 GO TO 17 IF (J .EP.11 GO TO 6 I F ( J . E P . M I GO TO 11

R E G I O N 1 ( I N T E R I O R P O I N T S ) . IF IK .EQ.0 ) GO TO 5 GO T O 1 1 * 2 t 3 w 4 ) * K

L -CDEFF I C I E N T . 1 A E = ~ R B A ~ I - l ~ * ~ T B A ~ J l - T B A ~ J - l ~ l l * ~ R B A ~ I - l l * S T B A ~ J l + R B A ~ I - l l 1 *STBA(J-lIl/(Z.*ORA(I-l)~

RETURN

R-CDEFFIC I E N T . 2 A E = ( R B A ~ I ) ~ ( T B A ~ J l - T ~ A ~ J - l ~ ~ ~ * ~ R B A ~ I ~ * S T B A ~ J l + R B A ~ I ~ ~ S T B A ~ J - l l l 1 / I Z . * D R A ( I l )

RETURV

T - C O E F F I C I E N T . 3 A E ~ ~ R B A ~ I l - K B A ~ I - 1 l l * ~ R B A ~ I l * S T B A ~ J - l ~ + R B A ~ I - l ~ * S T B A ~ J - l l l 1 / (2 . *RA( I ) * D T A ( J - 1 1 I

RETURN

8 - C O E F F I C I E N T , 4 A E ~ ~ R B A ~ l ~ - R B A ~ I - 1 ~ l ~ ~ R B A ~ J ) + R B A ~ I - l l * S T B A ~ J ~ ~ 1 / ( 2 . * R A ( I l * O T A ( J ) l

RETURN

0-C OEF F I C I ENT= L +R + T +B . 5 A E ~ - ~ ~ R B A ( I - l ) * ~ T B A ~ J l - T ~ A ~ J - l l l ~ * ~ K B A ~ I - l l * S T ~ A ~ J l + R B A ~ I - l ~

*STBA(J-111/(2.+DRAII-l)1+ ~ R B A ( I l * ( T B A ~ J l - T B A ~ J - l l l l * ~ ~ B A ~ I l * S T B A ~ J l + R B A ~ I ~ * S T B A ~ J - l l l

/ ( Z . * D R A ( I ) l + ~ R B A ~ I l - R B A ~ I - 1 l l * ~ R B A ~ I l * S T ~ A ~ J - l l + R B A ~ I - l ~ ~ S T B A ~ J - l l l

/ ( Z . * R A ( I l * D T A ( J - l I l + ~ R B A ~ I ~ - R B A ~ I - 1 l l * ~ R B A ~ I l * S T B A ~ J l + R B A ~ I - l l * S T B A ~ J l l

/ ( 2 .*RA( I I *DTA ( J I ) I . RETURN

R E S I O N 2 ( T H E T A = T H E T A O BOUNOARY L I N E , J = l l .

43

Page 46: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

C C

C C

C C

t C

C C

C C

C C

C C

C C

C

C C

44

Page 47: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

S I B F T C F E l

F U N C T I O N F E ( 1 , J I C C A L C U L A T I O N O F R IGHT-HAND S IDE, C

COMMO’YI BL OCK 1 / N R 9 NT, R A ( 1 7I T A I 25 I 9 X ( 25.16 I 9 X 1,A V S C O M M O N / B L O C K Z / V ~ 2 S r 2 5 r P 5 ) . A ~ 2 5 . 1 5 ) r F n ~ 2 S ~ l 5 l ~ B C M C ~ 2 5 l ~ B C M R ~ l 6 l ~

1 B C M R 1 ~ 2 5 l ~ B C ~ A ~ 1 6 l ~ V l ~ F M l ~ N R M l ~ N R M 2 ~ N R M 3 ~ N T M l ~ R B A ~ l 6 l ~ D R A ~ l 6 l ~ 2 N T E ~ Y T E M 1 ~ T B A ~ 2 5 1 ~ D T A ~ 2 5 1 ~ S T B A ~ 2 5 1 ~ R 0 W ~ 2 5 1 ~ 0 ~ 2 5 ~ 2 5 1

L O G I C A L AVS C

H=NT I F ( I . E Q . 1 1 GO TO 3 IF (J .EO.11 GO TO 1 IF (J .EP.NT1 GO TO 2

C C R E G I O N 1 ( I N T E R I O R P O I N T S 1,

F E ~ ~ R B ~ ~ I l - K B A ~ I ~ 1 l l ~ ~ R B A ~ I l + ~ T B A ~ J ~ ~ T B A ~ J - l l ~ + R B A ~ I - l l 1 ~ ~ T B A ~ J l - T B A ~ J - 1 l l 1 + ~ R B A ~ I l ~ ~ S T B A ~ J l + S T B A ~ J - l l l + R B A ~ I - l l 2 + ( S T B A ( J I + S T B A I J - 1 1 ) 1 / 6 .

RETURN C C R E G I O N 2 (THETA=THETAO BOUNDARY L I N E . J = l l .

1 F E ~ ~ R B 4 ~ I l - R B A ~ I - 1 l l * ~ R B A ~ I l ~ ~ T B A ~ l l - T A ~ l l l + R & A ~ I - l l 1 + ( T B A ( 1 1 - T A ~ l l l l ~ ( ( R B A (Il+RBA~I-1ll+STBA~lll/6.

RETURN C C R E G I O N 3 ( N E G A T I V E A X I A L BOUNDARY, T H E T A = P I ) .

2 F E ~ ~ R B A ~ I l - R B A ~ I - 1 1 l ~ ~ R B A ~ I l + ~ T A ~ M l - T 8 A ~ M - l l l + R ~ A ~ I - l l 1 * ~ T A ~ ~ l - T B A ~ M - l l l l ~ ~ ~ R B A ~ I l + R B A ~ I - l l l * S T B A ~ M - ~ l l / 6 .

RETURN C C R E G I O N 4 (CENTER O F SPHERE, 1=11.

3 S=ITBA(11-TA(lII*STBA(ll F M l =PI- 1 DO 4 J 1 = 2 r M M l

4 S = S + ( T B A ( J 1 ) - T B A ~ J l - l l l * ~ S T B A ~ J l l + S T B A ~ J l - l l l S = S + I T A ( M l - T B A ( M - l ) I * S T B A ( M - 1 I F � = R B A ( l l * + 3 *S/6. RETURY END

45

Page 48: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

S I B F T C F A C l

C C C

C

1

S U B R O U T I N E F A C T O R ( A * ROW* ORDER) SEE COMPUTATIONAL METHODS OF L I N E A R ALGEBRA B Y F A D E E V A (PAGE 8 6 ) s REFERENCE 2-

I N T E G E R ROWSORDER D I MENS I ON A (25r 25 1 ROW t 25) DOUBLE P R E C I S I O N TIZERO R E A L MAX

D A T A Z E R O / O ~ O Q O / N=ORDER A S S I G N 1 T O K 1 A S S I G Y 9 T O K 2 DO 14 I s l r N I P l = I + l I M l = I - l GO TO K l r ( Z r 1 ) A S S I G N 2 T O K 1 GO TO 5

C A L C U L A T I O N O F LOWER T R I A N G U L A R MATRIX , DO 4 L = I r N TIZERO DO 3 K = l r I M l T = T + A I K s I ) + A ( L t K ) A ( L . I ) = A ( L . I ) - T

D E T E R M I N E MAXIMUM ELEMENT I N COLUMN I . MAX=O. 0 DO 6 L - I r N I F ( A B S ( A ( L I I ) ) . L E . A B S ~ H A X ) ) G O TO 6 N I = L MAX=A( L r I 1 C O N T I N U E

1FfMAX-EQ.O.O)CALL A R E R R 1 3 7 H SUBR. FACTOR H A S A S I N G U L A R M A T R I X - $ ) ROW I I ) =N I I F ( I . N E . N I ) G O TO 16 I F ( I - E Q . N ) R E T U R N GO TO 8

INTERCHANGE ROWS I AND N I , 00 7 K = l r N S=A( 1 1 K ) A ( I . K ) = A ( N I * K ) A ( N I r K ) = S

D I V I D E ELEMENTS O F ROW 1 BY MAXIMUM ELEMENT A I l r l . 1 .

GQ TO K Z r ( l l r 9 )

C C

2

3 4

C C

5

6 C

C C

16

7 C C c

8 9

10

C C

11

1 2 13

C 14

C

DO 10 L = 2 r N A( 1r L) = A I 1r L ) / P A X A S S I G Y 11 TO K 2 GO TO 14

C A L C U L A T I O N OF UPPER T R I A N G U L A R M A T R I X . DO 13 L = I P l r N T=ZERO DO 12 K s l r I M l T = T + A I I * K ) * A ( K r L ) A ( I * L ) = ( A l I r L ) - T ) / M A X

C O N T I N U E

RETURN END

46

Page 49: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

S I B F T C I N V l

S U B R O U T I N E INVERT(AIROW,ORDERID) C.- SEE COMPUTATIONAL METHODS OF L I N E A R ALGEBRA I2 BY FADEEVA (PAGE 871, REFERENCE 2 . C

I N T E G E R ROW*ORDER D I M E N S I O N A( 25,251 r R O W t 2 5 ) .D(25r251 DOUBLE P R E C I S I O N TIZERO

C DATA ZERO/O.ODO/ N=ORDER A S S I G N 7 T O K 1 I = N

1 I P l = I + l I M l = I - l

C C U S I N G LOWER T R I A N G U L A R M A T R I X C C A L C U L A T E ELEMENTS OF L - I N V E R S E .

DO 4 M = l r I L Z I P l - M T=ZERO GO TO K l r ( 2 r 7 )

7 A S S I G V 2 TO K 1 GO TO 4

2 L P l = L + l DO 3 K S L P l r N

3 T = T + A ( K . L ) * D ( 1 . K ) 4 01 I , L l = ( F L O A T I L / I 1-T I / A ( Lr L l

I F ( I . E P . l l G O TO 8 rL C U S I N G UPPER T R I A N G U L A R M A T R I X C C A L C U L A T E ELEMENTS OF U- INVERSE.

DO 6 M = l r I H l L = I - M T= 2 ER3 L P l = L + l

DO 5 K X L P l r N 5 T s T + A ( L , K l + D ( K , I l 6 D ( L , I ) = - T

I = I M l GO T O 1

C C INTERCHANGE COLUMNS I AND K.

8 IsN-1 9 K = R O U ( I I

DO 10 LX1.N S = D ( L r I I D ( L . I ) r D ( L . K )

10 D I L , K ) = S C

I F ( I .ER.1 lRETURN I=I-1

GO TO 9 END

47

Page 50: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

APPENDIX C

FORTRAN SYMBOLS

FORTRAN variable Definition

A(25, 15) storage for diagonal matrices

AVS axial value switch (used in cases 11and III as a logical quantity)

BCMA(16) boundary condition multiplier a r r a y on negative axis (6' = 71)

BCMC(25) boundary condition multiplier a r r a y on surface of sphere

BCMR(16) boundary condition multiplier a r r a y on 6' = constant surface of segment

BCMRl(25) boundary condition multiplier at central point

D(25, 25) matrix storage area

DRA(16) Ar a r ray

DTA(25) A 8 a r ray

FM(25, 15) F (right-hand side) multiplier a r r ay

FM1 coefficient of center point

I looping index

IM1 I - 1

IP1 I + 1

TR, IRC r indexes

IT, IT1, IT2 8 indexes

miscellaneous switching integers K, K1, K2

L, LP1 looping indexes

M, MM1

MAX maximum value storage

N order of matrix

NI matrix row index

NR number of r mesh lines

48

-.-..--. ,-,.. ll.l.l..lll.lllll I .I I, I I I .I..II.11111 1111111.1111. I I I I I I I111111 1111111111111111111.ll I II I 1111 I 11111111.11111111111 111 I

Page 51: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

FORTRAN Variable

NFtM1, NRM2, NRM3

NT

NTE

NTEMl

NTMl

ORDER

RA(17)

RBA(16)

ROW(25)

S

STBA(25)

T

TA(25)

TBA(25)

V(25, 25, 15)

X(25, 16)

x 1

ye51

ZERO

Definition

NR-1, NR-2, NR-3

number of 6 mesh lines for full sphere

number.of 6' mesh lines for spherical segment

NTE - 1

NT - 1

order of matrix

a r r a y of r mesh values

r a r r a y

matrix row indicators

summation storage -

sin 8

temporary storage

a r r a y of 8 mesh values -8 ar ray

25 by 25 matrix storage area; s tores up to 15 inverted matrices

inverse of center point

interior mesh values

central mesh value

double precision temporary storage a r ray

double precision initializer

49

V I

Page 52: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

APPENDIX D

FLOW CHARTS

In the following flow charts (figs. 12 to 21) all diamond shapes refer to decision mak­ing points in the subroutines. All other operations are indicated with rectangular blocks. Numbers appearing on the upper left of any block refer to the corresponding statement numbers in the program. All FORTRAN symbols used are defined in appendix C.

SPHERI::;, FACTOR, INVERT

Case I

Process RHS for f ina l solut ion

Uses SEGl:::, FACTOR, INVERT

Cases I1 and I11

SEGZ

Process RHS for Return + f i n a l solut ion

-

Figure 12. - Macro flow char t showing interrelat ionship of various subroutines used in program. (::;Usesfunct ions AE and FE.)

50

Page 53: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

Exit and terminate execution

Pr in t Exit and error terminate message execution

sin O. , A& arrays wheie j l l , NT

wNT = NT - 1

Figure 13. - Subroutine POISSl.

Generate diagonal matrix A? Aj, 1 = FCN(AE2, j, 11

RHS coefficients: FM,J t 2 = FCN(FE2,j)

Boundary value coefficients: BCMC.J = FCN(-AENR-i j 21

I ,

j = 1, NT

I

Generate diagonal matrix AIR:

Aj, I R - ~FCN(AEIR, j, 1)=

RHS coefficients:

FMj, 1 ~ - 1 =FCN(FEIR, j) j= l ,NT

I Generate matrix -A2V1A2: Generate matrix -AIRVIR-~AIR:

d. - A .. d .l ,J. i -A.1 ,111 ,2 I, jV A. (i= 1, NT; j = 1, NT) ( i = -

.Add tridiagonal matrix BIR to d. to form BIR'"AIRVIR-AR

Invert to form VIR and store in VIR-1

= I, IR-l'i, j, IR-ZAj, I R - 1

1, M; j = 1, NT)

0

I R = I R f 11 Figure 14. - Subroutine SPHER1.

Page 54: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

I I I I 1 I I, I, I I I 1 1 1 I , ,,,, ,, .,, ... .. . ...

Form vector G2 = V2yj:Calculate G2 f o r r i n g 1( I R = 21 fir form vector y. = Kp - A2G1: ui, 1 vi, j, 1y j

y. = FMj, Uj,1- Aj, 1x1 j- 1 (i= I, NT)E---­u - 5 NT) ~ _..- . -

Calculate G's for r i n g s 2 t o NR-3

Cj = 1, fir) I

Calculate Zn = G,, t h e n rema in ing 2's:

where (n - 112 i_>1

Form vector G I ~= VIR^^' NT

"i, 1 R - l - C 'i. j, IR-1Yj i= 1

( i=I, NT; IR=~. __ NR - 2 )

~ ~~

ui,I R - 1 =cvi, j. I R - l Y j j=1

i = l, NT; I R = NR -I1 ... .~ __._.

Calculate center point:

where G1 = VIKl

Fiqure 15. - Subrout ine SPHERZ.

Generate coefficients for COniCal boundary values: BCMRi = -AEi, 2.3 i = 2, (NR - 1).

For matr ix B1. generate Coefficients for outermost r ing, center point, and RHS:

BCMCi = -AENRM~, j, 2 BCMRl i -AE2, j, 1

FMi, = FEZ, i, (i= 1 NT)

Generate coefficients for axial boundary values:

t r u e BCMAi = -Mi,NT.~, 4 i = 2, (NR -1).

Generate tridaigonal matr ix �31-Inver t B 1 and store in V 1

Generate diagonal A matrices and RHS coefficients for each r ing:

IR-1 = A E ~ ~ ,j, 1

FMj, IR-1 %R. j 1 2, (NT.

Generate matrices -AiVi-l.Ab and add t o tridiagonal matr ix B i to form I B i - A iV i - lA i )

Calculate inverse and store in VIR.1 where I R = 3, (NR - 1)

Figure 16. - Subrout ine SEG1.

52

1

Page 55: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

I

11 1 b v e for Z ' s (Zn = G,; Zi = Gi - ViAi+lZi+l):

NT

ujl, I R - 1 = ujl, IR-1 -2 t- Return vj l- l, j, I R - l A j , I R 'j, I R b 2 , NT; I R = NR - 2* ')

j = 2 I

Figure 17. - Subrout ine SEG 2.

53

Page 56: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

17, 18

(-GJ

15

l K = l 4, m

e = n axis 14

K = 3 Ti, m

No

1 5, j

Figure 19. - Function FEU, Jl - calculation of RHS coefficients. (See text for formula for F.)

Figure 18. - Function AE(1, J, K) - calculation of LHS coefficients. (Formulas for quantities L, R, T, B, and D are given in the main text.)

Page 57: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

I= I P 1 = It 11 N = order IM1.I - 1

I 2,3, 4 L:

i-1

AZi = AZi AZKAKi ,s6

Pivot to put,

maximum , 6 1Calculate

k=1 where 1 = i,N

element on diagonal Max = A(L, I )

I

N I = row number A(L, I)= 0

Reordering indicator row(1) = row number

4

16,7

Interchange row I and max-

Yes c

imum N I

a, 10

yes Calculate f i rs t row of U:* A = A h a x j j = 2 , N

li 11 I = I t 1

tI N'

m-1N = ORDER

-I Calculate elements of L'l (row-by-row) D. ., Di, i-1, . . ., Di, 1

b1.1-1

4J = J - 1

Restore columns to original order

Figure 21. - Subroutine INVERT.

Figure M. - Subroutine FACTOR.

Page 58: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

REFERENCES

1. Varga, Richard S. : Matrix Iterative Analysis. Prentice-Hall, Tnc.; 1962.

2. Faddeeva, V. N. (Curtis D. Benster, tqans.): Computational Methods of Linear Algebra. Dover Publications, Tnc., 1959.

56 NASA-Langley, 1971 - 19 E-6121

Page 59: NASA TECHNICAL NOTE NASA TN€¦ · nasa technical note nasa tn d-6438 e,/ --2-0 numerical method and fortran program for solving poisson's equation over axisymmetric regions of a

NATIONAL AND SPACE ADMINISTRA~AERONAUTICS ION

WASHINGTON,D. C. 20546

OFFICIAL BUSINESS FIRST CLASS MAIL PENALTY FOR PRIVATE U S E $300

POSTAGE AND FEES PAID NATIONAL AERONAUTICS AI’

SPACE ADMINISTRATION

003 001 CL U 19 710723 S00903DS D E P T OF THE A I R F O R C E WEAPONS L A B O R A T O R Y /WFOL/ ATTN: E LOU BOWMAN, CHIEF TFCH L I B R A R Y K l R T L A N O AFR N M 87127

WSTMASTER: If Undeliverable (Section 158 Postal Manual ) Do Not Retur

‘The aeronautical and space activities of the United States shall be conducted so as to contribute . . . t o the expansion of human knowl­edge of phenomena in the at?JlOsphere and space. The Administration shall provide for the widest practicable and appropriate dissemination of informiation concerning its actiuities and the results thereof.”

-NATIONALAERONAUTICS AND SPACE ACT OF 1958

NASA SCENTFIFE AND TECHNICAL PUBLICATIONS

TECHNICAL REPORTS: Scientific and technical information considered important, complete, and a lasting contribution to existing knowledge.

TECHNICAL NOTES: Information less broad in scope but nevertheless of importance as a contribution to existing knowledge.

TECHNICAL MEMORANDUMS: Information receiving limited distribution because of preliminary data, security classifica­tion, or other reasons.

CONTRACTOR REPORTS: Scientific and technical information generated under a NASA contract or grant and considered an important contribution to existing knowledge.

TECHNICAL TRANSLATIONS: Information published in a foreign language considered to merit NASA distribution in English.

SPECIAL PUBLICATIONS: Information derived from or of value to NASA activities. Publications include conference proceedings, monographs, data compilations, handbooks, sourcebooks, and special bibliographies.

TECHNOLOGY UTILIZATION PUBLICATIONS: Information on technology used by NASA that may be of particular interest in commercial and other non-aerospace applications. Publications include Tech Briefs, Technology Utilization R~~~~~~and Technology Surveys.

Details on the availability of these publications may be obtained from:

SCIENTIFIC AND TECHNICAL INFORMATION OFFICE

NATIONAL AERONAUTICS AND SPACE ADMINISTRATION Washington, D.C.PO546