TALK=T;RUN(1,1) DISPLAY This example illustrates the partitioned-domain technique. This 3D steady case simulates a heat exchange in a computer class where three computer blocks are located on one table. The temperature values at all boundaries for each computer block are read from transfer$ objects created previously in case 863$ . The Q1 contains VRV USE commands ENDDIS VRV USE AXIS ON CELPOS OFF CONTOUR SCALE ON POSITION CONTOURKEY 2.587322E-02 9.276438E-02 TEXT ON POSITION TITLE 2.975420E-01 8.998145E-01 POSITION PROBE 7.671410E-01 9.276438E-02 GRID OFF WIREFRAME ON SCALE 1.000000E+00 1.000000E+00 1.000000E+00 PROBE 4.750000E-01 4.900000E-01 8.900000E-01; PROBE ON SLICE Y SLICE OUTLINE ON VIEW 0.000000E+00 -1.000000E+00 0.000000E+00 UP 0.000000E+00 0.000000E+00 1.000000E+00 VIEW CENTRE 1.000000E+00 5.000000E-01 1.000000E+00 VIEW SIZE 1.440000E+00 VIEW DEPTH 3.000000E+00;VIEW TILT 0.8 DOMAIN ON OBJECT SHOW TYPE BLOCKAGE OBJECT PAINT TYPE BLOCKAGE OFF OBJECT SHOW TYPE PLATE OBJECT PAINT TYPE PLATE OFF VARIABLE Temperature; VECTOR OFF CONTOUR ON CONTOUR BLANK ON CONTOUR AVERAGE ON SURFACE OFF MINMAX OFF CONTOUR OPAQUENESS 100 STREAM CLEAR STREAM ANIMATE OFF ENDUSE ************************************************************ Group 1. Run Title and Number ************************************************************ ************************************************************ TEXT(Computer room. ) ************************************************************ ************************************************************ IRUNN = 1 ;LIBREF = 0 ************************************************************ Group 2. Time dependence STEADY = T ************************************************************ Group 3. X-Direction Grid Spacing CARTES = T NX = 58 XULAST =2. XFRAC(1)=0.025 ;XFRAC(2)=0.05 XFRAC(3)=0.075 ;XFRAC(4)=0.1 XFRAC(5)=0.11 ;XFRAC(6)=0.12 XFRAC(7)=0.13 ;XFRAC(8)=0.14 XFRAC(9)=0.15 ;XFRAC(10)=0.16 XFRAC(11)=0.17 ;XFRAC(12)=0.18 XFRAC(13)=0.19 ;XFRAC(14)=0.2 XFRAC(15)=0.225 ;XFRAC(16)=0.25 XFRAC(17)=0.275 ;XFRAC(18)=0.3 XFRAC(19)=0.31 ;XFRAC(20)=0.32 XFRAC(21)=0.33 ;XFRAC(22)=0.34 XFRAC(23)=0.35 ;XFRAC(24)=0.36 XFRAC(25)=0.37 ;XFRAC(26)=0.38 XFRAC(27)=0.39 ;XFRAC(28)=0.4 XFRAC(29)=0.425 ;XFRAC(30)=0.45 XFRAC(31)=0.475 ;XFRAC(32)=0.5 XFRAC(33)=0.51 ;XFRAC(34)=0.52 XFRAC(35)=0.53 ;XFRAC(36)=0.54 XFRAC(37)=0.55 ;XFRAC(38)=0.56 XFRAC(39)=0.57 ;XFRAC(40)=0.58 XFRAC(41)=0.59 ;XFRAC(42)=0.6 XFRAC(43)=0.625 ;XFRAC(44)=0.65 XFRAC(45)=0.675 ;XFRAC(46)=0.7 XFRAC(47)=0.725 ;XFRAC(48)=0.75 XFRAC(49)=0.775 ;XFRAC(50)=0.8 XFRAC(51)=0.825 ;XFRAC(52)=0.85 XFRAC(53)=0.875 ;XFRAC(54)=0.9 XFRAC(55)=0.925 ;XFRAC(56)=0.95 XFRAC(57)=0.975 ;XFRAC(58)=1. ************************************************************ Group 4. Y-Direction Grid Spacing NY = 36 YVLAST =1. YFRAC(1)=0.033333 ;YFRAC(2)=0.066667 YFRAC(3)=0.1 ;YFRAC(4)=0.133333 YFRAC(5)=0.166667 ;YFRAC(6)=0.2 YFRAC(7)=0.24 ;YFRAC(8)=0.28 YFRAC(9)=0.32 ;YFRAC(10)=0.36 YFRAC(11)=0.4 ;YFRAC(12)=0.42 YFRAC(13)=0.44 ;YFRAC(14)=0.46 YFRAC(15)=0.48 ;YFRAC(16)=0.5 YFRAC(17)=0.52 ;YFRAC(18)=0.54 YFRAC(19)=0.56 ;YFRAC(20)=0.58 YFRAC(21)=0.6 ;YFRAC(22)=0.62 YFRAC(23)=0.64 ;YFRAC(24)=0.66 YFRAC(25)=0.68 ;YFRAC(26)=0.7 YFRAC(27)=0.72 ;YFRAC(28)=0.74 YFRAC(29)=0.76 ;YFRAC(30)=0.78 YFRAC(31)=0.8 ;YFRAC(32)=0.84 YFRAC(33)=0.88 ;YFRAC(34)=0.92 YFRAC(35)=0.96 ;YFRAC(36)=1. ************************************************************ Group 5. Z-Direction Grid Spacing PARAB = F NZ = 55 ZWLAST =2. ZFRAC(1)=0.02 ;ZFRAC(2)=0.04 ZFRAC(3)=0.06 ;ZFRAC(4)=0.08 ZFRAC(5)=0.1 ;ZFRAC(6)=0.12 ZFRAC(7)=0.14 ;ZFRAC(8)=0.16 ZFRAC(9)=0.18 ;ZFRAC(10)=0.2 ZFRAC(11)=0.22 ;ZFRAC(12)=0.24 ZFRAC(13)=0.26 ;ZFRAC(14)=0.28 ZFRAC(15)=0.3 ;ZFRAC(16)=0.32 ZFRAC(17)=0.34 ;ZFRAC(18)=0.36 ZFRAC(19)=0.38 ;ZFRAC(20)=0.4 ZFRAC(21)=0.41 ;ZFRAC(22)=0.42 ZFRAC(23)=0.43 ;ZFRAC(24)=0.44 ZFRAC(25)=0.45 ;ZFRAC(26)=0.46 ZFRAC(27)=0.47 ;ZFRAC(28)=0.48 ZFRAC(29)=0.49 ;ZFRAC(30)=0.5 ZFRAC(31)=0.51 ;ZFRAC(32)=0.52 ZFRAC(33)=0.53 ;ZFRAC(34)=0.54 ZFRAC(35)=0.55 ;ZFRAC(36)=0.5725 ZFRAC(37)=0.595 ;ZFRAC(38)=0.6175 ZFRAC(39)=0.64 ;ZFRAC(40)=0.6625 ZFRAC(41)=0.685 ;ZFRAC(42)=0.7075 ZFRAC(43)=0.73 ;ZFRAC(44)=0.7525 ZFRAC(45)=0.775 ;ZFRAC(46)=0.7975 ZFRAC(47)=0.82 ;ZFRAC(48)=0.8425 ZFRAC(49)=0.865 ;ZFRAC(50)=0.8875 ZFRAC(51)=0.91 ;ZFRAC(52)=0.9325 ZFRAC(53)=0.955 ;ZFRAC(54)=0.9775 ZFRAC(55)=1. ************************************************************ Group 6. Body-Fitted Coordinates ************************************************************ Group 7. Variables: STOREd,SOLVEd,NAMEd ONEPHS = T NAME(146)=TEM1 ;NAME(150)=PRPS * Y in SOLUTN argument list denotes: * 1-stored 2-solved 3-whole-field * 4-point-by-point 5-explicit 6-harmonic averaging SOLUTN(TEM1,Y,Y,Y,N,N,Y) SOLUTN(PRPS,Y,N,N,N,N,Y) PRPS = 150 ************************************************************ 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(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(TEM1)=-0.0258 PRT(TEM1)=1. CP1 =1005. ;CP2 =1. ************************************************************ Group 10.Inter-Phase Transfer Processes ************************************************************ Group 11.Initial field variables (PHIs) FIINIT(TEM1)=20. ;FIINIT(PRPS)=-1. PATCH(^OB5 ,INIVAL, 5, 0, 0, 0, 0, 0, 1, 1) INIT(^OB5 ,TEM1,0. ,20. ) INIT(^OB5 ,PRPS,0. ,132. ) PATCH(OB6 ,INIVAL, 5, 14, 12, 31, 21, 35, 1, 1) INIT(OB6 ,TEM1,0. ,20. ) INIT(OB6 ,PRPS,0. ,111. ) PATCH(OB7 ,INIVAL, 19, 28, 12, 31, 21, 35, 1, 1) INIT(OB7 ,TEM1,0. ,20. ) INIT(OB7 ,PRPS,0. ,111. ) PATCH(OB8 ,INIVAL, 33, 42, 12, 31, 21, 35, 1, 1) INIT(OB8 ,TEM1,0. ,20. ) INIT(OB8 ,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 ,LWALL , 1, 58, 1, 36, 1, 1, 1, 1) COVAL(OB1 ,TEM1,1. ,20. ) PATCH(OB2 ,HWALL , 1, 58, 1, 36, 55, 55, 1, 1) COVAL(OB2 ,TEM1,1. ,20. ) PATCH(OB3 ,NWALL , 1, 58, 36, 36, 1, 55, 1, 1) COVAL(OB3 ,TEM1,1. ,20. ) PATCH(OB4 ,WWALL , 1, 1, 1, 36, 1, 55, 1, 1) COVAL(OB4 ,TEM1,1. ,20. ) PATCH(^OD5 ,CELL , 5, 18, 0, 0, 0, 0, 1, 1) COVAL(^OD5 ,TEM1,0. ,0. ) PATCH(OB9 ,EAST , 4, 4, 12, 31, 21, 35, 1, 1) COVAL(OB9 ,TEM1,0. ,0. ) PATCH(OBA ,WEST , 15, 15, 12, 31, 21, 35, 1, 1) COVAL(OBA ,TEM1,0. ,0. ) PATCH(OBB ,NORTH , 5, 14, 11, 11, 21, 35, 1, 1) COVAL(OBB ,TEM1,0. ,0. ) PATCH(OBC ,SOUTH , 5, 14, 32, 32, 21, 35, 1, 1) COVAL(OBC ,TEM1,0. ,0. ) PATCH(OBD ,HIGH , 5, 14, 12, 31, 20, 20, 1, 1) COVAL(OBD ,TEM1,0. ,0. ) PATCH(OBE ,LOW , 5, 14, 12, 31, 36, 36, 1, 1) COVAL(OBE ,TEM1,0. ,0. ) PATCH(OBF ,EAST , 18, 18, 12, 31, 21, 35, 1, 1) COVAL(OBF ,TEM1,0. ,0. ) PATCH(OB10 ,WEST , 29, 29, 12, 31, 21, 35, 1, 1) COVAL(OB10 ,TEM1,0. ,0. ) PATCH(OB11 ,NORTH , 19, 28, 11, 11, 21, 35, 1, 1) COVAL(OB11 ,TEM1,0. ,0. ) PATCH(OB12 ,SOUTH , 19, 28, 32, 32, 21, 35, 1, 1) COVAL(OB12 ,TEM1,0. ,0. ) PATCH(OB13 ,HIGH , 19, 28, 12, 31, 20, 20, 1, 1) COVAL(OB13 ,TEM1,0. ,0. ) PATCH(OB14 ,LOW , 19, 28, 12, 31, 36, 36, 1, 1) COVAL(OB14 ,TEM1,0. ,0. ) PATCH(OB15 ,EAST , 32, 32, 12, 31, 21, 35, 1, 1) COVAL(OB15 ,TEM1,0. ,0. ) PATCH(OB16 ,WEST , 43, 43, 12, 31, 21, 35, 1, 1) COVAL(OB16 ,TEM1,0. ,0. ) PATCH(OB17 ,NORTH , 33, 42, 11, 11, 21, 35, 1, 1) COVAL(OB17 ,TEM1,0. ,0. ) PATCH(OB18 ,SOUTH , 33, 42, 32, 32, 21, 35, 1, 1) COVAL(OB18 ,TEM1,0. ,0. ) PATCH(OB19 ,HIGH , 33, 42, 12, 31, 20, 20, 1, 1) COVAL(OB19 ,TEM1,0. ,0. ) PATCH(OB1A ,LOW , 33, 42, 12, 31, 36, 36, 1, 1) COVAL(OB1A ,TEM1,0. ,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 SELREF = T RESFAC =1.0E-03 ************************************************************ Group 16. Terminate Iterations LITER(TEM1)=20 ENDIT(TEM1)=1.0E-03 ************************************************************ Group 17. Relaxation RELAX(TEM1,FALSDT,1.0E+09) RELAX(PRPS,LINRLX,1.) OVRRLX =0. EXPERT = F ;NNORSL = F ************************************************************ Group 18. Limits VARMAX(TEM1)=3000. ;VARMIN(TEM1)=-204.75 VARMAX(PRPS)=1.0E+10 ;VARMIN(PRPS)=-1.0E+10 ************************************************************ Group 19. Data transmitted to GROUND PARSOL = F CONWIZ = T ISG62 = 1 SPEDAT(SET,DOMAIN,PHASE_1_MAT,I,0) SPEDAT(SET,GXMONI,PLOTALL,L,T) SPEDAT(SET,OBJNAM,!OB1,C,LWALL) SPEDAT(SET,OBJTYP,!OB1,C,PLATE) SPEDAT(SET,OBJNAM,!OB2,C,HWALL) SPEDAT(SET,OBJTYP,!OB2,C,PLATE) SPEDAT(SET,OBJNAM,!OB3,C,NWALL) SPEDAT(SET,OBJTYP,!OB3,C,PLATE) SPEDAT(SET,OBJNAM,!OB4,C,WWALL) SPEDAT(SET,OBJTYP,!OB4,C,PLATE) SPEDAT(SET,OBJNAM,^OB5,C,TABLE) SPEDAT(SET,OBJTYP,^OB5,C,BLOCKAGE) SPEDAT(SET,TABLE,MATERIAL,R,132.) SPEDAT(SET,OBJNAM,^OD5,C,TABLE) SPEDAT(SET,OBJTYP,^OD5,C,BLOCKAGE) SPEDAT(SET,OBJNAM,!OB6,C,COMP1) SPEDAT(SET,OBJTYP,!OB6,C,BLOCKAGE) SPEDAT(SET,COMP1,MATERIAL,R,111.) SPEDAT(SET,OBJNAM,!OB7,C,COMP2) SPEDAT(SET,OBJTYP,!OB7,C,BLOCKAGE) SPEDAT(SET,COMP2,MATERIAL,R,111.) SPEDAT(SET,OBJNAM,!OB8,C,COMP3) SPEDAT(SET,OBJTYP,!OB8,C,BLOCKAGE) SPEDAT(SET,COMP3,MATERIAL,R,111.) SPEDAT(SET,OBJNAM,!OB9,C,CMP1E) SPEDAT(SET,OBJTYP,!OB9,C,USER_DEFINED) SPEDAT(SET,IMPORT,OB9,C,westtrob) SPEDAT(SET,OBJNAM,!OBA,C,CMP1W) SPEDAT(SET,OBJTYP,!OBA,C,USER_DEFINED) SPEDAT(SET,IMPORT,OBA,C,easttrob) SPEDAT(SET,OBJNAM,!OBB,C,CMP1N) SPEDAT(SET,OBJTYP,!OBB,C,USER_DEFINED) SPEDAT(SET,IMPORT,OBB,C,souttrob) SPEDAT(SET,OBJNAM,!OBC,C,CMP1S) SPEDAT(SET,OBJTYP,!OBC,C,USER_DEFINED) SPEDAT(SET,IMPORT,OBC,C,norttrob) SPEDAT(SET,OBJNAM,!OBD,C,CMP1H) SPEDAT(SET,OBJTYP,!OBD,C,USER_DEFINED) SPEDAT(SET,IMPORT,OBD,C,lowtrob) SPEDAT(SET,OBJNAM,!OBE,C,CMP1L) SPEDAT(SET,OBJTYP,!OBE,C,USER_DEFINED) SPEDAT(SET,IMPORT,OBE,C,hightrob) SPEDAT(SET,OBJNAM,!OBF,C,CMP2E) SPEDAT(SET,OBJTYP,!OBF,C,USER_DEFINED) SPEDAT(SET,IMPORT,OBF,C,westtrob) SPEDAT(SET,OBJNAM,!OB10,C,CMP2W) SPEDAT(SET,OBJTYP,!OB10,C,USER_DEFINED) SPEDAT(SET,IMPORT,OB10,C,easttrob) SPEDAT(SET,OBJNAM,!OB11,C,CMP2N) SPEDAT(SET,OBJTYP,!OB11,C,USER_DEFINED) SPEDAT(SET,IMPORT,OB11,C,souttrob) SPEDAT(SET,OBJNAM,!OB12,C,CMP2S) SPEDAT(SET,OBJTYP,!OB12,C,USER_DEFINED) SPEDAT(SET,IMPORT,OB12,C,norttrob) SPEDAT(SET,OBJNAM,!OB13,C,CMP2H) SPEDAT(SET,OBJTYP,!OB13,C,USER_DEFINED) SPEDAT(SET,IMPORT,OB13,C,lowtrob) SPEDAT(SET,OBJNAM,!OB14,C,CMP2L) SPEDAT(SET,OBJTYP,!OB14,C,USER_DEFINED) SPEDAT(SET,IMPORT,OB14,C,hightrob) SPEDAT(SET,OBJNAM,!OB15,C,CMP3E) SPEDAT(SET,OBJTYP,!OB15,C,USER_DEFINED) SPEDAT(SET,IMPORT,OB15,C,westtrob) SPEDAT(SET,OBJNAM,!OB16,C,CMP3W) SPEDAT(SET,OBJTYP,!OB16,C,USER_DEFINED) SPEDAT(SET,IMPORT,OB16,C,easttrob) SPEDAT(SET,OBJNAM,!OB17,C,CMP3N) SPEDAT(SET,OBJTYP,!OB17,C,USER_DEFINED) SPEDAT(SET,IMPORT,OB17,C,souttrob) SPEDAT(SET,OBJNAM,!OB18,C,CMP3S) SPEDAT(SET,OBJTYP,!OB18,C,USER_DEFINED) SPEDAT(SET,IMPORT,OB18,C,norttrob) SPEDAT(SET,OBJNAM,!OB19,C,CMP3H) SPEDAT(SET,OBJTYP,!OB19,C,USER_DEFINED) SPEDAT(SET,IMPORT,OB19,C,lowtrob) SPEDAT(SET,OBJNAM,!OB1A,C,CMP3L) SPEDAT(SET,OBJTYP,!OB1A,C,USER_DEFINED) SPEDAT(SET,IMPORT,OB1A,C,hightrob) SPEDAT(SET,FACETDAT,NUMOBJ,I,26) SPEDAT(SET,MATERIAL,132,L,T) SPEDAT(SET,MATERIAL,111,L,T) ************************************************************ Group 20. Preliminary Printout DISTIL = T ;NULLPR = F NDST = 0 DSTTOL =1.0E-02 EX(TEM1)=20.35 ;EX(PRPS)=32.549999 ************************************************************ 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(TEM1,Y,N,Y,Y,Y,Y) OUTPUT(PRPS,Y,N,Y,N,N,N) ************************************************************ Group 22. Monitor Print-Out IXMON = 16 ;IYMON = 15 ;IZMON = 25 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 = 5 ;IXPRL = 5 NYPRIN = 1 ;IYPRF = 1 ;IYPRL = 10000 NZPRIN = 1 ;IZPRF = 1 ;IZPRL = 10000 XZPR = F ;YZPR = T 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