TALK=T;RUN(1,1) DISPLAY This case simulates a heat transfer by convection about a single heated pipe which is described by a cylinder object. The pipe allocates heat non-uniformly in the Z direction. The pipe is cooled by a air flow of which moves in the X direction from left to right. The air flow is laminar. The Reynolds number equals 26. The Prandtl number equals 0.7 Nusselt number calculated by the formula for a external cross flow of a round pipe, located in depth of a pipe array, Nu = 0.3*Re^0,6*Pr^1/3 equals 1.9. The In-Form is used for the setting of a non-uniform heating source per unit volume as (SOURCE of TEM1 at PIPE is 1.e+5*ZG with VOLU) The Q1 contains PHOTON USE commands ENDDIS PHOTON USE p;;; vi x con tem1 x 33 fi;0.0001 gr x 33 ENDDIS Group 1. Run Title Group 2. Transience Groups 3, 4, 5 Grid Information * Overall number of cells, RSET(M,NX,NY,NZ,tolerance) Group 7. Variables: STOREd,SOLVEd,NAMEd * Non-default variable names * Solved variables list * Stored variables list * Additional solver options Group 9. Properties * Domain material is: 0 Air at 20 deg C, 1 atm ** Reynolds number ** Prandtl number ** Nusselt number by 0.3*REYNO**0.6*PRANDT**(1/3) formula Group 11.Initialise Var/Porosity Fields Group 13. Boundary & Special Sources Echo InForm settings for Group 13 Group 15. Terminate Sweeps Group 16. Terminate Iterations Group 17. Relaxation Group 20. Preliminary Printout Group 22. Monitor Print-Out ************************************************************ Group 1. Run Title and Number ************************************************************ ************************************************************ TEXT(Heat exchange about a single pipe ) ************************************************************ ************************************************************ IRUNN = 1 ;LIBREF = 0 ************************************************************ Group 2. Time dependence STEADY = T ************************************************************ Group 3. X-Direction Grid Spacing CARTES = T NX = 80 XULAST =0.2 XFRAC(1)=0.0125 ;XFRAC(2)=0.025 XFRAC(3)=0.0375 ;XFRAC(4)=0.05 XFRAC(5)=0.0625 ;XFRAC(6)=0.075 XFRAC(7)=0.0875 ;XFRAC(8)=0.1 XFRAC(9)=0.1125 ;XFRAC(10)=0.125 XFRAC(11)=0.1375 ;XFRAC(12)=0.15 XFRAC(13)=0.1625 ;XFRAC(14)=0.175 XFRAC(15)=0.1875 ;XFRAC(16)=0.2 XFRAC(17)=0.2125 ;XFRAC(18)=0.225 XFRAC(19)=0.2375 ;XFRAC(20)=0.25 XFRAC(21)=0.2625 ;XFRAC(22)=0.275 XFRAC(23)=0.2875 ;XFRAC(24)=0.3 XFRAC(25)=0.3125 ;XFRAC(26)=0.325 XFRAC(27)=0.3375 ;XFRAC(28)=0.35 XFRAC(29)=0.3625 ;XFRAC(30)=0.375 XFRAC(31)=0.3875 ;XFRAC(32)=0.4 XFRAC(33)=0.4125 ;XFRAC(34)=0.425 XFRAC(35)=0.4375 ;XFRAC(36)=0.45 XFRAC(37)=0.4625 ;XFRAC(38)=0.475 XFRAC(39)=0.4875 ;XFRAC(40)=0.5 XFRAC(41)=0.5125 ;XFRAC(42)=0.525 XFRAC(43)=0.5375 ;XFRAC(44)=0.55 XFRAC(45)=0.5625 ;XFRAC(46)=0.575 XFRAC(47)=0.5875 ;XFRAC(48)=0.6 XFRAC(49)=0.6125 ;XFRAC(50)=0.625 XFRAC(51)=0.6375 ;XFRAC(52)=0.65 XFRAC(53)=0.6625 ;XFRAC(54)=0.675 XFRAC(55)=0.6875 ;XFRAC(56)=0.7 XFRAC(57)=0.7125 ;XFRAC(58)=0.725 XFRAC(59)=0.7375 ;XFRAC(60)=0.75 XFRAC(61)=0.7625 ;XFRAC(62)=0.775 XFRAC(63)=0.7875 ;XFRAC(64)=0.8 XFRAC(65)=0.8125 ;XFRAC(66)=0.825 XFRAC(67)=0.8375 ;XFRAC(68)=0.85 XFRAC(69)=0.8625 ;XFRAC(70)=0.875 XFRAC(71)=0.8875 ;XFRAC(72)=0.9 XFRAC(73)=0.9125 ;XFRAC(74)=0.925 XFRAC(75)=0.9375 ;XFRAC(76)=0.95 XFRAC(77)=0.9625 ;XFRAC(78)=0.975 XFRAC(79)=0.9875 ;XFRAC(80)=1. ************************************************************ Group 4. Y-Direction Grid Spacing NY = 40 YVLAST =0.1 YFRAC(1)=0.025 ;YFRAC(2)=0.05 YFRAC(3)=0.075 ;YFRAC(4)=0.1 YFRAC(5)=0.125 ;YFRAC(6)=0.15 YFRAC(7)=0.175 ;YFRAC(8)=0.2 YFRAC(9)=0.225 ;YFRAC(10)=0.25 YFRAC(11)=0.275 ;YFRAC(12)=0.3 YFRAC(13)=0.325 ;YFRAC(14)=0.35 YFRAC(15)=0.375 ;YFRAC(16)=0.4 YFRAC(17)=0.425 ;YFRAC(18)=0.45 YFRAC(19)=0.475 ;YFRAC(20)=0.5 YFRAC(21)=0.525 ;YFRAC(22)=0.55 YFRAC(23)=0.575 ;YFRAC(24)=0.6 YFRAC(25)=0.625 ;YFRAC(26)=0.65 YFRAC(27)=0.675 ;YFRAC(28)=0.7 YFRAC(29)=0.725 ;YFRAC(30)=0.75 YFRAC(31)=0.775 ;YFRAC(32)=0.8 YFRAC(33)=0.825 ;YFRAC(34)=0.85 YFRAC(35)=0.875 ;YFRAC(36)=0.9 YFRAC(37)=0.925 ;YFRAC(38)=0.95 YFRAC(39)=0.975 ;YFRAC(40)=1. ************************************************************ Group 5. Z-Direction Grid Spacing PARAB = F NZ = 5 ZWLAST =0.1 ZFRAC(1)=0.2 ;ZFRAC(2)=0.4 ZFRAC(3)=0.6 ;ZFRAC(4)=0.8 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(149)=PRPS ;NAME(150)=TEM1 * 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(PRPS,Y,N,N,N,N,Y) SOLUTN(TEM1,Y,Y,Y,N,N,Y) PRPS = 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(V1,Y,Y,Y,Y,Y,Y) TERMS(W1,Y,Y,Y,Y,Y,Y) TERMS(TEM1,N,Y,Y,Y,Y,Y) DIFCUT =0.5 ;ZDIFAC =1. GALA = F ;ADDDIF = 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 =1.189 ;TMP1 =0. ;EL1 =0. TSURR =0. ;TEMP0 =273. ;PRESS0 =1.0E+05 DVO1DT =3.41E-03 ;DRH1DP =0. EMISS =0. ;SCATT =0. RADIA =0. ;RADIB =0. ENUL =1.544E-05 ;ENUT =0. PRNDTL(U1)=1. ;PRNDTL(V1)=1. PRNDTL(W1)=1. ;PRNDTL(TEM1)=-0.0258 PRT(U1)=1. ;PRT(V1)=1. PRT(W1)=1. ;PRT(TEM1)=1. CP1 =1005. ;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(PRPS)=-1. ;FIINIT(TEM1)=18. PATCH(^OB3 ,INIVAL, 3, 0, 0, 0, 0, 0, 1, 1) INIT(^OB3 ,PRPS,0. ,111. ) 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(OB1 ,WEST , 1, 1, 1, 40, 1, 5, 1, 1) COVAL(OB1 ,P1 , FIXFLU ,0.01189 ) COVAL(OB1 ,U1 ,0. ,1.0E-02 ) COVAL(OB1 ,V1 ,0. ,0. ) COVAL(OB1 ,W1 ,0. ,0. ) COVAL(OB1 ,TEM1,0. ,18. ) PATCH(OB2 ,EAST , 80, 80, 1, 40, 1, 5, 1, 1) COVAL(OB2 ,P1 ,1000. ,0. ) COVAL(OB2 ,U1 ,0. ,0. ) COVAL(OB2 ,V1 ,0. ,0. ) COVAL(OB2 ,W1 ,0. ,0. ) COVAL(OB2 ,TEM1,0. , SAME ) PATCH(^OD3 ,CELL , 3, 18, 0, 0, 0, 0, 1, 1) COVAL(^OD3 ,TEM1,In-Form:source - see Grp 19) XCYCLE = F EGWF = T WALLCO = GRND2 ************************************************************ Group 14. Downstream Pressure For PARAB ************************************************************ Group 15. Terminate Sweeps LSWEEP = 300 ;ISWC1 = 1 LITHYD = 1 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1 SELREF = T RESFAC =1.0E-03 ************************************************************ Group 16. Terminate Iterations LITER(P1)=20 ;LITER(U1)=10 LITER(V1)=10 ;LITER(W1)=10 LITER(TEM1)=600 ENDIT(P1)=1.0E-03 ;ENDIT(U1)=1.0E-03 ENDIT(V1)=1.0E-03 ;ENDIT(W1)=1.0E-03 ENDIT(TEM1)=1.0E-06 ************************************************************ Group 17. Relaxation RELAX(P1,LINRLX,1.) RELAX(U1,FALSDT,1.) RELAX(V1,FALSDT,1.) RELAX(W1,FALSDT,1.) RELAX(PRPS,LINRLX,1.) RELAX(TEM1,FALSDT,1.0E+09) 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(PRPS)=1.0E+10 ;VARMIN(PRPS)=-1.0E+10 VARMAX(TEM1)=3000. ;VARMIN(TEM1)=-204.75 ************************************************************ Group 19. Data transmitted to GROUND PARSOL = F ISG62 = 1 SPEDAT(SET,DOMAIN,PHASE_1_MAT,I,0) SPEDAT(SET,SOURCE,TEM1!PIPE,C,=1.E+5*ZG!VOLU) SPEDAT(SET,GXMONI,PLOTALL,L,T) SPEDAT(SET,OBJNAM,!OB1,C,INLET) SPEDAT(SET,OBJTYP,!OB1,C,INLET) SPEDAT(SET,OBJNAM,!OB2,C,OUTLET) SPEDAT(SET,OBJTYP,!OB2,C,OUTLET) SPEDAT(SET,ARATIO,!OB2,R,1.) SPEDAT(SET,OBJNAM,^OB3,C,PIPE) SPEDAT(SET,OBJTYP,^OB3,C,BLOCKAGE) SPEDAT(SET,PIPE,MATERIAL,R,111.) SPEDAT(SET,OBJNAM,^OD3,C,PIPE) SPEDAT(SET,OBJTYP,^OD3,C,BLOCKAGE) SPEDAT(SET,FACETDAT,NUMOBJ,I,3) SPEDAT(SET,MATERIAL,111,L,T) ************************************************************ Group 20. Preliminary Printout DISTIL = T ;NULLPR = F NDST = 0 DSTTOL =1.0E-02 EX(P1)=4.457E-05 ;EX(U1)=0.01004 EX(V1)=9.967E-04 ;EX(W1)=7.503E-09 EX(PRPS)=6.638 ;EX(TEM1)=24.68 ************************************************************ 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(PRPS,Y,N,Y,N,N,N) OUTPUT(TEM1,Y,N,Y,Y,Y,Y) ************************************************************ Group 22. Monitor Print-Out IXMON = 29 ;IYMON = 20 ;IZMON = 3 NPRMON = 100000 ;NPRMNT = 1 ;TSTSWP = -1 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 NZPRIN = -1 ;IZPRF = 1 ;IZPRL = 10000 XZPR = F ;YZPR = F 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 No PATCHes yet used for this Group ************************************************************ Group 24. Dumps For Restarts SAVE = T ;NOWIPE = F NSAVE =CHAM STOP