TALK=T;RUN(1,1)
  DISPLAY

  This input file illustrates the use of the In-Form "sphere"
  function to simulate the effect on the motion of the air of
  a football following a prescribed parabolic trajectory.

  It uses the In-Form functions:
      INFOB, STORED, SOURCE and SPHERE.

  The Q1 contains PHOTON USE commands
  ENDDIS
  PHOTON USE
  p
  p1;

  up x;gr ou x 1;gr ou y 1;gr ou z 1
  ve y 1 sh
  surf mark x 0.99; surf mark y 0.99
  dump vel1
  pause
  p
  p2;

  up x;gr ou x 1;gr ou y 1;gr ou z 1
  ve y 1 sh
  surf mark x 0.99;surf mark y 0.99
  dump vel2
  pause
  p
  p3;

  up x;gr ou x 1;gr ou y 1;gr ou z 1
  ve y 1 sh
  surf mark x 0.99;surf mark y 0.99
  dump vel3
  pause
  p
  p4;

  up x;gr ou x 1;gr ou y 1;gr ou z 1
  ve y 1 sh
  surf mark x 0.99;surf mark y 0.99
  dump vel4
  pause
  p
  p5;

  up x;gr ou x 1;gr ou y 1;gr ou z 1
  ve y 1 sh
  surf mark x 0.99;surf mark y 0.99
  dump vel5
  pause
  p
  p6;

  up x;gr ou x 1;gr ou y 1;gr ou z 1
  ve y 1 sh
  surf mark x 0.99;surf mark y 0.99
  dump vel6
  pause
  p
  p7;

  up x;gr ou x 1;gr ou y 1;gr ou z 1
  ve y 1 sh
  surf mark x 0.99;surf mark y 0.99
  dump vel7
  pause
  p
  p8;

  up x;gr ou x 1;gr ou y 1;gr ou z 1
  ve y 1 sh
  surf mark x 0.99;surf mark y 0.99
  dump vel8
  pause
  p
  p9;

  up x;gr ou x 1;gr ou y 1;gr ou z 1
  ve y 1 sh
  surf mark x 0.99;surf mark y 0.99
  dump vel9
  pause
  p
  p10;

  up x;gr ou x 1;gr ou y 1;gr ou z 1
  ve y 1 sh
  surf mark x 0.99;surf mark y 0.99
  dump vel10
  pause
  p
  p11;

  up x;gr ou x 1;gr ou y 1;gr ou z 1
  ve y 1 sh
  surf mark x 0.99;surf mark y 0.99
  dump vel11
  pause
  p
  p12;

  up x;gr ou x 1;gr ou y 1;gr ou z 1
  ve y 1 sh
  surf mark x 0.99;surf mark y 0.99
  dump vel12
  pause
  p
  p13;

  up x;gr ou x 1;gr ou y 1;gr ou z 1
  ve y 1 sh
  surf mark x 0.99;surf mark y 0.99
  dump vel13
  pause
  p
  p14;

  up x;gr ou x 1;gr ou y 1;gr ou z 1
  ve y 1 sh
  surf mark x 0.99;surf mark y 0.99
  dump vel14
  pause
  p
  p15;

  up x;gr ou x 1;gr ou y 1;gr ou z 1
  ve y 1 sh
  surf mark x 0.99;surf mark y 0.99
  dump vel15
  pause
  p
  p16;

  up x;gr ou x 1;gr ou y 1;gr ou z 1
  ve y 1 sh
  surf mark x 0.99;surf mark y 0.99
  dump vel16
  pause
  p
  p17;

  up x;gr ou x 1;gr ou y 1;gr ou z 1
  ve y 1 sh
  surf mark x 0.99;surf mark y 0.99
  dump vel17
  pause
  p
  p18;

  up x;gr ou x 1;gr ou y 1;gr ou z 1
  ve y 1 sh
  surf mark x 0.99;surf mark y 0.99
  dump vel18
  pause
  p
  p19;

  up x;gr ou x 1;gr ou y 1;gr ou z 1
  ve y 1 sh
  surf mark x 0.99;surf mark y 0.99
  dump vel19
  pause
  p
  p20;

  up x;gr ou x 1;gr ou y 1;gr ou z 1
  ve y 1 sh
  surf mark x 0.99;surf mark y 0.99
  dump vel20
  ENDUSE
 ************************************************************
  Group 1. Run Title and Number
 ************************************************************
 ************************************************************
 
 TEXT(3D football trajectory: 767             )
 
 ************************************************************
 ************************************************************
 
 IRUNN = 1 ;LIBREF = 767
 ************************************************************
  Group 2. Time dependence
 STEADY = F
    * Set overall time and no. of steps
 TFIRST =0. ;TLAST =2.
 FSTEP = 1 ;LSTEP = 20
 TFRAC(1)=0.05 ;TFRAC(2)=0.1
 TFRAC(3)=0.15 ;TFRAC(4)=0.2
 TFRAC(5)=0.25 ;TFRAC(6)=0.3
 TFRAC(7)=0.35 ;TFRAC(8)=0.4
 TFRAC(9)=0.45 ;TFRAC(10)=0.5
 TFRAC(11)=0.55 ;TFRAC(12)=0.6
 TFRAC(13)=0.65 ;TFRAC(14)=0.7
 TFRAC(15)=0.75 ;TFRAC(16)=0.8
 TFRAC(17)=0.85 ;TFRAC(18)=0.9
 TFRAC(19)=0.95 ;TFRAC(20)=1.
 ************************************************************
  Group 3. X-Direction Grid Spacing
 CARTES = T
 NX = 35
 XULAST =7.
 XFRAC(1)=0.028571 ;XFRAC(2)=0.057143
 XFRAC(3)=0.085714 ;XFRAC(4)=0.114286
 XFRAC(5)=0.142857 ;XFRAC(6)=0.171429
 XFRAC(7)=0.2 ;XFRAC(8)=0.228571
 XFRAC(9)=0.257143 ;XFRAC(10)=0.285714
 XFRAC(11)=0.314286 ;XFRAC(12)=0.342857
 XFRAC(13)=0.371429 ;XFRAC(14)=0.4
 XFRAC(15)=0.428571 ;XFRAC(16)=0.457143
 XFRAC(17)=0.485714 ;XFRAC(18)=0.514286
 XFRAC(19)=0.542857 ;XFRAC(20)=0.571429
 XFRAC(21)=0.6 ;XFRAC(22)=0.628571
 XFRAC(23)=0.657143 ;XFRAC(24)=0.685714
 XFRAC(25)=0.714286 ;XFRAC(26)=0.742857
 XFRAC(27)=0.771429 ;XFRAC(28)=0.8
 XFRAC(29)=0.828571 ;XFRAC(30)=0.857143
 XFRAC(31)=0.885714 ;XFRAC(32)=0.914286
 XFRAC(33)=0.942857 ;XFRAC(34)=0.971429
 XFRAC(35)=1.
 ************************************************************
  Group 4. Y-Direction Grid Spacing
 NY = 5
 YVLAST =2.5
 YFRAC(1)=0.2 ;YFRAC(2)=0.4
 YFRAC(3)=0.6 ;YFRAC(4)=0.8
 YFRAC(5)=1.
 ************************************************************
  Group 5. Z-Direction Grid Spacing
 PARAB = F
 NZ = 110
 ZWLAST =22.
 ZFRAC(1)=9.090909E-03 ;ZFRAC(2)=0.018182
 ZFRAC(3)=0.027273 ;ZFRAC(4)=0.036364
 ZFRAC(5)=0.045455 ;ZFRAC(6)=0.054545
 ZFRAC(7)=0.063636 ;ZFRAC(8)=0.072727
 ZFRAC(9)=0.081818 ;ZFRAC(10)=0.090909
 ZFRAC(11)=0.1 ;ZFRAC(12)=0.109091
 ZFRAC(13)=0.118182 ;ZFRAC(14)=0.127273
 ZFRAC(15)=0.136364 ;ZFRAC(16)=0.145455
 ZFRAC(17)=0.154545 ;ZFRAC(18)=0.163636
 ZFRAC(19)=0.172727 ;ZFRAC(20)=0.181818
 ZFRAC(21)=0.190909 ;ZFRAC(22)=0.2
 ZFRAC(23)=0.209091 ;ZFRAC(24)=0.218182
 ZFRAC(25)=0.227273 ;ZFRAC(26)=0.236364
 ZFRAC(27)=0.245455 ;ZFRAC(28)=0.254545
 ZFRAC(29)=0.263636 ;ZFRAC(30)=0.272727
 ZFRAC(31)=0.281818 ;ZFRAC(32)=0.290909
 ZFRAC(33)=0.3 ;ZFRAC(34)=0.309091
 ZFRAC(35)=0.318182 ;ZFRAC(36)=0.327273
 ZFRAC(37)=0.336364 ;ZFRAC(38)=0.345455
 ZFRAC(39)=0.354545 ;ZFRAC(40)=0.363636
 ZFRAC(41)=0.372727 ;ZFRAC(42)=0.381818
 ZFRAC(43)=0.390909 ;ZFRAC(44)=0.4
 ZFRAC(45)=0.409091 ;ZFRAC(46)=0.418182
 ZFRAC(47)=0.427273 ;ZFRAC(48)=0.436364
 ZFRAC(49)=0.445455 ;ZFRAC(50)=0.454545
 ZFRAC(51)=0.463636 ;ZFRAC(52)=0.472727
 ZFRAC(53)=0.481818 ;ZFRAC(54)=0.490909
 ZFRAC(55)=0.5 ;ZFRAC(56)=0.509091
 ZFRAC(57)=0.518182 ;ZFRAC(58)=0.527273
 ZFRAC(59)=0.536364 ;ZFRAC(60)=0.545455
 ZFRAC(61)=0.554545 ;ZFRAC(62)=0.563636
 ZFRAC(63)=0.572727 ;ZFRAC(64)=0.581818
 ZFRAC(65)=0.590909 ;ZFRAC(66)=0.6
 ZFRAC(67)=0.609091 ;ZFRAC(68)=0.618182
 ZFRAC(69)=0.627273 ;ZFRAC(70)=0.636364
 ZFRAC(71)=0.645455 ;ZFRAC(72)=0.654545
 ZFRAC(73)=0.663636 ;ZFRAC(74)=0.672727
 ZFRAC(75)=0.681818 ;ZFRAC(76)=0.690909
 ZFRAC(77)=0.7 ;ZFRAC(78)=0.709091
 ZFRAC(79)=0.718182 ;ZFRAC(80)=0.727273
 ZFRAC(81)=0.736364 ;ZFRAC(82)=0.745455
 ZFRAC(83)=0.754546 ;ZFRAC(84)=0.763636
 ZFRAC(85)=0.772727 ;ZFRAC(86)=0.781818
 ZFRAC(87)=0.790909 ;ZFRAC(88)=0.8
 ZFRAC(89)=0.809091 ;ZFRAC(90)=0.818182
 ZFRAC(91)=0.827273 ;ZFRAC(92)=0.836364
 ZFRAC(93)=0.845455 ;ZFRAC(94)=0.854546
 ZFRAC(95)=0.863636 ;ZFRAC(96)=0.872727
 ZFRAC(97)=0.881818 ;ZFRAC(98)=0.890909
 ZFRAC(99)=0.9 ;ZFRAC(100)=0.909091
 ZFRAC(101)=0.918182 ;ZFRAC(102)=0.927273
 ZFRAC(103)=0.936364 ;ZFRAC(104)=0.945455
 ZFRAC(105)=0.954545 ;ZFRAC(106)=0.963636
 ZFRAC(107)=0.972727 ;ZFRAC(108)=0.981818
 ZFRAC(109)=0.990909 ;ZFRAC(110)=1.
 ************************************************************
  Group 6. Body-Fitted Coordinates
 ************************************************************
  Group 7. Variables: STOREd,SOLVEd,NAMEd
 ONEPHS = T
 NAME(1)=P1 ;NAME(3)=U1
 NAME(5)=V1 ;NAME(7)=W1
 NAME(150)=MARK
    * Y in SOLUTN argument list denotes:
    * 1-stored 2-solved 3-whole-field
    * 4-point-by-point 5-explicit 6-harmonic averaging 
 SOLUTN(P1,Y,Y,N,N,N,Y)
 SOLUTN(U1,Y,Y,N,N,N,Y)
 SOLUTN(V1,Y,Y,N,N,N,Y)
 SOLUTN(W1,Y,Y,N,N,N,Y)
 SOLUTN(MARK,Y,N,N,N,N,Y)
 ************************************************************
  Group 8. Terms & Devices
    * Y in TERMS argument list denotes:
    * 1-built-in source 2-convection 3-diffusion 4-transient
    * 5-first phase variable 6-interphase transport         
 TERMS(P1,Y,Y,Y,N,Y,Y)
 TERMS(U1,Y,Y,Y,Y,Y,Y)
 TERMS(V1,Y,Y,Y,Y,Y,Y)
 TERMS(W1,Y,Y,Y,Y,Y,Y)
 DIFCUT =0.5 ;ZDIFAC =1.
 GALA = F ;ADDDIF = F
 ISOLX = -1 ;ISOLY = -1 ;ISOLZ = -1
 ************************************************************
  Group 9. Properties used if PRPS is not
  stored, and where PRPS = -1.0 if it is!
 RHO1 =1. ;TMP1 =0. ;EL1 =0.
 TSURR =0. ;TEMP0 =0. ;PRESS0 =0.
 DVO1DT =0. ;DRH1DP =0.
 EMISS =0. ;SCATT =0.
 RADIA =0. ;RADIB =0.
 ENUL =1.0E-05 ;ENUT =0.
 PRNDTL(U1)=1. ;PRNDTL(V1)=1.
 PRNDTL(W1)=1.
 PRT(U1)=1. ;PRT(V1)=1.
 PRT(W1)=1.
 CP1 =1. ;CP2 =1.
 ************************************************************
  Group 10.Inter-Phase Transfer Processes
 ************************************************************
  Group 11.Initial field variables (PHIs)
 FIINIT(P1)=1.0E-10 ;FIINIT(U1)=1.0E-10
 FIINIT(V1)=1.0E-10 ;FIINIT(W1)=1.0E-10
 FIINIT(MARK)=0.
   No PATCHes yet used for this Group
 INIADD = F
 FSWEEP = 1
 NAMFI =CHAM
 ************************************************************
  Group 12. Patchwise adjustment of terms
  Patches for this group are printed with those
  for Group 13.
  Their names begin either with GP12 or &
 ************************************************************
  Group 13. Boundary & Special Sources
 
 PATCH(EAST ,EAST , 35, 35, 1, 5, 1, 110, 1, 20)
 COVAL(EAST ,P1 ,1. ,0. )
 
 PATCH(HIGH ,HIGH , 1, 35, 1, 5, 110, 110, 1, 20)
 COVAL(HIGH ,P1 ,1. ,0. )
 
 PATCH(LOW ,LOW , 1, 110, 1, 5, 1, 1, 1, 20)
 COVAL(LOW ,P1 ,1. ,0. )
 
 PATCH(NORTH ,NORTH , 1, 35, 5, 5, 1, 110, 1, 20)
 COVAL(NORTH ,P1 ,1. ,0. )
 
 PATCH(WALLW ,WWALL , 1, 1, 1, 5, 1, 110, 1, 20)
 COVAL(WALLW ,W1 ,1. ,0. )
 
 PATCH(PATCH1 ,CELL , 1, 35, 1, 5, 1, 110, 1, 20)
 COVAL(PATCH1 ,U1 ,In-Form:source - see Grp 19)
 COVAL(PATCH1 ,V1 ,In-Form:source - see Grp 19)
 COVAL(PATCH1 ,W1 ,In-Form:source - see Grp 19)
 XCYCLE = F
 EGWF = T
 WALLCO = GRND2
 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP = 30 ;ISWC1 = 1
 LITHYD = 1 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1
 SELREF = F
 RESREF(P1)=1.0E-08 ;RESREF(U1)=1.0E-08
 RESREF(V1)=1.0E-08 ;RESREF(W1)=1.0E-08
 ************************************************************
  Group 16. Terminate Iterations
 LITER(P1)=10 ;LITER(U1)=2
 LITER(V1)=2 ;LITER(W1)=2
 ENDIT(P1)=1.0E-03 ;ENDIT(U1)=1.0E-03
 ENDIT(V1)=1.0E-03 ;ENDIT(W1)=1.0E-03
 ************************************************************
  Group 17. Relaxation
 RELAX(P1,LINRLX,1.)
 RELAX(U1,FALSDT,1.)
 RELAX(V1,FALSDT,1.)
 RELAX(W1,FALSDT,1.)
 RELAX(MARK,LINRLX,1.)
 OVRRLX =0.
 EXPERT = F ;NNORSL = F
 ************************************************************
  Group 18. Limits
 VARMAX(P1)=1.0E+10 ;VARMIN(P1)=-1.0E+10
 VARMAX(U1)=1.0E+06 ;VARMIN(U1)=-1.0E+06
 VARMAX(V1)=1.0E+06 ;VARMIN(V1)=-1.0E+06
 VARMAX(W1)=1.0E+06 ;VARMIN(W1)=-1.0E+06
 VARMAX(MARK)=1.0E+10 ;VARMIN(MARK)=-1.0E+10
 ************************************************************
  Group 19. Data transmitted to GROUND
 PARSOL = F
 ISG62 = 1
 SPEDAT(SET,INFOB,*!PATCH1,C,=SPHERE(0.5+TIM*14.14/1.414-0.5*9.81*$)
 SPEDAT(SET,INFOB,*!PATCH1,C,TIM^2&0.&0.5+TIM*14.14/1.414&.5&0&0&0$)
 SPEDAT(SET,INFOB,*!PATCH1,C,)!INFOB_1)
 SPEDAT(SET,SOURCE,U1!PATCH1,C,=14.14/1.414-9.81*TIM!INFOB_1!FIXV)
 SPEDAT(SET,SOURCE,V1!PATCH1,C,=0.!INFOB_1!FIXV)
 SPEDAT(SET,SOURCE,W1!PATCH1,C,=14.14/1.414!INFOB_1!FIXV)
 SPEDAT(SET,STORED,MARK,C,=0!ZSLFIN)
 SPEDAT(SET,STORED,MARK!PATCH1,C,=1!INFOB_1!ZSLFIN)
 SPEDAT(SET,GXMONI,PLOTALL,L,T)
 ************************************************************
  Group 20. Preliminary Printout
 DISTIL = T ;NULLPR = F
 NDST = 0
 DSTTOL =1.0E-02
 EX(P1)=0.4463 ;EX(U1)=0.1829
 EX(V1)=0.1241 ;EX(W1)=0.2778
 EX(MARK)=7.792E-04
 ************************************************************
  Group 21. Print-out of Variables
 INIFLD = F ;SUBWGR = F
    * Y in OUTPUT argument list denotes:
    * 1-field 2-correction-eq. monitor 3-selective dumping      
    * 4-whole-field residual 5-spot-value table 6-residual table
 OUTPUT(P1,Y,N,Y,Y,Y,Y)
 OUTPUT(U1,Y,N,Y,Y,Y,Y)
 OUTPUT(V1,Y,N,Y,Y,Y,Y)
 OUTPUT(W1,Y,N,Y,Y,Y,Y)
 OUTPUT(MARK,Y,N,Y,N,N,N)
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON = 9 ;IYMON = 1 ;IZMON = 28
 NPRMON = 30 ;NPRMNT = 1 ;TSTSWP = -1
 UWATCH = T ;USTEER = T
 HIGHLO = F
 ************************************************************
  Group 23.Field Print-Out & Plot Control
 NPRINT = 100000 ;NUMCLS = 5
 NTPRIN = 100000 ;ISTPRF = 1 ;ISTPRL = 100000
 NXPRIN = -1 ;IXPRF = 1 ;IXPRL = 10000
 NYPRIN = -1 ;IYPRF = 1 ;IYPRL = 10000
 NZPRIN = -1 ;IZPRF = 1 ;IZPRL = 10000
 XZPR = F ;YZPR = F
 IPLTF = 1 ;IPLTL = -1 ;NPLT = -1
 ISWPRF = 1 ;ISWPRL = 100000
 ITABL = 3 ;IPROF = 1
 ABSIZ =0.5 ;ORSIZ =0.4
 NTZPRF = 1 ;NCOLPF = 50
 ICHR = 2 ;NCOLCO = 45 ;NROWCO = 20
   No PATCHes yet used for this Group
 ************************************************************
  Group 24. Dumps For Restarts
 SAVE = T ;NOWIPE = F
 NSAVE =CHAM
 IDISPA = 1 ;IDISPB = 0 ;IDISPC = 0
 CSG1    ='P'
STOP