TALK=F;RUN( 1, 1)
 
 ************************************************************
   Q1 created by VDI menu, Version 2009, Date 17/02/09
 CPVNAM=VDI;SPPNAM=Core
 ************************************************************
  Echo DISPLAY / USE settings
  DISPLAY
  ENDDIS
 ************************************************************
 IRUNN = 1 ;LIBREF = 999
 ************************************************************
  Group 1. Run Title
 TEXT(Stagnation point Flow         )
 ************************************************************
  Group 2. Transience
 STEADY = T
 ************************************************************
  Groups 3, 4, 5  Grid Information
    * Overall number of cells, RSET(M,NX,NY,NZ,tolerance)
 RSET(M,30,50,1)
 ************************************************************
  Group 6. Body-Fitted coordinates
 ************************************************************
  Group 7. Variables: STOREd,SOLVEd,NAMEd
    * Non-default variable names
 NAME(149)=ENUL ;NAME(150)=PRPS
    * Solved variables list
 SOLVE(P1,U1,V1,TEM1)
    * Stored variables list
 STORE(PRPS,ENUL)
    * Additional solver options
 SOLUTN(P1,Y,Y,Y,N,N,Y)
 
 ************************************************************
  Echo save-block settings for Group  7
integer(caseno)
mesg(caseno=1: STAGUS 
mesg(caseno=2: Structured Phoenics
mesg(caseno=3: COLUS 
caseno=1
mesgm(caseno = :caseno: Enter another if you want
readvdu(caseno, int, 1)
if(:caseno:.LT.1.or.:caseno:.gt.3) then
caseno=1
endif
caseno

REAL(NU0) 
       mesg(Enter value of Viscosity
NU0 = 1.e-2
       mesgm(NU0 = :NU0: Enter another if not OK
       readvdu(NU0, real, 1.0e-2)
       NU0

 REAL(U00) 
 U00 = 1
 ENUL = :NU0:
 
IF(caseno.NE.2) THEN
INTEGER(LEVEL)
LEVEL = 0
mesgm(Level of refinement is :LEVEL: Enter another if you want
readvdu(LEVEL, int, LEVEL)
mesg(Level of refinement is :LEVEL:

 USP = T ; USPDBG= F
 UTCPLT = T ; USPIMB= F
 UAUTO = T ; UGTGRD= F
 USPVTK = T ; USPTER= F
 USCANX = T ; USCANY= T
 USCANZ = T
 MXLEV = 0 ;MYLEV = 0 ;MZLEV = 0
 DOMAT = -1
 CELLST = 400 ; FACEST= 400
 MINPRP = -1 ; MAXPRP= 250
 UMXLEV = LEVEL ; UMXCLS= 10000
 UNOLAY = 2 ; UIOLEV= 0
 UWALEV = 0 ; UGRITR= 2
 UMXCRS = 16
 UDVREL =1.
ENDIF

IF(caseno.EQ.3) THEN
 SPEDAT(SET,USP,METHOD,I,1)
ENDIF

SPEDAT(SET,OUTPUT,VTK,C,YES)

 ************************************************************
  Group 8. Terms & Devices
 ************************************************************
  Group 9. Properties
 RHO1 =1.
 CP1 =1.
 ENUT =0.
 PRNDTL(TEM1) = 1
 DIFCUT =0.

 ************************************************************
  Group 10.Inter-Phase Transfer Processes
 ************************************************************
  Group 11.Initialise Var/Porosity Fields
 FIINIT(ENUL)=1.001E-10 ;FIINIT(PRPS)=-1.

 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
  SAVE13BEGIN

(SOURCE of P1 at IN_ is COVAL(FIXFLU,:U00:)!AREA) 
(SOURCE of U1 at IN_ is COVAL(ONLYMS,:U00:)!AREA) 
(SOURCE of TEM1 at IN_ is COVAL(ONLYMS,0)!AREA) 
(SOURCE of U1 at HEAT_WAL is COVAL(1,0)!AREA) 
(SOURCE of V1 at HEAT_WAL is COVAL(1,0)!AREA) 
(SOURCE of TEM1 at HEAT_WAL is COVAL(1,100)!AREA) 

  SAVE13END
 
 EGWF = T
 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP = 500
 
 ************************************************************
  Group 16. Terminate Iterations
 ************************************************************
  Group 17. Relaxation
IF(caseno.EQ.1) THEN
 RELAX(P1 ,LINRLX,0.9 )
 RELAX(U1 ,FALSDT,1.E+5 )
 RELAX(V1 ,FALSDT,1.E+5 )
 RESFAC =1.0E-06
ENDIF

IF(caseno.EQ.3) THEN
 RELAX(P1 ,LINRLX,0.3 )
 RELAX(U1 ,FALSDT,1.e-1 )
 RELAX(V1 ,FALSDT,1.e-1 )
 RESFAC =1.0E-06
ENDIF

 ************************************************************
  Group 18. Limits
 ************************************************************
  Group 19. EARTH Calls To GROUND Station
 ************************************************************
  Group 20. Preliminary Printout
 ************************************************************
  Group 21. Print-out of Variables
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON = 5 ;IYMON = 20 ;IZMON = 1
 NPRMON = 100000
 NPRMNT = 1
 TSTSWP = -1
 ************************************************************
  Group 23.Field Print-Out & Plot Control
 NPRINT = 100000
 ISWPRF = 1 ;ISWPRL = 100000
 ITABL = 2
 NXPRIN = 1
   No PATCHes used for this Group
 ************************************************************
  Group 24. Dumps For Restarts
 
 GVIEW(P,0.,0.,1.)
 GVIEW(UP,0.,1.,0.)
 
> DOM,    SIZE,        1.000000E+00, 2.000000E+00, 1.000000E-01
> DOM,    MONIT,       9.000000E-01, 9.750000E-01, 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,   BOUNDS,       F F F F F F
  > GRID,   RSET_X_1,     30, 1.000000E+00
  > GRID,   RSET_Y_1,     50, 1.000000E+00
  > GRID,   RSET_Z_1,      1, 1.000000E+00
> DOM,    T_AMBIENT,   0.000000E+00
 
> OBJ,    NAME,        OUT_
> OBJ,    POSITION,    0.000000E+00, 2.000000E+00, 0.000000E+00
> OBJ,    SIZE,        1.000000E+00, 0.000000E+00, 1.000000E-01
> OBJ,    GEOMETRY,    cube12t
> OBJ,    TYPE,        OUTLET
> OBJ,    PRESSURE,    0.
> OBJ,    COEFFICIENT, 1000.
 
> OBJ,    NAME,        IN_
> OBJ,    POSITION,    0.000000E+00, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        0.000000E+00, 2.000000E+00, 1.000000E-01
> OBJ,    GEOMETRY,    cube3t
> OBJ,    TYPE,        INLET
 
> OBJ,    NAME,        HEAT_WAL
> OBJ,    POSITION,    1.000000E+00, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        0.000000E+00, 2.000000E+00, 1.000000E-01
> OBJ,    GEOMETRY,    cube11
> OBJ,    TYPE,        PLATE
STOP