TALK=T;RUN(1,1)
  DISPLAY

  This case is like 370, but use the x-direction instead of z.

  An InForm-made box object moves uniformly along a duct, the
  cross-section of which it wholly fills.
  The duct contains a porous medium causing resistance to flow
  The ends of the duct are partially open.
  The fluid is compressible.

  Parameters are provided which enable the effects on convergence
  and accuracy to be noted of:
  * box size divided by cell size;
  * time to traverse a cell divided by time step;
  * the compressibility factor;
  * the resistance coefficient;
  * pressure-drop coefficients at the ends of the duct.

  Line-printer profile plots are used for assisting interpretation

  ENDDIS
 ************************************************************
  Group 1. Run Title and Number
 ************************************************************
 ************************************************************
 
 TEXT(MOFOR - In-Form: BOX linear motion in X-)
 
 ************************************************************
 ************************************************************
 
 IRUNN = 1 ;LIBREF = 0
 ************************************************************
  Group 2. Time dependence
 STEADY = F
    * Set overall time and no. of steps
 TFIRST =0. ;TLAST =1.
 FSTEP = 1 ;LSTEP = 50
 TFRAC(1)=0.02 ;TFRAC(11)=0.22
 TFRAC(21)=0.42 ;TFRAC(31)=0.62
 TFRAC(41)=0.82
 ************************************************************
  Group 3. X-Direction Grid Spacing
 CARTES = T
 NX = 50
 XULAST =1.
 XFRAC(1)=9.99999E-03 ;XFRAC(2)=0.030204
 XFRAC(3)=0.050408 ;XFRAC(4)=0.070612
 XFRAC(5)=0.090816 ;XFRAC(6)=0.11102
 XFRAC(7)=0.131224 ;XFRAC(8)=0.151429
 XFRAC(9)=0.171633 ;XFRAC(10)=0.191837
 XFRAC(11)=0.212041 ;XFRAC(12)=0.232245
 XFRAC(13)=0.252449 ;XFRAC(14)=0.272653
 XFRAC(15)=0.292857 ;XFRAC(16)=0.313061
 XFRAC(17)=0.333265 ;XFRAC(18)=0.353469
 XFRAC(19)=0.373673 ;XFRAC(20)=0.393878
 XFRAC(21)=0.414082 ;XFRAC(22)=0.434286
 XFRAC(23)=0.45449 ;XFRAC(24)=0.474694
 XFRAC(25)=0.494898 ;XFRAC(26)=0.515102
 XFRAC(27)=0.535306 ;XFRAC(28)=0.55551
 XFRAC(29)=0.575714 ;XFRAC(30)=0.595918
 XFRAC(31)=0.616122 ;XFRAC(32)=0.636327
 XFRAC(33)=0.656531 ;XFRAC(34)=0.676735
 XFRAC(35)=0.696939 ;XFRAC(36)=0.717143
 XFRAC(37)=0.737347 ;XFRAC(38)=0.757551
 XFRAC(39)=0.777755 ;XFRAC(40)=0.797959
 XFRAC(41)=0.818163 ;XFRAC(42)=0.838367
 XFRAC(43)=0.858571 ;XFRAC(44)=0.878776
 XFRAC(45)=0.89898 ;XFRAC(46)=0.919184
 XFRAC(47)=0.939388 ;XFRAC(48)=0.959592
 XFRAC(49)=0.979796 ;XFRAC(50)=1.
 ************************************************************
  Group 4. Y-Direction Grid Spacing
 NY = 1
 YVLAST =2.
 YFRAC(1)=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(16)=C1 ;NAME(143)=FLOX
 NAME(144)=RSU1 ;NAME(145)=AEP1
 NAME(146)=APU1 ;NAME(147)=SOU1
 NAME(148)=RHO1 ;NAME(149)=PRPS
 NAME(150)=OBID
    * 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(C1,Y,Y,N,N,N,Y)
 SOLUTN(FLOX,Y,N,N,N,N,Y)
 SOLUTN(RSU1,Y,N,N,N,N,Y)
 SOLUTN(AEP1,Y,N,N,N,N,Y)
 SOLUTN(APU1,Y,N,N,N,N,Y)
 SOLUTN(SOU1,Y,N,N,N,N,Y)
 SOLUTN(RHO1,Y,N,N,N,N,Y)
 SOLUTN(PRPS,Y,N,N,N,N,Y)
 SOLUTN(OBID,Y,N,N,N,N,Y)
 DEN1 = 148
 PRPS = 149
 ************************************************************
  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(C1,N,Y,N,Y,Y,Y)
 DIFCUT =0.5 ;ZDIFAC =1.
 GALA = F ;ADDDIF = F
 ISOLX = -1 ;ISOLY = -1 ;ISOLZ = -1
 DENPCO = T
 ************************************************************
  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.
 PRT(U1)=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(C1)=1.0E-10 ;FIINIT(FLOX)=1.0E-10
 FIINIT(RSU1)=1.0E-10 ;FIINIT(AEP1)=1.0E-10
 FIINIT(APU1)=1.0E-10 ;FIINIT(SOU1)=1.0E-10
 FIINIT(RHO1)=1.0E-10 ;FIINIT(PRPS)=-1.
 FIINIT(OBID)=1.0E-10
 
 PATCH(INIC1 ,INIVAL, 1, 10, 1, 1, 1, 1, 1, 1)
 INIT(INIC1 ,C1 ,0. ,1. )
 
 PATCH(^OB3 ,INIVAL, 3, 0, 0, 0, 0, 0, 1, 1)
 INIT(^OB3 ,PRPS,0. ,198. )
 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(RESIST ,VOLUME, 1, 50, 1, 1, 1, 1, 1, 50)
 COVAL(RESIST ,U1 ,10. ,0. )
 
 PATCH(INLET ,CELL , 1, 1, 1, 1, 1, 1, 1, 50)
 COVAL(INLET ,P1 ,1. ,0. )
 COVAL(INLET ,C1 ,0. ,1. )
 
 PATCH(OUTLET ,CELL , 50, 50, 1, 1, 1, 1, 1, 50)
 COVAL(OUTLET ,P1 ,1. ,0. )
 XCYCLE = F
 EGWF = T
 WALLCO = GRND2
 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP = 60 ;ISWC1 = 1
 LITHYD = 1 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1
 SELREF = T
 RESFAC =1.0E-02
 ************************************************************
  Group 16. Terminate Iterations
 LITER(P1)=20 ;LITER(U1)=10
 LITER(C1)=20
 ENDIT(P1)=1.0E-03 ;ENDIT(U1)=1.0E-03
 ENDIT(C1)=1.0E-03
 ************************************************************
  Group 17. Relaxation
 RELAX(P1,LINRLX,0.1)
 RELAX(U1,FALSDT,1.)
 RELAX(C1,FALSDT,1.0E+09)
 RELAX(FLOX,LINRLX,1.)
 RELAX(RSU1,LINRLX,1.)
 RELAX(AEP1,LINRLX,1.)
 RELAX(APU1,LINRLX,1.)
 RELAX(SOU1,LINRLX,1.)
 RELAX(RHO1,LINRLX,0.1)
 RELAX(PRPS,LINRLX,1.)
 RELAX(OBID,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(C1)=1.0E+10 ;VARMIN(C1)=-1.0E+10
 VARMAX(FLOX)=1.0E+10 ;VARMIN(FLOX)=-1.0E+10
 VARMAX(RSU1)=1.0E+10 ;VARMIN(RSU1)=-1.0E+10
 VARMAX(AEP1)=1.0E+10 ;VARMIN(AEP1)=-1.0E+10
 VARMAX(APU1)=1.0E+10 ;VARMIN(APU1)=-1.0E+10
 VARMAX(SOU1)=1.0E+10 ;VARMIN(SOU1)=-1.0E+10
 VARMAX(RHO1)=1.0E+10 ;VARMIN(RHO1)=-1.0E+10
 VARMAX(PRPS)=1.0E+10 ;VARMIN(PRPS)=-1.0E+10
 VARMAX(OBID)=1.0E+10 ;VARMIN(OBID)=-1.0E+10
 ************************************************************
  Group 19. Data transmitted to GROUND
 CONWIZ = T
 ISG52 = 2
 ISG62 = 0
 SPEDAT(SET,MOFOR,MOFFILE,C,NOTSET)
 SPEDAT(SET,GXMONI,TRANSIENT,L,F)
 SPEDAT(SET,PROPERTY,RHO1,C,=1.0+0.1*P1)
 SPEDAT(SET,PROPERTY,DRH1DP,C,=0.1)
 SPEDAT(SET,MOVOB,BOX,C,=POS(0.15*XULAST+1.*TIM&0.0&0.0&0&0&0&0&0&$)
 SPEDAT(SET,MOVOB,BOX,C,0&0))
 SPEDAT(SET,STORED,SOU1,C,=SORC(U1)!SOURCS)
 SPEDAT(SET,STORED,APU1,C,=APCO(U1)!EQCOEF)
 SPEDAT(SET,STORED,AEP1,C,=AECO(P1)!EQCOEF)
 SPEDAT(SET,STORED,RSU1,C,=RESI(U1)!RESIDU)
 SPEDAT(SET,STORED,FLOX,C,=RHO1*U1!ZSLFIN)
 SPEDAT(SET,OBJNAM,^OB3,C,BOX)
 SPEDAT(SET,OBJTYP,^OB3,C,BLOCKAGE)
 SPEDAT(SET,BOX,MATERIAL,R,198.)
 SPEDAT(SET,FACETDAT,NUMOBJ,I,3)
 SPEDAT(SET,MATERIAL,198,L,T)
 ************************************************************
  Group 20. Preliminary Printout
 DISTIL = T ;NULLPR = F
 NDST = 0
 DSTTOL =1.0E-02
 EX(P1)=0.01829 ;EX(U1)=0.1301
 EX(C1)=0.9001 ;EX(FLOX)=0.1274
 EX(RSU1)=5.231E-06 ;EX(AEP1)=0.1452
 EX(APU1)=0.2697 ;EX(SOU1)=2.482E-04
 EX(RHO1)=0.9996 ;EX(PRPS)=0.
 EX(OBID)=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(C1,Y,N,Y,Y,Y,Y)
 OUTPUT(FLOX,Y,N,Y,N,N,N)
 OUTPUT(RSU1,Y,N,Y,N,N,N)
 OUTPUT(AEP1,Y,N,Y,N,N,N)
 OUTPUT(APU1,Y,N,Y,N,N,N)
 OUTPUT(SOU1,Y,N,Y,N,N,N)
 OUTPUT(RHO1,Y,N,Y,N,N,N)
 OUTPUT(PRPS,Y,N,Y,N,N,N)
 OUTPUT(OBID,Y,N,Y,N,N,N)
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON = 14 ;IYMON = 1 ;IZMON = 1
 NPRMON = 60 ;NPRMNT = 1 ;TSTSWP = -1
 UWATCH = T ;USTEER = T
 HIGHLO = F
 ************************************************************
  Group 23.Field Print-Out & Plot Control
 NPRINT = 100000 ;NUMCLS = 5
 NTPRIN = 10 ;ISTPRF = 1 ;ISTPRL = 100000
 NXPRIN = 1 ;IXPRF = 1 ;IXPRL = 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
 
 PATCH(XPLOT10 ,PROFIL, 1, 49, 1, 1, 1, 1, 10, 10)
 PLOT(XPLOT10 ,P1 ,0. ,0. )
 PLOT(XPLOT10 ,U1 ,0. ,0. )
 PLOT(XPLOT10 ,C1 ,0. ,2. )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