15SUBROUTINE eqfor(br, bz, bsubu, bsubv, tau, rzl_array, ier_flag)
33 REAL(rprec),
DIMENSION(ns,nznt,0:1),
INTENT(in) :: bsubu, bsubv
34 REAL(rprec),
DIMENSION(nrzt),
INTENT(out) :: br, bz
35 REAL(rprec),
DIMENSION(nrzt),
INTENT(out) :: tau
36 REAL(rprec),
DIMENSION(ns,0:ntor,0:mpol1,3*ntmax),
TARGET,
INTENT(in) :: rzl_array
38 INTEGER :: i, icount, itheta, js, l, loff, &
39 lpi, lt, n, n1, noff, &
41 REAL(rprec),
DIMENSION(:),
POINTER :: rmags, zmags, rmaga, zmaga
42 REAL(rprec),
DIMENSION(:,:,:),
POINTER :: rmncc,zmnsc
43 REAL(rprec),
DIMENSION(ns) :: phi1, chi1, jPS2
44 REAL(rprec) :: modb(nznt)
45 REAL(rprec),
DIMENSION(:),
ALLOCATABLE :: &
46 btor_vac, btor1, dbtor, phat, t12u, guu_1u, surf_area, &
47 r3v, redge, rbps1u, bpol2vac, phipf_loc
48 REAL(rprec) :: aminr1, aminr2in, anorm, &
49 aspectratio, betai, betstr, scaling_ratio, &
50 bminz2, bminz2in, musubi, &
52 delphid_exact, delta1, delta2, delta3, lambda, &
53 er, es, fac, facnorm, factor, fgeo, &
56 rlao, rshaf, rshaf1, rshaf2, s11, s12, &
57 s13, s2, s3, sigr0, sigr1, sigz1, smaleli, &
58 sumbpol, sumbtot, sumbtor, sump, &
59 sump2, sump20, t1, tz, jpar_perp=0, jparps_perp=0, &
60 toroidal_flux, vnorm, xmax, &
61 xmida, xmidb, xmin, rzmax, rzmin, zxmax, zxmin, &
62 zmax, zmin, yr1u, yz1u, waist(2), height(2)
63 REAL(rprec) d_of_kappa, loc_jpar_perp, loc_jparPs_perp
64 REAL(rprec),
DIMENSION(:),
ALLOCATABLE :: rax_symm, zax_symm, rax_asym, zax_asym
68 rmags => rzl_array(1,:,0,
rcc)
70 rmncc => rzl_array(:,:,:,
rcc)
73 rmaga => rzl_array(1,:,0,
rcs)
79 CALL bss (r12,
bzmn,
brmn,
azmn,
armn,
crmn_o, bsupu, bsupv, br,
bphi, bz)
82 IF (lfreeb .and.
ivac.gt.1)
THEN
85 IF (i .ne. 0) stop
'Error in EQFOR allocating bredge'
88 lk = iv + nzeta*(iu-1)
90 bredge(lk) = 1.5_dp*br(n1) - cp5*br(n1-1)
92 bzedge(lk) = 1.5_dp*bz(n1) - cp5*bz(n1-1)
103 gsqrt, bsq, curtheta, izeta, brho, ier_flag)
115 tau(2:nrzt) =
signgs*
wint(2:nrzt)*gsqrt(2:nrzt)
117 s2 = sum( bsq(i:nrzt:ns)*tau(i:nrzt:ns))/
vp(i) -
pres(i)
121 overr(i) = sum(tau(i:nrzt:ns)/r12(i:nrzt:ns)) /
vp(i)
1285
FORMAT(/,
' NOTE: S=normalized toroidal flux (0 - 1)',/, &
129 ' U=poloidal angle (0 - 2*pi)',/, &
130 ' V=geometric toroidal angle (0 - 2*pi)',/, &
131 ' <RADIAL FORCE> = d(Ipol)/dPHI', &
132 ' - IOTA*d(Itor)/dPHI - dp/dPHI * d(VOL)/dPHI',/, &
133 ' = d(VOL)/dPHI*[<JSUPU>', &
134 ' - IOTA*<JSUPV> - SIGN(JAC)*dp/dPHI]',/, &
135 ' (NORMED TO SUM OF INDIVIDUAL TERMS)',//, &
136 ' S <RADIAL TOROIDAL IOTA ', &
137 ' <JSUPU> <JSUPV> d(VOL)/', &
138 ' d(PRES)/ <M> PRESF <BSUBU> <BSUBV>', &
142 ' d(PHI) ',/,148(
'-'),/)
144 ALLOCATE (phipf_loc(ns))
160 phi1(i) = phi1(i-1) +
hs*
phip(i)
212 WRITE (nthreed, 30) &
219 cur0/phipf_loc(js), &
22830
FORMAT(1p,2e10.2,2e12.4,4e11.3,0p,f7.3,1p,5e11.3)
232 call add_real_1d(
"beta_vol", ns-1,
beta_vol(2:ns))
233 call add_real_1d(
"overr", ns-1,
overr(2:ns))
235 call add_real(
"betaxis",
betaxis)
237 call add_real_1d(
"presf", ns,
presf)
238 call add_real_1d(
"phipf_loc", ns, phipf_loc)
239 call add_real_1d(
"phi1", ns, phi1)
240 call add_real_1d(
"chi1", ns, chi1)
241 call add_real_1d(
"chi", ns,
chi)
243 call add_real_1d(
"iotaf", ns,
iotaf)
245 call add_real_1d(
"specw", ns,
specw)
247 call add_real_1d(
"equif", ns,
equif)
249 call add_real_1d(
"bucof", ns,
bucof)
250 call add_real_1d(
"bvcof", ns,
bvcof)
252 call add_real_1d(
"jcurv", ns,
jcurv)
253 call add_real_1d(
"jcuru", ns,
jcuru)
255 call add_real_1d(
"presgrad", ns,
presgrad)
256 call add_real_1d(
"vpphi", ns,
vpphi)
258 call add_real_1d(
"jdotb", ns,
jdotb)
259 call add_real_1d(
"bdotb", ns,
bdotb)
264 DEALLOCATE (phipf_loc)
278 toroidal_flux = anorm * sum(bsupv(2:nrzt)*tau(2:nrzt))
282 ALLOCATE (guu_1u(nznt), surf_area(nznt))
283 guu_1u(:nznt) =
ru0(ns:nrzt:ns)*
ru0(ns:nrzt:ns) +
zu0(ns:nrzt:ns)*
zu0(ns:nrzt:ns)
285 surf_area(:nznt) =
wint(ns:nrzt:ns)*sqrt(guu_1u(:nznt))
288 surf_area(:nznt) =
wint(ns:nrzt:ns)*sqrt( &
289 + (
r1(ns:nrzt:ns,0) +
r1(ns:nrzt:ns,1))**2 * guu_1u(:nznt) &
290 +((
rv(ns:nrzt:ns,0) +
rv(ns:nrzt:ns,1))*
zu0(ns:nrzt:ns) &
291 - (
zv(ns:nrzt:ns,0) +
zv(ns:nrzt:ns,1))*
ru0(ns:nrzt:ns))**2 )
318 kappa_p = 1 + (
pi *
pi / 8) * (d_of_kappa ** 2 + sqrt(abs(d_of_kappa ** 4 - 1)) -1)
330 rcenin = dot_product(rmncc(ns,n1,:mpol1+1:2),
mscale(:mpol1:2)*
nscale(n))
335 aminr2in = dot_product(rmncc(ns,n1,2:mpol1+1:2),t12u(:l))
336 bminz2in = dot_product(zmnsc(ns,n1,2:mpol1+1:2),t12u(:l))
337 bminz2 = dot_product(zmnsc(ns,n1,2:mpol1+1:2),t12u(:l))
344 sump = vnorm*sum(
vp(2:ns)*
pres(2:ns))
352 ALLOCATE (btor_vac(nznt), btor1(nznt), dbtor(nznt), phat(nznt), redge(nznt))
359 btor_vac(:nznt) =
rbtor/r12(js:nrzt:ns)
360 delphid_exact = delphid_exact + sum( (btor_vac(:nznt)/r12(js:nrzt:ns) - bsupv(js:nrzt:ns))*tau(js:nrzt:ns) )
362 btor1(:nznt) = r12(js:nrzt:ns)*bsupv(js:nrzt:ns)
363 dbtor(:nznt) = btor1(:nznt)**2 - btor_vac(:nznt)**2
364 musubi = musubi - sum(dbtor(:nznt)*tau(js:nrzt:ns))
367 phat(:nznt) = bsq(js:nrzt:ns) - cp5*btor_vac(:nznt)**2
368 phat(:nznt) = (phat(:nznt) - dbtor(:nznt))*tau(js:nrzt:ns)
369 rshaf1 = rshaf1 + sum(phat(:nznt))
370 rshaf2 = rshaf2 + sum(phat(:nznt)/r12(js:nrzt:ns))
372 delphid_exact = anorm*delphid_exact
373 rshaf = rshaf1/rshaf2
377 redge(:nznt) =
r1(ns:nrzt:ns,0) +
r1(ns:nrzt:ns,1)
378 IF (lfreeb .and.
ivac.gt.1)
THEN
381 phat = c1p5*bsq(ns:nrzt:ns) - cp5*bsq(ns-1:nrzt:ns) &
382 - cp5*(
rbtor/redge(:))**2
385 DEALLOCATE (btor_vac, btor1, dbtor)
392 modb(:nznt) = sqrt(c2p0*(bsq(js:nrzt:ns) -
pres(js)))
396 WRITE (nthreed, 75)
bmin(1,ns),
bmax(1,ns),
bmin(ntheta2,ns),
bmax(ntheta2,ns)
39775
FORMAT(/
' Magnetic field modulation (averaged over toroidal angle)',/, &
398 1x,71(
'-')/,
' BMIN(u=0) = ',f14.6/ &
399 ' BMAX(u=0) = ',f14.6/
' BMIN(u=pi) = ', &
400 f14.6/
' BMAX(u=pi) = ',f14.6/)
405 sumbtot = 2*(vnorm*sum(bsq(2:nrzt)*tau(2:nrzt)) - sump)
406 sumbtor = vnorm*sum(tau(2:nrzt)*(r12(2:nrzt)*bsupv(2:nrzt))**2)
407 sumbpol = sumbtot - sumbtor
410 sump2 = sum(
pres(2:ns)*
pres(2:ns)*
vp(2:ns)*vnorm)
417 jpar_perp = sum(
jpar2(2:ns1)*(
vp(2:ns1) +
vp(3:ns)))
418 jparps_perp = sum( jps2(2:ns1)*(
vp(2:ns1) +
vp(3:ns)))
419 s2 = sum(
jperp2(2:ns1)*(
vp(2:ns1) +
vp(3:ns)))
420 IF (s2 .ne.
zero)
THEN
421 jpar_perp = jpar_perp /s2
422 jparps_perp = jparps_perp/s2
425 IF (ntor .gt. 1)
THEN
43480
FORMAT(/,
' Geometric and Magnetic Quantities',/,1x,71(
'-')/, &
435 ' Aspect Ratio = ',f14.6, / &
436 ' Mean Elongation = ',f14.6, / &
437 ' Plasma Volume = ',f14.6,
' [M**3]',/ &
438 ' Cross Sectional Area = ',f14.6,
' [M**2]',/ &
439 ' Normal Surface Area = ',f14.6,
' [M**2]',/ &
440 ' Poloidal Circumference= ',f14.6,
' [M]',/ &
441 ' Major Radius = ',f14.6,
' [M]', &
442 ' (from Volume and Cross Section)',/ &
443 ' Minor Radius = ',f14.6,
' [M]', &
444 ' (from Cross Section)',/ &
445 ' Minimum (inboard) R = ',f14.6,
' [M]',/ &
446 ' Maximum (outboard) R = ',f14.6,
' [M]',/ &
447 ' Maximum height Z = ',f14.6,
' [M]',/ &
448 ' Waist (v = 0) in R = ',f14.6,
' [M]',/ &
449 ' Full Height(v = 0) = ',f14.6,
' [M]',:,/ &
450 ' Waist (v = pi) in R = ',f14.6,
' [M]',:,/ &
451 ' Full Height(v = pi) = ',f14.6,
' [M]')
454 WRITE (nthreed, 85) toroidal_flux, 1.e-6_dp/
mu0 *
ctor,
rbtor, &
45685
FORMAT(
' Toroidal Flux = ',f14.6,
' [Wb]',/ &
457 ' Toroidal Current = ',f14.6,
' [MA]',/ &
458 ' RBtor(s=1) = ',f14.6,
' [T-m]',/ &
459 ' RBtor(s=0) = ',f14.6,
' [T-m]',/ &
460 ' Volume Average B = ',f14.6,
' [T]',/ &
461 ' Ion Larmor Radius = ',f14.6,
' [M] X Ti(keV)**0.5',/ &
462 ' <J||**2>/<J-perp**2> = ',f14.6,
' (Vol. Averaged)',/ &
463 ' <JPS**2>/<J-perp**2> = ',f14.6,
' (Vol. Averaged)',/ )
46690
FORMAT(/,71(
'-'),/,&
467 ' MORE GEOMETRIC AND PHYSICS QUANTITIES',/,71(
'-'),/,&
468 ' Toroidal Plane: Phi = 0',/, &
469 5x,
'j',3x,
'psi-psiaxis',9x,
'a [M]',3x,
'ellipticity',3x,
'indentation',&
470 7x,
'd-shape',4x,
'rel. shift',6x,
'<J||**2>/',4x,
'<JPS**2>/',/, &
471 95x,
'<J-perp**2>',3x,
'<J-perp**2>'/, &
472 ' -----',8(2x,12(
'-')))
479 psi(1+i) =
psi(i) + r3v(i)
491 planes:
DO nplanes = 1, 2
493 IF (nplanes .eq. 1)
THEN
497 IF (nzeta .eq. 1)
EXIT
517 IF (icount .eq. 2)
then
519 n1 = mod(nzeta-(noff-1),nzeta)+1
521 loff = js + ns*(n1-1)
524 IF (icount .eq. 2) t1 = -
one
526 DO itheta = 1,ntheta2
531 IF (yz1u .ge. zmax)
THEN
534 ELSEIF (yz1u .le. zmin)
THEN
539 IF (yr1u .ge. xmax)
THEN
542 ELSEIF (yr1u .le. xmin)
THEN
547 loff = loff + ns*nzeta
554 lpi = ns*((noff-1) + nzeta*(ntheta2-1))
559 xmida =
r1(js+lpi,0) +
sqrts(js)*
r1(js+lpi,1)
560 xmidb =
r1(js+lt,0) +
sqrts(js)*
r1(js+lt,1)
565 rgeo = cp5*(xmidb + xmida)
568 ygeo(nplanes, js) = cp5*(xmidb - xmida)
571 yinden(nplanes, js) = (xmida - xmin)/(xmax - xmin)
574 yellip(nplanes, js) = ( zmax - zmin)/(xmax - xmin)
577 ytrian(nplanes, js) = (rgeo - rzmax)/(xmax - xmin)
580 yshift(nplanes, js) = (
r1(1+lt,0)-rgeo)/(xmax - xmin)
588 loc_jparps_perp = jps2(js)/
jperp2(js)
590 loc_jparps_perp =
zero
594 IF (nplanes .eq. 1)
THEN
595 WRITE (nthreed, 120) js,
psi(js), &
598 yshift(nplanes, js), loc_jpar_perp, &
601 WRITE (nthreed, 120) js,
psi(js), &
609 95
FORMAT(/,71(
'-'),/,
' Toroidal Plane: Phi = 180/Nfp',/,71(
'-'),/)
610120
FORMAT(1x,i5,6f14.5,1p,3e14.2)
614 call add_real(
"anorm", anorm)
615 call add_real(
"vnorm", vnorm)
616 call add_real(
"toroidal_flux", toroidal_flux)
618 call add_real_2d(
"surf_area", nzeta, ntheta3, surf_area)
627 call add_real(
"aspect",
aspect)
629 call add_real(
"kappa_p",
kappa_p)
630 call add_real(
"rcen", rcen)
631 call add_real(
"rcenin", rcenin)
632 call add_real(
"aminr2in", aminr2in)
633 call add_real(
"bminz2in", bminz2in)
634 call add_real(
"bminz2", bminz2)
635 call add_real(
"aminr1", aminr1)
636 call add_real(
"sump", sump)
637 call add_real(
"pavg", pavg)
639 call add_real(
"delphid_exact", delphid_exact)
640 call add_real(
"musubi", musubi)
641 call add_real(
"rshaf1", rshaf1)
642 call add_real(
"rshaf2", rshaf2)
643 call add_real(
"rshaf", rshaf)
644 call add_real(
"fpsi0", fpsi0)
645 call add_real(
"b0",
b0)
647 call add_real_2d(
"redge", nzeta, ntheta3, redge)
648 call add_real_2d(
"phat", nzeta, ntheta3, phat)
654 call add_real(
"bmin_1_ns",
bmin(1,ns))
655 call add_real(
"bmax_1_ns",
bmax(1,ns))
656 call add_real(
"bmin_ntheta2_ns",
bmin(ntheta2,ns))
657 call add_real(
"bmax_ntheta2_ns",
bmax(ntheta2,ns))
659 IF (ntor .gt. 1)
THEN
660 call add_real_1d(
"waist", 2, waist)
661 call add_real_1d(
"height", 2, height)
663 call add_real_1d(
"waist", 1, waist(1))
664 call add_real_1d(
"height", 1, height(1))
667 call add_real(
"sumbtot", sumbtot)
668 call add_real(
"sumbtor", sumbtor)
669 call add_real(
"sumbpol", sumbpol)
670 call add_real(
"betapol",
betapol)
671 call add_real(
"sump20", sump20)
672 call add_real(
"sump2", sump2)
673 call add_real(
"betatot",
betatot)
674 call add_real(
"betator",
betator)
675 call add_real(
"VolAvgB",
volavgb)
678 call add_real_1d(
"jPS2", ns-2, jps2(2:ns1))
680 call add_real(
"s2", s2)
681 call add_real(
"jpar_perp", jpar_perp)
682 call add_real(
"jparPS_perp", jparps_perp)
684 call add_real_1d(
"psi", ns,
psi)
686 call add_real_2d(
"ygeo", 2, ns,
ygeo)
687 call add_real_2d(
"yinden", 2, ns-1,
yinden(:,2:ns))
688 call add_real_2d(
"yellip", 2, ns-1,
yellip(:,2:ns))
689 call add_real_2d(
"ytrian", 2, ns-1,
ytrian(:,2:ns))
690 call add_real_2d(
"yshift", 2, ns-1,
yshift(:,2:ns))
696130
FORMAT(//,
' Magnetic Fields and Pressure',/,1x,71(
'-'))
698 WRITE (nthreed, 140) &
700 fac*sumbpol, fac*sumbpol/
volume_p, &
701 fac*sumbtor, fac*sumbtor/
volume_p, &
702 fac*sumbtot, fac*sumbtot/
volume_p, &
703 c1p5*sump/
mu0, c1p5*pavg/
mu0
704140
FORMAT(
' Volume Integrals (Joules) and Volume Averages (Pascals)',/,&
705 24x,
'Integral',6x,
'Average',/, &
706 ' pressure = ',1p,2e14.6,/,&
707 ' bpol**2 /(2 mu0) = ',2e14.6,/, &
708 ' btor**2/(2 mu0) = ',2e14.6,/, &
709 ' b**2/(2 mu0) = ',2e14.6,/,&
710 ' EKIN (3/2p) = ',2e14.6,/)
714 call add_real(
"int_p", sump/
mu0)
715 call add_real(
"avg_p", pavg/
mu0)
717 call add_real(
"int_bpol", fac*sumbpol)
718 call add_real(
"avg_bpol", fac*sumbpol/
volume_p)
720 call add_real(
"int_btor", fac*sumbtor)
721 call add_real(
"avg_btor", fac*sumbtor/
volume_p)
723 call add_real(
"int_modb", fac*sumbtot)
724 call add_real(
"avg_modb", fac*sumbtot/
volume_p)
726 call add_real(
"int_ekin", c1p5*sump/
mu0)
727 call add_real(
"avg_ekin", c1p5*pavg/
mu0)
733800
FORMAT(/,
' MAGNETIC AXIS COEFFICIENTS'/, &
734 ' n rmag zmag rmag zmag',/, &
735 ' (cos nv) (sin nv) (sin nv) (cos nv)',/)
736 loff = lbound(rmags,1)
738 allocate(rax_symm(0:ntor), zax_symm(0:ntor), rax_asym(0:ntor), zax_asym(0:ntor))
748 rax_symm(n) = t1*rmags(n1)
749 zax_symm(n) = -tz*zmags(n1)
751 rax_asym(n) = -tz*rmaga(n1)
752 zax_asym(n) = t1*zmaga(n1)
759 WRITE (nthreed, 820) n, t1*rmags(n1), (-tz*zmags(n1)), -tz*rmaga(n1), t1*zmaga(n1)
761 WRITE (nthreed, 820) n, t1*rmags(n1), (-tz*zmags(n1))
764820
FORMAT(i5,1p,4e12.4)
768 call add_real_1d(
"rax_symm", ntor+1, rax_symm)
769 call add_real_1d(
"zax_symm", ntor+1, zax_symm)
770 call add_real_1d(
"rax_asym", ntor+1, rax_asym)
771 call add_real_1d(
"zax_asym", ntor+1, zax_asym)
779150
FORMAT(/,
' From volume averages over plasma, betas are',/, &
780 ' beta total = ',f14.6,/, &
781 ' beta poloidal = ',f14.6,/, &
782 ' beta toroidal = ',f14.6,/ )
785160
FORMAT(
' R * Btor-vac = ',f14.6,
' [Wb/M]',/, &
786 ' Peak Beta = ',f14.6,/, &
787 ' Beta-star = ',f14.6,/)
791 call add_real(
"betatot",
betatot)
792 call add_real(
"betapol",
betapol)
793 call add_real(
"betator",
betator)
795 call add_real(
"rbtor",
rbtor)
796 call add_real(
"betaxis",
betaxis)
797 call add_real(
"betstr", betstr)
807 ALLOCATE (rbps1u(nznt), bpol2vac(nznt))
808 IF (lfreeb .and.
ivac.gt.1)
THEN
811 bpol2vac = 2*(c1p5*bsq(ns:nrzt:ns) - cp5*bsq(ns-1:nrzt:ns)) &
812 - ((c1p5*bsupv(ns:nrzt:ns) - cp5*bsupv(ns-1:nrzt:ns)) &
821 factor =
twopi**2 * aminr1 * sum(bpol2vac*surf_area)
823 facnorm = factor *
twopi**2
827 scaling_ratio = scaling_ratio*factor
829 rbps1u(:nznt) = facnorm*redge(:nznt)*phat(:nznt)*
wint(ns:nznt*ns:ns)
830 sigr0 = sum(rbps1u(:nznt)*
zu0(ns:nrzt:ns))
831 sigr1 = sum(rbps1u(:nznt)*
zu0(ns:nrzt:ns)*redge(:nznt))
832 sigz1 =-sum(rbps1u(:nznt)*
ru0(ns:nrzt:ns)*(
z1(ns:nrzt:ns,0) +
z1(ns:nrzt:ns,1)))
833 DEALLOCATE (redge, phat, rbps1u, bpol2vac, surf_area)
842 smaleli = factor*sumbpol
843 betai = 2*factor*sump
844 musubi = vnorm*factor*musubi
845 lambda = cp5*smaleli + betai
848 s11 = er - rshaf*sigr0
851 s12 = er - rcen*sigr0
854 s13 = er - rlao*sigr0
865168
FORMAT(
' Shafranov Surface Integrals',/ &
866 ' Ref: S. P. Hirshman, Phys. Fluids B, 5, (1993) 3119',/, &
867 ' Note: s1 = S1/2, s2 = S2/2, where ', &
868 ' s1,s2 are the Shafranov definitions,',/, &
869 ' and s3 = S3/2, where S3 is Lao''s definition.',/, &
870 ' The quantity lsubi gives the ratio of volume poloidal', &
871 /,
' field energy to the field energy estimated from the', &
872 /,
' surface integral in Eq.8.',/,1x,22(
'-'),/)
874 WRITE (nthreed, 170) rshaf, rcen, rlao, scaling_ratio, &
875 s3, smaleli, musubi, betai, lambda
876170
FORMAT(
' RT (Pressure-weighted) = ',f14.6,
' [M]',/, &
877 ' RG (Geometric) = ',f14.6,
' [M]',/, &
878 ' RL (Vol/2*pi*Area-Lao) = ',f14.6,
' [M]',/, &
879 ' Poloidal Field Energy',/, &
880 ' Normalization Ratio = ',f14.6,
' (Lao/Hirshman)',//, &
882 ' lsubi = ',f14.6,/, &
883 ' musubi = ',f14.6,/, &
884 ' betai = ',f14.6,/, &
885 ' lambda = ',f14.6,/)
887 WRITE (nthreed, 174) &
888 delta1, delta2, delta3, &
890 s2, s2/fgeo, s2/flao, &
891 musubi + s11, musubi + s12, musubi + s13, &
892 cp5*s11 + s2, cp5*s12 + s2/fgeo, cp5*s13 + s2/flao, &
893 cp5*(3*betai+smaleli-musubi)/(s11+s2 ) -
one, &
894 cp5*(3*betai+smaleli-musubi)/(s12+s2/fgeo) -
one, &
895 cp5*(3*betai+smaleli-musubi)/(s13+s2/flao) -
one, &
896 cp5 *(betai+smaleli+musubi)/s2 -
one, &
897 cp5*fgeo*(betai+smaleli+musubi)/s2 -
one, &
898 cp5*flao*(betai+smaleli+musubi)/s2 -
one
899174
FORMAT(/,32x,
'R = RT',12x,
'R = RG',12x,
'R = RL',/, &
900 20x,3(10x,8(
'-')),/, &
901 ' delta = 1 - RT/R = ',3(f14.6,4x),/, &
902 ' s1 = ',3(f14.6,4x),/, &
903 ' s2 = ',3(f14.6,4x),/, &
904 ' betai (Mui + s1) = ',3(f14.6,4x),/, &
905 ' lambda (s1/2 + s2) = ',3(f14.6,4x),/, &
906 ' 1st Shafr''v relation = ',3(f14.6,4x),/, &
907 ' (3*Betai + Li - Mui)/[2*(s1+s2)] - 1',/, &
908 ' Radial force balance = ',3(f14.6,4x),/, &
909 ' (Betai + Li + Mui)/(2*s2) - 1',/)
914 call add_real(
"scaling_ratio", scaling_ratio)
916 call add_real(
"rlao", rlao)
917 call add_real(
"flao", flao)
918 call add_real(
"fgeo", fgeo)
920 call add_real(
"smaleli", smaleli)
921 call add_real(
"betai", betai)
922 call add_real(
"musubi", musubi)
923 call add_real(
"lambda", lambda)
925 call add_real(
"s11", s11)
926 call add_real(
"s12", s12)
927 call add_real(
"s13", s13)
928 call add_real(
"s2", s2)
929 call add_real(
"s3", s3)
931 call add_real(
"delta1", delta1)
932 call add_real(
"delta2", delta2)
933 call add_real(
"delta3", delta3)