TALK=T;RUN(1,1)
  DISPLAY
  The boiling of water in an enclosed vessel is considered.
  Heat is added at a fixed rate to the liquid, and the liquid
  gradually boils away. The latent heat is taken as constant,
  which in view of the enormous increase in pressure with time
  is physically incorrect. This defect is made good in the
  following case: comparison of the two cases is interesting.
  Only one control cell is used, ie. no velocities are solved.
  This is done to focus attention on the formulation of
  interphase transport in EARTH, & especially the deduction of
  the rate of evaporation from the net heat transferred to the
  interface between the phases.
  ENDDIS
  DISPLAY
  This case is similar to case 410, except that a pressure-relief
  valve is provided, to enable vapour to escape.
  ENDDIS
 ************************************************************
  Group 1. Run Title and Number
 ************************************************************
 ************************************************************
 
 TEXT(0D BOILING IN VESSEL+PRESS RELIEF:  W412)
 
 ************************************************************
 ************************************************************
 
 IRUNN = 1 ;LIBREF = 410
 ************************************************************
  Group 2. Time dependence
 STEADY = F
    * Set overall time and no. of steps
 TFIRST =0. ;TLAST =15.
 FSTEP = 1 ;LSTEP = 80
 TFRAC(1)=1.397543E-03 ;TFRAC(17)=0.097958
 TFRAC(33)=0.264933 ;TFRAC(49)=0.479357
 TFRAC(65)=0.732378
 ************************************************************
  Group 3. X-Direction Grid Spacing
 CARTES = T
 NX = 1
 XULAST =1.
 XFRAC(1)=1.
 ************************************************************
  Group 4. Y-Direction Grid Spacing
 NY = 1
 YVLAST =1.
 YFRAC(1)=1.
 ************************************************************
  Group 5. Z-Direction Grid Spacing
 PARAB = F
 NZ = 1
 ZWLAST =1.
 ZFRAC(1)=1.
 ************************************************************
  Group 6. Body-Fitted Coordinates
 ************************************************************
  Group 7. Variables: STOREd,SOLVEd,NAMEd
 ONEPHS = F
 EQUVEL = F
 NAME(1)=P1 ;NAME(9)=GAS
 NAME(10)=LIQ ;NAME(14)=H1
 NAME(15)=H2 ;NAME(149)=MDOT
 NAME(150)=RHO1
    * 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,N,N,N,Y)
 SOLUTN(GAS,Y,Y,N,N,N,Y)
 SOLUTN(LIQ,Y,Y,N,N,N,Y)
 SOLUTN(H1,Y,Y,N,N,N,Y)
 SOLUTN(H2,Y,Y,N,N,N,Y)
 SOLUTN(MDOT,Y,N,N,N,N,Y)
 SOLUTN(RHO1,Y,N,N,N,N,Y)
 DEN1 = 150
 INTMDT = 149
 ************************************************************
  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(GAS,Y,Y,Y,Y,Y,Y)
 TERMS(LIQ,Y,Y,Y,Y,N,Y)
 TERMS(H1,Y,Y,Y,Y,Y,Y)
 TERMS(H2,Y,Y,Y,Y,N,Y)
 DIFCUT =0.5 ;ZDIFAC =1.
 GALA = F ;ADDDIF = F
 NEWRH1 = T
 EQDVDP = F
 HUNIT =1.0E-05
 ISOLX = -1 ;ISOLY = -1 ;ISOLZ = -1
 ************************************************************
  Group 9. Properties used if PRPS is not
  stored, and where PRPS = -1.0 if it is!
 RHO1 = GRND3 ;TMP1 =0. ;EL1 =0.
 TSURR =0. ;TEMP0 =0. ;PRESS0 =1.0E+05
 DVO1DT =0. ;DRH1DP = GRND3
 RHO1A =9.22E-06 ;RHO1B =0.959 ;RHO1C =0.
 EMISS =0. ;SCATT =0.
 RADIA =0. ;RADIB =0.
 RHO2 =1000. ;TMP2 =0. ;EL2 =0.
 DVO2DT =0. ;DRH2DP =0.
 ENUL =1.0E-05 ;ENUT =0.
 PHINT(GAS)=-2.022E+04 ;PHINT(LIQ)=-2.022E+04
 PHINT(H1)=26. ;PHINT(H2)=5.
 PRNDTL(GAS)=1. ;PRNDTL(LIQ)=1.
 PRNDTL(H1)=1. ;PRNDTL(H2)=1.
 PRT(GAS)=1. ;PRT(LIQ)=1.
 PRT(H1)=1. ;PRT(H2)=1.
 CP1 =1. ;CP2 =1.
 ************************************************************
  Group 10.Inter-Phase Transfer Processes
 CFIPS =1.
 RLOLIM =0. ;CMDOT = HEATBL
 CINT(P1)=1. ;CINT(GAS)=1.
 CINT(LIQ)=1. ;CINT(H1)=100.
 CINT(H2)=100.
 PHINT(P1)=-2.022E+04 ;PHINT(GAS)=-2.022E+04
 PHINT(LIQ)=-2.022E+04 ;PHINT(H1)=26.
 PHINT(H2)=5.
 ************************************************************
  Group 11.Initial field variables (PHIs)
 FIINIT(P1)=0. ;FIINIT(GAS)=0.5
 FIINIT(LIQ)=0.5 ;FIINIT(H1)=26.
 FIINIT(H2)=5. ;FIINIT(MDOT)=1.0E-10
 FIINIT(RHO1)=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(HEAT ,CELL , 1, 1, 1, 1, 1, 1, 1, 80)
 COVAL(HEAT ,H2 , FIXFLU ,500. )
 
 PATCH(RELIEP ,CELL , 1, 1, 1, 1, 1, 1, 1, 80)
 COVAL(RELIEP ,GAS ,1. ,0. )
 XCYCLE = F
 EGWF = T
 WALLCO = GRND2
 ************************************************************
  Group 14. Downstream Pressure For PARAB
 ************************************************************
  Group 15. Terminate Sweeps
 LSWEEP = 10 ;ISWC1 = 1
 LITHYD = 1 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1
 ISWR1 = 1 ;ISWR2 = 10000
 SELREF = T
 RESFAC =1.0E-05
 ************************************************************
  Group 16. Terminate Iterations
 LITER(P1)=20 ;LITER(GAS)=1
 LITER(LIQ)=1 ;LITER(H1)=20
 LITER(H2)=20
 ENDIT(P1)=1.0E-03 ;ENDIT(GAS)=1.0E-03
 ENDIT(LIQ)=1.0E-03 ;ENDIT(H1)=1.0E-03
 ENDIT(H2)=1.0E-03
 ************************************************************
  Group 17. Relaxation
 RELAX(P1,LINRLX,1.)
 RELAX(GAS,LINRLX,0.4)
 RELAX(LIQ,LINRLX,0.4)
 RELAX(H1,FALSDT,1.)
 RELAX(H2,FALSDT,1.)
 RELAX(MDOT,LINRLX,1.)
 RELAX(RHO1,LINRLX,1.)
 OVRRLX =0.
 EXPERT = F ;NNORSL = F
 ************************************************************
  Group 18. Limits
 VARMAX(P1)=1.0E+10 ;VARMIN(P1)=0.
 VARMAX(GAS)=1. ;VARMIN(GAS)=1.0E-06
 VARMAX(LIQ)=1. ;VARMIN(LIQ)=1.0E-06
 VARMAX(H1)=1.0E+10 ;VARMIN(H1)=-1.0E+10
 VARMAX(H2)=1.0E+10 ;VARMIN(H2)=-1.0E+10
 VARMAX(MDOT)=1.0E+10 ;VARMIN(MDOT)=-1.0E+10
 VARMAX(RHO1)=1.0E+10 ;VARMIN(RHO1)=0.1
 ************************************************************
  Group 19. Data transmitted to GROUND
 PARSOL = F
 ISG62 = 1
 SPEDAT(SET,GXMONI,TRANSIENT,L,F)
 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(GAS,Y,N,Y,Y,Y,Y)
 OUTPUT(LIQ,Y,N,Y,Y,Y,Y)
 OUTPUT(H1,Y,N,Y,Y,Y,Y)
 OUTPUT(H2,Y,N,Y,Y,Y,Y)
 OUTPUT(MDOT,Y,N,Y,N,N,N)
 OUTPUT(RHO1,Y,N,Y,N,N,N)
 ************************************************************
  Group 22. Monitor Print-Out
 IXMON = 1 ;IYMON = 1 ;IZMON = 1
 NPRMON = 100000 ;NPRMNT = 5 ;TSTSWP = -1
 UWATCH = T ;USTEER = T
 HIGHLO = F
 ************************************************************
  Group 23.Field Print-Out & Plot Control
 NPRINT = 100000 ;NUMCLS = 5
 NTPRIN = 16 ;ISTPRF = 1 ;ISTPRL = 100000
 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
 
 PATCH(PLOT ,PROFIL, 1, 1, 1, 1, 1, 1, 1, 80)
 PLOT(PLOT ,P1 ,0. ,0. )
 PLOT(PLOT ,GAS ,0. ,1. )
 PLOT(PLOT ,LIQ ,0. ,1. )
 PLOT(PLOT ,MDOT,0. ,0. )
 ************************************************************
  Group 24. Dumps For Restarts
 SAVE = T ;NOWIPE = F
 NSAVE =CHAM
STOP