TALK=T;RUN(1,1)
  DISPLAY

  This In-Form case set moving In-Form object for simulation
  the valve.

  First four In-Form objects (1, 2, 3 and 4) describe
  the geometry of blading sections of the chamber.
  Two next In-Form objects (5 and 6) describe the geometry of a val$
ve.
  MARK is used by PHOTON for marks of borders of a paddle.

  The Q1 uses the In-Form functions:
       STORED, SOURCE and INFOB.

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

  gr ou z 1
  ve z 1 sh
  surf mark z .99
  msg Time = 3.3E-3 sec.
  msg Velocity vectors and pressure field
  upause 2
  p
  p2;

  gr ou z 1
  ve z 1 sh
  surf mark z .99
  msg Time = 6.7E-3 sec.
  msg Velocity vectors and pressure field
  upause 2
  p
  p3;

  gr ou z 1
  ve z 1 sh
  surf mark z .99
  msg Time = 1.E-2 sec.
  msg Velocity vectors and pressure field
  upause 2
  p
  p4;

  gr ou z 1
  ve z 1 sh
  surf mark z .99
  msg Time = 1.3E-2 sec.
  msg Velocity vectors and pressure field
  upause 2
  p
  p5;

  gr ou z 1
  ve z 1 sh
  surf mark z .99
  msg Time = 1.7E-2 sec.
  msg Velocity vectors and pressure field
  upause 2
  p
  p6;

  gr ou z 1
  ve z 1 sh
  surf mark z .99
  msg Time = 2.E-2 sec.
  msg Velocity vectors and pressure field
  upause 2
  p
  p7;

  gr ou z 1
  ve z 1 sh
  surf mark z .99
  msg Time = 2.3E-2 sec.
  msg Velocity vectors and pressure field
  upause 2
  p
  p8;

  gr ou z 1
  ve z 1 sh
  surf mark z .99
  msg Time = 2.7E-2 sec.
  msg Velocity vectors and pressure field
  upause 2
  p
  p9;

  gr ou z 1
  ve z 1 sh
  surf mark z .99
  msg Time = 3.E-2 sec.
  msg Velocity vectors and pressure field
  ENDUSE
 ************************************************************
  Group 1. Run Title and Number
 ************************************************************
 ************************************************************
 
 TEXT(Valve motion into 2D Chamber by In-Form )
 
 ************************************************************
 ************************************************************
 
 IRUNN = 1 ;LIBREF = 784
 ************************************************************
  Group 2. Time dependence
 STEADY = F
    * Set overall time and no. of steps
 TFIRST =0. ;TLAST =0.03
 FSTEP = 1 ;LSTEP = 9
 TFRAC(1)=0.111111 ;TFRAC(2)=0.222222
 TFRAC(3)=0.333333 ;TFRAC(4)=0.444444
 TFRAC(5)=0.555556 ;TFRAC(6)=0.666667
 TFRAC(7)=0.777778 ;TFRAC(8)=0.888889
 TFRAC(9)=1.
 ************************************************************
  Group 3. X-Direction Grid Spacing
 CARTES = T
 NX = 80
 XULAST =0.1
 XFRAC(1)=0.0125 ;XFRAC(2)=0.025
 XFRAC(3)=0.0375 ;XFRAC(4)=0.05
 XFRAC(5)=0.0625 ;XFRAC(6)=0.075
 XFRAC(7)=0.0875 ;XFRAC(8)=0.1
 XFRAC(9)=0.1125 ;XFRAC(10)=0.125
 XFRAC(11)=0.1375 ;XFRAC(12)=0.15
 XFRAC(13)=0.1625 ;XFRAC(14)=0.175
 XFRAC(15)=0.1875 ;XFRAC(16)=0.2
 XFRAC(17)=0.2125 ;XFRAC(18)=0.225
 XFRAC(19)=0.2375 ;XFRAC(20)=0.25
 XFRAC(21)=0.2625 ;XFRAC(22)=0.275
 XFRAC(23)=0.2875 ;XFRAC(24)=0.3
 XFRAC(25)=0.3125 ;XFRAC(26)=0.325
 XFRAC(27)=0.3375 ;XFRAC(28)=0.35
 XFRAC(29)=0.3625 ;XFRAC(30)=0.375
 XFRAC(31)=0.3875 ;XFRAC(32)=0.4
 XFRAC(33)=0.4125 ;XFRAC(34)=0.425
 XFRAC(35)=0.4375 ;XFRAC(36)=0.45
 XFRAC(37)=0.4625 ;XFRAC(38)=0.475
 XFRAC(39)=0.4875 ;XFRAC(40)=0.5
 XFRAC(41)=0.5125 ;XFRAC(42)=0.525
 XFRAC(43)=0.5375 ;XFRAC(44)=0.55
 XFRAC(45)=0.5625 ;XFRAC(46)=0.575
 XFRAC(47)=0.5875 ;XFRAC(48)=0.6
 XFRAC(49)=0.6125 ;XFRAC(50)=0.625
 XFRAC(51)=0.6375 ;XFRAC(52)=0.65
 XFRAC(53)=0.6625 ;XFRAC(54)=0.675
 XFRAC(55)=0.6875 ;XFRAC(56)=0.7
 XFRAC(57)=0.7125 ;XFRAC(58)=0.725
 XFRAC(59)=0.7375 ;XFRAC(60)=0.75
 XFRAC(61)=0.7625 ;XFRAC(62)=0.775
 XFRAC(63)=0.7875 ;XFRAC(64)=0.8
 XFRAC(65)=0.8125 ;XFRAC(66)=0.825
 XFRAC(67)=0.8375 ;XFRAC(68)=0.85
 XFRAC(69)=0.8625 ;XFRAC(70)=0.875
 XFRAC(71)=0.8875 ;XFRAC(72)=0.9
 XFRAC(73)=0.9125 ;XFRAC(74)=0.925
 XFRAC(75)=0.9375 ;XFRAC(76)=0.95
 XFRAC(77)=0.9625 ;XFRAC(78)=0.975
 XFRAC(79)=0.9875 ;XFRAC(80)=1.
 ************************************************************
  Group 4. Y-Direction Grid Spacing
 NY = 80
 YVLAST =0.1
 YFRAC(1)=0.0125 ;YFRAC(2)=0.025
 YFRAC(3)=0.0375 ;YFRAC(4)=0.05
 YFRAC(5)=0.0625 ;YFRAC(6)=0.075
 YFRAC(7)=0.0875 ;YFRAC(8)=0.1
 YFRAC(9)=0.1125 ;YFRAC(10)=0.125
 YFRAC(11)=0.1375 ;YFRAC(12)=0.15
 YFRAC(13)=0.1625 ;YFRAC(14)=0.175
 YFRAC(15)=0.1875 ;YFRAC(16)=0.2
 YFRAC(17)=0.2125 ;YFRAC(18)=0.225
 YFRAC(19)=0.2375 ;YFRAC(20)=0.25
 YFRAC(21)=0.2625 ;YFRAC(22)=0.275
 YFRAC(23)=0.2875 ;YFRAC(24)=0.3
 YFRAC(25)=0.3125 ;YFRAC(26)=0.325
 YFRAC(27)=0.3375 ;YFRAC(28)=0.35
 YFRAC(29)=0.3625 ;YFRAC(30)=0.375
 YFRAC(31)=0.3875 ;YFRAC(32)=0.4
 YFRAC(33)=0.4125 ;YFRAC(34)=0.425
 YFRAC(35)=0.4375 ;YFRAC(36)=0.45
 YFRAC(37)=0.4625 ;YFRAC(38)=0.475
 YFRAC(39)=0.4875 ;YFRAC(40)=0.5
 YFRAC(41)=0.5125 ;YFRAC(42)=0.525
 YFRAC(43)=0.5375 ;YFRAC(44)=0.55
 YFRAC(45)=0.5625 ;YFRAC(46)=0.575
 YFRAC(47)=0.5875 ;YFRAC(48)=0.6
 YFRAC(49)=0.6125 ;YFRAC(50)=0.625
 YFRAC(51)=0.6375 ;YFRAC(52)=0.65
 YFRAC(53)=0.6625 ;YFRAC(54)=0.675
 YFRAC(55)=0.6875 ;YFRAC(56)=0.7
 YFRAC(57)=0.7125 ;YFRAC(58)=0.725
 YFRAC(59)=0.7375 ;YFRAC(60)=0.75
 YFRAC(61)=0.7625 ;YFRAC(62)=0.775
 YFRAC(63)=0.7875 ;YFRAC(64)=0.8
 YFRAC(65)=0.8125 ;YFRAC(66)=0.825
 YFRAC(67)=0.8375 ;YFRAC(68)=0.85
 YFRAC(69)=0.8625 ;YFRAC(70)=0.875
 YFRAC(71)=0.8875 ;YFRAC(72)=0.9
 YFRAC(73)=0.9125 ;YFRAC(74)=0.925
 YFRAC(75)=0.9375 ;YFRAC(76)=0.95
 YFRAC(77)=0.9625 ;YFRAC(78)=0.975
 YFRAC(79)=0.9875 ;YFRAC(80)=1.
 ************************************************************
  Group 5. Z-Direction Grid Spacing
 PARAB = F
 NZ = 1
 ZWLAST =1.
 ZFRAC(1)=1.
 ************************************************************
  Group 6. Body-Fitted Coordinates
 ************************************************************
  Group 7. Variables: STOREd,SOLVEd,NAMEd
 ONEPHS = T
 NAME(1)=P1 ;NAME(3)=U1
 NAME(5)=V1 ;NAME(149)=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(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)
 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-04 ;ENUT =0.
 PRNDTL(U1)=1. ;PRNDTL(V1)=1.
 PRT(U1)=1. ;PRT(V1)=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(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 , 80, 80, 1, 80, 1, 1, 1, 9)
 COVAL(EAST ,P1 ,1. ,0. )
 
 PATCH(WEST ,WEST , 1, 1, 1, 80, 1, 1, 1, 9)
 COVAL(WEST ,P1 ,1. ,0. )
 
 PATCH(NORTH ,NORTH , 1, 80, 80, 80, 1, 1, 1, 9)
 COVAL(NORTH ,P1 ,1. ,0. )
 
 PATCH(SOUTH ,SOUTH , 1, 80, 1, 1, 1, 1, 1, 9)
 COVAL(SOUTH ,P1 ,1. ,0. )
 
 PATCH(WHOLE ,CELL , 1, 80, 1, 80, 1, 1, 1, 9)
 COVAL(WHOLE ,U1 ,In-Form:source - see Grp 19)
 COVAL(WHOLE ,V1 ,In-Form:source - see Grp 19)
 XCYCLE = F
 EGWF = T
 WALLCO = GRND2
 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP = 50 ;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
 ************************************************************
  Group 16. Terminate Iterations
 LITER(P1)=20 ;LITER(U1)=10
 LITER(V1)=10
 ENDIT(P1)=1.0E-03 ;ENDIT(U1)=1.0E-03
 ENDIT(V1)=1.0E-03
 ************************************************************
  Group 17. Relaxation
 RELAX(P1,LINRLX,1.)
 RELAX(U1,FALSDT,1.)
 RELAX(V1,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(MARK)=1.0E+10 ;VARMIN(MARK)=-1.0E+10
 ************************************************************
  Group 19. Data transmitted to GROUND
 PARSOL = F
 ISG62 = 1
 SPEDAT(SET,INFOB,*!WHOLE,C,=BOX(0.&.07&0.&.04&.03&1.&0.&0.&0.)!IN$)
 SPEDAT(SET,INFOB,*!WHOLE,C,FOB_1)
 SPEDAT(SET,STORED,VPOR!WHOLE,C,=0.!INFOB_1!ZSLFIN)
 SPEDAT(SET,SOURCE,U1!WHOLE,C,=0.!INFOB_1!FIXV)
 SPEDAT(SET,SOURCE,V1!WHOLE,C,=0.!INFOB_1!FIXV)
 SPEDAT(SET,INFOB,*!WHOLE,C,=BOX(.07&0.&0.&.03&.04&1.&0.&0.&0.)!IN$)
 SPEDAT(SET,INFOB,*!WHOLE,C,FOB_2)
 SPEDAT(SET,STORED,VPOR!WHOLE,C,=0!INFOB_2!ZSLFIN)
 SPEDAT(SET,SOURCE,U1!WHOLE,C,=0.!INFOB_2!FIXV)
 SPEDAT(SET,SOURCE,V1!WHOLE,C,=0.!INFOB_2!FIXV)
 SPEDAT(SET,INFOB,*!WHOLE,C,=BOX(.04&.07&0.&.05&.03&1.&0.&0.&-0.78$)
 SPEDAT(SET,INFOB,*!WHOLE,C,5398)!INFOB_3)
 SPEDAT(SET,STORED,VPOR!WHOLE,C,=0.!INFOB_3!ZSLFIN)
 SPEDAT(SET,SOURCE,U1!WHOLE,C,=0.!INFOB_3!FIXV)
 SPEDAT(SET,SOURCE,V1!WHOLE,C,=0.!INFOB_3!FIXV)
 SPEDAT(SET,INFOB,*!WHOLE,C,=BOX(.07&.04&0.&.03&.05&1.&0.&0.&0.785$)
 SPEDAT(SET,INFOB,*!WHOLE,C,398)!INFOB_4)
 SPEDAT(SET,STORED,VPOR!WHOLE,C,=0.!INFOB_4!ZSLFIN)
 SPEDAT(SET,SOURCE,U1!WHOLE,C,=0.!INFOB_4!FIXV)
 SPEDAT(SET,SOURCE,V1!WHOLE,C,=0.!INFOB_4!FIXV)
 SPEDAT(SET,INFOB,*!WHOLE,C,=BOX(0.065-2.357378E-03*(4-ABS(ISTEP-5$)
 SPEDAT(SET,INFOB,*!WHOLE,C,))&0.035-2.357378E-03*(4-ABS(ISTEP-5))$)
 SPEDAT(SET,INFOB,*!WHOLE,C,&0.&.01&.042&1.&0.&0.&-0.785398)!INFOB$)
 SPEDAT(SET,INFOB,*!WHOLE,C,_5)
 SPEDAT(SET,INFOB,*!WHOLE,C,=BOX(0.065-2.357378E-03*(4-ABS(ISTEP-5$)
 SPEDAT(SET,INFOB,*!WHOLE,C,))-0.0113&0.035-2.357378E-03*(4-ABS(IS$)
 SPEDAT(SET,INFOB,*!WHOLE,C,TEP-5))+0.0252&0.&.01&.11&1.&0.&0.&0.7$)
 SPEDAT(SET,INFOB,*!WHOLE,C,85398)!INFOB_6)
 SPEDAT(SET,SOURCE,U1!WHOLE,C,=(2*(ISTEP/6-1)+1)*0.707214!INFOB_5!$)
 SPEDAT(SET,SOURCE,U1!WHOLE,C,FIXV)
 SPEDAT(SET,SOURCE,V1!WHOLE,C,=(2*(ISTEP/6-1)+1)*0.707214!INFOB_5!$)
 SPEDAT(SET,SOURCE,V1!WHOLE,C,FIXV)
 SPEDAT(SET,SOURCE,U1!WHOLE,C,=(2*(ISTEP/6-1)+1)*0.707214!INFOB_6!$)
 SPEDAT(SET,SOURCE,U1!WHOLE,C,FIXV)
 SPEDAT(SET,SOURCE,V1!WHOLE,C,=(2*(ISTEP/6-1)+1)*0.707214!INFOB_6!$)
 SPEDAT(SET,SOURCE,V1!WHOLE,C,FIXV)
 SPEDAT(SET,STORED,MARK!WHOLE,C,=0.!IF(ISWEEP.EQ.1)!ZSLFIN)
 SPEDAT(SET,STORED,MARK!WHOLE,C,=1.!INFOB_5!IF(ISWEEP.EQ.1)!ZSLFIN)
 SPEDAT(SET,STORED,MARK!WHOLE,C,=1.!INFOB_6!IF(ISWEEP.EQ.1)!ZSLFIN)
 SPEDAT(SET,GXMONI,PLOTALL,L,T)
 ************************************************************
  Group 20. Preliminary Printout
 DISTIL = T ;NULLPR = F
 NDST = 0
 DSTTOL =1.0E-02
 EX(P1)=108.099998 ;EX(U1)=0.3112
 EX(V1)=0.3117 ;EX(MARK)=0.1055
 ************************************************************
  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(MARK,Y,N,Y,N,N,N)
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON = 9 ;IYMON = 9 ;IZMON = 1
 NPRMON = 100000 ;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
 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