TALK=T;RUN(1,1)
  DISPLAY

  This In-Form case set moving In-Form object for simulation
  two paddle-stirred reactor.

  The following In-Form formula describes rotated paddle:

  (INFOB at PATCH1 is BOX(:x0:-:dx1:-:dx2:,:y0:-:dy1:+:dy2:,0,  :si$
de1:,:side2:,10,0,0,:ang:) with INFOB_1)

  The following In-Form formulae set fixed velocity inside paddle:

  (SOURCE of U1 at PATCH1 is :ANGVL:*(YG-:Y0:) with INFOB_1!FIXV)
  (SOURCE of V1 at PATCH1 is :ANGVL:*(:X0:-XG) with INFOB_1!FIXV)

  The following formulae defines MARK variable.
  MARK is used by PHOTON for marks of borders of a paddle.

  (STORED of MARK is 0.)
  (STORED of MARK at PATCH1 is 1 with INFOB_1)
  ENDDIS
  PHOTON USE
  p
  p1;

  set prop off
  con C1 z 1 fil;.001
  surf mark z .99
  ve z 1 sh
  msg Time = 0.03 sec.
  msg Velocity vectors and concentration field
  upause 2
  p
  p2;

  set prop off
  con C1 z 1 fil;.001
  surf mark z .99
  ve z 1 sh
  msg Time = 0.06 sec.
  msg Velocity vectors and concentration field
  upause 2
  p
  p3;

  set prop off
  con C1 z 1 fil;.001
  surf mark z .99
  ve z 1 sh
  msg Time = 0.09 sec.
  msg Velocity vectors and concentration field
  upause 2
  p
  p4;

  set prop off
  con C1 z 1 fil;.001
  surf mark z .99
  ve z 1 sh
  msg Time = 0.125 sec.
  msg Velocity vectors and concentration field
  upause 2
  p
  p5;

  set prop off
  con C1 z 1 fil;.001
  surf mark z .99
  ve z 1 sh
  msg Time = 0.156 sec.
  msg Velocity vectors and concentration field
  upause 2
  p
  p6;

  set prop off
  con C1 z 1 fil;.001
  surf mark z .99
  ve z 1 sh
  msg Time = 0.19 sec.
  msg Velocity vectors and concentration field
  upause 2
  p
  p7;

  set prop off
  con C1 z 1 fil;.001
  surf mark z .99
  ve z 1 sh
  msg Time = 0.22 sec.
  msg Velocity vectors and concentration field
  upause 2
  p
  p8;

  set prop off
  con C1 z 1 fil;.001
  surf mark z .99
  ve z 1 sh
  msg Time = 0.25 sec.
  msg Velocity vectors and concentration field
  upause 2
  p
  p9;

  set prop off
  con C1 z 1 fil;.001
  surf mark z .99
  ve z 1 sh
  msg Time = 0.28 sec.
  msg Velocity vectors and concentration field
  upause 2
  p
  p10;

  set prop off
  con C1 z 1 fil;.001
  surf mark z .99
  ve z 1 sh
  msg Time = 0.31 sec.
  msg Velocity vectors and concentration field
  upause 2
  p
  p11;

  set prop off
  con C1 z 1 fil;.001
  surf mark z .99
  ve z 1 sh
  msg Time = 0.34 sec.
  msg Velocity vectors and concentration field
  upause 2
  p
  p12;

  set prop off
  con C1 z 1 fil;.001
  surf mark z .99
  ve z 1 sh
  msg Time = 0.375 sec.
  msg Velocity vectors and concentration field
  upause 2
  p
  p13;

  set prop off
  con C1 z 1 fil;.001
  surf mark z .99
  ve z 1 sh
  msg Time = 0.41 sec.
  msg Velocity vectors and concentration field
  upause 2
  p
  p14;

  set prop off
  con C1 z 1 fil;.001
  surf mark z .99
  ve z 1 sh
  msg Time = 0.44 sec.
  msg Velocity vectors and concentration field
  upause 2
  p
  p15;

  set prop off
  con C1 z 1 fil;.001
  surf mark z .99
  ve z 1 sh
  msg Time = 0.47 sec.
  msg Velocity vectors and concentration field
  upause 2
  p
  p16;

  set prop off
  con C1 z 1 fil;.001
  surf mark z .99
  ve z 1 sh
  msg Time = 0.5 sec.
  msg Velocity vectors and concentration field
  ENDUSE
 ************************************************************
  Group 1. Run Title and Number
 ************************************************************
 ************************************************************
 
 TEXT( Unsteady mixing in two paddle-stirred r)
 
 ************************************************************
 ************************************************************
 
 IRUNN = 1 ;LIBREF = 770
 ************************************************************
  Group 2. Time dependence
 STEADY = F
    * Set overall time and no. of steps
 TFIRST =0. ;TLAST =0.5
 FSTEP = 1 ;LSTEP = 16
 TFRAC(1)=0.0625 ;TFRAC(2)=0.125
 TFRAC(3)=0.1875 ;TFRAC(4)=0.25
 TFRAC(5)=0.3125 ;TFRAC(6)=0.375
 TFRAC(7)=0.4375 ;TFRAC(8)=0.5
 TFRAC(9)=0.5625 ;TFRAC(10)=0.625
 TFRAC(11)=0.6875 ;TFRAC(12)=0.75
 TFRAC(13)=0.8125 ;TFRAC(14)=0.875
 TFRAC(15)=0.9375 ;TFRAC(16)=1.
 ************************************************************
  Group 3. X-Direction Grid Spacing
 CARTES = T
 NX = 40
 XULAST =1.
 XFRAC(1)=0.025 ;XFRAC(2)=0.05
 XFRAC(3)=0.075 ;XFRAC(4)=0.1
 XFRAC(5)=0.125 ;XFRAC(6)=0.15
 XFRAC(7)=0.175 ;XFRAC(8)=0.2
 XFRAC(9)=0.225 ;XFRAC(10)=0.25
 XFRAC(11)=0.275 ;XFRAC(12)=0.3
 XFRAC(13)=0.325 ;XFRAC(14)=0.35
 XFRAC(15)=0.375 ;XFRAC(16)=0.4
 XFRAC(17)=0.425 ;XFRAC(18)=0.45
 XFRAC(19)=0.475 ;XFRAC(20)=0.5
 XFRAC(21)=0.525 ;XFRAC(22)=0.55
 XFRAC(23)=0.575 ;XFRAC(24)=0.6
 XFRAC(25)=0.625 ;XFRAC(26)=0.65
 XFRAC(27)=0.675 ;XFRAC(28)=0.7
 XFRAC(29)=0.725 ;XFRAC(30)=0.75
 XFRAC(31)=0.775 ;XFRAC(32)=0.8
 XFRAC(33)=0.825 ;XFRAC(34)=0.85
 XFRAC(35)=0.875 ;XFRAC(36)=0.9
 XFRAC(37)=0.925 ;XFRAC(38)=0.95
 XFRAC(39)=0.975 ;XFRAC(40)=1.
 ************************************************************
  Group 4. Y-Direction Grid Spacing
 NY = 40
 YVLAST =1.
 YFRAC(1)=0.025 ;YFRAC(2)=0.05
 YFRAC(3)=0.075 ;YFRAC(4)=0.1
 YFRAC(5)=0.125 ;YFRAC(6)=0.15
 YFRAC(7)=0.175 ;YFRAC(8)=0.2
 YFRAC(9)=0.225 ;YFRAC(10)=0.25
 YFRAC(11)=0.275 ;YFRAC(12)=0.3
 YFRAC(13)=0.325 ;YFRAC(14)=0.35
 YFRAC(15)=0.375 ;YFRAC(16)=0.4
 YFRAC(17)=0.425 ;YFRAC(18)=0.45
 YFRAC(19)=0.475 ;YFRAC(20)=0.5
 YFRAC(21)=0.525 ;YFRAC(22)=0.55
 YFRAC(23)=0.575 ;YFRAC(24)=0.6
 YFRAC(25)=0.625 ;YFRAC(26)=0.65
 YFRAC(27)=0.675 ;YFRAC(28)=0.7
 YFRAC(29)=0.725 ;YFRAC(30)=0.75
 YFRAC(31)=0.775 ;YFRAC(32)=0.8
 YFRAC(33)=0.825 ;YFRAC(34)=0.85
 YFRAC(35)=0.875 ;YFRAC(36)=0.9
 YFRAC(37)=0.925 ;YFRAC(38)=0.95
 YFRAC(39)=0.975 ;YFRAC(40)=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(16)=C1
 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(C1,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(C1,N,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 =1000. ;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(C1)=1.
 PRT(U1)=1. ;PRT(V1)=1.
 PRT(C1)=1.
 CP1 =1. ;CP2 =1.
 ************************************************************
  Group 10.Inter-Phase Transfer Processes
 ************************************************************
  Group 11.Initial field variables (PHIs)
 FIINIT(P1)=0. ;FIINIT(U1)=0.
 FIINIT(V1)=1.0E-10 ;FIINIT(C1)=1.0E-10
 FIINIT(MARK)=1.0E-10
 
 PATCH(WC1 ,INIVAL, 1, 40, 1, 20, 1, 1, 1, 16)
 INIT(WC1 ,C1 ,0. ,0. )
 
 PATCH(EC1 ,INIVAL, 1, 40, 1, 21, 1, 1, 1, 16)
 INIT(EC1 ,C1 ,0. ,1. )
 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(WALLN ,NWALL , 1, 40, 40, 40, 1, 1, 1, 16)
 COVAL(WALLN ,U1 ,1. ,0. )
 
 PATCH(WALLS ,SWALL , 1, 40, 1, 1, 1, 1, 1, 16)
 COVAL(WALLS ,U1 ,1. ,0. )
 
 PATCH(WALLE ,EWALL , 40, 40, 1, 40, 1, 1, 1, 16)
 COVAL(WALLE ,V1 ,1. ,0. )
 
 PATCH(WALLW ,WWALL , 1, 1, 1, 40, 1, 1, 1, 16)
 COVAL(WALLW ,V1 ,1. ,0. )
 
 PATCH(FIXPRESS,VOLUME, 20, 20, 20, 20, 1, 1, 1, 1)
 COVAL(FIXPRESS,P1 , FIXVAL ,0. )
 COVAL(FIXPRESS,U1 ,0. ,0. )
 COVAL(FIXPRESS,V1 ,0. ,0. )
 COVAL(FIXPRESS,C1 ,0. , SAME )
 
 PATCH(PATCH1 ,CELL , 1, 40, 1, 40, 1, 1, 1, 16)
 COVAL(PATCH1 ,U1 ,In-Form:source - see Grp 19)
 COVAL(PATCH1 ,V1 ,In-Form:source - see Grp 19)
 XCYCLE = F
 EGWF = T
 WALLCO = GRND2
 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP = 80 ;ISWC1 = 1
 LITHYD = 1 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1
 SELREF = T
 RESFAC =1.0E-05
 ************************************************************
  Group 16. Terminate Iterations
 LITER(P1)=20 ;LITER(U1)=10
 LITER(V1)=10 ;LITER(C1)=20
 ENDIT(P1)=1.0E-03 ;ENDIT(U1)=1.0E-03
 ENDIT(V1)=1.0E-03 ;ENDIT(C1)=1.0E-03
 ************************************************************
  Group 17. Relaxation
 RELAX(P1,LINRLX,0.3)
 RELAX(U1,FALSDT,100.)
 RELAX(V1,FALSDT,100.)
 RELAX(C1,FALSDT,1.0E+09)
 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(C1)=1.0E+10 ;VARMIN(C1)=-1.0E+10
 VARMAX(MARK)=1.0E+10 ;VARMIN(MARK)=-1.0E+10
 ************************************************************
  Group 19. Data transmitted to GROUND
 PARSOL = F
 ISG62 = 1
 SPEDAT(SET,STORED,MARK,C,=0.!ZSLFIN)
 SPEDAT(SET,INFOB,*!PATCH1,C,=BOX(0.5-0.35*SIN(12.56636*TIM)-0.05*$)
 SPEDAT(SET,INFOB,*!PATCH1,C,COS(12.56636*TIM)&0.5-0.35*COS(12.566$)
 SPEDAT(SET,INFOB,*!PATCH1,C,36*TIM)+0.05*SIN(12.56636*TIM)&0&0.1&$)
 SPEDAT(SET,INFOB,*!PATCH1,C,0.7&10&0&0&12.56636*TIM)!INFOB_1)
 SPEDAT(SET,SOURCE,U1!PATCH1,C,=12.56636*(YG-0.5)!INFOB_1!FIXV)
 SPEDAT(SET,SOURCE,V1!PATCH1,C,=12.56636*(0.5-XG)!INFOB_1!FIXV)
 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)=1.326E+06 ;EX(U1)=1.077
 EX(V1)=1.157 ;EX(C1)=0.525
 EX(MARK)=0.07
 ************************************************************
  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(C1,Y,N,Y,Y,Y,Y)
 OUTPUT(MARK,Y,N,Y,N,N,N)
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON = 10 ;IYMON = 10 ;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