TALK=T;RUN(1,1)
  DISPLAY
    This case shows the use of InForm to set the inflow
    boundary for a Scalar-Equation-Model (SEM) case
  ENDDIS
  VRV USE
  SLICE CLEAR
  PROBE  4.500000E-01  4.750000E-01  5.000000E-01
  SLICE Z; SLICE SAVE
  PROBE  4.500000E-01  4.750000E-01  1.500000E+00
  SLICE Z; SLICE SAVE
  * Settings for current slice
  PROBE  4.500000E-01  4.750000E-01  2.500000E+00
  SLICE Z; SLICE OUTLINE ON
  * View and up directions
  VIEW  1.487207E-01  5.626179E-01  8.132296E-01
  UP -4.604268E-02  8.254228E-01 -5.626335E-01
  * View centre
  VIEW CENTRE  1.000000E+00  5.000000E-01  1.500000E+00
  * View size
  VIEW SIZE  1.905372E+00
  * View perspective
  VIEW DEPTH  3.000000E+00;VIEW TILT 0.8
  NEARPLANE   3.000000E-02
  * Setting object visibility and painting status
  OBJECT WIREFRAME TYPE BLOCKAGE ON
  OBJECT WIREFRAME TYPE INLET ON
  OBJECT WIREFRAME TYPE OUTLET ON
  OBJECT WIREFRAME TYPE PLATE ON
  VARIABLE VFOL; VARIABLE RANGE  0.000000E+00  1.000000E+00
  VECTOR ON; CONTOUR ON
  MSG Press OK to animate the solution
  PAUSE
  ANIMATE
  ENDUSE
 ************************************************************
  Group 1. Run Title and Number
 ************************************************************
 ************************************************************
 
 TEXT(SEM Inflow boundary set with InForm     )
 
 ************************************************************
 ************************************************************
 
 IRUNN = 1 ;LIBREF = 0
 ************************************************************
  Group 2. Time dependence
 STEADY = F
    * Set overall time and no. of steps
 TFIRST =0. ;TLAST =1.
 FSTEP = 1 ;LSTEP = 10
 TFRAC(1)=0.1 ;TFRAC(2)=0.2
 TFRAC(3)=0.3 ;TFRAC(4)=0.4
 TFRAC(5)=0.5 ;TFRAC(6)=0.6
 TFRAC(7)=0.7 ;TFRAC(8)=0.8
 TFRAC(9)=0.9 ;TFRAC(10)=1.
 ************************************************************
  Group 3. X-Direction Grid Spacing
 CARTES = T
 NX = 20
 XULAST =2.
 XFRAC(1)=0.05 ;XFRAC(2)=0.1
 XFRAC(3)=0.15 ;XFRAC(4)=0.2
 XFRAC(5)=0.25 ;XFRAC(6)=0.3
 XFRAC(7)=0.35 ;XFRAC(8)=0.4
 XFRAC(9)=0.45 ;XFRAC(10)=0.5
 XFRAC(11)=0.55 ;XFRAC(12)=0.6
 XFRAC(13)=0.65 ;XFRAC(14)=0.7
 XFRAC(15)=0.75 ;XFRAC(16)=0.8
 XFRAC(17)=0.85 ;XFRAC(18)=0.9
 XFRAC(19)=0.95 ;XFRAC(20)=1.
 ************************************************************
  Group 4. Y-Direction Grid Spacing
 NY = 20
 YVLAST =1.
 YFRAC(1)=0.05 ;YFRAC(2)=0.1
 YFRAC(3)=0.15 ;YFRAC(4)=0.2
 YFRAC(5)=0.25 ;YFRAC(6)=0.3
 YFRAC(7)=0.35 ;YFRAC(8)=0.4
 YFRAC(9)=0.45 ;YFRAC(10)=0.5
 YFRAC(11)=0.55 ;YFRAC(12)=0.6
 YFRAC(13)=0.65 ;YFRAC(14)=0.7
 YFRAC(15)=0.75 ;YFRAC(16)=0.8
 YFRAC(17)=0.85 ;YFRAC(18)=0.9
 YFRAC(19)=0.95 ;YFRAC(20)=1.
 ************************************************************
  Group 5. Z-Direction Grid Spacing
 PARAB = F
 NZ = 3
 ZWLAST =3.
 ZFRAC(1)=0.333333 ;ZFRAC(2)=0.666667
 ZFRAC(3)=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(146)=HPOR ;NAME(147)=PRPS
 NAME(148)=DEN1 ;NAME(149)=VFOL
 NAME(150)=SURN
    * 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(W1,Y,Y,N,N,N,Y)
 SOLUTN(HPOR,Y,N,N,N,N,Y)
 SOLUTN(PRPS,Y,N,N,N,N,Y)
 SOLUTN(DEN1,Y,N,N,N,N,Y)
 SOLUTN(VFOL,Y,Y,N,N,N,Y)
 SOLUTN(SURN,Y,Y,N,N,N,Y)
 DEN1 = 148
 EPOR = 0 ;HPOR = 146 ;NPOR = 0 ;VPOR = 0
 PRPS = 147
 ************************************************************
  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)
 TERMS(VFOL,N,N,N,N,Y,N)
 TERMS(SURN,N,N,N,N,Y,N)
 DIFCUT =0.5 ;ZDIFAC =1.
 GALA = T ;ADDDIF = F
 RUPLIM =0.6 ;RLOLIM =0.4
 ISOLX = -1 ;ISOLY = -1 ;ISOLZ = -1
 ************************************************************
  Group 9. Properties used if PRPS is not
  stored, and where PRPS = -1.0 if it is!
 RHO1 =998.22998 ;TMP1 =0. ;EL1 =0.
 TSURR =0. ;TEMP0 =273. ;PRESS0 =1.01325E+05
 DVO1DT =1.18E-04 ;DRH1DP =0.
 EMISS =0. ;SCATT =0.
 RADIA =0. ;RADIB =0.
 ENUL =1.006E-06 ;ENUT =3.088E-03
 PRNDTL(U1)=1. ;PRNDTL(V1)=1.
 PRNDTL(W1)=1.
 PRT(U1)=1. ;PRT(V1)=1.
 PRT(W1)=1.
 CP1 =4181.799805 ;CP2 =1.
 ************************************************************
  Group 10.Inter-Phase Transfer Processes
 ************************************************************
  Group 11.Initial field variables (PHIs)
 FIINIT(P1)=0. ;FIINIT(U1)=1.0E-10
 FIINIT(V1)=1.0E-10 ;FIINIT(W1)=1.0E-10
 FIINIT(HPOR)=1. ;FIINIT(PRPS)=-1.
 FIINIT(DEN1)=1.0E-10 ;FIINIT(VFOL)=1.0E-10
 FIINIT(SURN)=1.0E-10
 
 PATCH(OB3 ,INIVAL, 1, 20, 1, 10, 1, 3, 1, 1)
 INIT(OB3 ,PRPS,0. ,67. )
 INIT(OB3 ,VFOL,0. ,1. )
 INIT(OB3 ,SURN,0. ,1. )
 
 PATCH(OB8 ,INIVAL, 1, 20, 1, 20, 1, 1, 1, 10)
 INIT(OB8 ,HPOR,0. ,0. )
 
 PATCH(OB9 ,INIVAL, 1, 20, 1, 20, 2, 2, 1, 10)
 INIT(OB9 ,HPOR,0. ,0. )
 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(TCON ,CELL , 1, 20, 1, 20, 1, 3, 1, 10)
 COVAL(TCON ,SURN, GRND , GRND )
 
 PATCH(OB1 ,WEST , 1, 1, 1, 20, 1, 1, 1, 10)
 COVAL(OB1 ,P1 , FIXFLU ,1.189 )
 COVAL(OB1 ,U1 ,0. ,1. )
 COVAL(OB1 ,V1 ,0. ,0. )
 COVAL(OB1 ,W1 ,0. ,0. )
 COVAL(OB1 ,VFOL,0. ,0.841043 )
 COVAL(OB1 ,SURN, FIXFLU , GRND1 )
 
 PATCH(OB2 ,EAST , 20, 20, 1, 20, 1, 1, 1, 10)
 COVAL(OB2 ,P1 , GRND1 ,0. )
 COVAL(OB2 ,U1 ,0. ,0. )
 COVAL(OB2 ,V1 ,0. ,0. )
 COVAL(OB2 ,W1 ,0. ,0. )
 COVAL(OB2 ,VFOL,0. ,0.841043 )
 COVAL(OB2 ,SURN, FIXFLU , GRND1 )
 
 PATCH(OB4 ,WEST , 1, 1, 1, 20, 2, 2, 1, 10)
 COVAL(OB4 ,P1 ,In-Form:source - see Grp 19)
 COVAL(OB4 ,U1 ,In-Form:source - see Grp 19)
 COVAL(OB4 ,V1 ,0. ,0. )
 COVAL(OB4 ,W1 ,0. ,0. )
 COVAL(OB4 ,VFOL,In-Form:source - see Grp 19)
 COVAL(OB4 ,SURN,In-Form:source - see Grp 19)
 
 PATCH(OB5 ,WEST , 1, 1, 1, 20, 3, 3, 1, 10)
 COVAL(OB5 ,P1 ,In-Form:source - see Grp 19)
 COVAL(OB5 ,U1 ,In-Form:source - see Grp 19)
 COVAL(OB5 ,V1 ,0. ,0. )
 COVAL(OB5 ,W1 ,0. ,0. )
 COVAL(OB5 ,VFOL,In-Form:source - see Grp 19)
 COVAL(OB5 ,SURN,In-Form:source - see Grp 19)
 
 PATCH(OB6 ,EAST , 20, 20, 1, 20, 2, 2, 1, 10)
 COVAL(OB6 ,P1 , GRND1 ,0. )
 COVAL(OB6 ,U1 ,0. ,0. )
 COVAL(OB6 ,V1 ,0. ,0. )
 COVAL(OB6 ,W1 ,0. ,0. )
 COVAL(OB6 ,VFOL,0. ,0.841043 )
 COVAL(OB6 ,SURN, FIXFLU , GRND1 )
 
 PATCH(OB7 ,EAST , 20, 20, 1, 20, 3, 3, 1, 10)
 COVAL(OB7 ,P1 , GRND1 ,0. )
 COVAL(OB7 ,U1 ,0. ,0. )
 COVAL(OB7 ,V1 ,0. ,0. )
 COVAL(OB7 ,W1 ,0. ,0. )
 COVAL(OB7 ,VFOL,0. ,0.841043 )
 COVAL(OB7 ,SURN, FIXFLU , GRND1 )
 
 PATCH(OB8-L ,HWALL , 1, 20, 1, 20, 1, 1, 1, 10)
 COVAL(OB8-L ,U1 ,0. ,0. )
 COVAL(OB8-L ,V1 ,0. ,0. )
 COVAL(OB8-L ,W1 , FIXVAL ,0. )
 
 PATCH(OB8-H ,LWALL , 1, 20, 1, 20, 2, 2, 1, 10)
 COVAL(OB8-H ,U1 ,0. ,0. )
 COVAL(OB8-H ,V1 ,0. ,0. )
 
 PATCH(OB9-L ,HWALL , 1, 20, 1, 20, 2, 2, 1, 10)
 COVAL(OB9-L ,U1 ,0. ,0. )
 COVAL(OB9-L ,V1 ,0. ,0. )
 COVAL(OB9-L ,W1 , FIXVAL ,0. )
 
 PATCH(OB9-H ,LWALL , 1, 20, 1, 20, 3, 3, 1, 10)
 COVAL(OB9-H ,U1 ,0. ,0. )
 COVAL(OB9-H ,V1 ,0. ,0. )
 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 = T
 RESFAC =1.0E-03
 ************************************************************
  Group 16. Terminate Iterations
 LITER(P1)=200 ;LITER(U1)=10
 LITER(V1)=10 ;LITER(W1)=10
 LITER(VFOL)=20 ;LITER(SURN)=1
 ENDIT(P1)=1.0E-03 ;ENDIT(U1)=1.0E-03
 ENDIT(V1)=1.0E-03 ;ENDIT(W1)=1.0E-03
 ENDIT(VFOL)=1.0E-03 ;ENDIT(SURN)=1.0E-03
 ************************************************************
  Group 17. Relaxation
 RELAX(P1,LINRLX,1.)
 RELAX(U1,FALSDT,1.)
 RELAX(V1,FALSDT,1.)
 RELAX(W1,FALSDT,1.)
 RELAX(PRPS,LINRLX,1.)
 RELAX(DEN1,LINRLX,1.)
 RELAX(VFOL,LINRLX,1.)
 RELAX(SURN,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(HPOR)=1.0E+10 ;VARMIN(HPOR)=-1.0E+10
 VARMAX(PRPS)=1.0E+10 ;VARMIN(PRPS)=-1.0E+10
 VARMAX(DEN1)=1.0E+10 ;VARMIN(DEN1)=-1.0E+10
 VARMAX(VFOL)=1.0E+10 ;VARMIN(VFOL)=-1.0E+10
 VARMAX(SURN)=1. ;VARMIN(SURN)=0.
 ************************************************************
  Group 19. Data transmitted to GROUND
 SURF = T
 PARSOL = F
 CONWIZ = T
 IPRPSA = 67
 ISG62 = 1
 ISURFA = 0
 SPEDAT(SET,AUTOMESH,OLD-X,I,2)
 SPEDAT(SET,AUTOMESH,OLD-Y,I,2)
 SPEDAT(SET,VOF,LTSS,L,F)
 SPEDAT(SET,SOURCE,R1!IN2,C,=1*998.3!VOLU)
 SPEDAT(SET,SOURCE,U1!IN2,C,=1!ONLYMS)
 SPEDAT(SET,SOURCE,VFOL!IN2,C,=1/998.3!ONLYMS)
 SPEDAT(SET,SOURCE,SURN!IN2,C,=1!VOLU)
 SPEDAT(SET,SOURCE,R1!IN3,C,=COVAL(2.0E-10&1*998.3)!VOLU)
 SPEDAT(SET,SOURCE,U1!IN3,C,=COVAL(0.&1))
 SPEDAT(SET,SOURCE,VFOL!IN3,C,=COVAL(0.&1/998.3))
 SPEDAT(SET,SOURCE,SURN!IN3,C,=COVAL(2.0E-10&1)!VOLU)
 SPEDAT(SET,GXMONI,PLOTALL,L,T)
 SPEDAT(SET,OBJNAM,!OB1,C,IN1)
 SPEDAT(SET,OBJTYP,!OB1,C,INLET)
 SPEDAT(SET,OBJNAM,!OB2,C,OUT1)
 SPEDAT(SET,OBJTYP,!OB2,C,OUTLET)
 SPEDAT(SET,ARATIO,!OB2,R,1.)
 SPEDAT(SET,OBJNAM,!OB3,C,B3)
 SPEDAT(SET,OBJTYP,!OB3,C,BLOCKAGE)
 SPEDAT(SET,B3,MATERIAL,R,67.)
 SPEDAT(SET,OBJNAM,!OB4,C,IN2)
 SPEDAT(SET,OBJTYP,!OB4,C,INLET)
 SPEDAT(SET,OBJNAM,!OB5,C,IN3)
 SPEDAT(SET,OBJTYP,!OB5,C,INLET)
 SPEDAT(SET,OBJNAM,!OB6,C,OUT2)
 SPEDAT(SET,OBJTYP,!OB6,C,OUTLET)
 SPEDAT(SET,ARATIO,!OB6,R,1.)
 SPEDAT(SET,OBJNAM,!OB7,C,OUT3)
 SPEDAT(SET,OBJTYP,!OB7,C,OUTLET)
 SPEDAT(SET,ARATIO,!OB7,R,1.)
 SPEDAT(SET,OBJNAM,!OB8,C,B8)
 SPEDAT(SET,OBJTYP,!OB8,C,PLATE)
 SPEDAT(SET,OBJNAM,!OB8-L,C,B8)
 SPEDAT(SET,OBJTYP,!OB8-L,C,PLATE)
 SPEDAT(SET,OBJNAM,!OB8-H,C,B8)
 SPEDAT(SET,OBJTYP,!OB8-H,C,PLATE)
 SPEDAT(SET,OBJNAM,!OB9,C,B9)
 SPEDAT(SET,OBJTYP,!OB9,C,PLATE)
 SPEDAT(SET,OBJNAM,!OB9-L,C,B9)
 SPEDAT(SET,OBJTYP,!OB9-L,C,PLATE)
 SPEDAT(SET,OBJNAM,!OB9-H,C,B9)
 SPEDAT(SET,OBJTYP,!OB9-H,C,PLATE)
 SPEDAT(SET,FACETDAT,NUMOBJ,I,9)
 SPEDAT(SET,MATERIAL,67,L,T)
 SPEDAT(SET,MATERIAL,0,L,T)
 ************************************************************
  Group 20. Preliminary Printout
 DISTIL = T ;NULLPR = F
 NDST = 0
 DSTTOL =1.0E-02
 EX(P1)=140.399994 ;EX(U1)=1.
 EX(V1)=0.1462 ;EX(W1)=0.
 EX(HPOR)=0.3333 ;EX(PRPS)=55.279999
 EX(DEN1)=823.299988 ;EX(VFOL)=0.8244
 EX(SURN)=0.853
 ************************************************************
  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(HPOR,Y,N,Y,N,N,N)
 OUTPUT(PRPS,Y,N,Y,N,N,N)
 OUTPUT(DEN1,Y,N,Y,N,N,N)
 OUTPUT(VFOL,Y,Y,Y,N,Y,Y)
 OUTPUT(SURN,Y,Y,Y,N,Y,Y)
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON = 5 ;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 = 1 ;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    ='A'
STOP