TALK=T;RUN(1,1)
  DISPLAY
  This input file shows how MOFOR, the moving-frame-of-reference
  feature, can be used without a .MOF file, when suitable In-Form
  statements are used to define its motion, as described
  here.

  Two cylinders move through a fluid. The first follows a parabolic
  trajectory from left to right, the second a horizontal trajectory
  from right to left.

  '(MOVOB' statements dictate these motions of by use of the POS()
  function, of which the arguments set:
  X, Y and Z coordinates and rotation angles about X, Y and Z axes,
  as functions of the time variable, TIM.

  The variable OBID (= object identifier) marks the positions, for
  ease of display by VIEWER, PHOTON or WinPHOTON.

  ENDDIS
  VRV USE
    * Domain scaling factors
    SCALE  1.000000E+00 1.000000E+00 1.000000E+00
    * Settings for current slice
    PROBE  1.070000E+01  3.500000E+00  5.000000E-02; PROBE ON
    SLICE Z
    * View and up directions
    VIEW  0.000000E+00  0.000000E+00  1.000000E+00
    UP  0.000000E+00  1.000000E+00  0.000000E+00
    * View centre
    VIEW CENTRE  1.100001E+01  3.500000E+00  5.000000E-02
    * View size
    VIEW SIZE  1.038916E+01
    * View perspective
    VIEW DEPTH  3.000000E+00;VIEW TILT 0.8
    DOMAIN ON
    VARIABLE  Velocity
    VARIABLE RANGE  0.000000E+00  1.400000E+01
    VECTOR ON; CONTOUR OFF; SURFACE OFF
    VECTOR REFERENCE  5.000000E+00
    ANIMATE START 1 END 20 INTERVAL 1
  ENDUSE
  photon use
  p
  m1;

  gr ou z 1
  ve z 1 sh
  surf obid z 1
  upause 2
  p
  m2;

  gr ou z 1
  ve z 1 sh
  surf obid z 1
  upause 2
  p
  m3;

  gr ou z 1
  ve z 1 sh
  surf obid z 1
  upause 2
  p
  m4;

  gr ou z 1
  ve z 1 sh
  surf obid z 1
  upause 2
  p
  m5;

  gr ou z 1
  ve z 1 sh
  surf obid z 1
  upause 2
  p
  m6;

  gr ou z 1
  ve z 1 sh
  surf obid z 1
  upause 2
  p
  m7;

  gr ou z 1
  ve z 1 sh
  surf obid z 1
  upause 2
  p
  m8;

  gr ou z 1
  ve z 1 sh
  surf obid z 1
  upause 2
  p
  m9;

  gr ou z 1
  ve z 1 sh
  surf obid z 1
  upause 2
  p
  m10;

  gr ou z 1
  ve z 1 sh
  surf obid z 1
  upause 2
  p
  m11;

  gr ou z 1
  ve z 1 sh
  surf obid z 1
  upause 2
  p
  m12;

  gr ou z 1
  ve z 1 sh
  surf obid z 1
  upause 2
  p
  m13;

  gr ou z 1
  ve z 1 sh
  surf obid z 1
  upause 2
  p
  m14;

  gr ou z 1
  ve z 1 sh
  surf obid z 1
  upause 2
  p
  m15;

  gr ou z 1
  ve z 1 sh
  surf obid z 1
  upause 2
  p
  m16;

  gr ou z 1
  ve z 1 sh
  surf obid z 1
  upause 2
  p
  m17;

  gr ou z 1
  ve z 1 sh
  surf obid z 1
  upause 2
  p
  m18;

  gr ou z 1
  ve z 1 sh
  surf obid z 1
  upause 2
  p
  m19;

  gr ou z 1
  ve z 1 sh
  surf obid z 1
  upause 2
  p
  m20;

  gr ou z 1
  ve z 1 sh
  surf obid z 1
  enduse
 ************************************************************
  Group 1. Run Title and Number
 ************************************************************
 ************************************************************
 
 TEXT(MOFOR by In-Form: 2D motion of 2 objects)
 
 ************************************************************
 ************************************************************
 
 IRUNN = 1 ;LIBREF = 0
 ************************************************************
  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 = 110
 XULAST =22.
 XFRAC(1)=9.090909E-03 ;XFRAC(2)=0.018182
 XFRAC(3)=0.027273 ;XFRAC(4)=0.036364
 XFRAC(5)=0.045455 ;XFRAC(6)=0.054545
 XFRAC(7)=0.063636 ;XFRAC(8)=0.072727
 XFRAC(9)=0.081818 ;XFRAC(10)=0.090909
 XFRAC(11)=0.1 ;XFRAC(12)=0.109091
 XFRAC(13)=0.118182 ;XFRAC(14)=0.127273
 XFRAC(15)=0.136364 ;XFRAC(16)=0.145455
 XFRAC(17)=0.154545 ;XFRAC(18)=0.163636
 XFRAC(19)=0.172727 ;XFRAC(20)=0.181818
 XFRAC(21)=0.190909 ;XFRAC(22)=0.2
 XFRAC(23)=0.209091 ;XFRAC(24)=0.218182
 XFRAC(25)=0.227273 ;XFRAC(26)=0.236364
 XFRAC(27)=0.245455 ;XFRAC(28)=0.254545
 XFRAC(29)=0.263636 ;XFRAC(30)=0.272727
 XFRAC(31)=0.281818 ;XFRAC(32)=0.290909
 XFRAC(33)=0.3 ;XFRAC(34)=0.309091
 XFRAC(35)=0.318182 ;XFRAC(36)=0.327273
 XFRAC(37)=0.336364 ;XFRAC(38)=0.345455
 XFRAC(39)=0.354545 ;XFRAC(40)=0.363636
 XFRAC(41)=0.372727 ;XFRAC(42)=0.381818
 XFRAC(43)=0.390909 ;XFRAC(44)=0.4
 XFRAC(45)=0.409091 ;XFRAC(46)=0.418182
 XFRAC(47)=0.427273 ;XFRAC(48)=0.436364
 XFRAC(49)=0.445455 ;XFRAC(50)=0.454545
 XFRAC(51)=0.463636 ;XFRAC(52)=0.472727
 XFRAC(53)=0.481818 ;XFRAC(54)=0.490909
 XFRAC(55)=0.5 ;XFRAC(56)=0.509091
 XFRAC(57)=0.518182 ;XFRAC(58)=0.527273
 XFRAC(59)=0.536364 ;XFRAC(60)=0.545455
 XFRAC(61)=0.554545 ;XFRAC(62)=0.563636
 XFRAC(63)=0.572727 ;XFRAC(64)=0.581818
 XFRAC(65)=0.590909 ;XFRAC(66)=0.6
 XFRAC(67)=0.609091 ;XFRAC(68)=0.618182
 XFRAC(69)=0.627273 ;XFRAC(70)=0.636364
 XFRAC(71)=0.645455 ;XFRAC(72)=0.654545
 XFRAC(73)=0.663636 ;XFRAC(74)=0.672727
 XFRAC(75)=0.681818 ;XFRAC(76)=0.690909
 XFRAC(77)=0.7 ;XFRAC(78)=0.709091
 XFRAC(79)=0.718182 ;XFRAC(80)=0.727273
 XFRAC(81)=0.736364 ;XFRAC(82)=0.745455
 XFRAC(83)=0.754546 ;XFRAC(84)=0.763636
 XFRAC(85)=0.772727 ;XFRAC(86)=0.781818
 XFRAC(87)=0.790909 ;XFRAC(88)=0.8
 XFRAC(89)=0.809091 ;XFRAC(90)=0.818182
 XFRAC(91)=0.827273 ;XFRAC(92)=0.836364
 XFRAC(93)=0.845455 ;XFRAC(94)=0.854546
 XFRAC(95)=0.863636 ;XFRAC(96)=0.872727
 XFRAC(97)=0.881818 ;XFRAC(98)=0.890909
 XFRAC(99)=0.9 ;XFRAC(100)=0.909091
 XFRAC(101)=0.918182 ;XFRAC(102)=0.927273
 XFRAC(103)=0.936364 ;XFRAC(104)=0.945455
 XFRAC(105)=0.954545 ;XFRAC(106)=0.963636
 XFRAC(107)=0.972727 ;XFRAC(108)=0.981818
 XFRAC(109)=0.990909 ;XFRAC(110)=1.
 ************************************************************
  Group 4. Y-Direction Grid Spacing
 NY = 35
 YVLAST =7.
 YFRAC(1)=0.028571 ;YFRAC(2)=0.057143
 YFRAC(3)=0.085714 ;YFRAC(4)=0.114286
 YFRAC(5)=0.142857 ;YFRAC(6)=0.171429
 YFRAC(7)=0.2 ;YFRAC(8)=0.228571
 YFRAC(9)=0.257143 ;YFRAC(10)=0.285714
 YFRAC(11)=0.314286 ;YFRAC(12)=0.342857
 YFRAC(13)=0.371429 ;YFRAC(14)=0.4
 YFRAC(15)=0.428571 ;YFRAC(16)=0.457143
 YFRAC(17)=0.485714 ;YFRAC(18)=0.514286
 YFRAC(19)=0.542857 ;YFRAC(20)=0.571429
 YFRAC(21)=0.6 ;YFRAC(22)=0.628571
 YFRAC(23)=0.657143 ;YFRAC(24)=0.685714
 YFRAC(25)=0.714286 ;YFRAC(26)=0.742857
 YFRAC(27)=0.771429 ;YFRAC(28)=0.8
 YFRAC(29)=0.828571 ;YFRAC(30)=0.857143
 YFRAC(31)=0.885714 ;YFRAC(32)=0.914286
 YFRAC(33)=0.942857 ;YFRAC(34)=0.971429
 YFRAC(35)=1.
 ************************************************************
  Group 5. Z-Direction Grid Spacing
 PARAB = F
 NZ = 1
 ZWLAST =0.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(148)=OBOL
 NAME(149)=OBID ;NAME(150)=PRPS
    * 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,Y,N,N,Y)
 SOLUTN(U1,Y,Y,N,N,N,Y)
 SOLUTN(V1,Y,Y,N,N,N,Y)
 SOLUTN(OBOL,Y,N,N,N,N,Y)
 SOLUTN(OBID,Y,N,N,N,N,Y)
 SOLUTN(PRPS,Y,N,N,N,N,Y)
 PRPS = 150
 ************************************************************
  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.189 ;TMP1 =0. ;EL1 =0.
 TSURR =0. ;TEMP0 =0. ;PRESS0 =0.
 DVO1DT =3.41E-03 ;DRH1DP =1.0E-05
 EMISS =0. ;SCATT =0.
 RADIA =0. ;RADIB =0.
 ENUL =1.544E-05 ;ENUT =0.
 PRNDTL(U1)=1. ;PRNDTL(V1)=1.
 PRT(U1)=1. ;PRT(V1)=1.
 CP1 =1005. ;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(OBOL)=1.0E-10
 FIINIT(OBID)=1.0E-10 ;FIINIT(PRPS)=0.
 
 PATCH(^OB2 ,INIVAL, 2, 0, 0, 0, 0, 0, 1, 1)
 INIT(^OB2 ,P1 ,0. ,0. )
 INIT(^OB2 ,PRPS,0. ,-1. )
 
 PATCH(^OB3 ,INIVAL, 3, 0, 0, 0, 0, 0, 1, 1)
 INIT(^OB3 ,P1 ,0. ,0. )
 INIT(^OB3 ,PRPS,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(^P-REL1 ,CELL , 1, 1, 0, 0, 0, 0, 1, 20)
 COVAL(^P-REL1 ,P1 ,1000. ,0. )
 
 PATCH(^OB4 ,CELL , 4, 8, 0, 0, 0, 0, 1, 20)
 COVAL(^OB4 ,U1 ,1. ,0. )
 XCYCLE = F
 EGWF = T
 WALLCO = GRND2
 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP = 20 ;ISWC1 = 1
 LITHYD = 1 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1
 SELREF = T
 RESFAC =1.0E-03
 ************************************************************
  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,0.5)
 RELAX(U1,FALSDT,1.)
 RELAX(V1,FALSDT,1.)
 RELAX(OBOL,LINRLX,1.)
 RELAX(OBID,LINRLX,1.)
 RELAX(PRPS,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(OBOL)=1.0E+10 ;VARMIN(OBOL)=-1.0E+10
 VARMAX(OBID)=1.0E+10 ;VARMIN(OBID)=-1.0E+10
 VARMAX(PRPS)=1.0E+10 ;VARMIN(PRPS)=-1.0E+10
 ************************************************************
  Group 19. Data transmitted to GROUND
 ISG62 = 0
 SPEDAT(SET,DOMAIN,PHASE_1_MAT,I,0)
 SPEDAT(SET,MOFOR,MOFFILE,C,NOTSET)
 SPEDAT(SET,GXMONI,TRANSIENT,L,F)
 SPEDAT(SET,MOVOB,CYL1,C,=POS(TIM*10.&TIM*10.-0.5*9.81*TIM^2&0&0&0$)
 SPEDAT(SET,MOVOB,CYL1,C,&0&0&0&0&0))
 SPEDAT(SET,MOVOB,CYL2,C,=POS(-TIM*10.&0&0&0&0&0&0&0&0&0))
 SPEDAT(SET,STORED,OBOL,C,=OLD(OBID)!ZSLFIN)
 SPEDAT(SET,GXMONI,PLOTALL,L,T)
 SPEDAT(SET,OBJNAM,^OB1,C,RELIEF)
 SPEDAT(SET,OBJTYP,^OB1,C,PRESSURE_RELIEF)
 SPEDAT(SET,OBJNAM,^P-REL1,C,RELIEF)
 SPEDAT(SET,OBJTYP,^P-REL1,C,USER_DEFINED)
 SPEDAT(SET,OBJNAM,^OB2,C,CYL1)
 SPEDAT(SET,OBJTYP,^OB2,C,BLOCKAGE)
 SPEDAT(SET,CYL1,MATERIAL,R,-1.)
 SPEDAT(SET,OBJNAM,^OB3,C,CYL2)
 SPEDAT(SET,OBJTYP,^OB3,C,BLOCKAGE)
 SPEDAT(SET,CYL2,MATERIAL,R,-1.)
 SPEDAT(SET,OBJNAM,^OB4,C,WALL)
 SPEDAT(SET,OBJTYP,^OB4,C,PLATE)
 SPEDAT(SET,FACETDAT,NUMOBJ,I,4)
 SPEDAT(SET,MATERIAL,0,L,T)
 ************************************************************
  Group 20. Preliminary Printout
 DISTIL = T ;NULLPR = F
 NDST = 0
 DSTTOL =1.0E-02
 EX(P1)=24.51 ;EX(U1)=3.334
 EX(V1)=1.756 ;EX(OBOL)=0.03948
 EX(OBID)=0.03896 ;EX(PRPS)=0.
 ************************************************************
  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,Y,Y,N,Y,Y)
 OUTPUT(OBOL,Y,N,Y,N,N,N)
 OUTPUT(OBID,Y,N,Y,N,N,N)
 OUTPUT(PRPS,Y,N,Y,N,N,N)
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON = 54 ;IYMON = 18 ;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 = 10000
 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    ='M'
STOP