TALK=T;RUN( 1, 1)
 
 ************************************************************
   Q1 created by VDI menu, Version 2025, Date 03/02/25
 CPVNAM=VDI; SPPNAM=Core
 ************************************************************
  Echo DISPLAY / USE settings
  DISPLAY
  This case invloves steady, turbulent flow over a backward-facing
  step. The flow is 2d and incompressible. The edge of the step
  provides a fixed point of flow separation.
 
  This example uses the high Reynolds form of the Spalart-Allmaras
  turbulence model with equilibrium wall functions.
 
  The case is based on the NASA validation case
  https://turbmodels.larc.nasa.gov/backstep_val.html. The step is
  of height h, in a two-dimensional channel of exit width 9h, with 
  expansion ratio of 1.125. The inlet is at a distance of 110h 
  upstream of the step, with a fixed-pressure boundary at a 
  distance 50h downstream of the step.
 
  The Reynolds number based on step height h is 36,000, with
  uniform profiles of u and ENTI specified at the inlet. The large
  distance upstream of the step allows the boundary layer to fully
  develop along the wall before reaching the step.
 
  The model predicts a reattachment length XR/h=6.0, compared with
  experimental measurement XR/h=7.1.
 
      //////////////////////// wall ///////////////////////
    -----------------------------------------------------
                                                           Pressure
  Inlet  ------->                              --------->  fixed at
                                                           zero
   ________________
   ////////////////|                                  Exit
         wall     /| Recirculation
                  /|  <----                ----->
                  /|____________________________________
                    //////////////////////////////////////
                             wall
  ENDDIS
 ************************************************************
 IRUNN = 1 ;LIBREF = 0
 ************************************************************
  Group 1. Run Title
 TEXT(High Reynolds S-A 2D Bckward Facing Step)
 ************************************************************
  Group 2. Transience
 STEADY = T
 ************************************************************
  Groups 3, 4, 5  Grid Information
    * Overall number of cells, RSET(M,NX,NY,NZ,tolerance)
 RSET(M,270,50,1)
 ************************************************************
  Group 6. Body-Fitted coordinates
 ************************************************************
  Group 7. Variables: STOREd,SOLVEd,NAMEd
    * Non-default variable names
 NAME(137)=PRPS ;NAME(138)=STRS
 NAME(139)=DVDX ;NAME(140)=DUDY
 NAME(141)=CP ;NAME(142)=CF
 NAME(143)=VOR1 ;NAME(145)=YPLS
 NAME(146)=WDIS ;NAME(148)=DEN1
 NAME(149)=EL1 ;NAME(150)=ENUT
    * Solved variables list
 SOLVE(P1,U1,V1)
    * Stored variables list
 STORE(ENUT,EL1,DEN1,WDIS,YPLS,VOR1,CF,CP)
 STORE(DUDY,DVDX,STRS,PRPS)
    * Additional solver options
 SOLUTN(P1,Y,Y,Y,N,N,Y)
 SOLUTN(U1,Y,Y,Y,N,N,Y)
 SOLUTN(V1,Y,Y,Y,N,N,Y)
 TURMOD(SPALART-ALLMARAS)
 
 ************************************************************
  Group 8. Terms & Devices
 ************************************************************
  Group 9. Properties
 PRESS0 =1.01325E+05
    * Domain material index is   0 signifying:
    * Air at 20 deg C, 1 atm, treated as incompressible
 SETPRPS(1, 0)
 TMP1 = GRND1
 TMP1A =300. ;TMP1B =0. ;TMP1C =0.
 DVO1DT =3.41E-03
 PRT(ENTI)=0.666667
 ************************************************************
  Group 10.Inter-Phase Transfer Processes
 ************************************************************
  Group 11.Initialise Var/Porosity Fields
 FIINIT(P1)=0. ;FIINIT(U1)=44.400002
 FIINIT(V1)=0.1 ;FIINIT(PRPS)=-1.
 FIINIT(WDIS)=1.0E-02 ;FIINIT(ENTI)=1.0E-03
   No PATCHes used for this Group
 
 
 INIADD = F
 ************************************************************
  Group 12. Convection and diffusion adjustments
   No PATCHes used for this Group
 ************************************************************
  Group 13. Boundary & Special Sources
   No PATCHes used for this Group
 
 EGWF = T
 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP = 3000
 RESFAC =1.0E-04
 ************************************************************
  Group 16. Terminate Iterations
 LITER(P1)=200
 ************************************************************
  Group 17. Relaxation
 RELAX(P1 ,LINRLX,1. )
 RELAX(U1 ,FALSDT,1.0E-03 )
 RELAX(V1 ,FALSDT,1.0E-03 )
 RELAX(ENTI,LINRLX,0.3 )
 ************************************************************
  Group 18. Limits
 ************************************************************
  Group 19. EARTH Calls To GROUND Station
 YPLS = T
 PARSOL = F
 ISG62 = 1
 SPEDAT(SET,OUTPUT,NOFIELD,L,T)
 SPEDAT(SET,GXMONI,PLOTALL,L,T)
 ************************************************************
  Group 20. Preliminary Printout
 DISTIL = T ;NULLPR = F
 NDST = 0
 DSTTOL =1.0E-02
 EX(P1)=85.449997 ;EX(U1)=35.110001
 EX(V1)=0.3864 ;EX(PRPS)=0.8963
 EX(STRS)=0.1192 ;EX(DVDX)=12.19
 EX(DUDY)=858.599976 ;EX(CP)=0.06543
 EX(CF)=1.082E-04 ;EX(VOR1)=864.099976
 EX(LTLS)=6.369E-04 ;EX(YPLS)=1.928
 EX(WDIS)=0.01674 ;EX(ENTI)=1.288E-03
 EX(DEN1)=1.066 ;EX(EL1)=0.
 EX(ENUT)=1.267E-03
 ************************************************************
  Group 21. Print-out of Variables
 WALPRN = T
 ************************************************************
  Echo save-block settings for Group 21
  save21begin
  * Free-stream velocity
(MAKE of UINF is 0.0 with IF(isweep.eq.fsweep))
(STORE1 of UINF is ABS(U1{1.325,0.05625,0.05}) with swpfin)
(PRINT of UINF is UINF)
  * Skin friction coefficient
(STORED of CF is 2*STRS*(ABS(U1)/U1)/(UINF^2) with swpfin)
  * Pressure coefficient
(STORED of CP is P1/(0.5*DEN1*UINF^2) with swpfin)
  save21end
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON = 251 ;IYMON = 30 ;IZMON = 1
 NPRMON = 100000
 NPRMNT = 1
 TSTSWP = -1
 ************************************************************
  Group 23.Field Print-Out & Plot Control
 NPRINT = 100000
 ISWPRF = 1 ;ISWPRL = 100000
   No PATCHes used for this Group
 ************************************************************
  Group 24. Dumps For Restarts
 
 GVIEW(P,0.,0.,1.)
 GVIEW(UP,0.,1.,0.)
 GVIEW(WINDOW,MAX)
 GVIEW(DEPTH,1000.)
 GVIEW(NEARPLANE,1.0E-03)
 GVIEW(VDIS,6.268559E-03)
 GVIEW(CENTRE,1.447024,1.950454E-04,0.05)
 
> DOM,    ORIGIN,     -1.375000E+00, 0.000000E+00, 0.000000E+00
> DOM,    SIZE,        2.000000E+00, 1.125000E-01, 1.000000E-01
> DOM,    MONIT,       1.783300E+00, 5.983046E-02, 5.000000E-02
> DOM,    SCALE,       1.000000E+00, 1.000000E+00, 1.000000E+00
> DOM,    INCREMENT,   1.000000E-02, 1.000000E-02, 1.000000E-02
> GRID,   AUTO,         F F T
> GRID,   RSET_X_1,   -140, 1.050000E+00,G
> GRID,   RSET_X_2,    130, 1.020000E+00,G
> GRID,   RSET_Y_1,    -10, 1.100000E+00,G
> GRID,   RSET_Y_2,    -40, 1.100000E+00,G
  > GRID,   RSET_Z_1,      1, 1.000000E+00
> DOM,    INI_AMB,    YES
> DOM,    INI_BUOY,   YES
 
> OBJ,    NAME,        STEP
> OBJ,    POSITION,   -1.375000E+00, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        1.375000E+00, 1.250000E-02, 1.000000E-01
> OBJ,    GEOMETRY,    box
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    MATERIAL,    198,Solid with smooth-wall friction
 
> OBJ,    NAME,        INLET
> OBJ,    POSITION,   -1.375000E+00, 1.250000E-02, 0.000000E+00
> OBJ,    SIZE,        0.000000E+00, TO_END,       TO_END
> OBJ,    DOMCLIP,     NO
> OBJ,    GEOMETRY,    box
> OBJ,    TYPE,        INLET
> OBJ,    PRESSURE,     P_AMBIENT
> OBJ,    VELOCITY,    44.400002 ,0. ,0.
> OBJ,    TURB_IN,     VISC_RAT
> OBJ,    VISCRAT,     5.000000E+00
 
> OBJ,    NAME,        OUT
> OBJ,    POSITION,    AT_END,       0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        0.000000E+00, TO_END,       TO_END
> OBJ,    DOMCLIP,     NO
> OBJ,    GEOMETRY,    box
> OBJ,    TYPE,        OUTLET
> OBJ,    PRESSURE,     P_AMBIENT
> OBJ,    COEFFICIENT, 1000.
> OBJ,    TURBULENCE,  0. ,7.72E-05
 
> OBJ,    NAME,        WALL_UPPER
> OBJ,    POSITION,   -1.375000E+00, AT_END,       0.000000E+00
> OBJ,    SIZE,        TO_END,       0.000000E+00, TO_END
> OBJ,    DOMCLIP,     NO
> OBJ,    GEOMETRY,    box
> OBJ,    TYPE,        PLATE
 
> OBJ,    NAME,        WALL_LOWER
> OBJ,    POSITION,    0.000000E+00, AT_START,     0.000000E+00
> OBJ,    SIZE,        TO_END,       0.000000E+00, TO_END
> OBJ,    DOMCLIP,     NO
> OBJ,    GEOMETRY,    box
> OBJ,    TYPE,        PLATE
STOP