TALK=T;RUN(1,1) PHOTON USE p;p5;5 1 view x;up z; norm msg horizontal dimension has been multiplied by 5 msg Pressafter each pause gr x 1;pause; gr off;red;gr ou x 1; set vec comp; u1 av1 cw1 msg Gas velocity vectors at time = 5 second vec x 1 sh; pause; vec off;red msg Liquid velocity vectors set vec comp; u2 bv2 dw2; vec x 1 sh; pause; vec off;red msg pressure contours con p1 x 1 fi;0.01; pause; con off;red msg gas volume-fraction contours con gas x 1 fi;0.01; pause p;p10;5 1 view x;up z; norm msg horizontal dimension has been multiplied by 5 msg Press after each pause gr x 1;pause; gr off;red;gr ou x 1; set vec comp; u1 av1 cw1 msg Gas velocity vectors at time = 10 second vec x 1 sh; pause; vec off;red msg Liquid velocity vectors set vec comp; u2 bv2 dw2; vec x 1 sh; pause; vec off;red msg pressure contours con p1 x 1 fi;0.01; pause; con off;red msg gas volume-fraction contours con gas x 1 fi;0.01; pause p;p15;5 1 view x;up z; norm msg horizontal dimension has been multiplied by 5 msg Press after each pause gr x 1;pause; gr off;red;gr ou x 1; set vec comp; u1 av1 cw1 msg Gas velocity vectors at time = 15 second vec x 1 sh; pause; vec off;red msg Liquid velocity vectors set vec comp; u2 bv2 dw2; vec x 1 sh; pause; vec off;red msg pressure contours con p1 x 1 fi;0.01; pause; con off;red msg gas volume-fraction contours con gas x 1 fi;0.01; pause p;p20;5 1 view x;up z; norm msg horizontal dimension has been multiplied by 5 msg Press after each pause gr x 1;pause; gr off;red;gr ou x 1; set vec comp; u1 av1 cw1 msg Gas velocity vectors at time = 20 second vec x 1 sh; pause; vec off;red msg Liquid velocity vectors set vec comp; u2 bv2 dw2; vec x 1 sh; pause; vec off;red msg pressure contours con p1 x 1 fi;0.01; pause; con off;red msg gas volume-fraction contours con gas x 1 fi;0.01; pause;con off; red msg contours of vertical slip velocity con slpw x 1 fi;0.01; pause;con off; red msg contours of horizontal slip velocity con slpv x 1 fi;0.01; pause;con off; red msg Press e to END enduse ************************************************************ Group 1. Run Title and Number ************************************************************ ************************************************************ TEXT(transient air-lift pump :W430) ************************************************************ ************************************************************ IRUNN = 1 ;LIBREF = 0 ************************************************************ Group 2. Time dependence STEADY = F * Set overall time and no. of steps TFIRST =0. ;TLAST =20. FSTEP = 1 ;LSTEP = 20 TFRAC(1)=0.05 ;TFRAC(5)=0.25 TFRAC(9)=0.45 ;TFRAC(13)=0.65 TFRAC(17)=0.85 ************************************************************ Group 3. X-Direction Grid Spacing CARTES = F NX = 1 XULAST =0.1 XFRAC(1)=1. ************************************************************ Group 4. Y-Direction Grid Spacing NY = 15 YVLAST =0.25 YFRAC(1)=0.066667 ;YFRAC(2)=0.133333 YFRAC(3)=0.2 ;YFRAC(4)=0.266667 YFRAC(5)=0.333333 ;YFRAC(6)=0.4 YFRAC(7)=0.466667 ;YFRAC(8)=0.533333 YFRAC(9)=0.6 ;YFRAC(10)=0.666667 YFRAC(11)=0.733333 ;YFRAC(12)=0.8 YFRAC(13)=0.866667 ;YFRAC(14)=0.933333 YFRAC(15)=1. ************************************************************ Group 5. Z-Direction Grid Spacing PARAB = F NZ = 30 ZWLAST =2. ZFRAC(1)=0.033333 ;ZFRAC(7)=0.233333 ZFRAC(13)=0.433333 ;ZFRAC(19)=0.633333 ZFRAC(25)=0.833333 ************************************************************ Group 6. Body-Fitted Coordinates ************************************************************ Group 7. Variables: STOREd,SOLVEd,NAMEd ONEPHS = F EQUVEL = F NAME(1)=P1 ;NAME(5)=AV1 NAME(6)=BV2 ;NAME(7)=CW1 NAME(8)=DW2 ;NAME(9)=GAS NAME(10)=SOL ;NAME(149)=SLPW NAME(150)=SLPV * 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(AV1,Y,Y,N,N,N,Y) SOLUTN(BV2,Y,Y,N,N,N,Y) SOLUTN(CW1,Y,Y,N,N,N,Y) SOLUTN(DW2,Y,Y,N,N,N,Y) SOLUTN(GAS,Y,Y,N,N,N,Y) SOLUTN(SOL,Y,Y,N,N,N,Y) SOLUTN(SLPW,Y,N,N,N,N,Y) SOLUTN(SLPV,Y,N,N,N,N,Y) ************************************************************ 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(AV1,Y,Y,N,Y,Y,Y) TERMS(BV2,Y,Y,N,Y,N,Y) TERMS(CW1,Y,Y,N,Y,Y,Y) TERMS(DW2,Y,Y,N,Y,N,Y) TERMS(GAS,Y,Y,Y,Y,Y,Y) TERMS(SOL,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 = GRND3 ;TMP1 =0. ;EL1 =0. TSURR =0. ;TEMP0 =0. ;PRESS0 =1.0E+05 DVO1DT =0. ;DRH1DP = GRND3 RHO1A =2.682695E-04 ;RHO1B =0.714286 ;RHO1C =0. EMISS =0. ;SCATT =0. RADIA =0. ;RADIB =0. RHO2 =2500. ;TMP2 =0. ;EL2 =0. DVO2DT =0. ;DRH2DP =0. ENUL =0. ;ENUT =0. PHINT(AV1)=-2.022E+04 ;PHINT(BV2)=-2.022E+04 PHINT(CW1)=-2.022E+04 ;PHINT(DW2)=-2.022E+04 PHINT(GAS)=-2.022E+04 ;PHINT(SOL)=-2.022E+04 PRNDTL(GAS)=1. ;PRNDTL(SOL)=1. PRT(GAS)=1. ;PRT(SOL)=1. CP1 =1. ;CP2 =1. ************************************************************ Group 10.Inter-Phase Transfer Processes CFIPS =5.0E+05 RLOLIM =0. ;CMDOT =0. CINT(P1)=1. ;CINT(AV1)=1. CINT(BV2)=1. ;CINT(CW1)=1. CINT(DW2)=1. ;CINT(GAS)=1. CINT(SOL)=1. PHINT(P1)=-2.022E+04 ;PHINT(AV1)=-2.022E+04 PHINT(BV2)=-2.022E+04 ;PHINT(CW1)=-2.022E+04 PHINT(DW2)=-2.022E+04 ;PHINT(GAS)=-2.022E+04 PHINT(SOL)=-2.022E+04 ************************************************************ Group 11.Initial field variables (PHIs) FIINIT(P1)=1.0E-10 ;FIINIT(AV1)=1.0E-10 FIINIT(BV2)=1.0E-10 ;FIINIT(CW1)=1.0E-10 FIINIT(DW2)=1.0E-10 ;FIINIT(GAS)=0.1 FIINIT(SOL)=0.9 ;FIINIT(SLPW)=1.0E-10 FIINIT(SLPV)=1.0E-10 PATCH(TOP ,INIVAL, 1, 1, 1, 15, 28, 28, 1, 1) INIT(TOP ,GAS ,0.9 ,0. ) INIT(TOP ,SOL ,-0.9 ,0. ) INIADD = T 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(OUTLET1 ,HIGH , 1, 1, 1, 7, 30, 30, 1, 20) COVAL(OUTLET1 ,GAS ,1. ,0. ) COVAL(OUTLET1 ,SOL ,2500. ,0. ) PATCH(INLET1 ,LOW , 1, 1, 1, 3, 7, 7, 1, 20) COVAL(INLET1 ,CW1 ,0. ,5. ) COVAL(INLET1 ,GAS , FIXFLU ,5. ) PATCH(GRAVITY ,PHASEM, 1, 1, 1, 15, 1, 30, 1, 20) COVAL(GRAVITY ,CW1 , FIXFLU ,-9.81 ) COVAL(GRAVITY ,DW2 , FIXFLU ,-9.81 ) PATCH(PANEL ,NORTH , 1, 1, 7, 7, 2, 22, 1, 20) COVAL(PANEL ,AV1 , FIXVAL ,0. ) COVAL(PANEL ,BV2 , FIXVAL ,0. ) XCYCLE = F EGWF = T WALLCO = GRND2 ************************************************************ Group 14. Downstream Pressure For PARAB ************************************************************ Group 15. Terminate Sweeps LSWEEP = 20 ;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(AV1)=10 LITER(BV2)=10 ;LITER(CW1)=10 LITER(DW2)=10 ;LITER(GAS)=1 LITER(SOL)=1 ENDIT(P1)=1.0E-03 ;ENDIT(AV1)=1.0E-03 ENDIT(BV2)=1.0E-03 ;ENDIT(CW1)=1.0E-03 ENDIT(DW2)=1.0E-03 ;ENDIT(GAS)=1.0E-03 ENDIT(SOL)=1.0E-03 ************************************************************ Group 17. Relaxation RELAX(P1,LINRLX,1.) RELAX(AV1,FALSDT,1.0E-02) RELAX(BV2,FALSDT,1.0E-02) RELAX(CW1,FALSDT,1.0E-02) RELAX(DW2,FALSDT,1.0E-02) RELAX(GAS,LINRLX,0.1) RELAX(SOL,LINRLX,0.4) RELAX(SLPW,LINRLX,1.) RELAX(SLPV,LINRLX,1.) OVRRLX =0. EXPERT = F ;NNORSL = F ************************************************************ Group 18. Limits VARMAX(P1)=1.0E+10 ;VARMIN(P1)=-1.0E+10 VARMAX(AV1)=1.0E+06 ;VARMIN(AV1)=-1.0E+06 VARMAX(BV2)=1.0E+06 ;VARMIN(BV2)=-1.0E+06 VARMAX(CW1)=1.0E+06 ;VARMIN(CW1)=-1.0E+06 VARMAX(DW2)=1.0E+06 ;VARMIN(DW2)=-1.0E+06 VARMAX(GAS)=1. ;VARMIN(GAS)=1.0E-05 VARMAX(SOL)=1. ;VARMIN(SOL)=1.0E-05 VARMAX(SLPW)=1.0E+10 ;VARMIN(SLPW)=-1.0E+10 VARMAX(SLPV)=1.0E+10 ;VARMIN(SLPV)=-1.0E+10 ************************************************************ 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(AV1,Y,N,Y,Y,Y,Y) OUTPUT(BV2,Y,N,Y,Y,Y,Y) OUTPUT(CW1,Y,N,Y,Y,Y,Y) OUTPUT(DW2,Y,N,Y,Y,Y,Y) OUTPUT(GAS,Y,N,Y,Y,Y,Y) OUTPUT(SOL,Y,N,Y,Y,Y,Y) OUTPUT(SLPW,Y,N,Y,N,N,N) OUTPUT(SLPV,Y,N,Y,N,N,N) ************************************************************ Group 22. Monitor Print-Out IXMON = 0 ;IYMON = 7 ;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 = 4 ;ISTPRF = 1 ;ISTPRL = 100000 NYPRIN = 0 ;IYPRF = 1 ;IYPRL = 10000 NZPRIN = 6 ;IZPRF = 1 ;IZPRL = 10000 XZPR = F ;YZPR = F IPLTF = 1 ;IPLTL = 20 ;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(4 ,PROFIL, 0, 0, 1, 15, 1, 1, 1, 20) PLOT(4 ,GAS ,0. ,0. ) PATCH(5 ,PROFIL, 0, 0, 7, 7, 1, 1, 1, 20) PLOT(5 ,CW1 ,0. ,0. ) PLOT(5 ,DW2 ,0. ,0. ) PATCH(6 ,CONTUR, 1, 1, 1, 15, 1, 1, 1, 20) PLOT(6 ,P1 ,0. ,0. ) PLOT(6 ,GAS ,0. ,0. ) ************************************************************ Group 24. Dumps For Restarts SAVE = T ;NOWIPE = F NSAVE =CHAM IDISPA = 5 ;IDISPB = 0 ;IDISPC = 0 CSG1 ='PHI' CSG2 ='XYZ' STOP