Post on 07-Feb-2018
Airy's function by a modified Trefftz's procedure
Item Type text; Thesis-Reproduction (electronic)
Authors Huss, Conrad Eugene, 1941-
Publisher The University of Arizona.
Rights Copyright © is held by the author. Digital access to this materialis made possible by the University Libraries, University of Arizona.Further transmission, reproduction or presentation (such aspublic display or performance) of protected items is prohibitedexcept with permission of the author.
Download date 29/04/2018 10:01:37
Link to Item http://hdl.handle.net/10150/318170
AIRY'S FUNCTION BY A MODIFIED TREFFTZ'S PROCEDURE
byConrad E„ Huss
A Thesis Submitted to the Faculty of theDEPARTMENT OF CIVIL ENGINEERING
In Partial Fulfillment of the Requirements For the Degree ofMASTER OF SCIENCE
In the Graduate CollegeTHE UNIVERSITY OF ARIZONA
1 9 6 8
STATEMENT BY AUTHOR
This thesis has been submitted in partialfulfillment of requirements for an advanced degree at The University of Arizona and is deposited in the University Library to be made available to borrowers under rules of the Library.
without special permission, provided that accurate acknowledgment of source is made. Requests for permission for extended quotation from or reproduction of this manuscript in whole or in part may be granted by the head of the major department or the Dean of the Graduate College when in his judgment the proposed use of the material is in the interests of scholarship. In all other instances, however, permission must be obtained from the author.
This thesis has been approved on the date shown below:
Brief quotations from this thesis are allowable
SIGNED
APPROVAL BY THESIS ADVISOR
DR. „ _ _Professor of Civil Engineering
Date
ACKNOWLEDGMENT
I wish to express appreciation to my thesis advisor, Dr. Richmond C. Neff, for his guidance and essential suggestions which made possible the compilation and completion of this thesis.
May I also acknowledge the assistance of Mr. Melvin L. Callabresi and Dr. Ralph M. Richard of The University of Arizona in making available their finite element computer program.
I furthermore wish to thank my wife, Dixie, for her help in the preparation of this manuscript.
TABLE OF CONTENTSPage
LIST OF ILLUSTRATIONS o e e o o 0 0 0 0 0 0 0 0 4 0 0 9 0 0 0 a « « e a e 0 9 0 0 0 9
LIST OF TABLES,.,.o o . 0 0 0 0 0 . . 0 . o o o . o . o . o 0 . . 0 . 0 . 0 . o . o o . viiABSTRACT0 0 0 0 0 0 0 . 0 0 0 0 0 0 0 0 . 0 . 0 0 0 . 0 0 . 0 0 0 0 . . 0 0 0 0 0 0 0 . 0 O . 0 0 VXXXCHAPTER
1 I N T R O D U C T I O N ____ 1Airy's Stress Function.................. 1Boundary Conditions Through Least Squares 2
2 FORMULATION. ..... 4Error Function.......................... 4Calculation of Gradient on Boundary..... 6Positive Definiteness of Matrix......... 8Comparison of Galerkin and Least Squares 10
3 EXAMPLE PROBLEM......... 12Statement of Problem ..... 12Numerical Integration Schemes........... 13Equat ion SoIver......................... 16Calculation of Stresses ................. 18Symmetry of Problem..................... 18Comments on Programming. ....... 20
4 BOUSSINESQUE FORMULATION.................... 21Convergence Rate of Equivalent Problems. 21The Boussinesque Function...... 22Superposition Procedure................. 24Effect on Convergence................... 27Effect of Boundary Point Selection...... 31
5 COMPARISON OF RESULTS....................... 37.R* in x t e E1 cm on t.......................... 3 7Photoolastxcxty......................... 37Comparison of Boussinesque and Singular
Lo ad x ng............. 40Suggested Extensions.................... 40
iv
VTABLE OF CONTENTS— Continued
PageAPPENDIXO O O e Q O O O O Q O O e 0 0 0 0 0 0 0 0 0 0 0 6 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 A2REFERENCES....o............ ....... .... ............. 53
LIST OF ILLUSTRATIONSFigure Page
1 Gradient on Boundary....................... 62 Example Problem............................ 123 Equivalent Loading Representation.......... 134 Boundary Point Distribution................ 155 Symmetrical Stresses....................... 196 Concentrated Load on Straight Boundary..... 237 Square Ha 1 f Plas^e.....o................. 248 Complementary Half Plane................... 259 Boussinesque Boundary Tractions............ 2510 Superposition of Stress Fields„............ 2611 Boundary Point Intervals - Boussinesque.... 3212 Node Point Location........................ 35
vi
LIST OF TABLES
Table PageI Boussinesque Convergence.......................... 29II Equivalent-Loading Convergence................... 30III Comparative Stresses for Three Boundary
Point Patterns.................. 3^IV Node Point Coordinates........................... 36
V Finite Element Compared With Least Squares....... 38
VI Photoelasticity Compared With Least Squares...... 39VII Demonstration of St. Venant's Principle.......... 4l
vii
ABSTRACT
Two-dimensional linear elasticity problems are mathematically described by Airy8s equation, V = 0. A least squares procedure using Airy’s formulation is presented herein. By using a complete ( or closed ) set of functions, each of which satisfies the biharmonic equation, and by enforcing approximate compliance at the boundary through a least squares approach, convergent solutions are found. An example is analyzed to demonstrate the practicality of the method.
The Boussinesque function is used to represent singular loads. Use of the Boussinesque function accelerates convergence of the solution. A convergence criterion is established in the "descent to the center" equation solver. Results are compared with the finite element method and photoelasticity.
viii
CHAPTER 1
INTRODUCTION
Airy*5 Stress FunctionAiry in 1862 showed that the biharmonic equation,
^7 = 0, mathematically describes two-dimensional problemsin infinitesimal, isotropic, linear elasticity. If a function can be found which satisfies the biharmonic equation and the boundary conditions for a specific problem, the solution is in hand. The determination of such functions for boundaries which are not geometrically nice is difficult. Closed form solutions are elusive if not non-existent.
Michell set down for elasticians an infinite number of functions prefixed by arbitrary constants which individual ly satisfy the biharmonic equation. Because this set is a relatively complete set, it describes any plane elasto- static problem. For simply connected regions the set reduces to (Timoshenko and Goodier, 1951, p. 116)
00 00M = Cj[r2 + ^ c (4n-2)rncos ne + ^ c(4n-l )rn*2cos n6 n=l n=l
00 00 «
+ Y U C(4n) rn sln n6 H I c (4n+l)r sln n0 n=l n=l
1
The arbitrary constants$ of course, must be solved for from boundary conditions. The subscripts of the constants indicate the order in which the functions are computed.
By using MichelI's functions, the solution of the biharmonic differential equation reduces to the determination of arbitrary constants. Although the set contains an infinite number of elements, as increasingly more functions are made to satisfy approximately the boundary conditions in a meaningful way, the set converges toward solution. By taking a large enough finite number of these functions in the proper order, convergence to any number of significant figures is theoretically possible.
The purpose of this thesis is to set down a practical procedure for solving plane elastostatic problems using Michell’s set of functions. The solutions will be restricted to simply connected regions, and stress tractions only will be allowed on the boundary.
Boundary Conditions Through Least SquaresAs already mentioned, the determination of the
constants must be done in a manner which insures convergence, and more importantly, convergence to the proper solution.For a complete set Mn(x), convergence in the mean to the desired function, say F(x), is guaranteed by definition of a complete set (Churchill, 1963, p.61):
To use convergence in the mean to satisfy boundary conditions, the value of the actual function on the boundary must be calculated and a line integral employed. The value of the function on the boundary is denoted by M y .
PU m 1 ( Mb - Mn(s) )2 ds = 0 (1.2)
n goo
The next step is to define an error function in terms of the above integral, and then this error function must be minimized.
As will be shown, when integrating numerically, the number of points on the boundary used must be at least as large as the number of functions used.
CHAPTER 2
FORMULATION
Error FunctionAn error function is defined as
E = 1 <f> ( V Mn - V Mb) . ( V M n - V Mb) ds (2.1)
where V My is the gradient of Airy1s function on the boundary and V M n is the gradient of the first n functions of Michel11s set. The error E depends on how well the arbitrary constants are determined and must approach zero uniformly as n approaches infinity by definition of convergence in the mean. To insure a minimum error for a finite number of functions, E is differentiated with resnect to the arbitrary constants cj.
T
d E = 0r _o ( V Mn - V My) • ( V f j) ds
j = 1,2,3 n (2 .2 )
it
As the- number of functions approaches infinity, the vector V fj becomes arbitrary. By the fundamental lemma of the calculus of variations, since V fj is arbitrary, the quantity ( V Mn - V 1%) = 0. This lemma as stated by Elsgolc (1962) is as follows: "If G(x) iscontinuous in xQ £ x £ , and
G(x) N(x) dx = 0
where N(x) is an almost arbitrary function, then G(x) = 0 in xQ £ x £ x^." Thus in the limit V = V My, and the boundary conditions are satisfied. Since Airy1s function satisfies equilibrium and compatibility, the procedure will produce the unique and, hence, correct solution.
Equations (2.2) can be rewritten as
^ ̂ CJ ̂ ^ f V t1s = ^ ^ Mb • V f.) )dsj = 1,2,3 n (2.3)
For each value of j there is an equation. The integralon the left side of the equation represents a matrix which is symmetric. The unknowns are the constants c ̂ . If n functions are used, n simultaneous equations must be solved.
Calculation of Gradient on BoundaryThe actual gradient on the boundary ( V 1%) can
be calculated to within an arbitrary constant (Allen, 1954). The following notation is used:
T is the stress traction per unit of arc length, n is the vector normal to the surface S,M is Airy's stress function,and t is the thickness of the shape.
T
CT (ds cos0 t)
xy
Figure 1 Gradient on Boundary
7From a free body diagram of the infinitesimal
element in Figure 1, the following equations are devel oped.
T ds t = i ( (J cosO + T sinA) ds t x xy
+ j ( T xy> cosQ 4“ CTy sin0) ds t
T = ( <T cos0 + T--sin0)i+ ( T cos0 +(TvSin6)jxy xy
Stresses are related to the Airy's function according to the equations CT^c d . 0"^= and
dy'
T e l dy 4- (-3^M )(-dx)ds ^x^y ds
4- j (-^ M ) dy 4- (-dx)jSx^y ds Sx7 ds J
T = ( i d - j d ) dM d y dx ds
k x T = ( i d 4- i d ) dMdx dy ds
= V ^ l = d ( V m )ds dsTherefore
V M b/p2 = V M b/p l *£P2 _ _k x T d s . (2.4)
The value of V My can be set equal to any constant at point 1 without affecting the value of the stresses. (Stresses are calculated from second derivatives of the stress function, or first derivatives of the gradient.) When different values are assigned to the gradient at point 1, the difference is absorbed in the second and fourth functions of Michel1's set. In cartesian coordinates these functions are Mg = C2 x andm 4 = c 4 y.
Positive Definiteness of Matrix
The matrix involved in the least squares anoroachis
n |( V ft • V fj) ds j = 1,2,....n
The integrand of the above expression forms a matrix which is denoted by F. The vector of constants c^ are assumed to be linearly independent which implies F must be nonsingular. Matrix F can be written as
(i • ̂ 7 fu)(t • V fvH(j • V fu)(j • V fv)
v = 1,2,3,...... n .Thus the matrix F is the sum of two matrices, say Gt G and H where G represents the i components of the gradients and H the j components of the gradients.
ds
i.e., F = G*- G +Any matrix R is at least positive semi-definite (Hohn, 1966, p.344). Matrix F then must be at least positive semi-definite since
Xt F X = Xt(Gt G)X * Xt(H^ H)X _ 0.But a symmetric nonsingular matrix cannot be positive semidefinite, and by assumption F is nonsingular.Therefore F must be positive definite.
The proof outlined above is based on the premise that exact integration takes place. This, of course, is not the ease. Some difficulties can be encountered when numerical integration is used. As an example the integral
t oof G G is written out for four functions and three boundary points. Typically the gradient of function r evaluated at point s is denoted by grys.
*181/1 *281/2 *381/3
*182/1 *282/2 *382/3
UI83/1 *283/2 *383/3
*184/1 *284/2 *384/3
*181/1 *182/1 *183/1 *184/1.
*281/2 *282/2 *283/2 *284/2
*381/3 *382/3 *383/3 *384/3
The u 1s are weight factors dependent upon the integration scheme employed. For example, if Simpson1s one-third rule were to be used, would equal h/3, ug would equal 4h/3 ;
10
and ty would equal , where h is the arc length interval. Now F =s Gt G 4- Ht H
Gt Ht G4 x 6
H 6 x 4 (2.5)The j components of the gradients can be shown to be linear combinations of the i components of the gradients. The 4 x 6 matrix of the equation (2.5) has a rank of only three. A violation has thus been created since " The rank of the product of two matrices cannot exceed the rank of either factor." (Hohn, 1966, p.127) For the example,F would have a rank of three which would make it singular, contrary to the conditions set down. To avoid this problem, at least as many boundary points as functions must be used.
Comparison of Galerkin and Least Squares
In the least squares procedure described, a complete set of functions which satisfy the biharmonic equation is used, and boundary conditions are enforced through determining values of the arbitrary constants.
The Galerkin procedure, on the other hand, uses only functions which automatically satisfy the boundary conditions, i.e., yn = V a^ f^ where each f^ satisfies
boundary conditions„ The constants are solved for by integrating the product of the Euler Equation of the functional describing the problem with the individual functions. For example, suppose a physical situation is described by the extremal of
i2equation is y" 4- x y - x = 0 = L(y). Galerkin proposed
the arbitrary constants be solved for by integrating n f^ dx = 0, i.e., by orthogonalizing the Euler
equation with the original functions. Convergence has been proven for Galerkin6s method if the set of functions is complete. The finding of a complete set which satisfies boundary conditions can be somewhat troublesome - especially when more than one dimension is involved. Naviers solution for the simply supported plate is an example of Galerkin’s method.
(y'2 4- x^y2 - 2xy) dx = v(y). The Euler
CHAPTER 3
EXAMPLE PROBLEM
Statement of Problem
The problem worked for this thesis is taken from Frocht (1948). The example was chosen because of the singularities in geometry and loading pattern. The stress field produced by these singularities is not easily represented by a series of functions.
180 lb
1.885
thickness = 0.255"
180 lb
Figure 2 Example Problem
12
13Numerical Integration Schemes
Two different integration schemes are employedin the program for the procedure.
First, to calculate the gradient on the boundaryusing Equation (2.4), the trapezoidal rule is used. For linear loading, patterns this method will give exact results within truncation error. For singular loads as in this problem, an approximation to the loading nattern must be made before applying the trapezoidal rule.
T is the traction per unit of arc length. This implies
Figure 3 Equivalent Loading Representation
( h ) ( t ) ( d s ) = T
( h ) (0.255") (1.414 w") = 180 lbh = 180/ (0.255) (1.414 w ) Ib/sq. in. (3.1)
14
For the integration of Equations (2.3) which leads directly to a system of linear simultaneous equations, a more precise method of integration is employed. The integral of the product of the gradients involves higher order polynomials. For example, suppose twenty functions are needed for convergence. Mgg = (20x^y - 20xy^) i 4- (5x^ - 30x^y^ + 5y^) J. An eighth power polynomial would be the integrand.
Because higher order polynomials are usually involved in the integration process, Gauss8 quadrature is used as the numerical integration scheme. Gauss attempted successfully to find an uneven spacing pattern which would increase numerical integration accuracy for the same number of points used by an even spacing integration scheme. Very simply, if five equally spaced points are used as the basis of a finite difference integration scheme, fourth order polynomials will be integrated exactly. If five- point Gauss quadrature is used, (2n -1) or ninth order polynomials will be integrated exactly (Scarborough, 1958).
Ten-point Gauss quadrature is used in the computer program for this thesis. Sixteen-point quadrature would have given the required accuracy to handle all integrals exactly in the Boussinesque formulation of the example problem. The effect which this more accurate integration scheme would have had was not investigated. Possibly the
15somewhat fuzzy factor of computer truncation error would obscure this inquiry.
Figure 4 show the eight arc lengths which were divided into ten-point intervals. The entire set of the ten points is interior to its interval.
.9425)
e
Figure 4 Boundary Point Distribution
The following formula is used to calculate the Gaussian points given the end noints a and b:
x = ut (xa - xb ) + (xa + xb)/2 (3.2)where u^ = - u ^q = -.48695326
u2 = - Ug = -.43253168
Ug = - Ug = -,33970478
u4 = - uy = -„21669770
ug = -ug ■= «.07443717
The weight factors R associated with the integration
located in the Appendix. Finally, the Gauss quadrature formula is
the point of application of loading. This enabled the equivalent load representation of Figure 3 to be spread over arc lengths be and cd of Figure 4. In addition, more points are located near the region were a large gradient in the stress field would be expected. The effect of the choice of boundary points is investigated in the next chapter.
Equation Solver
solve the simultaneous equations (2.3). The method is especially well suited for ill-conditioned matrices and is limited to positive definite, symmetric matrices. (Booth
procedure are contained in the computer program which is
f(s) ds = (b-a) [ Rjf(xi,yi) 4- Rgf(xg^) 4- . . .
The ten point intervals were chosen smaller near
A descent-to-the-center equation solver is used to
1957 )
17The basis of the method is an error function S
where S = (1/2) Xt A X - X, X is the vector of unknowns,A is the symmetric matrix, and B is the constant vector.This error is minimized in a definite number of steps, i.e., not by an iterative procedure. The value of X corresponding to a minimum error is the solution.
The descent-to-the-center method is analogous to the Gram-Schmidt process of matrix algebra. The error describes a set of concentric hyperellipsoids. The common center of these ellipsoids is the solution. By mathematically proceeding to the center along vectors, each of which is orthogonal to all previous descent vectors. The solution is obtained in a number of steps equal to the number of equations being solved.
Since the matrix is symmetric, only slightly more than half of it need be stored. When solving the equations by descent to center, the matrix is not destroyed. If m equat ions with m unknowns are stored, a number n (less than m) of equations can be solved if desired. An escalation scheme is employed in the solver which avoids the necessity of all computations being made each time a larger number of equations is soIved. Each solution produces an error S which is calculated. A convergence analysis is made in thenext chapter based on the value of (S„ - Sra i)/Sm .' ui m-iz * m
18Calculation of Stresses
Once the arbitrary constants have been calculatedthe stresses follow by definition of Airy's stress function from the equations
A stress solver is included in the Fortran program, It first calculates stresses in polar coordinates, and then converts these to cartesian via the stress transformation law. Principal stresses are calculated from the cartesian stresses by using Mohr's Circle relationships.
Symmetry of ProblemThe boundary and loading patterns are symmetric
with respect to the x and y axes. This symmetry implies that only even angled cosine functions are needed to represent stresses, i.e., r^, r^cos 26, r^cos20, r^cos48, r^cos 40, etc. In addition, the functions rcos0 and rsin0 are included in the computer program to allow for an arbitrary selection of the gradient at one point on the boundary.
19
Y
Figure 5 Symmetrical Stresses
For example, in Figure 5 the stresses at point a should equal the stresses at point b . The following relationships are obviously true.
cos A 4 cos(1RO-Q) cos 2A = cos 2(180-A) sin ft 4 sin(180-ft) sin 20 4 sin 2(180-ft)
When calculating stresses by equations (3.3), second derivatives with respect to ft are involved for (7r andC7q . Thus if cosine functions are used to compose Airy1s stress function, symmetric stresses will result.
20Comments on Programming
The boundary data input data consist of end points for Gauss quadrature intervals. The program computes the ten interior points for each interval for straight line boundaries. A subroutine for curvilinear boundaries can be developed through use of a Newton-Raphson type search.
Tractions are read in in terms of cartesian coordinates. The gradient of the stress function is set to zero at x = 0.9425 and y = 0.0. The Boussinesque tractions (explained in the next chapter) are calculated by a subroutine. The program transforms all tractions to polar coordinates6 The gradients of Michell8s functions are generated from generic form in polar coordinates.
Stresses are calculated in terms of polar coordinates and then transformed to be read out in terms of principal stresses and cartesian stresses.
The program is heavily documented with comment statements and is contained in the Appendix.
CHAPTER 4
BOUSSINESQUE FORMULATION
Convergence Rate of Equivalent ProblemsThe convergence of certain mathematical series
can be accelerated by breaking the series into two other series. For example, the series (Kantorovich and Krylov, 1964, P . 78)
OQy l/(n2 + 1) takes 1000 terms to get accuracyn=l
of 0.001. This series can be broken into two series.
l/(n^ + 1) = y r 1/n^ - l/n^(n^ + 1)"]n=l n=l
The summation of the first term on the right hand side of the above equation is known to be 'TT /6. The second term converges to three decimal accuracy in eight terms, a vast acceleration. This process can be continued until convergence can be obtained with just one term.
) l/(n2 + l) = ) £l/n2 - 1/n^ 4- 1/n6
- 1/n® 4- l/n^O . l/n^(n2 4- 1)]The summation of the first five terms is known. The last summation can be computed to three decimal accuracy with just one term.
21
22
A similar idea can be used in the least squares procedure. Very likely the singular loading pattern of Chapter 3 causes stress patterns which are difficult to represent by a small number of functions. In this chapter the problem is broken down into three problems, and the solutions are then superimposed or added. The stress field for a point load on the half plane has been known since the late nineteenth century. Through superposition this function is used to accelerate convergence.
The Boussinesque FunctionThe stress distribution due to a load P acting on
a semi-infinite plane is given by (Timoshenko and Goodier, 1951).
CL = - 2 P cos7T t r
°"@ = o,
TrS ^ (4.1)
Figure 6 on the next page shows the loading for this function.
i
23
P
y
X
Figure 6 Concentrated Load on Straight Boundary
24Superposition Procedure
In the half plane the example problem can be drawn as shown in Figure 7. Since Trq and G q equal zero, there will be no stresses on the planes 1-2 and 1-4. To use the Boussinesque function, the value of P* (not P) must equal 180 lb. The value of P can be found by integrating thevertical component of force along the arc ab.
P* = 180 lb sr 2 P I (cos 6) cos 0 r dA77* t J a r
P = 360 7T lb( 77* ♦ 2)
This value of P must be used to insure P* = 180 lb.
Ill III
Free Body Diagrams
Figure 7 Square in Half Plane
25A force P must also be applied at point 3 as shown
in Figure 8. When Figures 7 & 8 are superimposed. Figure 9 results.
FreeBodyDiagram
P*P
Figure 8 Complementary Half Plane
Bouss inesque tractions
Figure 9 Boussinesque Boundary Tractions
26The stresses throughout the square of Figure 9 can
be calculated by superimposing the Boussinesque stresses of equations (4.1). The Boussinesque boundary tractions can be calculated by first calculating the stresses of equations (4.1) at the boundary - and then using the stress transformation law to find the stresses acting on the boundary. By reversing these Boussinesque tractions, Figure 10 results.
Reversed Boussinesque Tractions
Figure 10 Superposition of Stress Fields
27Because the stress fields are linear, they can be
superimposed. As previously mentioned, the stresses in Square I of Figure 10 are easily calculated. The stresses in Square II can be obtained by the least squares procedure. Since the stress field of Square II is more nearly uniform than that of Square III, fewer functions are needed to represent it.
Effect on ConvergenceElsgole (1962, p.148) says the following as to
the convergence of direct methods in the calculus of variations:
Having computed yn(x) and yn4.l (x), we compare them at some points of the interval (x0, xl). If with the degree of exactness required for a given purpose their values coincide, then we consider the solution of the variational problem equal to
. yh('x).Figure 12 shows the locations of the points where
stresses were calculated to test for convergence. As mentioned before, the equation solver in the computer program operates on a matrix without altering it. To make use of this option, a matrix is generated using more functions than is anticipated to be needed for convergence for a specific problem (based on experience). As a first trial, a sub-matrix and sub-vector are operated on.
28For example, in the Boussinesque formulation, a
matrix based on 31 functions was generated. First, the 1 x 1 matrix was solved, then the 2 x 2, etc. When theequation solver is operating on n equations, it uses the\last vector calculated during the solution process of (n - 1) equations as a first descent vector. Very likely then, the process will take fewer than n vectors to get within a certain tolerance of the solution. A termination test is included in the subroutine based on the value of VAV „ 00000001 (Sn=,̂ ) where V is the last calculated descent vector, A is the matrix, and S is the descent error calculated from the previous solution.
At times, several vectors must be calculated, but usually a number less than the number of equations.. The entire example problem including the 31 sets of simultaneous equations took less than four minutes on the IBM 7072 digital computer.
To avoid calculating stresses at a number of random points each time an increased number of functions is used, a printout command is based on the error S associated with the descent-to-the-center process. The value Q =(Sm i - Sn)/ Sn is the actual controlling quantity. For example, printouts were made for Q = 10“ ,̂ 10"^, etc.
29TABLE I
BOUSSINESQUE CONVERGENCE
Node 11 Functions 18 Functions 31 Functions
S1sx Sigy sigx Slgy Si§x Sigypsi psi psi psi psi psi
73 228 -783 228 — 782 229 -78275 160 -617 159 -616 160 -61577 81 -398 80 -396 79 -39479 12 -120 6 -122 3 -11961 219 -881 220 8 00 00 fr-8 221 -88263 175 -778 175 -777 176 -77865 92 -559 92 -558 94 -55767 19 -303 20 -301 21 -30049 159 -110 160 -110 160 -11051 107 -981 108 -982 108 -98353 13 -746 14 -745 14 -74755 ” 68 -481 -67 -479 -67 -47937 95 -1404 96 -1406 95 -140739 17 -1236 18 -1238 17 -123943 -198 -653 -196 -654 -198 -65531 -310 -815 -307 -818 -310 — 82023 -469 -1119 -468 -1122 -470 -11269 -874 -3523 -881 -3520 -881 -3518
30
TABLE II EQUIVALENT-LOADTNG CONVERGENCE
Node 22 Functions 59 Functions 66 Functionssisx Sigy Sigx Sigy Sigx Sigypsi psi psi psi psi psi
73 231 -784 231 -784 230 -78375 162 -616 160 -614 160 -61577 80 - -391 79 -392 79 -39379 -1 -113 5 -120 5 -11961 222 —884 222 -885 222 -88463 177 -779 178 -779 178 -77965 95 -559 95 -555 94 -55567 26 -299 20 -295 20 -29549 160 -1103 158 -1102 158 -110251 106 -982 106 -986 106 -98553 8 -742 15 -750 15 -75055 - 74 -481 -61 -480 -62 -48037 95 -1420 88 -1411 88 -141139 19 -1245 9 -1239 9 -123843 -200 -638 -209 -658 -209 -65831 -297 -791 -322 -808 -321 -80823 —462 -1145 -448 -1144 -447 - m i9 -895 -3619 -942 -3745 -946 -3746
31In the Boussinesque formulation, at the twenty-
(two points checked for stresses, all stresses calculated with 18 functions agreed with those calculated with 31 functions within 3 psi. Table I contains these results.With just eleven functions, very satisfactory results were also obtained, and these are also contained in Table I,
In the equivalent loading representation, all stresses calculated with 59 functions agreed with those calculated with 66 functions within 2 psi. These results are contained in Table II, With just twenty-two functions, very satisfactory results were obtained, and these are also contained in Table II.
Effect of Boundary Point SelectionIf a high-enough Order integration scheme is used,
the choice of boundary points should have no effect on thedetermination of the arbitrary constants. If at least asmany points as functions are used, the matrix generated seems to be assured of being nonsingular.
Figure 11 shows the three different point patterns investigated with use of the computer program. Each pattern has eight intervals which are divided into ten point Gaussian spacings.
Pattern A; 1 - 2a, 2a - 3, 3 - 4a, 4a - 5, 5 - 6a,6a — 7, 7 - 8a, 8a — 1
32
2c (.2, .7425)4c
4a
6a
Figure 11 Boundary Point Intervals - Bdussinesque
Pattern B: 1 - 2b, 2b - 3, 3 4b, 4b *» 5, 5 - 6b,6b " 7, 7 - 8b, 8b — 1
Pattern C: 1 - 2c, 2c - 3, 3 - 4c, 4c - 5, 5 - 6c,6c » 7, 7 - 8c, 8c - 1
The results of Table III appear to be very good„But notice should be made of the fact that a large portion of each stress was calculated by the Boussinesque function. In addition, only twenty-one functions were used to determine Table III. The boundary may be very substantially determined by all three of the patterns. In other words,
33this investigation does not demonstrate that the computer program will always or even usually overcome the problem of boundary point selection. However, the use of a very large number of boundary points should make the numerical integration accurate enough so that truncation errors within the computer will dominate the resultant errors.
Table III contains the results of the inquiry.Table IV gives the coordinates of the node points listed in Table III. Figure 12 shows the location of the node points.
34TABLE III
COMPARATIVE STRESSES FOR THREE BOUNDARY POINT PATTERNS
NODE PATTERN A PATTERN B PATTERN CSigx Sigy Sigx Sigy Sigx Sigypsi psi psi psi psi psi
73 229 -783 229 -782 228 -78275 160 -616 160 -615 159 -61577 80 -395 79 -394 79 -39579 6 — 120 4 -120 4 -12161 221 -882 221 -882 220 -88163 177 -778 176 -777 176 -77765 94 -558 93 -557 93 -55767 21 -301 21 -299 20 -30149 161 -1099 160 -1099 161 -109851 109 -983 109 -983 109 -98253 15 -747 15 -746 15 -74655 —67 —480 -67 -479 —67 —47937 96 -1407 95 -1407 96 -140639 18 -1239 17 -1239 18 -123843 -196 -656 -197 -655 -196 -65531 -308 -820 -309 -820 -307 -81923 -469 -1124 -470 -1125 -469 -11239 -882 -3520 -880 -3519 -883 -3519
35
23
43 45
55
6763 65
Figure 12 Node Point Location
TABLE IV NODE POINT COORDINATES
Node Point X - Coord„ Y - Coord.
73 .14 in. .0 in.75 .29 .077 .44 .079 .64 .061 .09 .2363 .19 .2365 .33 .2367 .48 .2349 .075 .4351 .142 .4353 .24 .4355 .345 .4337 .06 .5639 .115 .5641 .18 .5643 .26 .5629 .1 .63531 .21 .635
CM .081 .712523 .155 .71259 .05 .8425
CHAPTER 5
COMPARISON OF RESULTS
Finite Element
Figure 12 shows the constant stress triangle mesh used in the computer program of Mr. Melvin L. Callabresi and Dr. Ralph M. Richard of The University of Arizona.The stresses are calculated by taking a simple average of the corresponding stresses of all triangles surrounding a particular node point. Stresses are also calculated at these same node points by the Boussinesque formulation of the least squares procedure. The results are contained in Table V. In general, the least squares stresses are of slightly higher magnitude than those of finite element.
PhotoelasticityThe results are taken from Frocht (1948). Stresses
are compared with least squares along the lines y = 0.0 and y = 0.377. The results are contained in Table VI. Values for other locations are not tabulated by Frocht.In general, the least squares stresses are of lower magnitude than those of photoelasticity.
37
TABLE VFINITE ELEMENT COMPARED WITH LEAST SQUARES
J Node Finite Element Least SquaresSiSxpsi
Sigypsi
Sigxpsi
Sigypsi
73 203 — 761 229 -78275 119 — 604 160 -61577 49 — 3 69 79 -39479 7 -261 4 -12061 212 -879 221 -88263 153 -736 176 -77765 72 -518 93 -55767 5 -277 21 -29949 145 -1095 161 -109951 111 -951 109 -98353 23 -720 15 -74637 92 -1395 95 -140741 -91 -986 -90 -97729 -156 -1622 -64 -147721 -274 -1786 -182 -189815 -467 -2420 -477 -26629 -637 -3358 -882 -3520
39
TABLE VI
PHOTOELASTICITY COMPARED WITH LEAST SQUARES
Coordinates Photoelasticity Least Squares
X Y SiSxpsi
Sigypsi
Sigxpsi
Sigypsi
'.09425". .0 " 260 =876 243 CO00• 8
.28275 ,0 173 = 679 164 = 625
.5655 .0 36 -214 25 -212
.84825 .0 1 -13 10 -10
.09425 .377 196 -1041 173 = 1004
.28275 .377 51 -609 30 -642
.47125 .377 51 -257 63 = 240
40
Comparison of Boussinesque and Singular LoadingBecause of the difference in load representation,
a difference in stresses is to be expected near the loadapplication point. At points removed from the loading area stresses should be much alike.
The comparison serves as an excellent demonstration of St. Venant1s Principle. At the line y = 0, the stresses calculated are all within 5 psi. Near the load point, a stress difference of 12% in the x-direction and 3% in the direct ion is typical.
The results of the comparison are contained in Table VII.
Suggested ExtensionsThe most serious drawback of the procedure as set
forth is that it handles only stress tractions. The computer program does not handle the displacement boundary value problem, or the mixed boundary value problem. If a complete set of functions could be found for Navier1s equations, perhaps a least squares procedure could be formulated for the displacement boundary value problem.
Another shortcoming of the Fortran program is its inability to generate Gauss quadrature points for curvilinear boundaries. A NeWton-Raphson type search subrout ine could be incorporated into the existing program to determine Gaussian spacing for more general boundaries,
41
TABLE VII DEMONSTRATION OF ST. VENANT'S PRINCIPLE
Node Singular Loading Bouss inesqueSigx Sigy Sigx Sigypsi psi psi psi
73 230 -782 229 -78275 160 -615 160 -61577 81 -396 79 -39461 224 -884 221 -88179 8 -118 '3 -11963 177 -776 176 -77865 91 -553 94 -55767 18 -301 21 -30049 166 -1110 160 -110051 114 -989 108 -98353 17 -739 14 -74755 -66 -464 -67 -47937 88 -1426 95 -140739 18 -1258 17 -123943 0000#-48 -635 -198 -65531 -302 -822 -310 -8209 -802 -3588 8 00 00 -3518
APPENDIX
Contained in the appendix is the corrmuter nrogram used to obtain results for this thesis. The main program follows the listing of the subroutines„
42
no
n n
n no
n n
no
no onnon
63* COMPILE FORTRAN# EXECUTE FORTRAN
LINEAR SIMULTANEOUS EQUATION SOLVER FOR POSITIVE DEFINTE MATRICESTHIS SUBROUTINE DEVELOPED BY DR# NEFF Of U# OF A#ACC IS VALUE USED AS TOLERANCE FOR ESCALATING TESTNE IS NUMBER OF EQUATIONSX (NE) IS PRELIMINARY GUF5S FOR XOF = TWICE DESCENT ERROR = BX**2 - 2C<X)SUBROUTINE DE<C (B#C»X#QF)COMMON KN»NE#LN#ACC, IBDIMENSION R(250),C(69)#X(41),R(41),V(41)VINE) = 0.0 XINE) * 0.0 DO 11 I=*l #NETHE 5 LOOP FUNCTIONS TO CALCULATE RESIDUES ON PREVIOUS VALUES OF CALCULATED X DO 5 K * 1♦N E P = 0.0ROW WITH UNKNOWNS XTHE 4 LOOP FUNCTIONS TO CALCULATE PRODUCT OF J-TH DO 4 J«1*NCTHE FOLLOWING NINE STATEMENTS FUNCTION TO CONVERT SEQUENCE OF LOCATIONS IN COMPUTER TO A MATRIX IF (J-K) 101.102.102
101 KT«J j t«kGO TO 103
102 KT»K JT = J
103 IB*LN~KT IB=lB*KT-ie IB*TP/?+JT
4 P * P + 8(IB)*X(J)5 R(K) = P - C(K)
RSO = RESIDUE SQUARED RSQ * 0.0RAR.VAV.VAR# ARE INTERMEDIATE QUANTITES NEEDEDTO CALCULATE ORTHOGOANL DESCENT VECTORSRAR * 0.0 VAV rVAR = O.C OF = 0.0THE 7 LOOP CALCULATES VAV IN PREPARATION OF TERMINATION TEST FOP EQUATION SOLVER DO 7 < =1»NEOF = OF + X (K )*(P (K )~C (K ))RSQ a RSQ + R (K )**2 P = 0.0 Q « 0.0
C THE 6 LOOP DOES INTERMEDIATE CALCULATIONS TOWARD
44c finding orthogonal vectors
DO 6 J*1 ,NEC THE FOLLOWING NINE STATEMENTS FUNCTION TO CONVERTC SEQUENCE OF LOCATIONS IN COMPUTER TO A MATRIX
IF(J-K) 1,2*21 KT = J
JT ~ K GO TO 3
2 KT = k JT * J
3 IB=LN-KTIB = IB*KT - IB IB « IB/2 + JT 0 * 0 + B ( 13)*V < J )
6 P * P + R (I B ) #R ( J )RAR - PAR -f P*R(K)VAR * VAR > Q*R(K )
7 VAV = VAV + Q*V(K)IF(NE-l) 9,8,9
0 VAR = C#0C NEXT TWO STATEMENTS NECESSARY TO GENERATE ORIGINALC DESCENT VECTOR
VAV = 1,0 GO TO 16
9 IF(I-l) 17,16*17C TEST TO SEE IF NEW VECTOR WHICH IS APPROXIMATELYC ORTHOGONAL TO ALL PREVIOUS DESCENT VECTORS BRINGSC SOLUTION TO WITHIN PRESCRIBED TOLERANCES,
17 !F(VAV + ACC*OF)15*16* 2616 P = VAR**2 - RAR*VAV
P = RSO/P Q = P*VAV R * P*VAR DO 10 J=1»NE V(J) = 0*R(J ) - P*V(J )
10 X ( J ) = X ( J » 4- V ( J )11 CONTINUE15 PRINT 12* I,VAV,OF*RSO12 FORMAT(14H I,VAV,OF,RSS= * 13, 1P3E15,7)
RETURNEND
SUBPOUT INE 3EUSS (P * T * XX * YY * A , TRACK * TRACY)C THIS SUBROUTINE CALCULATES 30USSINESCUF TRACTIONSC FOR SQUARE IN HALF PLANE
DIMENSION XX (3 9) ,YY(89)*TRACX(89)♦TRACY(39) AFC=.5*SORTF(2.)01=3.141593 DO 1 1=45*67RB=SORTF(XX(I)**2+(A-YY(I))**2)A1=AFC*( (4-YY(I ) )-XX( I ) )/RB
r\ n
n n
m non
45A2=-AFC*((A-YY(!))+XX(lJ)/Rfi TRACR=(2.*P*(A-YY(I)))/(RB*PI*T*RB).R2«A1*A1*TRACRT12=A1*A2*TRACRTRACX(I)=-AFC*Tl2-4FC*R2
1 TRACY(n*AFC*I12-AFC»52 00 2 M = 1 ♦?!N=45+MTRACX(MM)a-TRACy(N)TRACY(MM) »TF?ACY ( N)L- 45—MTRACX(L)*TRACX(N)TRACY(L)*-TRACYfN)ML=M+1TRACX(ML)«-TRACX(N)
2 TRACY(ML)»-TRACY(NJ TRACY(1)=-TRACYf45)TRACY(S9)»-TRACY(1)TRACX(1)*-TRAC X (45)TRACX(89)*TRACX(1 )TRACX(23)=0*TRACX(67)*0 *TRACY(23)=-TRACY(67)TRACY (45RETURNEND
SUBROUTINE STSOl. (XS,YS,C,GDL)DIMENSION C (41 )DIMENSION XS{29)*YS(29)THIS SUBROUTINE CALCULATES STRESSES IN X-Y DIRECTIONS AND PRINCIPAL DIRECTIONS USING THE CONSTANTS CALCULATED BY THE LEAST SQUARES PROCEDURE.A=.?425NPS = NUMBER OF NODE POINTSNPS«29NFU=31NFD2= (NFU-3 )/?.NFD4a(NFU-1)/4THE 400 LOOP CALCULATES ATRESSES FOR PARTICULAR NODES.DO A00 N*ItNPSP-SQRTF(XS(N )**2+YS(N )**2)SINMaYS(N)/P COSN=X5(N)/P SIGR=2t*C(l)TAUzC.STHETaSIGRCAUTION - ATANF MUST BE MODIFIED IF FUNCTIONS OTHERt h a n e v e n a n g l e d f u n c t i o n s a r e to be u s e d
46THEDA = 2•#ATANF(Y5(N )/XS(N ) )RBIG=1 •PP a p-R- p RG IAMsP P
C THE 47 LOOP CALCULATES l e a s t s q u a r e s s t r e s s e s f r o mC GENERIC rORM*
DO 4 7 L=1*NFD2 YX = LTEMP=YX*THEDA COSA=COSF(TEMP)SIMA=SINF(TEMP)LL=2*LB=LL-17 -LLD=LL+1E*LL+2NA=2*L+2NB*2*L+3SIG R = SIGR « C (N A )* RB!G > C0 S A * Z * B > C (N B )* C0 S A * R GI A N *(E-Z
1**2)STHET=STNET+C(N A )*Z*S*R8IG*COSA+C<N B )*E*D*R6IAN*
1COSATAU = TAU+C(NA)*B*Z*RBIG*SINA + C (NB >*Z*D»RGIAN*SINA RGIAN=RGIAN*PP RGIG=R8IG*PP
47 CONTINUEC THE NEXT SIX CARDS CONVERT POLAR COORDINATE STRESSEC TO CARTESIAN STRESSES*
SIGX“(XS(N )/P)**2*SIGR+(YS(N)/P)**2*STHET-( I XS(N )* 1YS(N) ) /(P*o ) ) *2 » *T At'S I G Y = (Y S ( N ) / ? ) * * 2 * S I G R + ( X S ( N ) / P ) * * 2 * S T H E T + ( (X5(N)*
1 Y S ( N ) )/ ( P * P ))*2.*TAU TXY= ( (XS(N)*Y5(N) ) f ( C'*P) )*SlGR-( (XS(N)*YS( N) ) / ( P*P
1 ) ) *STHET+t ( (X S (N )* X S (N ))/(P * P ) )-((Y S (N )* Y S ( N ) ) / ( P * 2 P )) )*TAU
C THE FOLLOWING FIVE STATEMENTS CALCULATEc b o u s s i n e:s o u e s t r e s s e s a n d s u p e r i m p o s e t h e m
RB=SQRTF(tA~VS (N ))**2+X5(N)**2)SIG6P-“ (2 #*GDL *fA-YStN)))/<RB*3•1415R3*.2 55*PB)S I G X ~ S I G X + (X S (N > /R 3 ) * * 2 * S I G 3 R S I G Y = S 1 G Y + ( ( A - Y S ( M ) )/ R B )* * 2 * SIGB R T X Y = T X Y - ( (X S t N )*(A - Y S (N ) ) ) / ( R B * R B ) )*SZGRR R 3 = S C R T f ( (4 +Y S ( N ) ) * * 2 + X S ( N ) * * 2 )SIGBR=~(2 •*GDL *(A+YS(N)))/(RB*3.141593*.255*R9)S I GX =■- S I GX -f ( X S ( N ) /RB) **2*5 I GBR SI6Y*SIGY4((A+YSfN))/PB)**2*3!GBR TXY = TXY+( (XS(N)*(A + YS(,\) ) ) /(RB*R3) )*SIGBR PRINT 108
100 FORMAT (IHOf10X*4HSIGX»16X,4HSIGY»16X#3HTXY/ )PRINT 1G7,SIGX,SIGY,TXY
107 FORMAT (3E20.5)
47C CALCULATION OF PRINCIPAL STRESSES
COMP 1 *(SIGX+SI G Y )/2 *COMP2=SORTF((<IGX~5IGY)**2*.25+TXY**2)PrvSl=COMPl>COMPp PRS2 ~COMP1-COMP 2 SHEARr fPfiS2-PRSl )/2.PRINT 160
160 FORMAT (1H0.3X»17HPRINCIPAL STRESS 1•3X#17HPPINCIPAL lRE-SS2tlOXf5HSHEAR/)PRINT l07tPRSltPRS2»SHEAR
400 CONTINUE RETURN END
SUBROUTINE CNST (X ♦Y .TRACX,TRACYtSUMBfU#R♦AL eXX.XS♦ 1GDL)DIMENSION XS(22),YS(22)DIMENSION B(IOOO)♦SUMB(69)DIMENSION XX(41)COMMON KN,NE,LN,ACC,1B DIMENSION U(10).R(10)DIMENSION DELX(89)»DELY(80)»GRADR(69)*GTHET(69) DIMENSION SIN(89)•COS(89)DIMENSION X (89) »Y(89)tTRACXf 89),TR1CY(39)DIMENSION DX(89) •DX.y(fl9)DIMENSION AL(C )
C THIS SUBROUTINE CALCULATES ARBITRARY CONSTANTS FORC LEAST SQUARESe
ACC* *000001 NFU=31 KN = 31 LN = 62 TEST*:.GOOD =#000001 NP =89 NFUPcNFU+1 ZAXD = fUC ZAYD=0#0
C INITIALIZATION OF GRADIENT ON POUNDA9YDELX< 1 )=0. •DELY(15=0.0 N P1 = N P -1
C LOOP 1 CALCULATES GRADIENT ON BOUNDARY.DO 1 I=1 ♦ NP1 J = I + 1DX( I ) *X{J ) - X (I )DY=Y(J)-Y(I)IF(DX(I))99,99,99
96 DXM(I>=SQRTF(l.+(DY/DX(I))**Z.)GO TO 97
99 DXM(I)=1.
48DX (I)=DY
C TRAPEZOIDAL RULE FOR INTEGRATION97 TRAPY»DXM(I)*(TRACX(I)+TRACX(J))*ABSF(DX<I))/2•
DELYt J)=TRAPY4-0ELY( I ITRAPX=DXM(I)*(TRAfvf[)+TRACY(J))*ABSFCCX(I))/?• DELX(J)»DELX(I)~TCAPX IE(A BS F (DE L X (J ) )-7AXD)3»3#2
2 Z AXD*AHSFf OELX(J ) )3 IF(ABSF(DFLY(J))-ZAYD)l*l#44 ZAYO=ABc>r (DELYC J U 1 CONTINUE
C PRINT 10 IS TEST TO SEE IF REGION 15 IN EQUILIBRIUMPRINT 10
10 FORMAT (IHOt 15HGPADIFNT ERRORS )PRINT 20* DELX(NP)*OCLY(NP)
20 FORMAT (1P2E20.7)PRINT 3C
30 FORMAT (1H0*18K MAXIMUM GRADIENTS)PRINT 40, ZAXDtZAYD
40 FORMAT (1P2E20*7)DC 35 NN»1,NFU
35 SUMS CNN)=0,J0E*NP-1 J A C K »1 KIK=1 IKI»0NFD2=(NFU-3}/2 NFD4=(NFU-1)/4 DO 95 M=],JOE I F(M-JACK)96,9 3*96
93 JACK=J4CK+}1 GO TO 95
96 CONTINUE IKI=TKI+1IF(IKI-ll) 27,28,27
28 IKI=1KlK.sKlK+1
27 CONTINUEP = SORTF(Y(M)**2 + X(M)**2)SIN(M)*Y(M)/P COS(M)nX(M)/P
C CONVERSION OF GRADIENT ON BOUNDARY TO POLAP COORDS*DELR*COS(M)*0ELXfM)+SIN(M )*DFLY(M )DELT=-SIN(M )>DELX(M )+COS(M )« DELV(M )t)ELX<M)«DELRDELY(M)=DELTGRADRC1 )=2.*PGTHET(1)»0.THEDAs2.*ATANF(Y(MJ/X(M))GTHET(2)«-SIN(M)GRADRC2)*COSfM>
49G R A D R O )«SIN(M)G THETO J«COS(M)RBIG»PR2*P**2.
C LOOP 965 CALCULATES GRADIENTS FROM GENERIC FORM*DO 965 N*1*NFD2 YX*.NTEMP«YX*THCDA SXNA-SINF(TEMP)COSA-COSF(TEMP )NA»2*N+2 NB=2*N+3 A=2*N-1 0B=A+l*C=A+2*D=A+3*GRADR ( NA ) aBB*P.B!G*C05A 5THCT(N A )=-BS*Rn!G*SINA GRADR<M8)=D*RBIG*R2*C0SA GTHET(NB)=R2*GTHFT(NA)R9IG=RBIG*P2
965 CONTINUEC LOOP 816 INTEGRATES ON BOUNDARY USING GAUSSC QUADRATURE*
DO B16 K<»1*NFU 3 16 SUMB(KK)"SUM3(KK)+R(IKI)*DELX(M)*GRADR(KK)*AL(KIK)
14RUKI )*DELY(M)*GTHET(K:<)*AL(KIK)C LOOP 616 INTEGRATES ON BOUNDARY USING GAUSSC QUADRATURE#
DO 816 K* 1 #,<N DO 018 J=K*KN IF (J-K) 101,102,102
101 KT?J JT-KGO TO 103
102 KT*K JT»J
103 IP*LN-KT IB«IB*KT-IB IG=ie/2+JT
618 B( ID )~B( IR)4-R ( IKI ) *GR ADR ( K ) ->GR ADR < J > *AL ( K IK H R ( IKI) 1*GTHET{K)*GTK?:T( J)*AL?KtK,)
9 5 CONTINUEPRINT 500,ACC DC 200 NE = 1 ,:<N PRINT 700 PRINT 300,NECALL DESC (B,SUVA,XX,ERR)PRINT 800,(XX( I ) ,1 = 1 ,,NE)PRINT 300,NE
200 CONTINUE
50
300 FORMAT ( 13H STEP .NUMBER , 12* 10(2H, )>500 FORMAT (13H1VAV/QF L.E. »1PE14.7)700 FORMAT (1H )800 FORMAT(1H /•(1P6E15•7 ) >
RETURNEND
C MAIN PROGRAMC AIRYS FUNCTION BY MODIFIED TREFFTZ METHOD
DIMENSION X (?)♦Y(?) ,TRACX(S9)* TRACY(39)*XX(39),YY{8 19»AL(8)DIMENSION U(10),2(10)DIMENSION XS(29),Y S (29)DIMENSION CONST(69)DIMENSION ZZ(41)NPS»9 ND»2 9
C READ IN INTERVAL END POINTSREAD 11,(X(N),N=1,NPS)DEAD 11,(Y (N ),N»1,NP5)
C READ IN NODES WHERE STRESSES TO BE CALCULATEDREAD 11, (XS(N ) ,N = 1*ND)READ 11, ( Y S ( N ) ,\’=1,ND)
11 FORMAT (SF10.5)PRINT 710
710 FORMAT (1HC,26H X COORDINATES OF BOUNDARY >PRINT n , ( X ( N ) ,N=1,NPS)PRINT 711
711 FORMAT(1 HO »26H Y COORDINATES OF BOUNDARY )PRINT 11 ,<Y(N) ,N=1,NPS)PRINT 714
714 FORMAT(1H0» 2 3HX COORDINATES OF STRESS >PRINT 11, (XS(N ) iN-1 ,ND)PRINT 715
715 FORMAT(1H0»23MY COORDINATES OF STRESS )PRINT 11, (YS(N ),N-1,ND)
C ARC LENGTHSAL< 2 ) = »7*SQRTF(2. )AL(2)=»2425*SQRTF(2.)AL (3 > =AL(2)AL(4)=AL(1)A L (5 ) =AL(1)AL(6)«AL<2)A L (7)=AL(2)A L (8)=AL (1 )
C GAUSS QUADRATURE SPACING VALUESUtl)=-,48695326 U (2)=-.4325316?U(3)=-.33970478 U(4)=-.2166977 U(5)=-.07443717
51U(6)*-U(5 >Uf7)=-U(4)U(8)»-U(3)U(9)=-U(2)U(lO)r-U(l)
C GAUSS QUADRATURE WEIGHT FACTORSR(l)«#03333567 R (2)* e07472567 R(3)=.10954318 R (4)*•13463336 R (5)3•14776711 R (6)*R(5 >R < 7)=R(4 )R(8)*R(3)R ( 9 ) = R ( 2 )R (1 0 ) s R (1 )XX(1 )=X(1 )XX(12)=X(2 )XX(23)xX (3 )X X ( 3 4 ) = X ( 4 )X X ( 4 5 ) 3 X ( 5 )XX(56)=X(A)XX(67)eX (7)XX < 7 9)eX (8)X X ( 3 9 > = X I 9 )VY(1)=Y())YY(12)=Y(2)YY(23)*Y(3 )YY(3 4)=Y(4)Y Y ( 4 5 ) = Y ( 5 )YY(S6>=Y(6)YY(67)=Y<7)YY(78)=Y (3 )YY(89)3Y (9)M0«0 LEG= 8
C LOOP 313 CALCULATES INTERMEDIATE POINTS*DO 313 L = 1«L £G
1LL=L+1YD=Y(LL)-v(L)XD=X{L L )- X (L )A»(X(LL)+XfL) )/2 •P=(Y(LL)+Y(L))/2.DO 313 Melt 10 MO*MO*1XX(MO)*U(M)*XO+A
313 YY(MO)=U(M)*YD+eA»YY(22 )T=•255P=180.*1.5708/1.2854
52GDL»PCALL 9EUSS CP♦T •XX *vy*A *TRAC XtTRACY)CALL CN5T (XX♦Y Y ♦TRACX•TRACYiCONSTtU♦R#AL♦ZZ tXS»YS•
1GOL)CALL STSCL (XS,YS,Z?,P)STOPEND
REFERENCES
Allen, D. N, de G„, Relaxation Methods in Engineering and Science. McGraw-Hill Book Company, Inc.,New York, 1954. ;
Booth, A. Do, Numerical Methods. Academic Press Inc.,New York, 1957.
Churchill, R. V., Fourier Series and Boundary Value Problems, McGraw-Hill Book Company, Inc.,New York, 1963,
Elsgolc, L. Eo, Calculus Of Variations. Add ison-Wes ley Publishing Comnany Inc., Reading, Massachusetts, 1962.
Frocht, M. M., Photoelasticity. Vol. 1. John Wiley &Sons, Inc., New York, 1948.
Hohn, F. E., Elementary Matrix Algebra, The MacMillan Company, New York, 1966.
Kantorovich, L. V., and V. I. Krylov, Approximate Methods of Higher Analysis. Interscience Publishers, Inc., New York. n S S T ”
Scarborough, J. B., Numerical Mathematical Analysis. The John Hopkins Press, Baltimore, 1958.
Timoshenko, S. and J. N. Goodier, Theory of Elasticity. McGraw-Hill Book Company, Inc., New York, 19517
53