TALK=T;RUN(1,1) ************************************************************ Group 1. Run Title and Number ************************************************************ ************************************************************ TEXT(Two-phase flow in a bifurcation ) ************************************************************ ************************************************************ IRUNN = 1 ;LIBREF = 0 ************************************************************ Group 2. Time dependence STEADY = T ************************************************************ Group 3. X-Direction Grid Spacing CARTES = T NX = 60 XULAST =1.2 XFRAC(1)=0.016667 ;XFRAC(2)=0.033333 XFRAC(3)=0.05 ;XFRAC(4)=0.066667 XFRAC(5)=0.083333 ;XFRAC(6)=0.1 XFRAC(7)=0.116667 ;XFRAC(8)=0.133333 XFRAC(9)=0.15 ;XFRAC(10)=0.166667 XFRAC(11)=0.183333 ;XFRAC(12)=0.2 XFRAC(13)=0.216667 ;XFRAC(14)=0.233333 XFRAC(15)=0.25 ;XFRAC(16)=0.266667 XFRAC(17)=0.283333 ;XFRAC(18)=0.3 XFRAC(19)=0.316667 ;XFRAC(20)=0.333333 XFRAC(21)=0.35 ;XFRAC(22)=0.366667 XFRAC(23)=0.383333 ;XFRAC(24)=0.4 XFRAC(25)=0.416667 ;XFRAC(26)=0.433333 XFRAC(27)=0.45 ;XFRAC(28)=0.466667 XFRAC(29)=0.483333 ;XFRAC(30)=0.5 XFRAC(31)=0.516667 ;XFRAC(32)=0.533333 XFRAC(33)=0.55 ;XFRAC(34)=0.566667 XFRAC(35)=0.583333 ;XFRAC(36)=0.6 XFRAC(37)=0.616667 ;XFRAC(38)=0.633333 XFRAC(39)=0.65 ;XFRAC(40)=0.666667 XFRAC(41)=0.683333 ;XFRAC(42)=0.7 XFRAC(43)=0.716667 ;XFRAC(44)=0.733333 XFRAC(45)=0.75 ;XFRAC(46)=0.766667 XFRAC(47)=0.783333 ;XFRAC(48)=0.8 XFRAC(49)=0.816667 ;XFRAC(50)=0.833333 XFRAC(51)=0.85 ;XFRAC(52)=0.866667 XFRAC(53)=0.883333 ;XFRAC(54)=0.9 XFRAC(55)=0.916667 ;XFRAC(56)=0.933333 XFRAC(57)=0.95 ;XFRAC(58)=0.966667 XFRAC(59)=0.983333 ;XFRAC(60)=1. ************************************************************ Group 4. Y-Direction Grid Spacing NY = 50 YVLAST =0.5 YFRAC(1)=0.02 ;YFRAC(2)=0.04 YFRAC(3)=0.06 ;YFRAC(4)=0.08 YFRAC(5)=0.1 ;YFRAC(6)=0.12 YFRAC(7)=0.14 ;YFRAC(8)=0.16 YFRAC(9)=0.18 ;YFRAC(10)=0.2 YFRAC(11)=0.22 ;YFRAC(12)=0.24 YFRAC(13)=0.26 ;YFRAC(14)=0.28 YFRAC(15)=0.3 ;YFRAC(16)=0.32 YFRAC(17)=0.34 ;YFRAC(18)=0.36 YFRAC(19)=0.38 ;YFRAC(20)=0.4 YFRAC(21)=0.42 ;YFRAC(22)=0.44 YFRAC(23)=0.46 ;YFRAC(24)=0.48 YFRAC(25)=0.5 ;YFRAC(26)=0.52 YFRAC(27)=0.54 ;YFRAC(28)=0.56 YFRAC(29)=0.58 ;YFRAC(30)=0.6 YFRAC(31)=0.62 ;YFRAC(32)=0.64 YFRAC(33)=0.66 ;YFRAC(34)=0.68 YFRAC(35)=0.7 ;YFRAC(36)=0.72 YFRAC(37)=0.74 ;YFRAC(38)=0.76 YFRAC(39)=0.78 ;YFRAC(40)=0.8 YFRAC(41)=0.82 ;YFRAC(42)=0.84 YFRAC(43)=0.86 ;YFRAC(44)=0.88 YFRAC(45)=0.9 ;YFRAC(46)=0.92 YFRAC(47)=0.94 ;YFRAC(48)=0.96 YFRAC(49)=0.98 ;YFRAC(50)=1. ************************************************************ Group 5. Z-Direction Grid Spacing PARAB = F NZ = 1 ZWLAST =0.2 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(5)=V1 NAME(6)=V2 ;NAME(9)=R1 NAME(10)=R2 ;NAME(12)=KE NAME(13)=EP ;NAME(146)=PRPS NAME(147)=SMOK ;NAME(148)=EPKE NAME(149)=LEN1 ;NAME(150)=ENUT * 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,N) SOLUTN(U1,Y,Y,N,N,N,Y) SOLUTN(U2,Y,Y,N,N,N,Y) SOLUTN(V1,Y,Y,N,N,N,Y) SOLUTN(V2,Y,Y,N,N,N,Y) SOLUTN(R1,Y,Y,N,N,N,Y) SOLUTN(R2,Y,Y,N,N,N,Y) SOLUTN(KE,Y,Y,N,N,N,N) SOLUTN(EP,Y,Y,N,N,N,N) SOLUTN(PRPS,Y,N,N,N,N,N) SOLUTN(SMOK,Y,Y,N,N,N,Y) SOLUTN(EPKE,Y,N,N,N,N,Y) SOLUTN(LEN1,Y,N,N,N,N,Y) SOLUTN(ENUT,Y,N,N,N,N,Y) VIST = 150 LEN1 = 149 PRPS = 146 ************************************************************ 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(V1,Y,Y,Y,Y,Y,Y) TERMS(V2,Y,Y,Y,Y,N,Y) TERMS(R1,Y,Y,N,N,Y,Y) TERMS(R2,Y,Y,N,N,N,Y) TERMS(KE,N,Y,Y,Y,Y,N) TERMS(EP,N,Y,Y,Y,Y,N) TERMS(SMOK,N,Y,Y,Y,N,Y) DIFCUT =0.5 ;ZDIFAC =1. GALA = F ;ADDDIF = F NEWENT = 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 =22.35 ;TMP1 =0. ;EL1 = GRND4 TSURR =0. ;TEMP0 =0. ;PRESS0 =0. DVO1DT =3.33E-03 ;DRH1DP =0. EMISS =0. ;SCATT =0. RADIA =0. ;RADIB =0. EL1A =0. ;EL1B =0. ;EL1C =0. RHO2 =1279. ;TMP2 =0. ;EL2 =0. DVO2DT =0. ;DRH2DP =0. ENUL =1.100667E-05 ;ENUT = GRND3 ENUTA =0. ;ENUTB =0. ;ENUTC =0. IENUTA = 0 PHINT(U1)=-2.022E+04 ;PHINT(U2)=-2.022E+04 PHINT(V1)=-2.022E+04 ;PHINT(V2)=-2.022E+04 PHINT(R1)=-2.022E+04 ;PHINT(R2)=-2.022E+04 PHINT(SMOK)=-2.022E+04 PRNDTL(U1)=1. ;PRNDTL(U2)=1. PRNDTL(V1)=1. ;PRNDTL(V2)=1. PRNDTL(KE)=1. ;PRNDTL(EP)=1. PRNDTL(SMOK)=1. PRT(U1)=1. ;PRT(U2)=1. PRT(V1)=1. ;PRT(V2)=1. PRT(KE)=1. ;PRT(EP)=1.314 PRT(SMOK)=1. CP1 =1005. ;CP2 =4181.799805 ************************************************************ Group 10.Inter-Phase Transfer Processes CFIPS = GRND7 RLOLIM =0. ;CMDOT =0. CFIPA =1.0E-03 ;CFIPB =1.0E-04 CFIPC =0. ;CFIPD =0. CINT(P1)=1. ;CINT(U1)=1. CINT(U2)=1. ;CINT(V1)=1. CINT(V2)=1. ;CINT(R1)=1. CINT(R2)=1. ;CINT(SMOK)=1. PHINT(P1)=-2.022E+04 ;PHINT(U1)=-2.022E+04 PHINT(U2)=-2.022E+04 ;PHINT(V1)=-2.022E+04 PHINT(V2)=-2.022E+04 ;PHINT(R1)=-2.022E+04 PHINT(R2)=-2.022E+04 ;PHINT(SMOK)=-2.022E+04 ************************************************************ Group 11.Initial field variables (PHIs) FIINIT(P1)=1.3E-04 ;FIINIT(U1)=13. FIINIT(U2)=13. ;FIINIT(V1)=1.0E-10 FIINIT(V2)=1.0E-10 ;FIINIT(R1)=0.9 FIINIT(R2)=0.1 ;FIINIT(KE)=0.7605 FIINIT(EP)=31.77743 ;FIINIT(PRPS)=-1. FIINIT(SMOK)=1. ;FIINIT(EPKE)=1. FIINIT(LEN1)=1.0E-10 ;FIINIT(ENUT)=1.0E-10 PATCH(^OB4 ,INIVAL, 4, 0, 0, 0, 0, 0, 1, 1) INIT(^OB4 ,PRPS,0. ,103. ) PATCH(^OB5 ,INIVAL, 5, 0, 0, 0, 0, 0, 1, 1) INIT(^OB5 ,PRPS,0. ,103. ) PATCH(^OB6 ,INIVAL, 6, 0, 0, 0, 0, 0, 1, 1) INIT(^OB6 ,PRPS,0. ,103. ) PATCH(^OB7 ,INIVAL, 7, 0, 0, 0, 0, 0, 1, 1) INIT(^OB7 ,PRPS,0. ,103. ) 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(BUOYANCY,PHASEM, 1, 60, 1, 50, 1, 1, 1, 1) COVAL(BUOYANCY,U1 , FIXFLU , GRND1 ) COVAL(BUOYANCY,U2 , FIXFLU , GRND1 ) COVAL(BUOYANCY,V1 , FIXFLU , GRND1 ) COVAL(BUOYANCY,V2 , FIXFLU , GRND1 ) PATCH(KESOURCE,PHASEM, 1, 60, 1, 50, 1, 1, 1, 1) COVAL(KESOURCE,KE , GRND4 , GRND4 ) COVAL(KESOURCE,EP , GRND4 , GRND4 ) PATCH(^OB1 ,EAST , 1, 0, 0, 0, 0, 0, 1, 1) COVAL(^OB1 ,U1 ,0. ,0. ) COVAL(^OB1 ,U2 ,0. ,0. ) COVAL(^OB1 ,V1 ,0. ,0. ) COVAL(^OB1 ,V2 ,0. ,0. ) COVAL(^OB1 ,R1 ,22.35 ,0. ) COVAL(^OB1 ,R2 ,1279. ,0. ) COVAL(^OB1 ,KE ,0. , SAME ) COVAL(^OB1 ,EP ,0. , SAME ) PATCH(^OB2 ,WEST , 2, 0, 0, 0, 0, 0, 1, 1) COVAL(^OB2 ,U1 ,0. ,50. ) COVAL(^OB2 ,U2 ,0. ,50. ) COVAL(^OB2 ,V1 ,0. ,0. ) COVAL(^OB2 ,V2 ,0. ,0. ) COVAL(^OB2 ,R1 , FIXFLU ,1005.75 ) COVAL(^OB2 ,R2 , FIXFLU ,6395. ) COVAL(^OB2 ,KE ,0. ,6.25 ) COVAL(^OB2 ,EP ,0. ,513.504944 ) PATCH(^OB3 ,EAST , 3, 0, 0, 0, 0, 0, 1, 1) COVAL(^OB3 ,U1 ,0. ,0. ) COVAL(^OB3 ,U2 ,0. ,0. ) COVAL(^OB3 ,V1 ,0. ,0. ) COVAL(^OB3 ,V2 ,0. ,0. ) COVAL(^OB3 ,R1 ,22.35 ,0. ) COVAL(^OB3 ,R2 ,1279. ,0. ) COVAL(^OB3 ,KE ,0. , SAME ) COVAL(^OB3 ,EP ,0. , SAME ) XCYCLE = F EGWF = T WALLCO = GRND2 BUOYA =0. ; BUOYB =-9.81 ; BUOYC =0. ************************************************************ Group 14. Downstream Pressure For PARAB ************************************************************ Group 15. Terminate Sweeps LSWEEP = 10000 ;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(U1)=20 LITER(U2)=10 ;LITER(V1)=20 LITER(V2)=10 ;LITER(R1)=1 LITER(R2)=1 ;LITER(KE)=20 LITER(EP)=20 ;LITER(SMOK)=20 ENDIT(P1)=1.0E-03 ;ENDIT(U1)=1.0E-03 ENDIT(U2)=1.0E-03 ;ENDIT(V1)=1.0E-03 ENDIT(V2)=1.0E-03 ;ENDIT(R1)=1.0E-03 ENDIT(R2)=1.0E-03 ;ENDIT(KE)=1.0E-03 ENDIT(EP)=1.0E-03 ;ENDIT(SMOK)=1.0E-03 ************************************************************ Group 17. Relaxation RELAX(P1,LINRLX,1.) RELAX(U1,FALSDT,5.0E-04) RELAX(U2,FALSDT,5.0E-04) RELAX(V1,FALSDT,5.0E-04) RELAX(V2,FALSDT,5.0E-04) RELAX(R1,LINRLX,0.4) RELAX(R2,LINRLX,0.4) RELAX(KE,LINRLX,0.5) RELAX(EP,LINRLX,0.5) RELAX(PRPS,LINRLX,1.) RELAX(SMOK,LINRLX,1.) RELAX(EPKE,LINRLX,1.) RELAX(LEN1,LINRLX,1.) RELAX(ENUT,LINRLX,1.) KELIN = 3 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(V1)=1.0E+06 ;VARMIN(V1)=-1.0E+06 VARMAX(V2)=1.0E+06 ;VARMIN(V2)=-1.0E+06 VARMAX(R1)=1. ;VARMIN(R1)=1.0E-06 VARMAX(R2)=1. ;VARMIN(R2)=1.0E-06 VARMAX(KE)=1.0E+10 ;VARMIN(KE)=1.0E-10 VARMAX(EP)=1.0E+10 ;VARMIN(EP)=1.0E-10 VARMAX(PRPS)=1.0E+10 ;VARMIN(PRPS)=-1.0E+10 VARMAX(SMOK)=1.0E+10 ;VARMIN(SMOK)=-1.0E+10 VARMAX(EPKE)=1.0E+10 ;VARMIN(EPKE)=-1.0E+10 VARMAX(LEN1)=1.0E+10 ;VARMIN(LEN1)=-1.0E+10 VARMAX(ENUT)=1.0E+10 ;VARMIN(ENUT)=-1.0E+10 ************************************************************ Group 19. Data transmitted to GROUND GENK = T PARSOL = F ISG62 = 1 SPEDAT(SET,GXMONI,PLOTALL,L,T) SPEDAT(SET,OBJNAM,^OB1,C,OUTLET) SPEDAT(SET,OBJTYP,^OB1,C,OUTLET) SPEDAT(SET,ARATIO,^OB1,R,1.) SPEDAT(SET,OBJNAM,^OB2,C,IN3) SPEDAT(SET,OBJTYP,^OB2,C,INLET) SPEDAT(SET,OBJNAM,^OB3,C,B10) SPEDAT(SET,OBJTYP,^OB3,C,OUTLET) SPEDAT(SET,ARATIO,^OB3,R,1.) SPEDAT(SET,OBJNAM,^OB4,C,B11) SPEDAT(SET,OBJTYP,^OB4,C,BLOCKAGE) SPEDAT(SET,B11,MATERIAL,R,103.) SPEDAT(SET,OBJNAM,^OB5,C,B17) SPEDAT(SET,OBJTYP,^OB5,C,BLOCKAGE) SPEDAT(SET,B17,MATERIAL,R,103.) SPEDAT(SET,OBJNAM,^OB6,C,B18) SPEDAT(SET,OBJTYP,^OB6,C,BLOCKAGE) SPEDAT(SET,B18,MATERIAL,R,103.) SPEDAT(SET,OBJNAM,^OB7,C,B7) SPEDAT(SET,OBJTYP,^OB7,C,BLOCKAGE) SPEDAT(SET,B7,MATERIAL,R,103.) SPEDAT(SET,FACETDAT,NUMOBJ,I,7) SPEDAT(SET,MATERIAL,103,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(U1,Y,N,Y,Y,Y,Y) OUTPUT(U2,Y,Y,Y,N,Y,Y) OUTPUT(V1,Y,N,Y,Y,Y,Y) OUTPUT(V2,Y,Y,Y,N,Y,Y) OUTPUT(R1,Y,N,Y,Y,Y,Y) OUTPUT(R2,Y,N,Y,Y,Y,Y) OUTPUT(KE,Y,N,Y,Y,Y,Y) OUTPUT(EP,Y,N,Y,Y,Y,Y) OUTPUT(PRPS,Y,N,Y,N,N,N) OUTPUT(SMOK,Y,N,Y,N,N,N) OUTPUT(EPKE,Y,N,Y,N,N,N) OUTPUT(LEN1,Y,N,Y,N,N,N) OUTPUT(ENUT,Y,N,Y,N,N,N) ************************************************************ Group 22. Monitor Print-Out IXMON = 4 ;IYMON = 26 ;IZMON = 1 NPRMON = 100 ;NPRMNT = 1 ;TSTSWP = -12 UWATCH = T ;USTEER = T HIGHLO = F ************************************************************ Group 23.Field Print-Out & Plot Control NPRINT = 100000 ;NUMCLS = 5 NXPRIN = 1 ;IXPRF = 1 ;IXPRL = 10000 NYPRIN = 1 ;IYPRF = 1 ;IYPRL = 10000 IPLTF = 1 ;IPLTL = 100 ;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 No PATCHes yet used for this Group ************************************************************ Group 24. Dumps For Restarts SAVE = T ;NOWIPE = F NSAVE =CHAM STOP