```
TALK=T;RUN(1,1)
DISPLAY
This 1D transient case is based on the numerical benchmark test
documented by Hewitt et al ( see Test 2.4, Sedimentation, in
Multiphase Science and Technology, Vol.3, Ed. G.F.Hewitt et al,
Hemisphere Pub. Corp., p474, [1987] ). Denser fluid initially
rests above lighter fluid in a vertical tank, and then it falls
down under gravity whilst the lighter fluid rises to the top.
Eventually, after about 10s, all of the dense phase will rest on
the bottom with the lighter phase at the top. The densities of the
two fluids are chosen so as to be nearly equal (rhod=1 and rhol=
0.999), and gravity is defined by g=0.5*(rhod+rhol)/(rhod-rhol),
thus allowing comparison with the analytical and numerical
solutions reported by Hewitt et al [1987]. The task is to predict
the dense-phase volume-fraction profiles at t=2, 4, 6 and 8s. The
PHOENICS predictions give reasonable agreement with analytical
solution, despite the extremely coarse grid and time-step sizes.
ENDDIS
************************************************************
Group 1. Run Title and Number
************************************************************
************************************************************

TEXT(1DX TRANSIENT SEDIMENTATION;            )

************************************************************
************************************************************

IRUNN = 1 ;LIBREF = 14
************************************************************
Group 2. Time dependence
* Set overall time and no. of steps
TFIRST =0. ;TLAST =1.
FSTEP = 1 ;LSTEP = 10
TFRAC(1)=0.1 ;TFRAC(3)=0.3
TFRAC(5)=0.5 ;TFRAC(7)=0.7
TFRAC(9)=0.9
************************************************************
Group 3. X-Direction Grid Spacing
CARTES = T
NX = 20
XULAST =2.
XFRAC(1)=0.05 ;XFRAC(3)=0.15
XFRAC(5)=0.25 ;XFRAC(7)=0.35
XFRAC(9)=0.45 ;XFRAC(11)=0.55
XFRAC(13)=0.65 ;XFRAC(15)=0.75
XFRAC(17)=0.85 ;XFRAC(19)=0.95
************************************************************
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(3)=U1
NAME(4)=U2 ;NAME(9)=R1
NAME(10)=R2 ;NAME(149)=TMP1
NAME(150)=VMSU
* 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(U1,Y,Y,N,N,N,Y)
SOLUTN(U2,Y,Y,N,N,N,Y)
SOLUTN(R1,Y,Y,N,N,N,Y)
SOLUTN(R2,Y,Y,N,N,N,Y)
SOLUTN(TMP1,Y,N,N,N,N,Y)
SOLUTN(VMSU,Y,N,N,N,N,Y)
TEMP1 = 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(U1,Y,Y,Y,Y,Y,Y)
TERMS(U2,Y,Y,Y,Y,N,Y)
TERMS(R1,Y,Y,Y,Y,Y,Y)
TERMS(R2,Y,Y,Y,Y,N,Y)
DIFCUT =0.5 ;ZDIFAC =1.
GALA = F ;ADDDIF = F
NEWRH1 = T
EQDVDP = F
ISOLX = -1 ;ISOLY = -1 ;ISOLZ = -1
************************************************************
Group 9. Properties used if PRPS is not
stored, and where PRPS = -1.0 if it is!
RHO1 = GRND4 ;TMP1 =0.
EL1 =0.
TSURR =0. ;TEMP0 =0.
PRESS0 =0.
DVO1DT =0. ;DRH1DP =0.
RHO1A =1. ;RHO1B =0.
RHO1C =0.
EMISS =0. ;SCATT =0.
RHO2 =0.999 ;TMP2 =0.
EL2 =0.
DVO2DT =0. ;DRH2DP =0.
ENUL =1.0E-03 ;ENUT =0.
PHINT(U1)=-2.022E+04 ;PHINT(U2)=-2.022E+04
PHINT(R1)=-2.022E+04 ;PHINT(R2)=-2.022E+04
PRNDTL(U1)=1. ;PRNDTL(U2)=1.
PRNDTL(R1)=1. ;PRNDTL(R2)=1.
PRT(U1)=1. ;PRT(U2)=1.
PRT(R1)=1. ;PRT(R2)=1.
CP1 =1. ;CP2 =1.
************************************************************
Group 10.Inter-Phase Transfer Processes
CFIPS =2.
RLOLIM =0. ;CMDOT =0.
CINT(P1)=1. ;CINT(U1)=1.
CINT(U2)=1. ;CINT(R1)=1.
CINT(R2)=1.
PHINT(P1)=-2.022E+04 ;PHINT(U1)=-2.022E+04
PHINT(U2)=-2.022E+04 ;PHINT(R1)=-2.022E+04
PHINT(R2)=-2.022E+04
************************************************************
Group 11.Initial field variables (PHIs)
FIINIT(P1)=1.0E-10 ;FIINIT(U1)=1.0E-10
FIINIT(U2)=1.0E-10 ;FIINIT(R1)=0.5
FIINIT(R2)=0.5 ;FIINIT(TMP1)=1.0E-10
FIINIT(VMSU)=1.0E-10

PATCH(BOTIN ,INIVAL, 1, 10, 1, 1, 1, 1, 1, 1)
INIT(BOTIN ,R1 ,0. ,1.0E-05 )
INIT(BOTIN ,R2 ,0. ,0.99999 )

PATCH(TOPIN ,INIVAL, 11, 20, 1, 1, 1, 1, 1, 1)
INIT(TOPIN ,R1 ,0. ,0.99999 )
INIT(TOPIN ,R2 ,0. ,1.0E-05 )

PATCH(IN1 ,INIVAL, 1, 1, 1, 1, 1, 1, 1, 1)
INIT(IN1 ,P1 ,0. ,9.970014 )

PATCH(IN2 ,INIVAL, 2, 2, 1, 1, 1, 1, 1, 1)
INIT(IN2 ,P1 ,0. ,9.895051 )

PATCH(IN3 ,INIVAL, 3, 3, 1, 1, 1, 1, 1, 1)
INIT(IN3 ,P1 ,0. ,9.770113 )

PATCH(IN4 ,INIVAL, 4, 4, 1, 1, 1, 1, 1, 1)
INIT(IN4 ,P1 ,0. ,9.595201 )

PATCH(IN5 ,INIVAL, 5, 5, 1, 1, 1, 1, 1, 1)
INIT(IN5 ,P1 ,0. ,9.370314 )

PATCH(IN6 ,INIVAL, 6, 6, 1, 1, 1, 1, 1, 1)
INIT(IN6 ,P1 ,0. ,9.09545 )

PATCH(IN7 ,INIVAL, 7, 7, 1, 1, 1, 1, 1, 1)
INIT(IN7 ,P1 ,0. ,8.770613 )

PATCH(IN8 ,INIVAL, 8, 8, 1, 1, 1, 1, 1, 1)
INIT(IN8 ,P1 ,0. ,8.395801 )

PATCH(IN9 ,INIVAL, 9, 9, 1, 1, 1, 1, 1, 1)
INIT(IN9 ,P1 ,0. ,7.971013 )

PATCH(IN10 ,INIVAL, 10, 10, 1, 1, 1, 1, 1, 1)
INIT(IN10 ,P1 ,0. ,7.496251 )

PATCH(IN11 ,INIVAL, 11, 11, 1, 1, 1, 1, 1, 1)
INIT(IN11 ,P1 ,0. ,6.971513 )

PATCH(IN12 ,INIVAL, 12, 12, 1, 1, 1, 1, 1, 1)
INIT(IN12 ,P1 ,0. ,6.396801 )

PATCH(IN13 ,INIVAL, 13, 13, 1, 1, 1, 1, 1, 1)
INIT(IN13 ,P1 ,0. ,5.772113 )

PATCH(IN14 ,INIVAL, 14, 14, 1, 1, 1, 1, 1, 1)
INIT(IN14 ,P1 ,0. ,5.097451 )

PATCH(IN15 ,INIVAL, 15, 15, 1, 1, 1, 1, 1, 1)
INIT(IN15 ,P1 ,0. ,4.372813 )

PATCH(IN16 ,INIVAL, 16, 16, 1, 1, 1, 1, 1, 1)
INIT(IN16 ,P1 ,0. ,3.598201 )

PATCH(IN17 ,INIVAL, 17, 17, 1, 1, 1, 1, 1, 1)
INIT(IN17 ,P1 ,0. ,2.773613 )

PATCH(IN18 ,INIVAL, 18, 18, 1, 1, 1, 1, 1, 1)
INIT(IN18 ,P1 ,0. ,1.899051 )

PATCH(IN19 ,INIVAL, 19, 19, 1, 1, 1, 1, 1, 1)
INIT(IN19 ,P1 ,0. ,0.974513 )

PATCH(IN20 ,INIVAL, 20, 20, 1, 1, 1, 1, 1, 1)
INIT(IN20 ,P1 ,0. ,0. )
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(GRAVITY ,PHASEM, 1, 20, 1, 1, 1, 1, 1, 10)
COVAL(GRAVITY ,U1 , FIXFLU ,-0.9995 )

PATCH(TOP ,CELL , 20, 20, 1, 1, 1, 1, 1, 10)
COVAL(TOP ,R1 ,1000. ,0. )
COVAL(TOP ,R2 ,999. ,0. )
XCYCLE = F
EGWF = T
WALLCO = GRND2
************************************************************
Group 14. Downstream Pressure For PARAB
************************************************************
Group 15. Terminate Sweeps
LSWEEP = 100 ;ISWC1 = 1
LITHYD = 1 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1
ISWR1 = 1 ;ISWR2 = 10000
SELREF = T
RESFAC =1.0E-02
************************************************************
Group 16. Terminate Iterations
LITER(P1)=20 ;LITER(U1)=10
LITER(U2)=10 ;LITER(R1)=1
LITER(R2)=1
ENDIT(P1)=1.0E-03 ;ENDIT(U1)=1.0E-03
ENDIT(U2)=1.0E-03 ;ENDIT(R1)=1.0E-03
ENDIT(R2)=1.0E-03
************************************************************
Group 17. Relaxation
RELAX(P1,LINRLX,1.)
RELAX(U1,FALSDT,0.1)
RELAX(U2,FALSDT,0.1)
RELAX(R1,LINRLX,0.3)
RELAX(R2,LINRLX,0.3)
RELAX(TMP1,LINRLX,1.)
RELAX(VMSU,LINRLX,1.)
OVRRLX =0.
EXPERT = F ;NNORSL = F
************************************************************
Group 18. Limits
VARMAX(P1)=1.0E+10 ;VARMIN(P1)=-1.0E+10
VARMAX(U1)=1.0E+06 ;VARMIN(U1)=-1.0E+06
VARMAX(U2)=1.0E+06 ;VARMIN(U2)=-1.0E+06
VARMAX(R1)=1. ;VARMIN(R1)=1.0E-10
VARMAX(R2)=1. ;VARMIN(R2)=1.0E-10
VARMAX(TMP1)=1.0E+10 ;VARMIN(TMP1)=-1.0E+10
VARMAX(VMSU)=1.0E+10 ;VARMIN(VMSU)=-1.0E+10
************************************************************
Group 19. Data transmitted to GROUND
PARSOL = F
ISG62 = 1
CVM = GRND1
CVMA =1.
SPEDAT(SET,GXMONI,TRANSIENT,L,F)
************************************************************
Group 20. Preliminary Printout
************************************************************
Group 21. Print-out of Variables
INIFLD = T ;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(U1,Y,N,Y,Y,Y,Y)
OUTPUT(U2,Y,N,Y,Y,Y,Y)
OUTPUT(R1,Y,N,Y,Y,Y,Y)
OUTPUT(R2,Y,N,Y,Y,Y,Y)
OUTPUT(TMP1,Y,N,Y,N,N,N)
OUTPUT(VMSU,Y,N,Y,Y,Y,Y)
************************************************************
Group 22. Monitor Print-Out
IXMON = 2 ;IYMON = 1 ;IZMON = 1
NPRMON = 100000 ;NPRMNT = 1 ;TSTSWP = -1
UWATCH = T ;USTEER = T
HIGHLO = F
************************************************************
Group 23.Field Print-Out & Plot Control
NPRINT = 100000 ;NUMCLS = 5
NTPRIN = 2 ;ISTPRF = 1 ;ISTPRL = 100000
NXPRIN = 2 ;IXPRF = 1 ;IXPRL = 10000
IPLTF = 2 ;IPLTL = 100 ;NPLT = 10
ISWPRF = 1 ;ISWPRL = 100000
ITABL = 3 ;IPROF = 1
ABSIZ =0.5 ;ORSIZ =0.4
NTZPRF = 1 ;NCOLPF = 50
ICHR = 2 ;NCOLCO = 45 ;NROWCO = 20
No PATCHes yet used for this Group
************************************************************
Group 24. Dumps For Restarts
SAVE = T ;NOWIPE = F
NSAVE =CHAM
IDISPA = 2 ;IDISPB = 0 ;IDISPC = 0
CSG1    ='T'
STOP
```