```
TALK=T;RUN(1,1)
************************************************************
Group 1. Run Title and Number
************************************************************
************************************************************

TEXT(ESTER demo, Transient one-phase - Case 3)

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

IRUNN = 1 ;LIBREF = 499
************************************************************
Group 2. Time dependence
STEADY = F
* Set overall time and no. of steps
TFIRST =0. ;TLAST =400.
FSTEP = 1 ;LSTEP = 100
TFRAC(1)=1.0E-02 ;TFRAC(11)=0.11
TFRAC(21)=0.21 ;TFRAC(31)=0.31
TFRAC(41)=0.41 ;TFRAC(51)=0.51
TFRAC(61)=0.61 ;TFRAC(71)=0.71
TFRAC(81)=0.81 ;TFRAC(91)=0.91
************************************************************
Group 3. X-Direction Grid Spacing
CARTES = T
NX = 9
XULAST =13.
XFRAC(1)=0.011538 ;XFRAC(2)=0.151099
XFRAC(3)=0.290659 ;XFRAC(4)=0.43022
XFRAC(5)=0.56978 ;XFRAC(6)=0.709341
XFRAC(7)=0.848901 ;XFRAC(8)=0.988461
XFRAC(9)=1.
************************************************************
Group 4. Y-Direction Grid Spacing
NY = 5
YVLAST =4.
YFRAC(1)=0.0375 ;YFRAC(2)=0.46875
YFRAC(3)=0.53125 ;YFRAC(4)=0.9625
YFRAC(5)=1.
************************************************************
Group 5. Z-Direction Grid Spacing
PARAB = F
NZ = 5
ZWLAST =0.4
ZFRAC(1)=0.25 ;ZFRAC(2)=0.5
ZFRAC(3)=0.55 ;ZFRAC(4)=0.6
ZFRAC(5)=1.
************************************************************
Group 6. Body-Fitted Coordinates
************************************************************
Group 7. Variables: STOREd,SOLVEd,NAMEd
ONEPHS = T
NAME(1)=P1 ;NAME(3)=U1
NAME(5)=V1 ;NAME(7)=W1
NAME(15)=HI ;NAME(146)=SURF
NAME(147)=PRPS ;NAME(148)=NPOR
NAME(149)=EPOR ;NAME(150)=CPOR
* 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,Y,N,N,Y)
SOLUTN(U1,Y,Y,N,N,N,Y)
SOLUTN(V1,Y,Y,N,N,N,Y)
SOLUTN(W1,Y,Y,N,N,N,Y)
SOLUTN(HI,Y,N,N,N,N,Y)
SOLUTN(SURF,Y,N,N,N,N,Y)
SOLUTN(PRPS,Y,N,N,N,N,Y)
SOLUTN(NPOR,Y,N,N,N,N,Y)
SOLUTN(EPOR,Y,N,N,N,N,Y)
SOLUTN(CPOR,Y,N,N,N,N,Y)
EPOR = 149 ;HPOR = 0 ;NPOR = 148 ;VPOR = 0
PRPS = 147
************************************************************
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(V1,Y,Y,Y,Y,Y,Y)
TERMS(W1,Y,Y,Y,Y,Y,Y)
DIFCUT =0.5 ;ZDIFAC =1.
GALA = F ;ADDDIF = F
U1AD =0. ;V1AD =0.
W1AD = GRND
ISOLX = -1 ;ISOLY = -1 ;ISOLZ = -1
************************************************************
Group 9. Properties used if PRPS is not
stored, and where PRPS = -1.0 if it is!
RHO1 =2300. ;TMP1 =0.
EL1 =0.
TSURR =0. ;TEMP0 =0.
PRESS0 =0.
DVO1DT =0. ;DRH1DP =1.0E-10
EMISS =0. ;SCATT =0.
RADIA =0. ;RADIB =0.
ENUL =2.608696E-07 ;ENUT =0.
PRNDTL(U1)=1. ;PRNDTL(V1)=1.
PRNDTL(W1)=1.
PRT(U1)=1. ;PRT(V1)=1.
PRT(W1)=1.
CP1 =1. ;CP2 =1.
************************************************************
Group 10.Inter-Phase Transfer Processes
************************************************************
Group 11.Initial field variables (PHIs)
FIINIT(P1)=1.0E-10 ;FIINIT(U1)=1.0E-10
FIINIT(V1)=1.0E-10 ;FIINIT(W1)=1.0E-10
FIINIT(HI)=1.001E-10 ;FIINIT(SURF)=1.0E-10
FIINIT(PRPS)=-1. ;FIINIT(NPOR)=1.
FIINIT(EPOR)=1. ;FIINIT(CPOR)=1.

PATCH(INIF1X ,INIVAL, 1, 9, 1, 5, 1, 5, 1, 100)
INIT(INIF1X ,HI ,0. , GRND )

PATCH(OB1 ,INIVAL, 1, 9, 1, 5, 3, 5, 1, 1)
INIT(OB1 ,PRPS,0. ,52. )

PATCH(ANOD1 ,INIVAL, 2, 8, 2, 2, 5, 5, 1, 100)
INIT(ANOD1 ,PRPS,0. ,100. )

PATCH(ANOD2 ,INIVAL, 2, 8, 4, 4, 5, 5, 1, 100)
INIT(ANOD2 ,PRPS,0. ,100. )
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(^PREF1 ,CELL , 2, 1, 0, 0, 0, 0, 1, 100)
COVAL(^PREF1 ,P1 ,1. ,0. )
COVAL(^PREF1 ,U1 ,0. , SAME )
COVAL(^PREF1 ,V1 ,0. , SAME )
COVAL(^PREF1 ,W1 ,0. , SAME )

PATCH(^PREF2 ,CELL , 3, 1, 0, 0, 0, 0, 1, 100)
COVAL(^PREF2 ,P1 ,1. ,0. )
COVAL(^PREF2 ,U1 ,0. , SAME )
COVAL(^PREF2 ,V1 ,0. , SAME )
COVAL(^PREF2 ,W1 ,0. , SAME )

PATCH(INTFACE ,CELL , 1, 9, 1, 5, 2, 2, 1, 100)
COVAL(INTFACE ,W1 , FIXVAL , GRND )
XCYCLE = F
EGWF = T
WALLCO = GRND2
************************************************************
Group 14. Downstream Pressure For PARAB
************************************************************
Group 15. Terminate Sweeps
LSWEEP = 60 ;ISWC1 = 1
LITHYD = 1 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1
SARAH =1000.
SELREF = T
RESFAC =1.0E-04
************************************************************
Group 16. Terminate Iterations
LITER(P1)=20 ;LITER(U1)=10
LITER(V1)=10 ;LITER(W1)=10
ENDIT(P1)=1.0E-03 ;ENDIT(U1)=1.0E-03
ENDIT(V1)=1.0E-03 ;ENDIT(W1)=1.0E-03
************************************************************
Group 17. Relaxation
RELAX(P1,LINRLX,0.9)
RELAX(U1,FALSDT,8.)
RELAX(V1,FALSDT,8.)
RELAX(W1,FALSDT,8.)
RELAX(HI,LINRLX,1.)
RELAX(SURF,LINRLX,1.)
RELAX(PRPS,LINRLX,1.)
RELAX(CPOR,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(V1)=1.0E+06 ;VARMIN(V1)=-1.0E+06
VARMAX(W1)=1.0E+06 ;VARMIN(W1)=-1.0E+06
VARMAX(HI)=1.0E+10 ;VARMIN(HI)=-1.0E+10
VARMAX(SURF)=1.0E+10 ;VARMIN(SURF)=-1.0E+10
VARMAX(PRPS)=1.0E+10 ;VARMIN(PRPS)=-1.0E+10
VARMAX(NPOR)=1.0E+10 ;VARMIN(NPOR)=-1.0E+10
VARMAX(EPOR)=1.0E+10 ;VARMIN(EPOR)=-1.0E+10
VARMAX(CPOR)=1.0E+10 ;VARMIN(CPOR)=-1.0E+10
************************************************************
Group 19. Data transmitted to GROUND
NAMGRD =ESTR
PARSOL = F
ISG62 = 1
CSG8    ='ESTR'
CSG10   ='ESTR'
SPEDAT(SET,DOMAIN,PHASE_1_MAT,I,51)
SPEDAT(SET,GXMONI,TRANSIENT,L,F)
SPEDAT(SET,MATERIAL,51,L,T)
SPEDAT(SET,MATERIAL,52,L,T)
SPEDAT(SET,MATERIAL,100,L,T)
SPEDAT(SET,MATERIAL,151,L,T)
SPEDAT(SET,MATERIAL,198,L,T)
SPEDAT(SET,MATERIAL,199,L,T)
SPEDAT(SET,DOMAIN,PROPS_FILE_1,C,ESTR)
SPEDAT(SET,OBJNAM,^PREF1,C,PREF1)
SPEDAT(SET,OBJTYP,^PREF1,C,USER_DEFINED)
SPEDAT(SET,OBJNAM,^PREF2,C,PREF2)
SPEDAT(SET,OBJTYP,^PREF2,C,USER_DEFINED)
SPEDAT(SET,OBJNAM,!OB1,C,INIELEC)
SPEDAT(SET,OBJTYP,!OB1,C,BLOCKAGE)
SPEDAT(SET,INIELEC,MATERIAL,R,52.)
SPEDAT(SET,OBJNAM,!ANOD1,C,ANOD1)
SPEDAT(SET,OBJTYP,!ANOD1,C,BLOCKAGE)
SPEDAT(SET,ANOD1,MATERIAL,R,100.)
SPEDAT(SET,OBJNAM,!ANOD2,C,ANOD2)
SPEDAT(SET,OBJTYP,!ANOD2,C,BLOCKAGE)
SPEDAT(SET,ANOD2,MATERIAL,R,100.)
SPEDAT(SET,OBJNAM,!OB6,C,INTERFAC)
SPEDAT(SET,OBJTYP,!OB6,C,NULL)
SPEDAT(SET,OBJNAM,^OB7,C,FREESURF)
SPEDAT(SET,OBJTYP,^OB7,C,NULL)
SPEDAT(SET,FACETDAT,NUMOBJ,I,7)
LG( 5) = T
IG( 1) = 2
IG( 2) = 4
IG( 3) = 1
IG( 4) = 1
IG( 6) = 5
RG( 1) =2300.
RG( 2) =2100.
RG( 3) =1.
RG( 4) =4.1E+06
RG( 5) =200.
RG( 6) =2.33E+04
RG( 7) =-9.81
RG( 11) =1.
RG( 12) =100.
RG( 13) =1.
RG( 14) =1.
RG( 16) =-0.035
RG( 17) =0.035
RG( 18) =2.608696E-07
RG( 19) =1.714286E-06
RG( 31) =9.09E+04
RG( 32) =999.869995
RG( 33) =7800.
RG( 34) =9.08E+05
RG( 35) =2700.
RG( 36) =1.98E+07
RG( 37) =2700.
RG( 38) =2.86E+07
RG( 71) =7800.
RG( 72) =2.17E+06
RG( 73) =8950.
RG( 74) =1.34E+07
RG( 75) =7800.
RG( 76) =6.45E+05
RG( 77) =7800.
RG( 78) =8.7E+05
************************************************************
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(U1,Y,N,Y,Y,Y,Y)
OUTPUT(V1,Y,N,Y,Y,Y,Y)
OUTPUT(W1,Y,N,Y,Y,Y,Y)
OUTPUT(HI,Y,N,Y,N,Y,Y)
OUTPUT(SURF,Y,N,Y,N,N,N)
OUTPUT(PRPS,N,N,N,N,N,N)
OUTPUT(NPOR,Y,N,N,N,N,N)
OUTPUT(EPOR,Y,N,N,N,N,N)
OUTPUT(CPOR,Y,N,N,N,N,N)
************************************************************
Group 22. Monitor Print-Out
IXMON = 2 ;IYMON = 2 ;IZMON = 1
NPRMON = 100000 ;NPRMNT = 1 ;TSTSWP = -5
UWATCH = T ;USTEER = T
HIGHLO = F
************************************************************
Group 23.Field Print-Out & Plot Control
NPRINT = 100000 ;NUMCLS = 5
NTPRIN = 10 ;ISTPRF = 1 ;ISTPRL = 100000
NXPRIN = -1 ;IXPRF = 1 ;IXPRL = 10000
NYPRIN = -1 ;IYPRF = 1 ;IYPRL = 10000
NZPRIN = -1 ;IZPRF = 1 ;IZPRL = 10000
XZPR = F ;YZPR = F
IPLTF = 1 ;IPLTL = -1 ;NPLT = 1
ISWPRF = 1 ;ISWPRL = 100000
ITABL = 3 ;IPROF = 3
ABSIZ =0.5 ;ORSIZ =0.4
NTZPRF = 1 ;NCOLPF = 50
ICHR = 2 ;NCOLCO = 45 ;NROWCO = 20

PATCH(PLOT1 ,PROFIL, 1, 1, 1, 1, 2, 2, 1, 100)
PLOT(PLOT1 ,HI ,0. ,0. )

PATCH(PLOT2 ,PROFIL, 4, 4, 1, 1, 2, 2, 1, 100)
PLOT(PLOT2 ,HI ,0. ,0. )

PATCH(PLOT3 ,PROFIL, 9, 9, 1, 1, 2, 2, 1, 100)
PLOT(PLOT3 ,HI ,0. ,0. )
************************************************************
Group 24. Dumps For Restarts
SAVE = T ;NOWIPE = F
NSAVE =CHAM
IDISPA = 10 ;IDISPB = 0 ;IDISPC = 0
CSG1    ='c'
STOP
```