TALK=T;RUN( 1, 1)
 
 ************************************************************
   Q1 created by VDI menu, Version 2022, Date 05/12/22
 CPVNAM=VDI; SPPNAM=HOTBOX
 ************************************************************
  Echo DISPLAY / USE settings
  DISPLAY
 
  Library case H406 is explained in the PHOENICS Application Album.
 
  The file name is:
  
  A MODEL OF A LAPTOP DESIGN
  ENDDIS
  PHOTON USE
  p
 
 
 
 
  msg
  msg Temperature contours
  msg
  con tem1 x 1 fil;.01
  use patgeo
  msg Press  to continue
  pause
  msg Velocity field
  vec x 1
  msg
  MSG Type E to end
  ENDUSE
 ************************************************************
 IRUNN = 1 ;LIBREF = 406
 ************************************************************
  Group 1. Run Title
 TEXT(A simple model of laptop design: H406   )
 ************************************************************
  Group 2. Transience
 STEADY = T
 ************************************************************
  Groups 3, 4, 5  Grid Information
    * Overall number of cells, RSET(M,NX,NY,NZ,tolerance)
 RSET(M,1,19,40)
 ************************************************************
  Group 6. Body-Fitted coordinates
 ************************************************************
  Group 7. Variables: STOREd,SOLVEd,NAMEd
    * Non-default variable names
 NAME(138)=SCAT ;NAME(139)=EMIS
 NAME(140)=QRZ ;NAME(141)=QRY
 NAME(142)=QRX ;NAME(143)=WGAP
 NAME(144)=T3 ;NAME(145)=TEM1
 NAME(146)=DEN1 ;NAME(147)=EL1
 NAME(148)=ENUT ;NAME(150)=WDIS
    * Solved variables list
 SOLVE(P1,V1,W1,T3,TEM1)
    * Stored variables list
 STORE(WDIS,ENUT,EL1,DEN1,WGAP,QRX,QRY,QRZ)
 STORE(EMIS,SCAT)
    * Additional solver options
 SOLUTN(P1,Y,Y,Y,N,N,Y)
 SOLUTN(TEM1,Y,Y,Y,N,N,Y)
 TURMOD(LVEL)
 
 ************************************************************
  Group 8. Terms & Devices
 TERMS (T3  ,N,N,Y,N,Y,N)
 TERMS (TEM1,N,Y,Y,N,Y,N)
 NEWRH1 = T
 NEWENL = T
 ************************************************************
  Group 9. Properties
 PRESS0 =1.0E+05 ;TEMP0 =273.
    * Domain material index is   2 signifying:
    * Air using Ideal Gas Law, STP
 SETPRPS(1, 2)
 DRH1DP = GRND5
 DVO1DT =3.33E-03
 PRNDTL(T3)=-0.0263 ;PRNDTL(TEM1)=-0.0263
 EMISS =0.2 ;SCATT =0.
 ************************************************************
  Group 10.Inter-Phase Transfer Processes
 ************************************************************
  Group 11.Initialise Var/Porosity Fields
 FIINIT(SCAT)=0. ;FIINIT(EMIS)=0.2
 FIINIT(TEM1)=20. ;FIINIT(WDIS)=4.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
 
 PATCH(BUOYANCY, PHASEM, 0, 0, 0, 0, 0, 0, 1, 1)
 COVAL(BUOYANCY, V1, FIXFLU, GRND2)
 COVAL(BUOYANCY, W1, FIXFLU, GRND2)
 
 BUOYA =0. ; BUOYB =-9.81 ; BUOYC =0.
 BUOYD =1.2763
 BUOYE =20.
 EGWF = T
 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP = 350
 RESFAC =1.0E-05
 ************************************************************
  Group 16. Terminate Iterations
 ************************************************************
  Group 17. Relaxation
 RELAX(P1 ,LINRLX,1. )
 RELAX(V1 ,FALSDT,0.05 )
 RELAX(W1 ,FALSDT,0.05 )
 RELAX(T3 ,LINRLX,0.25 )
 RELAX(TEM1,LINRLX,0.25 )
 ************************************************************
  Group 18. Limits
 VARMAX(T3)=20. ;VARMIN(T3)=-1.1E+20
 VARMAX(TEM1)=20. ;VARMIN(TEM1)=-1.1E+20
 ************************************************************
  Group 19. EARTH Calls To GROUND Station
 NAMGRD =HTBX
 PARSOL = F
 ISG62 = 1
 SPEDAT(SET,EMISSIVITY,111,R,0.1)
 SPEDAT(SET,EMISSIVITY,112,R,0.1)
 SPEDAT(SET,GXMONI,PLOTALL,L,T)
 ************************************************************
  Group 20. Preliminary Printout
 ************************************************************
  Group 21. Print-out of Variables
 OUTPUT(W1  ,Y,Y,Y,N,Y,Y)
 OUTPUT(WDIS,Y,N,N,N,N,N)
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON = 1 ;IYMON = 9 ;IZMON = 25
 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.95147,0.089879,0.294324)
 GVIEW(UP,0.085865,0.995953,-0.026561)
 GVIEW(VDIS,0.79309)
 GVIEW(CENTRE,0.5,0.02,0.08)
 
> DOM,    SIZE,        1.000000E+00, 4.000000E-02, 1.600000E-01
> DOM,    MONIT,       5.000000E-01, 1.900000E-02, 9.800000E-02
> DOM,    SCALE,       1.000000E-01, 1.000000E+01, 1.000000E+01
> DOM,    SNAPSIZE,    1.000000E-01
  > GRID,   RSET_X_1,      1, 1.000000E+00
> GRID,   RSET_Y_1,      1, 1.000000E+00
> GRID,   RSET_Y_2,      3, 1.000000E+00
> GRID,   RSET_Y_3,      2, 1.000000E+00
> GRID,   RSET_Y_4,      1, 1.000000E+00
> GRID,   RSET_Y_5,      2, 1.000000E+00
> GRID,   RSET_Y_6,      1, 1.000000E+00
> GRID,   RSET_Y_7,      1, 1.000000E+00
> GRID,   RSET_Y_8,      1, 1.000000E+00
> GRID,   RSET_Y_9,      1, 1.000000E+00
> GRID,   RSET_Y_10,      4, 1.000000E+00
> GRID,   RSET_Y_11,      2, 1.000000E+00
  > GRID,   RSET_Z_1,      6, 1.000000E+00
  > GRID,   RSET_Z_2,      1, 1.000000E+00
  > GRID,   RSET_Z_3,      2, 1.000000E+00
  > GRID,   RSET_Z_4,      1, 1.000000E+00
  > GRID,   RSET_Z_5,      1, 1.000000E+00
  > GRID,   RSET_Z_6,      1, 1.000000E+00
  > GRID,   RSET_Z_7,      2, 1.000000E+00
  > GRID,   RSET_Z_8,      2, 1.000000E+00
  > GRID,   RSET_Z_9,      4, 1.000000E+00
  > GRID,   RSET_Z_10,      2, 1.000000E+00
  > GRID,   RSET_Z_11,      2, 1.000000E+00
  > GRID,   RSET_Z_12,      3, 1.000000E+00
  > GRID,   RSET_Z_13,      1, 1.000000E+00
  > GRID,   RSET_Z_14,      1, 1.000000E+00
  > GRID,   RSET_Z_15,      1, 1.000000E+00
  > GRID,   RSET_Z_16,      2, 1.000000E+00
  > GRID,   RSET_Z_17,      2, 1.000000E+00
  > GRID,   RSET_Z_18,      2, 1.000000E+00
  > GRID,   RSET_Z_19,      2, 1.000000E+00
  > GRID,   RSET_Z_20,      1, 1.000000E+00
  > GRID,   RSET_Z_21,      1, 1.000000E+00
 
> OBJ,    NAME,        BATTERY
> OBJ,    POSITION,    0.000000E+00, 0.000000E+00, 0.000000E+00
> OBJ,    SIZE,        1.000000E+00, 1.400000E-02, 2.400000E-02
> OBJ,    GEOMETRY,    cube4
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    MATERIAL,    112,TIN at 27 deg C
> OBJ,    HEAT_FLUX,   0. ,20.
> OBJ,    EMISSIVITY,  0.8
 
> OBJ,    NAME,        SPREADER
> OBJ,    POSITION,    0.000000E+00, 0.000000E+00, 4.000000E-02
> OBJ,    SIZE,        1.000000E+00, 2.000000E-03, 1.200000E-01
> OBJ,    GEOMETRY,    cube14
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    MATERIAL,    100,ALUMINIUM at 27 deg c
> OBJ,    EMISSIVITY,  0.8
 
> OBJ,    NAME,        PCB
> OBJ,    POSITION,    0.000000E+00, 1.000000E-02, 4.800000E-02
> OBJ,    SIZE,        1.000000E+00, 4.000000E-03, 1.120000E-01
> OBJ,    GEOMETRY,    pcb
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    MATERIAL,    125,Plasterboard
> OBJ,    EMISSIVITY,  0.8
 
> OBJ,    NAME,        CONNECT1
> OBJ,    POSITION,    0.000000E+00, 1.400000E-02, 5.600000E-02
> OBJ,    SIZE,        1.000000E+00, 2.000000E-03, 8.000000E-03
> OBJ,    GEOMETRY,    cubet
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    MATERIAL,    0,  Air at 20 deg C, 1 atm, treated as incompressible
> OBJ,    ABSORPTION,  0.2
> OBJ,    SCATTERING,  0.
 
> OBJ,    NAME,        PQFP1
> OBJ,    POSITION,    0.000000E+00, 1.400000E-02, 8.800000E-02
> OBJ,    SIZE,        1.000000E+00, 2.000000E-03, 8.000000E-03
> OBJ,    GEOMETRY,    cube4
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    MATERIAL,    125,Plasterboard
> OBJ,    HEAT_FLUX,   0. ,10.
> OBJ,    EMISSIVITY,  0.8
 
> OBJ,    NAME,        PQFP2
> OBJ,    POSITION,    0.000000E+00, 1.400000E-02, 1.080000E-01
> OBJ,    SIZE,        1.000000E+00, 2.000000E-03, 1.200000E-02
> OBJ,    GEOMETRY,    cube4
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    MATERIAL,    125,Plasterboard
> OBJ,    HEAT_FLUX,   0. ,10.
> OBJ,    EMISSIVITY,  0.8
 
> OBJ,    NAME,        CONNECT2
> OBJ,    POSITION,    0.000000E+00, 1.400000E-02, 1.440000E-01
> OBJ,    SIZE,        1.000000E+00, 8.000000E-03, 8.000000E-03
> OBJ,    GEOMETRY,    cubet
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    MATERIAL,    0,  Air at 20 deg C, 1 atm, treated as incompressible
> OBJ,    ABSORPTION,  0.2
> OBJ,    SCATTERING,  0.
 
> OBJ,    NAME,        PQFP3
> OBJ,    POSITION,    0.000000E+00, 2.000000E-02, 1.280000E-01
> OBJ,    SIZE,        1.000000E+00, 2.000000E-03, 8.000000E-03
> OBJ,    GEOMETRY,    cube4
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    MATERIAL,    125,Plasterboard
> OBJ,    HEAT_FLUX,   0. ,10.
> OBJ,    EMISSIVITY,  0.8
 
> OBJ,    NAME,        HEATSINK
> OBJ,    POSITION,    0.000000E+00, 1.600000E-02, 1.080000E-01
> OBJ,    SIZE,        1.000000E+00, 4.000000E-03, 1.200000E-02
> OBJ,    GEOMETRY,    cubet
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    MATERIAL,    0,  Air at 20 deg C, 1 atm, treated as incompressible
> OBJ,    ABSORPTION,  0.2
> OBJ,    SCATTERING,  0.
 
> OBJ,    NAME,        DBOARD1
> OBJ,    POSITION,    0.000000E+00, 1.600000E-02, 2.800000E-02
> OBJ,    SIZE,        1.000000E+00, 4.000000E-03, 5.200000E-02
> OBJ,    GEOMETRY,    pcb
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    MATERIAL,    125,Plasterboard
> OBJ,    EMISSIVITY,  0.8
 
> OBJ,    NAME,        DBOARD2
> OBJ,    POSITION,    0.000000E+00, 2.200000E-02, 1.160000E-01
> OBJ,    SIZE,        1.000000E+00, 2.000000E-03, 4.000000E-02
> OBJ,    GEOMETRY,    pcb
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    MATERIAL,    125,Plasterboard
> OBJ,    EMISSIVITY,  0.8
 
> OBJ,    NAME,        PQFP4
> OBJ,    POSITION,    0.000000E+00, 2.000000E-02, 3.600000E-02
> OBJ,    SIZE,        1.000000E+00, 2.000000E-03, 1.200000E-02
> OBJ,    GEOMETRY,    cube4
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    MATERIAL,    125,Plasterboard
> OBJ,    HEAT_FLUX,   0. ,10.
> OBJ,    EMISSIVITY,  1.
 
> OBJ,    NAME,        PLATE
> OBJ,    POSITION,    0.000000E+00, 2.600000E-02, 0.000000E+00
> OBJ,    SIZE,        1.000000E+00, 2.000000E-03, 1.120000E-01
> OBJ,    GEOMETRY,    cube14
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    MATERIAL,    125,Plasterboard
> OBJ,    EMISSIVITY,  0.8
 
> OBJ,    NAME,        KEYBOARD
> OBJ,    POSITION,    0.000000E+00, 3.600000E-02, 4.400000E-02
> OBJ,    SIZE,        1.000000E+00, 4.000000E-03, 1.160000E-01
> OBJ,    GEOMETRY,    cube14
> OBJ,    TYPE,        BLOCKAGE
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    MATERIAL,    125,Plasterboard
> OBJ,    EMISSIVITY,  0.8
 
> OBJ,    NAME,        FAN
> OBJ,    POSITION,    0.000000E+00, 2.000000E-03, 1.600000E-01
> OBJ,    SIZE,        1.000000E+00, 8.000000E-03, 0.000000E+00
> OBJ,    GEOMETRY,    cube2
> OBJ,    ROTATION24,  22
> OBJ,    TYPE,        FAN
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    VELOCITY,    0. ,0. ,-1.
> OBJ,    TEMPERATURE, 20.
> OBJ,    PRESSURE,    0.
 
> OBJ,    NAME,        OUTLET
> OBJ,    POSITION,    0.000000E+00, 2.800000E-02, 0.000000E+00
> OBJ,    SIZE,        1.000000E+00, 1.200000E-02, 0.000000E+00
> OBJ,    GEOMETRY,    cube12t
> OBJ,    TYPE,        APERTURE
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    PRESSURE,    0.
> OBJ,    TEMPERATURE, 20.
> OBJ,    COEFFICIENT, 1.
 
> OBJ,    NAME,        B17
> OBJ,    POSITION,    0.000000E+00, 4.000000E-02, 0.000000E+00
> OBJ,    SIZE,        1.000000E+00, 0.000000E+00, 4.400000E-02
> OBJ,    GEOMETRY,    cube11
> OBJ,    TYPE,        PLATE
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    EMISSIVITY,  0.8
 
> OBJ,    NAME,        B18
> OBJ,    POSITION,    0.000000E+00, 0.000000E+00, 2.400000E-02
> OBJ,    SIZE,        1.000000E+00, 0.000000E+00, 1.600000E-02
> OBJ,    GEOMETRY,    cube11
> OBJ,    TYPE,        PLATE
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    EMISSIVITY,  0.8
 
> OBJ,    NAME,        B19
> OBJ,    POSITION,    0.000000E+00, 1.400000E-02, 0.000000E+00
> OBJ,    SIZE,        1.000000E+00, 1.200000E-02, 0.000000E+00
> OBJ,    GEOMETRY,    cube11
> OBJ,    TYPE,        PLATE
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    EMISSIVITY,  0.8
 
> OBJ,    NAME,        B20
> OBJ,    POSITION,    0.000000E+00, 1.400000E-02, 1.600000E-01
> OBJ,    SIZE,        1.000000E+00, 2.200000E-02, 0.000000E+00
> OBJ,    GEOMETRY,    cube11
> OBJ,    TYPE,        PLATE
> OBJ,    COLOR-MODE,  FROM_FIL
> OBJ,    EMISSIVITY,  0.8
STOP