TALK=T;RUN(1,1)
  DISPLAY
   This case concerns plane incompressible laminar (LTURB=F)
   or turbulent (LTURB=T) flow in the 'Arc'-like domain. When
   flow is turbulent, the two-layer KE-EP turbulence model is
   used. This model employs distances to the nearest wall, so
   user can check the procedure of wall distance (varable WDIS)
   calculation for a rather complex geometry in the presence
   of MBFGE links.

   The computational grid uses 4 blocks, and 1 embedded fine
   grid, for a total of 5 domains. It is built in Y-Z plane.

   User can  use higher  order convective  schemes (MINMOD-,
   SUPER-BB-, SMART- or QUICK-scheme) by setting appropriate
   name of the scheme for solved variable.
  ----------------------------------------------------------
  ENDDIS
  PHOTON USE
   p ; ; ; ; ;

   msg Computational Domain:
   mgrid 1 i 1
   mgrid 2 i 1 col 2
   mgrid 3 i 1 col 3
   mgrid 4 i 1 col 4
   mgrid 5 i 1 col 5
   msg Press Any Key to Continue...
   pause
   cl
   set vec av off
   msg Velocity Vectors:
   mvec 1 i 1 sh
   mvec 2 i 1 sh
   mvec 3 i 1 sh
   mvec 4 i 1 sh
   mvec 5 i 1 sh
   msg Press Any Key to Continue...
   pause
   cl
   msg Contours of Pressure:
   mcon 1 p1 i 1 fi
   0.005
   mcon 2 p1 i 1 fi
   0.005
   mcon 3 p1 i 1 fi
   0.005
   mcon 4 p1 i 1 fi
   0.005
   mcon 5 p1 i 1 fi
   0.005
   msg Press E  to exit PHOTON ...
   pause
  ENDUSE
  SCHMBEGIN
      VARNAM UC1  SCHEME SMART
      VARNAM VC1  SCHEME SMART
  SCHMEND
 ************************************************************
  Group 1. Run Title and Number
 ************************************************************
 ************************************************************
 
 TEXT(MB-FGE: 2D Turbulent Flow Inside The 'Ar)
 
 ************************************************************
 ************************************************************
 
 IRUNN = 1 ;LIBREF = 207
 ************************************************************
  Group 2. Time dependence
 STEADY = T
 ************************************************************
  Group 3. X-Direction Grid Spacing
 CARTES = T
 NX = 1
 XULAST =1.
 ************************************************************
  Group 4. Y-Direction Grid Spacing
 NY = 26
 YVLAST =0.038462
 ************************************************************
  Group 5. Z-Direction Grid Spacing
 PARAB = F
 NZ = 86
 ZWLAST =0.0625
 ************************************************************
  Group 6. Body-Fitted Coordinates
 BFC = T ;NONORT = F
 NUMBLK = 5
 NCRT = -1
 RSTGEO = F ;SAVGEO = F
 UUP = F ;VUP = F ;WUP = F
 NGEOM =CHAM
 NAMXYZ =CHAM
 ANGMIN =20.
 DOMAIN(   1,   2,   1,  27,   1,  87)
    * Set fixed sub-domain
 FIXDOM(   1,   0,   0,   0,   0,   0,   0)
 FIXDOM(   2,   0,   0,   0,   0,   0,   0)
 FIXDOM(   3,   0,   0,   0,   0,   0,   0)
 FIXDOM(   4,   0,   0,   0,   0,   0,   0)
 FIXDOM(   5,   0,   0,   0,   0,   0,   0)
 FIXDOM(   6,   0,   0,   0,   0,   0,   0)
 FIXDOM(   7,   0,   0,   0,   0,   0,   0)
 FIXDOM(   8,   0,   0,   0,   0,   0,   0)
 FIXDOM(   9,   0,   0,   0,   0,   0,   0)
 FIXDOM(  10,   0,   0,   0,   0,   0,   0)
 LIJ = F ;LJK = T ;LIK = F
 CCM = T
 ************************************************************
  Group 7. Variables: STOREd,SOLVEd,NAMEd
 ONEPHS = T
 NAME(1)=P1 ;NAME(5)=V1
 NAME(7)=W1 ;NAME(12)=KE
 NAME(13)=EP ;NAME(138)=PRPS
 NAME(139)=WC1 ;NAME(140)=VC1
 NAME(141)=LTLS ;NAME(142)=WDIS
 NAME(143)=WGAP ;NAME(144)=LEN1
 NAME(145)=ENUT ;NAME(146)=GEN1
 NAME(147)=WCRT ;NAME(148)=VCRT
 NAME(149)=UCRT
    * 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(V1,Y,Y,N,N,N,Y)
 SOLUTN(W1,Y,Y,N,N,N,Y)
 SOLUTN(KE,Y,Y,Y,N,N,N)
 SOLUTN(EP,Y,Y,Y,N,N,N)
 SOLUTN(PRPS,Y,N,N,N,N,N)
 SOLUTN(WC1,Y,Y,Y,N,N,Y)
 SOLUTN(VC1,Y,Y,Y,N,N,Y)
 SOLUTN(LTLS,Y,Y,Y,N,N,Y)
 SOLUTN(WDIS,Y,N,N,N,N,N)
 SOLUTN(WGAP,Y,N,N,N,N,Y)
 SOLUTN(LEN1,Y,N,N,N,N,Y)
 SOLUTN(ENUT,Y,N,N,N,N,Y)
 SOLUTN(GEN1,Y,N,N,N,N,Y)
 SOLUTN(WCRT,Y,N,N,N,N,N)
 SOLUTN(VCRT,Y,N,N,N,N,N)
 SOLUTN(UCRT,Y,N,N,N,N,N)
 VIST = 145
 LEN1 = 144
 PRPS = 138
 ************************************************************
  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(V1,N,N,N,N,N,N)
 TERMS(W1,N,N,N,N,N,N)
 TERMS(KE,N,Y,Y,Y,Y,N)
 TERMS(EP,N,Y,Y,Y,Y,N)
 TERMS(WC1,N,Y,Y,Y,N,Y)
 TERMS(VC1,N,Y,Y,Y,Y,Y)
 TERMS(LTLS,N,N,Y,N,Y,Y)
 DIFCUT =0.5 ;ZDIFAC =1.
 GALA = F ;ADDDIF = F
 NEWENT = T
 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 = GRND4
 TSURR =0. ;TEMP0 =0. ;PRESS0 =0.
 DVO1DT =0. ;DRH1DP =0.
 EMISS =0. ;SCATT =0.
 RADIA =0. ;RADIB =0.
 EL1A =0. ;EL1B =0. ;EL1C =0.
 ENUL =2.222222E-05 ;ENUT = GRND3
 ENUTA =0. ;ENUTB =0. ;ENUTC =0.
 IENUTA = 8
 PRNDTL(KE)=1. ;PRNDTL(EP)=1.
 PRNDTL(WC1)=1. ;PRNDTL(VC1)=1.
 PRNDTL(LTLS)=1.
 PRT(KE)=1. ;PRT(EP)=1.314
 PRT(WC1)=1. ;PRT(VC1)=1.
 PRT(LTLS)=1.
 CP1 =1. ;CP2 =1.
 ************************************************************
  Group 10.Inter-Phase Transfer Processes
 ************************************************************
  Group 11.Initial field variables (PHIs)
 FIINIT(P1)=1.3E-04 ;FIINIT(V1)=1.0E-10
 FIINIT(W1)=1.0E-10 ;FIINIT(KE)=2.5E-03
 FIINIT(EP)=2.281945E-04 ;FIINIT(PRPS)=-1.
 FIINIT(WC1)=1.0E-05 ;FIINIT(VC1)=1.0E-05
 FIINIT(LTLS)=1.0E-10 ;FIINIT(WDIS)=3.846154E-03
 FIINIT(WGAP)=1.0E-10 ;FIINIT(LEN1)=1.0E-10
 FIINIT(ENUT)=1.0E-10 ;FIINIT(GEN1)=1.0E-10
 FIINIT(WCRT)=1.0E-10 ;FIINIT(VCRT)=1.0E-10
 FIINIT(UCRT)=1.0E-10
   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(MBD1 ,CELL , 1, 1, 1, 20, 1, 16, 1, 1)
 
 PATCH(MBD2 ,CELL , 1, 1, 1, 20, 18, 25, 1, 1)
 
 PATCH(MBD3 ,CELL , 1, 1, 1, 20, 27, 58, 1, 1)
 
 PATCH(MBD4 ,CELL , 1, 1, 1, 10, 60, 69, 1, 1)
 
 PATCH(MBD5 ,CELL , 1, 1, 1, 26, 71, 86, 1, 1)
 
 PATCH(MBL1.2 ,NORTH , 1, 1, 20, 20, 5, 12, 1, 1)
 
 PATCH(MBL2.1 ,SOUTH , 1, 1, 1, 1, 18, 25, 1, 1)
 
 PATCH(MBL2.3 ,NORTH , 1, 1, 20, 20, 18, 25, 1, 1)
 
 PATCH(MB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,1. ,0. )
 COVAL(LW51 ,VC1 ,1. ,0. )
 COVAL(LW51 ,LTLS,1. ,0. )
 
 PATCH(LW52 ,LWALL , 1, 1, 19, 26, 71, 71, 1, 1)
 COVAL(LW52 ,KE ,1. ,0. )
 COVAL(LW52 ,WC1 ,1. ,0. )
 COVAL(LW52 ,VC1 ,1. ,0. )
 COVAL(LW52 ,LTLS,1. ,0. )
 XCYCLE = F
 EGWF = T
 WALLCO = GRND2
 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP = 100 ;ISWC1 = 1
 LITHYD = 1 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1
 SELREF = T
 RESFAC =1.0E-04
 ************************************************************
  Group 16. Terminate Iterations
 LITER(P1)=20 ;LITER(V1)=10
 LITER(W1)=10 ;LITER(KE)=20
 LITER(EP)=20 ;LITER(WC1)=20
 LITER(VC1)=20 ;LITER(LTLS)=20
 ENDIT(P1)=1.0E-03 ;ENDIT(V1)=1.0E-03
 ENDIT(W1)=1.0E-03 ;ENDIT(KE)=1.0E-03
 ENDIT(EP)=1.0E-03 ;ENDIT(WC1)=1.0E-03
 ENDIT(VC1)=1.0E-03 ;ENDIT(LTLS)=1.0E-03
 ************************************************************
  Group 17. Relaxation
 RELAX(P1,LINRLX,0.5)
 RELAX(V1,FALSDT,1.)
 RELAX(W1,FALSDT,1.)
 RELAX(KE,FALSDT,0.0625)
 RELAX(EP,FALSDT,0.0625)
 RELAX(PRPS,LINRLX,1.)
 RELAX(WC1,FALSDT,1.0E+09)
 RELAX(VC1,FALSDT,1.0E+09)
 RELAX(LTLS,FALSDT,1.0E+09)
 RELAX(WDIS,LINRLX,1.)
 RELAX(WGAP,LINRLX,1.)
 RELAX(LEN1,LINRLX,1.)
 RELAX(ENUT,LINRLX,1.)
 RELAX(GEN1,LINRLX,1.)
 RELAX(WCRT,LINRLX,1.)
 RELAX(VCRT,LINRLX,1.)
 RELAX(UCRT,LINRLX,1.)
 KELIN = 1
 OVRRLX =0.
 EXPERT = F ;NNORSL = F
 ************************************************************
  Group 18. Limits
 VARMAX(P1)=1.0E+10 ;VARMIN(P1)=-1.0E+10
 VARMAX(V1)=1.0E+06 ;VARMIN(V1)=-1.0E+06
 VARMAX(W1)=1.0E+06 ;VARMIN(W1)=-1.0E+06
 VARMAX(KE)=1.0E+10 ;VARMIN(KE)=1.0E-10
 VARMAX(EP)=1.0E+10 ;VARMIN(EP)=1.0E-10
 VARMAX(PRPS)=1.0E+10 ;VARMIN(PRPS)=-1.0E+10
 VARMAX(WC1)=1.0E+10 ;VARMIN(WC1)=-1.0E+10
 VARMAX(VC1)=1.0E+10 ;VARMIN(VC1)=-1.0E+10
 VARMAX(LTLS)=1.0E+10 ;VARMIN(LTLS)=-1.0E+10
 VARMAX(WDIS)=1.0E+10 ;VARMIN(WDIS)=-1.0E+10
 VARMAX(WGAP)=1.0E+10 ;VARMIN(WGAP)=-1.0E+10
 VARMAX(LEN1)=1.0E+10 ;VARMIN(LEN1)=-1.0E+10
 VARMAX(ENUT)=1.0E+10 ;VARMIN(ENUT)=-1.0E+10
 VARMAX(GEN1)=1.0E+10 ;VARMIN(GEN1)=-1.0E+10
 VARMAX(WCRT)=1.0E+10 ;VARMIN(WCRT)=-1.0E+10
 VARMAX(VCRT)=1.0E+10 ;VARMIN(VCRT)=-1.0E+10
 VARMAX(UCRT)=1.0E+10 ;VARMIN(UCRT)=-1.0E+10
 ************************************************************
  Group 19. Data transmitted to GROUND
 GENK = T
 PARSOL = F
 CONWIZ = T
 LSG3 = T
 LSG7 = T
 IENUTA = 8
 ISG62 = 1
 CSG3    ='LCRU'
 SPEDAT(SET,GXMONI,PLOTALL,L,T)
 ************************************************************
  Group 20. Preliminary Printout
 ************************************************************
  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(V1,Y,N,Y,Y,Y,Y)
 OUTPUT(W1,Y,N,Y,Y,Y,Y)
 OUTPUT(KE,Y,N,Y,Y,Y,Y)
 OUTPUT(EP,Y,N,Y,Y,Y,Y)
 OUTPUT(PRPS,Y,N,Y,N,N,N)
 OUTPUT(WC1,Y,N,Y,Y,Y,Y)
 OUTPUT(VC1,Y,N,Y,Y,Y,Y)
 OUTPUT(LTLS,Y,N,Y,Y,Y,Y)
 OUTPUT(WDIS,Y,N,Y,N,N,N)
 OUTPUT(WGAP,Y,N,Y,N,N,N)
 OUTPUT(LEN1,Y,N,Y,N,N,N)
 OUTPUT(ENUT,Y,N,Y,N,N,N)
 OUTPUT(GEN1,Y,N,Y,N,N,N)
 OUTPUT(WCRT,Y,N,Y,N,N,N)
 OUTPUT(VCRT,Y,N,Y,N,N,N)
 OUTPUT(UCRT,Y,N,Y,N,N,N)
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON = 1 ;IYMON = 11 ;IZMON = 9
 NPRMON = 100000 ;NPRMNT = 1 ;TSTSWP = -1
 UWATCH = T ;USTEER = T
 HIGHLO = F
 ************************************************************
  Group 23.Field Print-Out & Plot Control
 NPRINT = 100000 ;NUMCLS = 5
 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
STOP