TALK=t;RUN( 1, 1)

 ************************************************************
   Q1 created by VDI menu, Version 3.5, Date 15/03/02
 CPVNAM=VDI;SPPNAM=Core
 ************************************************************
  Echo DISPLAY / USE settings
  PHOTON USE
  p
  PHI;

  * con mark z 1 fil;.001
  gr ou z 1
  surf mark z .99
  vec z 1 sh
  * dump box2
  ENDUSE
 ************************************************************
 IRUNN   =       1 ;LIBREF =       0
 ************************************************************
  Group 1. Run Title
 TEXT( Drag and lift of two blocks
 ************************************************************
  Group 2. Transience
 STEADY  =    T
 ************************************************************
  Groups 3, 4, 5  Grid Information
    * Overall number of cells, RSET(M,NX,NY,NZ,tolerance)
 RSET(M,40,40,1)
 ************************************************************
  Group 6. Body-Fitted coordinates
 ************************************************************
  Group 7. Variables: STOREd,SOLVEd,NAMEd
 ONEPHS  =    T
    * Non-default variable names
 NAME(148) =VISL ; NAME(149) =DEN1
 NAME(150) =MARK
    * Solved variables list
 SOLVE(P1  ,U1  ,V1  )
    * Stored variables list
 STORE(MARK,DEN1,VISL)
    * Additional solver options
 SOLUTN(P1  ,Y,Y,Y,N,N,N)

 ************************************************************
  Group 8. Terms & Devices
 NEWENL  =    T
 ************************************************************
  Group 9. Properties
 RHO1    = 1.000000E+00
 ENUL    = GRND
 CP1     = 4.181800E+03
 ENUT    = 0.000000E+00
 DVO1DT  = 1.180000E-04
 EMISS   = 0.000000E+00 ;SCATT  = 0.000000E+00
 ************************************************************
  Group 10.Inter-Phase Transfer Processes
 ************************************************************
  Echo PLANT settings
  PLANTBEGIN
NAMSAT=MOSG
ENUL=GRND

    VISL=1.
   REGION() 0

   VISL=1.e5
   REGION() 1

PATCH(SS001VEL,CELL,1,NX,1,NY,1,NZ,1,lstep)
   CO=1.e8
   VAL=0.0
COVAL(SS001VEL,U1,GRND,GRND)
   CO=1.e8
   VAL=0.0
COVAL(SS001VEL,V1,GRND,GRND)
               *** Total lift force ***
   ALIFT = SUM(ANORTH*(P1[,NY,]-P1))
  REGION(1,NX,1,1,1,NZ)
               *** Total drag force ***
   DRAG = SUM(AEAST*((P1+DEN1*U1**2)-                  (P1[$
NX,,]+DEN1*U1[NX-1,,]**2)))
  REGION(1,1,1,NY,1,NZ)

               *** Lift coefficient ***
   COLIFT = SUM(ALIFT/(2.*RG(5)*RG(6)*DEN1*10.**2))
  REGION(1,1,1,1,1,1)
               *** Drag coefficient ***
   CODRAG = SUM(DRAG/(2.*RG(5)*RG(6)*DEN1*10.**2))
  REGION(1,1,1,1,1,1)
  PLANTEND
 ************************************************************
  Group 11.Initialise Var/Porosity Fields
 FIINIT(VISL) =  1.001000E-10 ;FIINIT(DEN1) =  1.001000E-10
 FIINIT(MARK) =  0.000000E+00

 PATCH (INIMARK ,INIVAL,3,0,0,0,0,0,1,1)
 INIT(INIMARK ,MARK, 0.000000E+00, 1.000000E+00)

 PATCH (VP1     ,INIVAL,4,0,0,0,0,0,1,1)
 INIT(VP1     ,MARK, 0.000000E+00, 1.000000E+00)


 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

 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP  =    1500
 RESFAC  = 1.000000E-03
 ************************************************************
  Group 16. Terminate Iterations
 ************************************************************
  Group 17. Relaxation
 RELAX(P1  ,LINRLX, 1.000000E+00)
 RELAX(U1  ,FALSDT, 1.000000E-02)
 RELAX(V1  ,FALSDT, 1.000000E-02)
 ************************************************************
  Group 18. Limits
 VARMAX(U1  ) = 1.000000E+06 ;VARMIN(U1  ) =-1.000000E+06
 VARMAX(V1  ) = 1.000000E+06 ;VARMIN(V1  ) =-1.000000E+06
 ************************************************************
  Group 19. EARTH Calls To GROUND Station
 USEGRD  =    T  ;USEGRX =    T
 NAMSAT  =MOSG
 ASAP    =    T
 RG(  5) = 3.000000E+01
 RG(  6) = 1.000000E+01
 ************************************************************
  Group 20. Preliminary Printout
 ECHO    =    T
 ************************************************************
  Group 21. Print-out of Variables
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON   =      23 ;IYMON  =       1 ;IZMON  =       1
 NPRMON  =    1500
 NPRMNT  =       1
 TSTSWP  =      -1
 ************************************************************
  Group 23.Field Print-Out & Plot Control
 NPRINT  =  100000
 NXPRIN  =       1
 NYPRIN  =       1
 ISWPRF  =       1 ;ISWPRL =  100000
   No PATCHes used for this Group
 ************************************************************
  Group 24. Dumps For Restarts

 GVIEW(P,-4.617792E-01,0.000000E+00,8.869949E-01)
 GVIEW(UP,0.000000E+00,1.000000E+00,0.000000E+00)

> DOM,    SIZE,        1.200000E+02, 4.000000E+01, 1.000000E+00
> DOM,    MONIT,       6.750000E+01, 5.000000E-01, 5.000000E-01
> DOM,    SCALE,       1.000000E+00, 1.000000E+00, 1.000000E+00
> DOM,    SNAPSIZE,    1.000000E-02

> OBJ,    NAME,        INLW
> OBJ,    POSITION,    0.000000E+00, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        0.000000E+00, 4.000000E+01, 1.000000E+00
> OBJ,    CLIPART,     cube3t
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        INLET
> OBJ,    PRESSURE,      1.000000E+00
> OBJ,    VELOCITY,      1.000000E+01, 0.000000E+00, 0.000000E+00
> OBJ,    TEMPERATURE,   0.000000E+00

> OBJ,    NAME,        OUTLE
> OBJ,    POSITION,    1.200000E+02, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        0.000000E+00, 4.000000E+01, 1.000000E+00
> OBJ,    CLIPART,     cube12t
> OBJ,    ROTATION24,        1
> OBJ,    TYPE,        OUTLET
> OBJ,    PRESSURE,      0.000000E+00
> OBJ,    TEMPERATURE,  -1.026000E+04
> OBJ,    COEFFICIENT,   1.000000E+03

> OBJ,    NAME,        BLOCK1
> OBJ,    POSITION,    2.700000E+01, 6.000000E+00, 0.000000E+00
> OBJ,    SIZE,        3.000000E+01, 1.000000E+01, 1.000000E+00
> OBJ,    ARBORIEN,    4.500000E+01, 0.000000E+00, 0.000000E+00
> OBJ,    CLIPART,     cube14
> OBJ,    ROTATION24,        1
> OBJ,    GRID,              2
> OBJ,    TYPE,        USER_DEFINED

> OBJ,    NAME,        B4
> OBJ,    POSITION,    6.600000E+01, 6.000000E+00, 0.000000E+00
> OBJ,    SIZE,        3.000000E+01, 1.000000E+01, 1.000000E+00
> OBJ,    ARBORIEN,    4.500000E+01, 0.000000E+00, 0.000000E+00
> OBJ,    CLIPART,     cube14
> OBJ,    ROTATION24,        1
> OBJ,    GRID,              2
> OBJ,    TYPE,        USER_DEFINED
STOP