V3FIT
All Classes Namespaces Files Functions Variables Enumerations Macros Pages
al31.f
1  FUNCTION al31 (x, zeff, alphae, alphai)
2 C-----------------------------------------------
3 C M o d u l e s
4 C-----------------------------------------------
5  USE vmec0
6  IMPLICIT NONE
7 C-----------------------------------------------
8 C D u m m y A r g u m e n t s
9 C-----------------------------------------------
10  REAL(rprec) :: x, zeff, alphae, alphai
11 C-----------------------------------------------
12 C L o c a l V a r i a b l e s
13 C-----------------------------------------------
14  REAL(rprec) :: z, z2, d, a, al31
15 C-----------------------------------------------
16 c-
17 c calculates L31 transport coefficient, according to
18 c S. Hirshman, Phys. Fluids 31, 3150 (1988)
19 c x - ratio of trapped to circulated particles
20 c-
21  z = zeff !effective ion charge number
22  z2 = z**2
23  d=1.414_dp*z+z2+x*(0.754_dp+2.657_dp*z+2.0_dp*z2)+
24  1 x*x*(0.348_dp+1.243_dp*z+z2)
25  a = 0.754_dp + 2.21_dp*z + z2 + x*(0.348_dp + 1.243_dp*z + z2)
26  al31 = x*a/d
27  alphae = 1 - (0.884_dp + 2.074_dp*z)/a
28  alphai = 1 - 1.172_dp/(1 + 0.462_dp*x)
29 
30  END FUNCTION al31