Contractor: Nasa C R - 1 0 2 7
Contractor: Nasa C R - 1 0 2 7
Contractor: Nasa C R - 1 0 2 7
R=19680013006 2020-03-02T23:31:54+00:00Z
,
~ A ~e A~ CaO N
r TrR A C T O R N A S A CR-1027
REPORT
h
N
0
I
e
U
4 CFSTI P R I C E ( S ! 5
rn
4
z
Hard c o p y ( H C I
^.
a
ij (ACCESSION N l i J ? E R
'itiRU,
S
F A G E5 Cb3E
P r e p r e d bv
THERM ADVANCED RESEARCH, INC.
Ithaca, N . Y .
for Larigley Research Ceriter
SUMMARY
INTRODUCTION
PRINCIPAL NOMENCLATURE
c o e f f i c i e n t s i n expansion of s l i p s t r e a m v o r t i c i t y
c o e f f i c i e n t s i n expansion of s l i p s t r e a m r a d i u s
loading c o e f f i c i e n t
t h r u s t c o e f f i c i e n t , thrust/ij(RR)2 (TR 2 )
matching functions f o r s l i p s t r e a m v o r t i c i t y
i t e r a t i o n index
number of gamma c o l l o c a t i o n p o i n t s
s t a t i c pressure
f l u i d velocity, ( u2 + v2 + w2 )%
x,r,e f l u i d v e l o c i t y components
free-stream speed
2
c y l i n d r i c a l coordinates
damping f a c t o r s
r blade circulation d i s t r i b u t i o n
meridional v e l o c i t y , ( u2 + v2 ) %
advance r a t i o , U/-
f l u i d mass d e n s i t y
stream function
yo¶ value of Y on t h e s l i p s t r e a m
prime denotes p e r t u r b a t i o n a l q u a n t i t y
s u b s c r i p t e d v a r i a b l e denotes p a r t i a l d i f f e r e n t i a t i o n w i t h r e s p e c t t o
t h a t variable
nth iterate
d(arc-length)/dx , [l + ( d T / d ~ ) ~ ] *
3
THEORETICAL DEVELOPMENT
W
V
u+u’
u = u + u’ = Yr/r
v = v’ = -YJr
4
'rr - -1Y,+ Y~ = - (fir2+w r ) d(wr)/dY (3)
5
Figure 2. I n t e r p r e t a t i o n of the Green's Function
vortex of u n i t s t r e n g t h , as shown i n F i g . 2 .
With the Green's function i n hand, w e may re-express (3) i n t h e form
wp = constant = 4 / 2 ~ , inside D
=o , outside D
6
w h e r e t ( f ) w i l l denote the slipstream r a d i u s , and Zl is identical t o G ,
w i t h p replaced by t ( f ) .
2
PA + % B A = P, + %p2
where
2
i s the f l u i d m a s s d e n s i t y and q2 I u2+ v + w
2
.
m“
f .
7
I f we a l s o apply it to s t r e a m l i n e B , from "m" to (O-,R-) and then
from ( O + , R - ) to (c,t-)
, w e f i n d that
Ap = d(thrust)/2npdp
= p(np - r / h p ) r d p / 2 ~ p d p
2 2
( u + v + w )B
2
- 2 2 2
( u + v + w )A
5; - 5: + r2/4T2t2
8
t h e s l i p s t r e a m i n t h e simple form
Y ( x , r ) = Xr2/2 + G ( f ; t : x , r ) y ( f ) df
T u = -c- - c 2
8t2
9
Equations ( 2 3 ) and ( 2 4 ) , then, c o n s t i t u t e two coupled nonlinear i n t e g r a l
equations i n the two unknowns Y and T , and a r e t o be s a t i s f i e d over t h e
e x t e n t of the s l i p s t r e a m , O < x < m .
The kernels are a s follows:
w e may express
where
A = [T2- +
t 2 +( 4 - ~ ) ~ ] / 8 n T
t 3/2
F i n a l l y , w e p o i n t o u t t h a t the i n t e g r a l i n ( 2 4 ) is t o be i n t e r p r e t e d i n
t h e Cauchy p r i n c i p a l value sense.
10
of t h e i n t e g r a t i o n , l e t us use t h e known f a c t (e.g. Reference 8) t h a t an i n f i n i t e
solenoid of constant radius and constant vortex s t r e n g t h , T, and Y, i n our
case, induces a v e l o c i t y f i e l d given by
at x = m .
Noting t h a t (24) is merely a re-statement of ( 2 2 ) , w e s e e a l s o t h a t
(24) must reduce t o
11
Figure 4. Flow F i e l d f o r the S t a t i c Condition
12
i n ( 2 3 ) , where G'"' denotes G ( ~ , t ( " ) ; x , T ( " ) ) , and
1 A
-5
(= X
Figure 5. I n t e r p r e t a t i o n of Correction T e r m s
value of x .
The next term, @ , does i n f a c t p a r t i a l l y c o r r e c t t h i s by
deducting (approximately) the flow through t h e annulus BC .
To see t h i s , l e t
US re-express
where (i) approximates t h e a r e a of the annulus BC , and (ii)i s the x-velocity
induced a t B by Y t o ) on t'" .
The l a s t term, @ , s u p p l i e s an a d d i t i o n a l c o r r e c t i o n which i s not, how-
ever l a s e a s i l y i n t e r p r e t e d i n physical t e r m s .
To provide a measure of c o n t r o l over the convergence of the i t e r a t i o n w e
introduce "damping f a c t o r s " a and B so t h a t the r i g h t hand s i d e of (37) i s
replaced by
M
T ( ~ ) ( x=
) 1 + [ f j ( x ) - fj(0)]b;"'
j =1
14
where t h e f 's and g ' 8 a r e s u i t a b l y chosen "matching functions" which tend
1 j
t o zero a t i n f i n i t y . The form of these expressions guarantees s a t i s f a c t i o n of
.
t h e required end conditions, T'"'(0) = 1 and y ' " ' ( m ) = y r b " ' I n a d d i t i o n , a t
l e a s t one of the g 's include an x-* f a c t o r , t o ensure t h e required square-
1
root singularity a t the l i p .
Using t h e above expressions, our "kinematic" equation (23) can be re-written
i n t h e form
r - m } r ( r ) dr (46)
4nr
cT = 2+ (~/2),i?n~]/2
C [1-E (47)
f o r j =1 , ...
, 7 r e s p e c t i v e l y ; and N=9 ,with t h e corresponding "gamma
collocation points",
x
j
= 0.02, 0.05, 0.1, 0.18, 0.3, 0.5, 0.85, 1.4, 2.5
16
that x = 0 must n o t be included a s a gamma c o l l o c a t i o n p o i n t s i n c e t h e dynamic
equation is not s a t i s f i e d a t x = O
A s our "matching functions" we choose
g j ( x ) = x-4e-3x , j=l
= x-0.84+ 0.51je-3x
, j a2 (49)
fj
0. 5
0.0
0.0 0.5 1.0 1.5
X
0.75
gj
0.50
0. 25
0.00
0.0 0.5 1.0 1.5
X
18
1 .o
0.9
n IO1
IO)
0.8
-- 0.7590
0.7 1 0.7547
0.20
0.18
0.16
0.14
Y=‘: 0.1411
-*
z
0
t
E
0
4
-I
4J
3 (d
u
U
I
0
8
4J
n n
*
z
-*
vl
3
n
R
r
*
W
a
n U Q Q m e n r- o
n - n trn at r n
-
c
Y)
a
n
2
v) - 0 n ~ t a o ~ 1
c o r ~ o n m b r l o P
0
L
a
-* .
Z
W &
0
W
c c
C W
*I-
4J
a
t t
oC
Z u 8I
c c,
-
v)a
..
w
c
t m
I
U A
W
a- &
w x a
n
c,
o n s
oa
2
0 -
u.t
-
20
a V
a
on
L
*
wl
- a3
* P
UUI
a m a
3
0 x &
U Q
<
x -n
r
-
L 0
0
Zt
3
I
20
E
0
.PI
c,
m
&
Q)
c,
H
0
z
M
x
O O O O O O O ~ O
o ~ n n o~n .o m ~ o o o o o ~ on
oo000- - N N ~
O
dd.4
~ D O O O O ~
o no m o n o o o o o o -
. . . . . . . . . . . . . . . . . . . . . . . . . . .a. . .m-
w n Q - 0 0 . O N - h O N Y) h o o 0 0 0 0 z a
d N N N Nc) W 0 C &.
-a O
* On
-
In
X
O ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
E 2
a
In
D-
0,
n
-J
U
0
. . 6
a &
-< .
z
u1 0
W
t f
4 c
cUI
D-L
Z C
OUI
a 2I
c,
E
-
m a
c
Y)
.PI
c
e m
2
U
UI J
a-
uI1
J
Y
c,
a- 1
o n
0 -
0 2
0 0
0 -
8
U
M
. C
OD-
U L Y
*
UUI
-
a
c
n
-u
u o
3 I
0
on
M
21
&
0
W
0
rl
22
c
-
m
a
a
-
VI -
c
VI
n
z E
0, 0
c TI
+,
m
&
al
c,
H
P
*
............................... -
Q O o O Q O O O O O O O O O O O O O O o Q o o Q Q Q o Q o o c >
o+n m tr on on 00 o o o o o o n on on o m OQ Q O O O
x o ~ ~ o ~ ~ ~ ~ ~ n t m ~ ~ m a ~ ~ n ~ ~ ~ ~
. I ~ ( ~ - NN
N ~n w m ~c m I
.
z
&
0
W
- I-
In-
23
In
In
0,
-
InI
.
H
d)
&
w0
<
c mmmmmmco
a
-
c
W
24
aaaaaaaaeaeaaaaaaaae
u) annnmmnnmnnmnnnnnnnn
I 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
a
....................
t t t t t t t t t t t f t t t t t t f t
O O O O O O O O O O O O O O O O O O O O
Q - ~ No o n t o m - a ~ m r (~
o m ah
v) t a a a a ~ m b m n n ~ n m m n n n t n
x 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
A
....................
ttttt*ttt*tt*ttttttt
00000000000000000000
2 I
I n n m + t + n n n ~ ~ ~ d r ( r ( * r ( r ( r ( r (
*
a
0
w
C I
.. . . . . . . . . . . . . . . . . . . . .
#In
I
I
x
~ c o c o m o o o c o ~ ~ c ~ ~ o o o o
o o ~ c o m ~ o o o o m ~ o o o o o ~ o
O O O O O O O O O O O O O O O O O O O O
OOOOOOOOOOOOOOOOOOOO
&
9)
+,
3
Q
0
.L
r ( ~ ~ t ~ o ~ o o ~ o ~ ~ ~ ~ o o o ~ .
x . . . . . . . . . . . .*.r.( r. (.~.n.no.z-
0 0 e o ~ - + m n t mON-
~ O O Q O L
r(
UI
2
4
U
In
a-
t
U
s
Y
>
c'!
c
M
0
8 v-(
9 201
0 a
;f
d
01
Ytn
-4
Fr
26
Two p o i n t s are of Special i n t e r e s t with regard t o Fig. 1 4 .
First, we
p o i n t o u t that a t x = 1 . 2 the (meridional) v e l o c i t y i n s i d e t h e s l i p s t r e a m is
almost c o n s t a n t , and i s only about one percent smaller than i t s u l t i m a t e value
at X = O O .
- w as r -
r i n c r e a s e s f u r t h e r , t h e t r e n d must reverse s i n c e t h e a x i a l v e l o c i t y must
1- by v i r t u e of t h e square-root s i n g u l a r i t y i n Y a t the l i p .
Now, i t is known (e.g. Reference 8) that i n t h e l i g h t loading l i m i t (i.e. t h e
l i n e a r i z e d a c t u a t o r d i s k t h e o r y ) , t h e a x i a l component of the induced v e l o c i t y
i s e x a c t l y c o n s t a n t over t h e d i s k r a d i u s . The f a c t t h a t t h i s r e s u l t i s born
o u t over most of the d i s k r a d i u s i n our example, which is a t the o t h e r ( n o n l i n e a r )
extreme, l e a d s us t o wonder whether the a x i a l component of t h e induced v e l o c i t y
i s i n f a c t e x a c t l y constant over the d i s k r a d i u s ( f o r our c a s e r ( r ) = c o n s t a n t ),
f o r 9 condition between (and including) the l i g h t l y loaded and s t a t i c l i m i t s .
I f t h i s w e r e t r u e , it would imply t h a t our i n i t i a l s l i p s t r e a m c o n t r a c t i o n
must be p u r e l y r a d i a l : This follows immediately from t h e f a c t t h a t t h e merid-
i o n a l v e l o c i t y is i n f i n i t e j u s t i n s i d e the l i p , due t o t h e square-root singu-
.
larity in Y
is t o remain constant a t x = O as r -
Its i n c l i n a t i o n must t h e r e f o r e be r a d i a l i f t h e axial v e l o c i t y
.
1-
Flow v i s u a l i z a t i o n s t u d i e s (References 9.10) ( f o r a f i n i t e blade number,
of c o u r s e ) do i n d i c a t e a s t r o n g r a d i a l flow i n the t i p region. I n s t e a d of
p u r e l y r a d i a l flow, i n f a c t , Reference 10 r e p o r t s a s l i g h t upstream i n c l i n a t i o n
of t h e flow a t the t i p , so t h a t a reverse flow exists over approximately t h e
o u t e r 5% of t h e blade r a d i u s . W e must note, however, t h a t t h e e x i s t i n g r ( r )
i n Reference 1 0 is undoubtedly q u i t e unlike our p r e s c r i b e d d i s t r i b u t i o n ,
r(r) c o n s t a n t , e s p e c i a l l y near the t i p .
On the o t h e r hand, i f the a x i a l component of the induced v e l o c i t y i s not
e x a c t l y c o n s t a n t over t h e d i s k r a d i u s then the s t r o n g l y nonuniform a x i a l inflow
i n the t i p region i s i n f a c t c o r r e c t , and may have a b e a r i n g on t h e well-known
double bump i n spanwise loading which has been observed near t h e t i p of a number
of h e l i c o p t e r r o t o r s .
I n any case, it seems clear t h a t our r e s u l t s ( F i g s . 7-14) a r e q u i t e a c c u r a t e
except, p o s s i b l y , i n t h e immediate t i p region. The d e t a i l s i n t h i s region remain
t o be c l a r i f i e d .
I n c l u s i o n of the Ground E f f e c t
-
where w2 is i d e n t i c a l to z2 , w i t h ( x 4 ) 2 replaced by ( x - 2X+ 9 )
FJ 2
.
I n t e r p r e t e d i n terms of a vortex model, t h i s amounts t o adding an image system
a s indicated by t h e dashed l i n e s i n Fig. 15 .
Analogous t o equations (27) and (28), w e now have
B
fl
where A and B are i d e n t i c a l t o A and B , with (x- e)2 replaced by
.
-
(x-2X+02
U
W e observe t h a t a s X 00 ,
u2 and Qk4(E2) a l l tend t o zero so that
w e do recover our previous out-of-ground-effect equations.
28
Asymptotic Behavior N e a r the Ground Plane. As x -. x- , we see from (19)
and ( 2 2 ) that ysc - C/2 s i n c e t -. OD i n t h e denominator of t h e l a s t term i n
( 2 2 ) . I n a d d i t i o n , we must have 5 -
Ys/2 , the d r i f t v e l o c i t y induced on t h e
s l i p s t r e a m by the image v o r t e x s h e e t . Combining t h e s e r e s u l t s , i t follows t h a t
Y,-C % .
To o b t a i n t h e asymptotic behavior of T , w e apply the c o n t i n u i t y equation
a t an a r b i t r a r y s t a t i o n AA , as shown i n Fig. 15 .
The "control a r e a " is
(27rT)(X-x) and the v e l o c i t y through i t is -
Y, : Ys/2 due t o the s l i p s t r e a m
v o r t i c i t y , and ys/2 due to the image v o r t i c i t y . Continuity t h e r e f o r e r e q u i r e s
that yS(2nT)(X-x) = c o n s t a n t and, r e c a l l i n g t h a t 7 , -
C* , it follows that
T(X)- O(X-x)-l .
I n o r d e r to i n c o r p o r a t e this behavior e x p l i c i t l y , we expand
N
(53)
j =1
Jo
=
M
2
j =1
(a[hj(x)- hj(0)] /0
X
G:'y'"'de -C'fj(X)} byt1) (55)
for j = l , ...
, 6 respectively: and N = 1 , f o r s i m p l i c i t y , with t h e corres-
ponding gama c o l l o c a t i o n p o i n t 5 = 0.1 .
As our matching functions w e choose
.;”’
S t a r t i n g with = 0 , br
= 0.1 and b“’ = 0 f o r j # 2 , t h e i t e r a -
j
t i o n is found t o be more slowly convergent than i n t h e out-of-ground-effect
case. The streamline p a t t e r n and slipstream shape corresponding t o t h e eighth
i t e r a t e , which appears t o have s e t t l e d down t o w i t h i n about one percent, a r e
shown i n Fig. 16; t h e shape c o l l o c a t i o n p o i n t s a r e indicated (on t h e s l i p s t r e a m )
by d o t s . The corresponding s l i p s t r e a m v o r t i c i t y is defined by t h e value
= 0.022 , so that
30
x=0
x-x.1
31
Q u a l i t a t i v e l y , t h e r e s u l t s i n Fig. 16 appear t o be q u i t e reasonab1.e com-
pared w i t h the smoke v i s u a l i z a t i o n s t u d i e s of Fradenburgh (Reference 11) -
except f o r t h e absence of a dead-air dome beneath t h e hub, p r e d i c t e d by Heyson
(Reference 1 2 ) and observed by Fradenburgh. This i s to be expected, however,
s i n c e our blade c i r c u l a t i o n i s assumed to be constant all t h e way down t o
r = '0 , so t h a t t h e r e are no t r a i l i n g v o r t i c e s of r e v e r s e s t r e n g t h emitted
over t h e inboard p o r t i o n of t h e blades.
Q u a n t i t a t i v e l y , we h e s i t a t e t o claim a l e v e l of accuracy comparable t o t h a t
obtained i n t h e out-of-ground-effect c a s e s i n c e only a s i n g l e gamma c o l l o c a t i o n
p o i n t w a s used. We d i d , i n f a c t , run cases with N = 6 o r more, b u t u n s a t i s -
f a c t o r y "wiggles" began t o appear i n both y s and T . We a t t r i b u t e t h i s to
our i n a b i l i t y t o p r e s c r i b e a s u f f i c i e n t l y " n a t u r a l " family of g matching
j
functions.
w e point out t h a t our previous statement "For t h e s t a t i c condition t h e
streamline p a t t e r n is v i r t u a l l y independent of C p e r t a i n i n g to t h e out-of-
'I,
CONCLUSIONS
32
More p r e c i s e l y , it is exactly independent of the t h r u s t c o e f f i c i e n t - if t h e
e f f e c t s of s w i r l are neglected.
REFERENCES
33
APPENDIX
34
PROGRAM R O T O R I G E
C
C ROTOR I N GROUND E F F E C T ( N A S I - 6 3 4 9 )
C F O R M U L A T I O N U S E S ONE ( 1 ) C O L L O C A T I O N P O I N T F O R T H E
C D Y N A M I C (GAMMA) E Q U A T I O N .
C
C D E F I N I T I O N OF I N P U T VARIABLES
C I M a MONTH O F YEAR I N I N T E G E R FORM.
C I D = D A Y OF MONTH I N I N T F G E R FORM.
C I Y = L A S T TWO D I G I T S O F YEAR I N I N T E G E R FORM.
C MM NO. O F C O L L O C A T I O N P O I N T S F O R S H A P E E Q U A T I O N ,
C NN = NO. O F C O L L O C A T I O N P O I N T S F O R GAMMA E O U A T I O N .
C N I T E R = M A X I M U M NO. O F I T E R A T I O N S TO BE ATTEMPTED.
C cc = L O A D I NG C O E F F I C I ENTa
C C A P X = NON-DIMENSIONAL DISTANCE FROM GROUND PLANE TO PROPELLER PLANE.
C ACC = CONVERGENCE C R I T E R I O N I N P E R C E N T / 1 0 0
C xs = N O N - D I M E N S I O N A L A X I A L C O O R D I N A T E S O F S H A P E C O L L O C A T I O N P O I N T S .
C XG = N O N - D I M E N S I O N A L A X I A L C O O R D I N A T E S O F GAMMA C O L L O C A T I O N P O I N T S .
C R = I N 1 T I A L SHAPE C O F F F I C I F N T S .
C A = I N I T I A L GAMMA C O E F F I C I E N T S .
C
EXTERNAL FJ
TYPE R F A L L H S
COMMON/ADDFD/FZ(SO)
COMMON/COEFS/A(SO)*B(50)
COMMON/INPUT/CC*ALPHAIC4PX
COMMON/INTGND/NGEES*TT~ZZ~N~K
COMMON/MATRIX/RHS(S0*50) * L H S ( S O r 1 )
COMMON/NUMBERXS/NXS*NXG
C O M M O N / P R I N T / X S ~ 5 O ~ ~ X G ~ ~ O ~ * X P ~ 5 O ~ * S R ~ 5 O ~ * S C ~ 5 O ~ ~ I T E R ~ ~ M
COMMON/SAVE/NP* I N D E X v S R S ( 5 0 ) * S C S ( 5 0 )
1000 F O R M A T ( 4 I S )
1010 F O R M A T ( l O F 8 . 5 )
-
1020 F O R M A T ( l H O * 2 8 H I N I T I A L C O N D I T I O N S AT M O S T * I 3 * 1 4 H I T E R A T I O N ( S 1
* l 8 H W I L L B E ATTEMPTED.)
1030 F O R M A T ( l H O * 1 9 H U N I F O R M ACCURACY O F 1 F 8 . 5 r 1 6 H P E R C E N T IS NOT 9
* 4 7 H A T T A I N F D FOR S L I P S T R E A M R A D I U S AND C I R C U L A T I O N
* 14HDISTRIBUTIONS.r/*8H A T M O S T * 1 3 * 1 9 H MORE I T E R A T I O Y ( S )
* 1 R H W I L L BF ATTFMDTFD.)
1040 F O R M A T ( I H O * 1 9 H U N I F O R M ACCIJRACY 0 F 1 F 8 . 5 ~ 1 2 H P E R C E N T IS
* 4 7 H A T T A I N E D FOR S L I P S T R E A M R A D I U S AND C I R C U L A T I O N
* 1 4 H D I S T R I B U T l O N S ~ r / * 2 5 H I T E R A T I O N I S TERMINATED.)
1050 F O R M A T ( 1 H O t l 9 H U N I F O R M ACCURACY O F * F 8 * 5 r I 6 k l P E R C E N T IS N O T t
4 7 H A T T A I N E D FOR S L I P S T R E A M R A D I U S AND C I R C U L A T I O N
it 14HDISTRIRUTIONS.*/*25H I T F R A T I O N IS TEQMINATED.)
A C C P s 1OO.O*ACC
C A L L OUTPUT
PRINT 1020.NITER
35
DO 4 0 f = l * N
ZZ=XS ( 1 ) S CALL TOPEOT(ZZ)
C A L L L f M f TCHK S C A L L BEONS ( f )
4 0 CONT I NU€
CALL MATfNV(RHS.N*LHStltOET)
DO 5 0 J-1 r N
B(J)=LHS(.'tl)
50 CONT I NU€
N=NXG
DO 60 l r l r N
ZZ=XG ( f S CALL TOPROT(ZZ)
C A L L L I M I TCHK S CALL AEONS ( I )
60 CONT I NUE
C A L L ACOFFS
C A L L OUTPUT
DO 90 l r 2 1 N P
CACC=ACC*SC I f 1 S TACC=ACC*SR(f)
I F (ABSF(SC(f)-SCS(f))-CACC) 80r80r100
B O I F ( A B S F ( S R ( I 1-SR.S ( I ) I - T A C C 1 90990r 100
90 C O N T I N U E
GO T O 130
L E F T r N f T E R - I TER S IF (LEFT) 1 4 0 r 1 4 0 r 1 1 0
P R f N T 1O~OIACCPILEFT
CONT f NUE
PRfNT 1040rACCP S GO TO 10
PQfNT ~O~OIACCP S GO TO 10
FND
SUBROUT I NE A E O N S ( I )
EXTERNAL A J f N T * A K I N T * A L l N T
EXTEQNAL G J
CDMMON/ASPEC/AJ(2)rAK(2)tALorFZfrCZZ~GZZ~AZZ~~ZZ
COMMON/COEFS/A ( 5 0 1 R (50) *
COMMON/iNPUT/CC*ALPHAICAPX
COMYON/fNTGND/NGFFSrTTrZZ~~rK
C A L L S H A P E ( 2 2 TT S CALL FACTOR(ZZ*FZZ)
GZZ=G J ( ZZ ) S FFICC-(CC/(2.O+TT))**2
AJ(I)'-FF*TT/(2.O*CC*FZZ) S AK(f)=AL(I)=O*O
CALL O N E f N T G L ( A J f N T * A J ( 1 ) ) S CALL ONEINTGL(AKfNT*AK(f))
CALL O N E f N T G L ( A L l N T r A L ( f ) )
END
36
FUNCTION AKINT(2)
EXTERNAL G J
COMMON/ASPEC/AJ(E)*AK(~~~AL(~)~FZZ~GZZ~AZZ~~ZZ
COMMON/INTGND/NGFESITT~ZZ~N~K
CALL SHAPE(Zr1) S CALL FACTOR(ZeF2)
CALL G E E S ( l * T T r T ~ Z Z * Z r G ~ G T T ) S AKINT~GTT*FZ*(GZZ+GJ(Z))
END
SURROUTINE OEONS(1)
EXTERNAL BINTrFJ
TYPE R F A L L H S
COMMON/ADDFD/FZ(SO)
COMMON/ I N P U T / C C A L P H A C A P X
COMMON/INTGND/NG~S~TT*ZZ~N~K
COMMON/MATRIX/RHS(50r50).LHS(SOll)
NN=N+t S CALL SHAFF(Z2rTT)
GTTG=GGMPO.O
NGEES= 1 S CALL ONEINTCL(BINTIGTTG)
NGEE S=3 S CALL ONEINTGL(R1NTrGGM)
DO 30 J = l r N N
K= J S 1F (J-NN) 10120r20
lo TFRM=FJ(ZZIK)/(CAPX-Z~)-FZ~/C~PX
RHS(I~J)~-SQRTF(CC)+FJ(CAPX.J)+dLPHA+TERM+GTTG
GO TO 30
PO RHS(I*J)=GGM+ALPHA+(TT-l*O)+GTTG
30 C O N T I N U F
LHS( I 1 )=RHS ( I *NN)
FND
FUNCTION BINTCZ)
F X T E R N A L FJ
COMMON/dDDFD/FZ(W)
COMM~N/INPUT/CC*ALPHAICAPX
COMMON/INTGNn/~~FFS.TT.Zt.NIK
C A L L SHAPE ( Z i t 1 S CALL VORTFX(Z*CAM)
CALL FACtOR(2tFAC) S CAM=FAC+GAM
C A L L GEES(NGEES.TTITIZZIZIC~C~T)
GO T O ( 1 0 * 3 0 * 2 0 ) * N G E E S
l o RINT=GTT+GAM S GO TO 30
20 R I N T = - G + G A M
30 END
SURROUTINE FACTOR(X*FAC)
FXTEPNAL FJIFPJ
COUMON/COEFS/A(SO).B(50)
COWMON/INPUT/CCIALPHAICAPX
COMMON/NUMRERXS/NXS*NXG
TPs0.O S 801n C A P X - X
06 l o T r l r N X S
TP~TP+B(I)+(FPJ(XtI)/~OT+FJ(X~I)/BOT*+2)
10 C O N T I N U E
F A C = S Q R T F ( 1 sO+TP++2)
END
37
FUNCTlON F J ( X * J )
FJ=X++J
END
S GO T O 30
SlJBRDUTINE G ~ F S ( N U M I T T I T I Z Z I Z I ~ ~ G T T )
COMMON/lNPOT/CC r A L P H A r C A P X
01=3.14 1 4 9 P 7
h X = ( 7 7 - Z ) *+2 S DTr(TT-f)+*2
DZ=(ZZ-2.O*CAPX+Z)**2 S TERM=SQRTF(TT*T)
AQGA=l.O+(DT+DX)/(2.O*TERM**2) B C A L L QPMHALF(ARGAIOPA*QMA)
AQGB=l.O+(DT+DZ)/(2.O*TERM**2) 5 C A L L QPMHALF(ARGBrQPBrQMB)
GO T O ( 1 0 1 2 0 r l O ) r N U M
10 D T = T T * * 2 - T * * 2 B BOT=B.O+PI*TERM
R O T A r A R G A + * 2 - I .O J ROTR=ARGB*X2-I.O
AA= (DX+DT )*QPA/ (BOT*T ) S BBn(DX-DT)*OMA/(BOT*TT)
EE=(DZ+DT)+QPB/(BOT+T) 5 DD=(DZ-DT)*OMB/(BOT*TT)
GTT=(AA+BB)/ROTA-(EE+DD)/ROTR B GO TO ( 3 0 * 2 0 r 2 0 ) r N U M
20 GrTERM+(OPA-OPR)/(2.0*Pl )
30 FNO
FUNCTION GGG(2)
COMMON/lNTGND/NGEESrTTrZZ~NrK
CALL SHAPE(2rT) S CALL VORTEX(ZrG)
C A L L FACTOR(ZrFAC) B G=FAC*G
C A L L G F F S ( 2 * T T r T r 72.2 r GG *DUM 1
GGG=GG+G
FND
1
FUNCTlON G J ( X )
COMMON/~NPUT/CCIALPHAICAPX
GJ=(CAPX-X)+*2/SQRTF(X)
FNI?
SUBROUTINE M A T I N V ( A ~ N ~ B ~ M ~ D E T E R M )
DIMENSION I P I V O T ~ 5 ~ ~ * A ~ S O * S 0 ~ ~ 8 o . I N D € X ~ 5 O r 2 ~ r P ~ V O T ~ 5 O ~
DETFRM=IoO
DO 10 J n l t N
IPIVOT( J)=O
10 CONTINUE
t70 200 I * l r N
AMAXaO 0
t7O 60 J r l r N
1F ( I P I V O T ( J ) - l ‘ 20r60r20
?O 00 5 0 K = l r N
I F ( IPIVOT(K)-I ) 3orqor?4n
30 IF ( A R S F ( A M A X ) - A R S F ( A ( J r K ) ) ) 40rE50r50
40 IROWrJ S ICOLUMPK
AMAXeA(JrK)
50 CONTINUE
60 CONTlNUE
I P I V O T ( ICOLUM)=IP1VOT(ICOLUM)+l 5 I F ( I R O W - I C O L U M ) 70r110170
70 nFTFRMr-DFTFRM
00 80 L = l r N
SWAP=A( I R O W r L ) S A ( I ROC1r L ) = A ( I C O L O M r L )
A( ICnLUMtL)=SWAP
8” CONTINtJE
IF (M) 1 1 O r 1 1 0 r 9 0
on 00 1 0 0 L = l r M
SWAP=@,( IROWrL) B B ( IROK r L ) = E ( I C O L U M r L )
R ( ICOLUMrL)=SWAP
100 CnNTlNUE
110 I N D E X ( I . 1 )=TROW
INDEX( I r 2 ) = ICOLUV 5 P I V O T ( I )=A ( ICOLUMr ICOLUM1
DETERM=DETERM*P I VOT ( I 1 B A ( ICOLUMr ICOLUM) = 100
DO 1Po L = l r N
A ( I C O L U Y r L ) = A ( ICOLUM rL ) / P I V O T ( I )
1 CONT I NUE
IF ( M ) 1 5 0 r 1 9 0 r 1 7 0
1-30 DO 140 L = l r M
B ( I COLUH L ) - B ( I COLUM *L ) /P I VOT ( I )
140 CONT INCJF
le0 DO ?Oo L l n l r N
IF(L1-ICOLUM) 160*200*160
160 T = A ( L l r ICOLUM) 5 A(LlrlCOLUM)=O~O
DO 170 L = l r N
A (L1 r L ) = A (L1 r L )-A ( I COLUM r L ) * T
170 CONT I N V F
IF ( M ) 2 0 0 1 2 n 0 1 1 A 0
180 00 100 L Z 1 . M
E ( L 1 tL ) = B (L1r L ) - B ( I C O L U M * L ) * T
19 0 CONT 1NtJE
2c)O CONTINUE
DO 2S0 I x l r N
L=N+l-I
IF (INDEX(L*I)-INDEX(Lr2)) 210r230r210
2lc JROW=INDEX(Lrl) 5 J C O L U M Z I N D E X ( Lr 2 )
DO ? P O K n l r N
SWAP=A ( K r JROW 1 B A(KrJROW)=A(K*JCOLUM)
A ( K r JC0LUM)xSWAP
220 CONTINUF
230 CONTINUF
P4@ QFTORN
FND
39
SUBROUTINE NGAUSS(BIA*FX~NTIME*INTEGRAL)
TYPE R E A L I N T E G R A L
D 1 MENS I ON R (5) r U ( 5 )
DATA ~ R ~ 0 o 1 4 7 7 6 2 1 1 2 4 ~ 0 o 1 3 4 6 3 3 3 5 9 7 ~ 0 o 1 0 9 5 4 3 1 8 1 3 * ~ 0 0 7 4 7 2 5 6 7 4 5 ~ *
* 0.03333567215)r
* ~U~0o0744371695~0o2166976971~0o3397047E41~004325316E33~
* 004869532643)
INTEGQAL-O 0
DO 20 J = l r N T I Y F
X L = A + ( J-1 ) * ( B - A ) / N T I M E S XU=B-INtlME-J)+(B-A)/NTIME
OrXU-XL s S=~XU+XL)/2.O
TEMPrO.0
DO 1 0 K n l t 5
TEMP=TEMP+R(K)*(FX(S+D*U(K))+FX(S-D+U(K)))
10 C O N T I N U E
TEMP=TEMP*D S INTEGRAL=INTEGRAL+TEMP
20 t O N T I N I J E
FND
S U B R O U T I N E ONEINTGL(FAIA)
COMMON/LIMITS/TOP(5)rBOTorNCD(~)
DO 20 I = l r 5
I F ( A B S F ~ T O P ( I ) - R O T ~ I ) ) - O ~ O O O O O O 20920*10
l)
10 C A L L N G A U S S ( T O P ( I ) ~ B O T ( I ) r F A . N C D ( l ) r A A )
A=A+AA
20 CONTINOF.
END
SUBROUT I NE OIJTPUT
COYMON/ADDED/FZ ( 5 0 )
COMMON/COEFS/A(SO)*B(~~)
COMMON/INPUT/CC*ALPHA*CAPX
COMMON/INTGND/NGEESITTIZZINIK
COMMON/NUMBERXS/NXS*NXG
COMMON/PRINT/XS(50~~XG~SO~~XP~~O)~SR~~O~~SC~5O)~~TER~IM~ID~
COMMON/SAVE/NP* I N D E X . SRS ( 5 0 t S C S ( 5 0 )
1000 F O R M A T ( l H 1 * 2 5 X * 3 2 H R 0 T 0 R I N C R 0 U N D
* 35HE F F E C T ( N A S 1 - 6 3 4 9 )*5X*lH(*I2*lH/* 2 r
* 1H/* I ? * 1 H ) )
1 0 1 0 FORMAT(lHO*35X*29HDAMPING C O E F F I C I E N T S I A L P H A t * F 5 . 2 * 9 H BE A
* 4H O . O * / * 3 6 X *
* 24HLOADING COEFFICIENT* C = * F 7 0 4 r / r 3 6 X *
* l 6 H H U B R A D I U S = 0.0)
1C2c FORMAT(lH0*21X*29HSHAPE COLLOCATION POINTS. M = * 1 3 1 1 2 X *
* 29HGAMMA C O L L O C A T I O N P O I N T S * N = * 1 3 * / )
1330 F O R M A T ( 1 H r 2 B X 1 5 H X S U B * I 3 * 2 H = * F 8 . 4 . 2 6 X * S H X S U B I I J ~ ~ H =*F804)
1040 FORMAT(1H r72X.SHX S U B o 1 3 * 2 H rqF8.4)
1050 FORMAT(IH r2AXeSHX SUBt13.2H =oFR.4)
1060 F O R M P ~ ( I H ~ I ~ ~ H I T E R A T INOON. r I T J * / )
1070 FORMAT(1H * 7 9 X * 3 5 H S L I P S T R E A M SLIPSTREAM CIRCULATION*/r7X*
* 1 R H S H A P E C O E F F I C I E N T S ~ ~ ~ X I I ~ H G ACMO M EA F F I C 1 ~ N T S r l l X t l H X *
* I l X ~ 3 O H R A D I U S rT GAMMA SUB S r / )
1071 FORMAT(1H * 4 X * l O H B SUB 1 = * F 1 2 0 4 * I C ' X * l O H A SUB 1 =*F1204*8X*
* 4HoOOO* 1 1 X ~ 6 H 1 0 0 0 0 0 ~ F 1 8 0 4 )
1072 F O R M A T ( 1 H r 4 X 1 1 0 H A SVB I = * F I T . ~ ~ ~ C ' X I ~ @ HSUBA 1 **F1204*8X*
* *
4 H 0 00 1 1 X 6H I -0000 1 OX 8 H I NF I N I T Y )
1080 FORMAT(1H * 4 X + 5 H B S U B * I 3 * 2 H + r F 1 2 . 4 * 1 0 X * 5 H A SUBv13r2H =*Fl204*
* F1203~F17.4rF1804)
1C9O FOQMAT(IH 14X15Ha SUB*13*2H =rF12.4rlOX*SHA SUB*13*2H =*F12*4*
* 6HCAP X = . F 6 . 3 . 9 X ~ 8 H I N F I N I T Y I F 1 8 . 4 )
1103 FORMAT(1H r 4 X 1 5 H B S U B * 1 3 * 2 H = * F 1 2 . 4 r l O X * 5 H A SUB*13*2H rrF12.4)
1110 FORMAT(1H r 4 X * 5 H B SUBeI3.2H ~ ~ F 1 2 0 4 ~ 3 2 X ~ F 1 2 ~ 3 * F 1 7 0 4 * ~ 1 ~ ~ 4 )
40
112c F O R M A T ( 1 H r 4 X r 5 H E s U B r 1 3 t 2 H P r F 1 2 e 4 r 3 2 X 1
* 6 H C A P X = r F 6 03 r 9 X r 8 H I N F I N I T Y rF18.4 )
1130 F O R M A T ( 1 H r 4 X r 5 H B S U E r 1 3 r 2 H s r F 1 2 . 4 )
1 1 4 0 FORMAT(1H r 3 6 X r 5 H A SUBr13r2H ~rF12.4rF12.3rF17.4rFrB.4)
1 1 5 0 F O R M A T ( 1H r 3 6 X r 5 H A S U B * I 3 r 2 H I r F 1 2 0 4 r
* 6 H C A P X = r F 6 . 3 1 9 X r BHINF 1NT T Y rF 18.4 )
1160 F O R M A T C I H r 3 6 X r S H A S U B r I 3 r 2 H =rF12.4)
1170 F O R M A T ( 1 H r S R X r F 1 2 . 7 r F 1 7 . 4 r F l R . 4 )
1 1 8 0 FORMAT(1H r58Xr6HCAP X=*F6.3r9Xr8HINF NITYrFI8.4)
NP3.26
no 60 1-2rNP
GO TO ( S r 4 ) r l N D E X
4 SRS(I)=SR(I) s scs
GO TO 50
T TF ( 1 - 5 ) 2 0 r 2 0 r 1 0
10 I F (1-22) 3 O r 3 0 r 4 0
20 J=2*1-3 S XP(I)=O.Ol*J
GO T O 5 0
30 J = I - 4 S XP(I)=0.04*J
GO Tn SO
40 J x l - 2 2 S XP(1)=0.9+0.02+J
50 C A L L S H A P E ( X P ( I 1 r SR ( I ) ) S C A L L V O R T E X ( X P ( I ) r SC I ) ?
60 CONTTNIJE
65 P R I N T 1000rIMrIDrIY S PRINT 1010eALPHArCC
PRINT I@20rNXSrNXG s IF (NXS-NXG) 7 o r 7 0 r e
70 M-NXS S GO TO 90
eo MINXG
90 P R I N T I O 3 O r ( T r XS ( I ) r T 9XC ( I ) r I 1 r M )
H=M+ 1 S TF ( N X S - N X G ) 100r120r110
100 P R I N T 1 0 4 0 . ( I r X G ( 1 ) e I = M r N X G ) S GO T O 120
1 I 0 OQ I NT 1 (rqc r ( I r X S ( 1 ) r I t M r NXS 1
1P3 PRINT InBOrITEP S P R l N T 1070
I F (NXS-hAG) 130r140r140
130 TF ( N X G - N P ) 150r150r160
140 I F ( N X S - N P ) 150rISOt170
I S C M=NP+l S GO TO 180
160 M=NXG S GO TO 1 0 0
170 M=NXS
180 K O U N T = l S TF ( I T E R ) 1 8 l r l ! 3 l r 1 8 2
181 TEMP=SORTF(CC) S PRINT 1 0 7 1 r R ( I ) r A ( l ) r T E M P
GO TO 143
IA? PRINT 1072rCl(l ) r A ( l )
187 DO ?Q3 1 = 2 r V
IF ( T - N X S ) 1 9 o ~ 1 0 0 ~ 2 2 0
190 I F ( I - N X G ) 20nr2nn,210
200 IF (I-NP) 25nr2qnr26o
210 I F (1-NP) 290r290r300
220 I F ( I - N X G ) 230r230r240
230 1F ( I - N P ) 330r330r340
24 @ I F ( I - N P ) 3 7 0 r 3 7 0 r 3 8 0
250 P R I N T l O € I O r I r B ( I ) r I r A
GO T O 390
260 GO TO ( 2 7 0 r 2 R O ) r K b U N T
270 P Q I N T 1 0 9 0 r I r 9 ( I ) t I r A
KOUNTr2
280 P R I N T 1 1 0 0 r T ~ 8 ( 1 ~ * 1 * A
290 P R T N T I ! l O r T r R ( I ) t X P (
Gd T O 390
700 GO TO ( S I O r 3 T O ) r K O U N T
310 P R I N T 1 1 2 0 t T r E ( I )*CAPXITEMP
KOUNT-2 S GO T O 390
320 P R I N T ll30r1rB(T) S GO TO 390
330 P R I N T 1 1 4 0 r Ir A ( I ) r X P ( I ) r S R ( I ) r S C ( f )
GO TO 390
340 GO TO ( 3 5 O r 3 6 0 ) r K O I J N T
41
S GO T O 390
S GO T O 390
S GO T O 390
K=SQRTF(2.O/(Z+l.O))
€LE~1~0~000000000+~4432§~4~463*A~+~06260601220*A2
* +.O47573A7546*A1+.0171~5O64~1*A4+
* ~~2499A~h~71O*A1+~O9?O~lflOOl7*A2+
* .04069697526*Al+.00526449639*A4)*ALO
ELK=1.38629436112+.09666344259*A1+.035900~2383*A2
* +~03742567713*A1+~01451196712*A4+
* ~~50000000000+~1249A5~3597*A1+~068~024l3576*A2
* +~0332835S346*AI+~O04417A7012+A4)+ALO
OPH=7+Y*FLK-R*FLE B QMH=K*ELK
F?3
42
I GO T O 160
43
C
i PROGRAM ROTOROGE
44
R ( J ) = L H S ( JI 1 )
60 C O N T I N U E
CALL SHAPE(2rOoO*TI 1 S FI~CC-(CC/(2.O*Tl))**2
C~'S0QTF(LAMBDA*+2+FI)-LAMRDA B NtNXG
n0 70 1 - 1 t N
ZZ=XG ( I 1 S C A L L TOPBOT ( 2 2 )
CALL LIMITCHK S CALL AEONS( I )
70 C O N T l N U E
CALL MATlNV(RHS*N*LHS*l rDET)
DO A 0 J = l r N
A ( J) = L H S ( J * 1 )
80 C O N T I N U E
C A L L OUTPUT
C A L L S H A P E ( 1 +O.OSrTTEST) S IF (TTEST-1.0) 90r140t140
90 C A L L V O R T E X ( O . O l * G I r G T E S T ) S IF ( G T E S T - G I ) 150*150*100
100 S Q ( M ) = T I S SRS(M)=TIS
DO 1 0 2 1 = 2 r M
CACC=ACC*SC ( I ) S TACC=ACC*SR(I)
1F ( A B S F ( S C ( 1 ) - S C S ( 1 ) I - C A C C ) 101 * 101 1 1 0
101 1F (ARSF(SR(II-SRS(I))-TACC) 102r102r110
102 C O N T I N U E
GO T O 160
110 L E F T = N l T E R - I T E R I IF ( L E F T ) 170*170*120
120 P R I N T ~ O ~ O I A C C P I L E F T
130 C O N T I N U E
140 P R I N T 1040 S GO TO 10
lcio P R l N T 1050 S GO T O 10
160 P Q l N T 1 0 6 0 r A C C P B GO T O180
1 7 0 PRINT 1070rACCP S GO TO 1AO
1 0 0 PRINT ion0 S CALL DYKlCHCK
GO T O 10
190 F N D
SURROUT I NE AEONS ( I )
EXTEQNAL G J
T Y P E R E A L LHSILAMBDA
COMMON/lNPUT/LAMROAtCCIALPHAIBETA
CO~MON/lNTGND/NGEESrTTrZZ~NrKrGl
COMMON/LIMlTS/TOP(7)~0OT(7)rNGD~7~
COMMON/MATQIX/QHS~50r50).LHS(50rl~
O l M E N S I O N X I (400 ) e G T T R ( 4 0 0 )
D I MENS I ON R ( 5 ) + U ( 5 1
DATA ~R~0~1477621124~0~1346333597*0~10954~1813~0~07472567450~
* 0003333567215)r
~U~0~0744371695+0~2166976971~0~3397041~41~0~4325316833~
* 004869532643 1
C A L L SHAPE ( 1r Z Z r T T 1 B C A L L FACTOR (22 F A C )
CALL VORTEX(ZZ*GlrGAM) 0 CON=2.O*GAM**2*FAC
FF=CC-(CC/(2mO*TT))*+2
NN = N + l
KK = 0
no 7 0 J = l r 7
IF(ABSF(TOP(J)-BOT(J))-OoOOOOOOl)7O+7O~lO
10 N T f Y F = NGD(J)
R = TOP(J) S A x FIOT(J)
D O 60 l l = l r N T l M F
X L II A + ( 1 1 - 1 ) * ( B - A ) / N T l M E S XU t B-(NTIME-lI)*(B-A)/NTlME
D XU-XL S S (XU+XL)/EmO
DO 5 0 L + l * l O
45
K K = KK+1
I F (L-5 )2O t20q 30
PO JJ L S X I ( K K ) = S+D*U(JJ)
GO TO 4 0
30 JJ s 1 1 - L '6 X I ( K K ) = S-D*UfJJ)
40 CALL S H A P F ( l * X I ( K K ) r T )
CALL F A C T O R ( X l ( K K ) * R O O T )
CALL G E E S ( l . T T ~ T ~ Z Z * X I ( K K ) r C 1 C T I C T T I
GTTRt K K = D*R ( J J)*GTT*ROOT
50 CONTINUE
60 CONTINUE
70 CONTINUE
DO 1 4 0 J z l r N N
K t J S lF(J-NN)R0190*90
80 100
RHS( I J ) = F F * T T * G J ( Z Z * J ) / C O N S GO T O
90 RHS(ltJ)=TT*(LAMRDA+FF*Gl/CON-FF/(FAC*GAM))/Gl
1 0 0 DO 1 3 0 L S l e K K
I F (J-NN ) 1 10 1 2 0 1 1 2 0
1 10 RHS( 1 J) = R H S ( I J ) + G T T R ( L ) * G J ( X I (L) J)
GO TO 130
120 RHS(1rJ) RHS(I*J)+GTTR(L)
130 C O N T I N U E
140 C O N T t N U F
L H S ( 1 1 1 ) o - R H S ( I rNN)
END
SlJRROUT INF R F O N S ( I )
EXTERNAL B I N T e F J
TYPF RFAL LHS*LAMBDA
COMMON/ADDFD/FZ(SO)oTl
COMYON/~NPUT/LAMRDAICC~PLPHA~RFTA
CO~~ON/INTGND/NCEESITTIZZINIK~C~
COMMON/MATRIX/RHS(50*50) r L H S ( 5 0 r 1 )
NN=N+ 1 %
! CALL SHAPEtl*ZZ*TT)
GTTC=GGM=O o
NGFES= 1 S CALL ONEINTGL(BiNT*GTTG)
NGEES-3 B CALL ONEINTGL(SINT*GGM)
ADD=GGM+ALPHA* ( T T - 1 . 0 )*GTTG
no i o J=I *NN
Y= J S I F (J-NN) 1012OtPO
1 0 ' C O N z F J ( 7 7 e 3 ) -F7 ( J 1
QHS(1~J)=LAMBDA*TT*CON+(LAMBDA+Gl~*Tl*FZ~J~+ALPHA*CON*GTTG
GO TO 3 0
20 R H S ( I I J ) ~ ( L A M B D A + G I )*TI*(l~O-0~5*TI)-LAMBDA*TT*~l~O~O~S*TT)+ADO
30 C O N T I N U E
L H S ( I t 1 )=RHS(1 9 NN)
END
FUNCTION B l N T ( Z )
FXTERNAL F J
COMMON/ADDFD/FZ(SO)~TI
COMMON/ INPUT/LAMBDAICCIALPHA*BETA
COMMON/INTGND/NGEES~TT*ZZ*N*K*GI
CALL SHAPF ( 1 r Z *T ) S CALL VORTFX(Z*GI*CAM)
CALL FACTOR(Z*FAC) S GAM=FAC*GAM
CALL GEES(NGFFSrTT*T*ZZ*Z*G*GTT)
GO TO ( I ~ ~ ~ o , ~ ~ ) * N C E F S
10 R I N T = G T T * G A M S GO T O 30
20 R I NT=-G*GAM
30 FNO
46
S U B R O U T 1NE D Y K I CHCK
E X T E R N A L GTGIGGG
T Y P E R E A L LAMBDA
COMMON/INPUT/LAMBDA*CC*ALPHA*6ETA
COMMON/1NTGND/NGEES~TT~ZZ~N~K~GI
COMMON/MIMBERXS/NXS*NXC
COMMON/PR I N T / X S ( 5 0 ) r X G ( 5 0 ) * X P ( S O SR (50 SC ( 5 0 ) I T F R e I MI I D I I Y
DIMENS10N X ( 1 9 )
DATA ~ X ~ O ~ 0 1 r O ~ 0 2 ~ 0 ~ 0 3 * 0 ~ 0 4 ~ 0 ~ 0 5 * 0 ~ 1 0 ~ 0 ~ 1 5 ~ 0 ~ 2 0 ~ 0 ~ 3 0
* 0~75rl~00~1~25~1~50~2~00*3~00~S~00~10~00~
1000 F O R M A T ( l H I r 2 2 X * 4 0 H R 0 T 0 R 0 U T 0 F G R 0 U N D *
*
*
35HE F F E C T
lH/*12*1H))
( N A S I - 6 3 4 9 )rSXtlH(*I2*lH/*f2e
SIJBROUT INE F A C T O R ( X * F A C )
F X T F R N A L FPJ
COMMON/COFFS/A(SO)~R(S~)
COMMON/NUMRERXS/NXS NXG
TPtO.0
no I O i=I.Nxs
TPsTP+B(I ) * F P J ( X * I )
10 C O N T I N U E
FACxSQRTF(I.O+TP**2)
FND
47
FUNCTION FJ(XI J)
FJ=FXPF(-J*X)
END
FIJNCTION F P J ( X 1 JI
FPJ=-J+FXPF(-J+X)
END
SUBROUTINE GEES(NUMITTITIZZ~ZIGICT.CTT)
P1=301415927 S TERM=SORTF(TT+T)
DEL=(ZZ-Z)*+E S ATOPmDEL+TT*+2-T+*2
0TOP=DEL+T**2-TT+*2 % ABOT~8oO*PI+TERM+T
B0OT=0.O+PI*TERM*TT
A=ATOP/ABOT S R=BTOP/BROT
ARC~I.O+((TT-T)++~+(ZZ-Z)~*~)/(~OO+TT+T)
C A L L QPMHALF ( AQG 1OPH O M H ) % GO T O ( 3 0 * 2 0 1 1 0 ) r N U M
10 C=TERM+OPH/(2.O+PI )
20 GT= (B*OPH+A+OMH / f ARG*+2-1 0)
30 GTT~(A*OPH+B*OMH)/(ARG**2-loO)
FNr)
F U N C T I O N GGGCZ)
COMM~N/INTGN~/NGEESITT~ZZ~N~K~G~
CALL SHAPE ( 1 1 2 1 T ) S CALL VORTEX(ZIGI~G)
CALL FACTOR ( Z 1 F A C S G=FAC*G
CALL GEFS~(31fTrTrZZrZrCG1DllMrD~JMM)
CGG=GG*G
FND
FUNCTION G T G ( Z )
COMMON/INTGND/NGEES~TT~ZZ~N~K~Gl
CALL SHAPE ( 1eZ.T ) % CALL VORTEX(Z*GI r G )
CALL FACTOQ(Z9FAC) B G=FAC+G
C A L L G F E S ( 1 t T T 1 T ~ Z Z I Z I DUM19UMY r G T T )
GTG=GTT*G/TT
FND
48
SUBROUTINE M A T I N V ( A ~ N I B I M I D E T E R M )
DIMENSION I P I V O T ~ 5 ~ ~ * A ~ S 0 ~ 5 0 ) r B ~ 5 O ~ l ~ ~ l N D E X ~ 5 0 ~ 2 ~ ~ P I V O T ~ ~
nETeRM= 1 0
DO 10 J = l * N
IPIVOT( J)=O
10 CONT1hlUE
DO 200 l = l r N
AMAXIOmO
00 60 J - l r N
IF ( I P I V O T ( J ) - I ) 20r60.20
20 DO 5 0 K = I r N
IF ( l P I V O T ( K ) - l ) 30*50*240
30 I F (ABSF( AMAX ) - A B S ( A t JIK) 1 ) 40r50150
40 IROWrJ S ICOtUM=K
AMAX=A( J I K )
50 CONTINUE
60 CONTINUE
IPIVOT(ICOLUM)~lPIVOT~ICOLUM)+lS I F ( I R O W - I C O L U M ) 701110170
70 DETERMI-DETERM
DO 8 0 L = l r N
SWAP=A( I R O W a L )
A ( ICOLUM*L)=SWAP
80 CONTINUE
IF (M) 110~110~90
90 no 100 L = I * M
S W A P n B t IROWIL)
R(1COLUMtL)PSWAP
100 C O N T I N U E
110 INDEX(lr1)tlROW
INDEX(lr2)=lCOLUM S P I V O T ( I ) = A ( ICOLUMI I C O L U M )
DETERM=DET€RM*PIVOT(l) S A(ICOLVM~ICOLUM)=lmO
no i ? o L=I*N
A ( I C O L U M *L ) = A t I C O L U M L / P I V O T
120 CONTINUE
IF ( M ) 1 5 0 ~ 1 5 0 ~ 1 3 0
130 DO 140 L = l r M
B ( I C O L U M - L 1 x 8 ( I C O L U M * L) / P I V O T I )
140 CONT INUE
190 DO 2 0 0 L1tl-N
IF(Ll-1COLUM) 160r200r160
160 T=A(LlrlCOLUM) S A(LlrlC0LUM)~OmO
DO 170 L ’ l r N
A ( L 1 r L ) = A ( L l tL ) - A (1COLUM.L )+T
170 CONTINUE
I F ( M ) 200r200r180
180 DO 190 L = l * M
B ( L 1 * L 1=B (L I * L ) -B ( I COLUM *L )+T
190 CONTINUE
200 CONTINUE
DO 230 l = l r N
L=N+l-l
I F ( I N D E X ( L I I ~ - I N D E X ( L ~ ~ )210*230r210
)
210 JROW=INDEX(Ltl) S J C O L U M I NDEX L * 2 )
DO 220 K S l r N
S W A P = A ( K * JROW) 0 A(K*JROW)=A(KsJCOLUM)
A ( K * JC0LUM)SSWAP
220 CONTIMJE
230 CONTINUE
240 RETURN
END
49
S U B R O U T I N E NGAUSS(EIAIFXINTIMEIINTEGRAL)
TYPE R F A L I N T E G R A L
DIMENSION R ( S ) r U f 5 )
DATA ~ R f 0 ~ 1 4 7 7 6 2 1 1 2 4 ~ 0 ~ 1 3 4 6 3 3 3 5 9 ? ~ 0 ~ 1 0 9 5 4 3 l ~ I 3 ~ 0 ~ 0 7 4 7 2 5 6 7 4 ~ ~ ~
* 0.03333567215)*
* (U'0~0744371695~0.2166976971~0~339704704~~0~~32~3168331
* 0.4869532643)
INTEGRALIO. 0
DO 20 J = l * N T I M E
X L = A + ( J-1 ) * ( B - A ) / N T l M E S XU~E-(NTlME-J)*(E-A)/NTIME
D=X\J-XL I S=(X(J+XL)/2.O
TEMP=OeO
170 10 K = I * S
T E M P = T E M P + R ( K ) *( F X ( S+D*U (K ) ) + F X ( S-D*U ( K ) 1 )
10 CONT I NUE
TEMP=TEMP*D s INTEGRAL=INTEGRAL+TEMP
20 CONT I NU€
END
SUBROUTINE ONEINTGL(FA9A 1
COMMON/L1MlTS/TOP~7~.BOTorNCD~7~~NGD~7~
DO 20 I s 1 9 7
IF ~ A B S F ~ T O P ( 1 ) - R O T ( I ~ ) - O ~ O ~ O O O 20O*l2~0 * 1 0
10 C A L L N G A U S S ( T O P ( I ) rEOT ( I ) ~ F A I N G D ( I ) r AA )
AmA+AA
20 CONT I NU€
END
-
m o GO TO (~IO.VO).KOUNT
310 PRINT 112OrIrR(I)rTIrGI
KOUNT 2 S GO TO 390
320 P R I N T 1 1 3 0 r I r B ( I ) S GO TO 790
330 P R I N T 1 1 4 0 r I r A ( I ) r X P ( I )r SR ( 1 ) r SC ( I )
GO T O 390
3 4 0 GO T O (350r36O)rKOUNT
390 P R I N T 1 1 5 0 ~ I * A ( I J r T l r G I
KOUNT=2 S GO TO 390
360 PRINT 1 1 6 ~ * 1 r A ( ? ) S GO TO 390
370 P R I N T 1 1 7 0 r X P ( l ) r S R ( l ) r S C ( I ) S Go TO 390
>)A0 P R I N T 1 1 0 0 r T I * G I
390 C O N T I N U F
END
SUBROUTINE Q P M H A L F ( Z r O P H * 6 M H )
TYPF RFAL KPRIMFSQrK
KPRIMESQ~I.6-(2.O/(Z+l~o)) J A I=KPR I MESQ
A2=A l * A 1 S Al=A?+A1
A 4 = A 2* A 2 S A L O r L O G F ( 1 .O/KPRIMESO)
K=SORTF(2.0/(2+1.0)) J R=SQRTF(2.O*(Z+l.O))
FLE~1~00000~00000+~4432514146j+A1+.06260601220*A2
+.04757367546*A3+.017365O6451*A4+
* (~?4990~68710*A1+~09?00180037*A2+
* .04069697526*A3+rO0526449639*A4)*ALO
ELK~1.38629436112+.096h6344259+A1+.0759009270~*A?
* +~O3742567717*A7+~0145r10hP1P+A4+
(~50000000000+~12498593597*A1+~06880248576*A2
* +.03328355346*A3+.00441787012+A4),ALO
OPHtZ+K+ELK-B*ELE
FND
SUBROUTINE SHAPF(KODF*X.S)
FXTFRNAL FJ
COMMON/ADDFD/F~(~O)~TI
COMMON/COEFS/A(SO)rR(50)
COMON/NUMRERXS/NXSrNXG
GO T O ( l O r 3 0 ) * K O f 7 F
10 S a T I
n0 20 J I l e N X S
S=S+R(J)+FJ(X*J)
70 C O N f l N I J F
GO T O S O
70 S t l . 0
no 4 0 J=I.NX~
S=S-R( J ) * F Z ( J 1
40 C O N T l N U E
'io FND
52
90
160
170 S TOPf6)=BOT(7~~ZZ+10*0
SUBROUTINE T W O I N T G L ( F A r F B i A t B )
COMMON/L I M I T f / T O P ( 7 1 * R O T ( 7 r N G D ( 7 )
no 20 1 = 1 r 7
IF ~ A B S F ~ l O P ~ I ) - R O T ~ I ~ ~ - O ~ 2 GCOr ~
2 0O. 1O0O l~
10 C A L L N G A U S S ( T O P ( I ) r R O T ( I ) r F A 1 N C n o r A A )
C A L L NGAUSS(~OP(I)rBOT(I).FB,NCD(I).BB)
A=A+AA I RaR+RB
20 C O N T I N U E
END
SUBROUTINE V O R T E X ( X r G 1 r V )
Exiewa; GJ
COMM~N/COEFS/A(S~)~B(~~)
COMMON/~MBERXS/hlXSrNXG
V = l *0
00 10 J = l * N X G
V=V+A(J)+GJ(XtJ)
10 C O N T I N I J E
V=G I + V
END
END ROTOROGE
FlNlS
ADMINISTRATION
N A T I O N A L A F R O N A U T I C S A N D SPACE POSTAGE A N 6 FLES P.AD
WASHINGTON.
D. C. 20546 NATIONAL AERONAUTICS A\
-- SPACE ADhlINISTRATION
OrrICIAL BuslNrss FIRST CLASS MAIL