TALK=T;RUN(1,1) DISPLAY Simulation of laminar steady flow around a sphere in a uniform stream at a Reynolds number of 40 . The grid is cartesian and rather coarse (18*18*31), but the flow follows the curved surface smoothly because the PARSOL (i.e. cut-cell) technique is used. The fluid is atmospheric air, treated as incompressible. The variables computed are: * p1, the pressure, * u1, the x-direction velocity, * v1, the y-direction velocity, and * w1, the z-direction velocity. ENDDIS ************************************************************ Group 1. Run Title and Number ************************************************************ ************************************************************ TEXT(Two spheres In A Uniform Stream ) ************************************************************ ************************************************************ IRUNN = 1 ;LIBREF = 0 ************************************************************ Group 2. Time dependence STEADY = T ************************************************************ Group 3. X-Direction Grid Spacing CARTES = T NX = 72 XULAST =4. XFRAC(1)=0.013636 ;XFRAC(2)=0.027273 XFRAC(3)=0.040909 ;XFRAC(4)=0.054545 XFRAC(5)=0.068182 ;XFRAC(6)=0.081818 XFRAC(7)=0.095455 ;XFRAC(8)=0.109091 XFRAC(9)=0.122727 ;XFRAC(10)=0.136364 XFRAC(11)=0.15 ;XFRAC(12)=0.164286 XFRAC(13)=0.178571 ;XFRAC(14)=0.192857 XFRAC(15)=0.207143 ;XFRAC(16)=0.221429 XFRAC(17)=0.235714 ;XFRAC(18)=0.25 XFRAC(19)=0.261111 ;XFRAC(20)=0.275 XFRAC(21)=0.289286 ;XFRAC(22)=0.303571 XFRAC(23)=0.317857 ;XFRAC(24)=0.332143 XFRAC(25)=0.346429 ;XFRAC(26)=0.360714 XFRAC(27)=0.375 ;XFRAC(28)=0.388889 XFRAC(29)=0.402778 ;XFRAC(30)=0.416667 XFRAC(31)=0.430556 ;XFRAC(32)=0.444444 XFRAC(33)=0.458333 ;XFRAC(34)=0.472222 XFRAC(35)=0.486111 ;XFRAC(36)=0.5 XFRAC(37)=0.513889 ;XFRAC(38)=0.527778 XFRAC(39)=0.541667 ;XFRAC(40)=0.555556 XFRAC(41)=0.569444 ;XFRAC(42)=0.583333 XFRAC(43)=0.597222 ;XFRAC(44)=0.611111 XFRAC(45)=0.625 ;XFRAC(46)=0.639286 XFRAC(47)=0.653571 ;XFRAC(48)=0.667857 XFRAC(49)=0.682143 ;XFRAC(50)=0.696429 XFRAC(51)=0.710714 ;XFRAC(52)=0.725 XFRAC(53)=0.738889 ;XFRAC(54)=0.75 XFRAC(55)=0.764286 ;XFRAC(56)=0.778571 XFRAC(57)=0.792857 ;XFRAC(58)=0.807143 XFRAC(59)=0.821429 ;XFRAC(60)=0.835714 XFRAC(61)=0.85 ;XFRAC(62)=0.863636 XFRAC(63)=0.877273 ;XFRAC(64)=0.890909 XFRAC(65)=0.904545 ;XFRAC(66)=0.918182 XFRAC(67)=0.931818 ;XFRAC(68)=0.945455 XFRAC(69)=0.959091 ;XFRAC(70)=0.972727 XFRAC(71)=0.986364 ;XFRAC(72)=1. ************************************************************ Group 4. Y-Direction Grid Spacing NY = 72 YVLAST =4. YFRAC(1)=0.013636 ;YFRAC(2)=0.027273 YFRAC(3)=0.040909 ;YFRAC(4)=0.054545 YFRAC(5)=0.068182 ;YFRAC(6)=0.081818 YFRAC(7)=0.095455 ;YFRAC(8)=0.109091 YFRAC(9)=0.122727 ;YFRAC(10)=0.136364 YFRAC(11)=0.15 ;YFRAC(12)=0.164286 YFRAC(13)=0.178571 ;YFRAC(14)=0.192857 YFRAC(15)=0.207143 ;YFRAC(16)=0.221429 YFRAC(17)=0.235714 ;YFRAC(18)=0.25 YFRAC(19)=0.261111 ;YFRAC(20)=0.275 YFRAC(21)=0.289286 ;YFRAC(22)=0.303571 YFRAC(23)=0.317857 ;YFRAC(24)=0.332143 YFRAC(25)=0.346429 ;YFRAC(26)=0.360714 YFRAC(27)=0.375 ;YFRAC(28)=0.388889 YFRAC(29)=0.402778 ;YFRAC(30)=0.416667 YFRAC(31)=0.430556 ;YFRAC(32)=0.444444 YFRAC(33)=0.458333 ;YFRAC(34)=0.472222 YFRAC(35)=0.486111 ;YFRAC(36)=0.5 YFRAC(37)=0.513889 ;YFRAC(38)=0.527778 YFRAC(39)=0.541667 ;YFRAC(40)=0.555556 YFRAC(41)=0.569444 ;YFRAC(42)=0.583333 YFRAC(43)=0.597222 ;YFRAC(44)=0.611111 YFRAC(45)=0.625 ;YFRAC(46)=0.639286 YFRAC(47)=0.653571 ;YFRAC(48)=0.667857 YFRAC(49)=0.682143 ;YFRAC(50)=0.696429 YFRAC(51)=0.710714 ;YFRAC(52)=0.725 YFRAC(53)=0.738889 ;YFRAC(54)=0.75 YFRAC(55)=0.764286 ;YFRAC(56)=0.778571 YFRAC(57)=0.792857 ;YFRAC(58)=0.807143 YFRAC(59)=0.821429 ;YFRAC(60)=0.835714 YFRAC(61)=0.85 ;YFRAC(62)=0.863636 YFRAC(63)=0.877273 ;YFRAC(64)=0.890909 YFRAC(65)=0.904545 ;YFRAC(66)=0.918182 YFRAC(67)=0.931818 ;YFRAC(68)=0.945455 YFRAC(69)=0.959091 ;YFRAC(70)=0.972727 YFRAC(71)=0.986364 ;YFRAC(72)=1. ************************************************************ Group 5. Z-Direction Grid Spacing PARAB = F NZ = 124 ZWLAST =10. ZFRAC(1)=8.272728E-03 ;ZFRAC(2)=0.016545 ZFRAC(3)=0.024818 ;ZFRAC(4)=0.033091 ZFRAC(5)=0.041364 ;ZFRAC(6)=0.049636 ZFRAC(7)=0.057909 ;ZFRAC(8)=0.066182 ZFRAC(9)=0.074455 ;ZFRAC(10)=0.082727 ZFRAC(11)=0.091 ;ZFRAC(12)=0.099273 ZFRAC(13)=0.107545 ;ZFRAC(14)=0.115818 ZFRAC(15)=0.124091 ;ZFRAC(16)=0.132364 ZFRAC(17)=0.140636 ;ZFRAC(18)=0.148909 ZFRAC(19)=0.157182 ;ZFRAC(20)=0.165455 ZFRAC(21)=0.173727 ;ZFRAC(22)=0.182 ZFRAC(23)=0.19 ;ZFRAC(24)=0.198 ZFRAC(25)=0.206 ;ZFRAC(26)=0.214 ZFRAC(27)=0.222 ;ZFRAC(28)=0.23 ZFRAC(29)=0.238 ;ZFRAC(30)=0.246 ZFRAC(31)=0.254 ;ZFRAC(32)=0.262 ZFRAC(33)=0.27 ;ZFRAC(34)=0.278 ZFRAC(35)=0.286 ;ZFRAC(36)=0.294 ZFRAC(37)=0.302 ;ZFRAC(38)=0.31 ZFRAC(39)=0.318 ;ZFRAC(40)=0.326 ZFRAC(41)=0.334 ;ZFRAC(42)=0.342 ZFRAC(43)=0.35 ;ZFRAC(44)=0.358 ZFRAC(45)=0.366 ;ZFRAC(46)=0.374 ZFRAC(47)=0.382 ;ZFRAC(48)=0.39 ZFRAC(49)=0.398 ;ZFRAC(50)=0.406 ZFRAC(51)=0.414 ;ZFRAC(52)=0.422 ZFRAC(53)=0.43 ;ZFRAC(54)=0.438 ZFRAC(55)=0.446 ;ZFRAC(56)=0.454 ZFRAC(57)=0.462 ;ZFRAC(58)=0.470039 ZFRAC(59)=0.478077 ;ZFRAC(60)=0.486116 ZFRAC(61)=0.494155 ;ZFRAC(62)=0.502194 ZFRAC(63)=0.510232 ;ZFRAC(64)=0.518271 ZFRAC(65)=0.52631 ;ZFRAC(66)=0.534348 ZFRAC(67)=0.542387 ;ZFRAC(68)=0.550426 ZFRAC(69)=0.558465 ;ZFRAC(70)=0.566503 ZFRAC(71)=0.574542 ;ZFRAC(72)=0.582581 ZFRAC(73)=0.590619 ;ZFRAC(74)=0.598658 ZFRAC(75)=0.606697 ;ZFRAC(76)=0.614735 ZFRAC(77)=0.622774 ;ZFRAC(78)=0.626 ZFRAC(79)=0.634 ;ZFRAC(80)=0.642 ZFRAC(81)=0.65 ;ZFRAC(82)=0.658 ZFRAC(83)=0.666 ;ZFRAC(84)=0.674333 ZFRAC(85)=0.682667 ;ZFRAC(86)=0.691 ZFRAC(87)=0.699333 ;ZFRAC(88)=0.707667 ZFRAC(89)=0.716 ;ZFRAC(90)=0.724333 ZFRAC(91)=0.732667 ;ZFRAC(92)=0.741 ZFRAC(93)=0.749333 ;ZFRAC(94)=0.757667 ZFRAC(95)=0.766 ;ZFRAC(96)=0.774 ZFRAC(97)=0.782 ;ZFRAC(98)=0.79 ZFRAC(99)=0.798 ;ZFRAC(100)=0.806 ZFRAC(101)=0.809226 ;ZFRAC(102)=0.81752 ZFRAC(103)=0.825815 ;ZFRAC(104)=0.834109 ZFRAC(105)=0.842404 ;ZFRAC(106)=0.850698 ZFRAC(107)=0.858993 ;ZFRAC(108)=0.867287 ZFRAC(109)=0.875582 ;ZFRAC(110)=0.883877 ZFRAC(111)=0.892171 ;ZFRAC(112)=0.900466 ZFRAC(113)=0.90876 ;ZFRAC(114)=0.917055 ZFRAC(115)=0.925349 ;ZFRAC(116)=0.933644 ZFRAC(117)=0.941938 ;ZFRAC(118)=0.950233 ZFRAC(119)=0.958527 ;ZFRAC(120)=0.966822 ZFRAC(121)=0.975116 ;ZFRAC(122)=0.983411 ZFRAC(123)=0.991706 ;ZFRAC(124)=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(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(P1,Y,Y,Y,N,N,Y) SOLUTN(U1,Y,Y,Y,N,N,Y) SOLUTN(V1,Y,Y,Y,N,N,Y) SOLUTN(W1,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(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 ISOLX = -1 ;ISOLY = -1 ;ISOLZ = -1 USP = T ; USPDBG = F UTCPLT = T ; USPIMB = F UAUTO = F ; UGTGRD = F USPVTK = T ; USPTER = F USCANX = T ; USCANY = T USCANZ = T MXLEV = 2 ;MYLEV = 2 ;MZLEV = 2 DOMAT = -1 CELLST = 10 ; FACEST = 10 MINPRP = -1 ; MAXPRP = 100 UMXLEV = 2 ; UMXCLS = 10000 UNOLAY = 2 ; UIOLEV = 0 UWALEV = 0 ; UGRITR = 10 UMXCRS = 16 USPREL =0.7 ; UMNCEL =1. UDVREL =1. ************************************************************ Group 9. Properties used if PRPS is not stored, and where PRPS = -1.0 if it is! RHO1 =1. ;TMP1 =0. ;EL1 =0. TSURR =0. ;TEMP0 =0. ;PRESS0 =0. DVO1DT =0. ;DRH1DP =0. EMISS =0. ;SCATT =0. RADIA =0. ;RADIB =0. ENUL =0.05 ;ENUT =0. PRNDTL(U1)=1. ;PRNDTL(V1)=1. PRNDTL(W1)=1. PRT(U1)=1. ;PRT(V1)=1. PRT(W1)=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. FIINIT(PRPS)=-1. PATCH(^OB3 ,INIVAL, 3, 0, 0, 0, 0, 0, 1, 1) INIT(^OB3 ,PRPS,0. ,198. ) PATCH(^OB4 ,INIVAL, 4, 0, 0, 0, 0, 0, 1, 1) INIT(^OB4 ,PRPS,0. ,198. ) 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 ,LOW , 1, 72, 1, 72, 1, 1, 1, 1) COVAL(OB1 ,P1 , FIXFLU ,1. ) COVAL(OB1 ,U1 ,0. ,0. ) COVAL(OB1 ,V1 ,0. ,0. ) COVAL(OB1 ,W1 ,0. ,1. ) PATCH(OB2 ,HIGH , 1, 72, 1, 72, 124, 124, 1, 1) COVAL(OB2 ,P1 ,1000. ,0. ) COVAL(OB2 ,U1 ,0. ,0. ) COVAL(OB2 ,V1 ,0. ,0. ) COVAL(OB2 ,W1 ,0. ,0. ) PATCH(^OB5 ,CELL , 5, 0, 0, 0, 0, 0, 1, 1) PATCH(^OB6 ,CELL , 6, 0, 0, 0, 0, 0, 1, 1) PATCH(^OB7 ,CELL , 7, 0, 0, 0, 0, 0, 1, 1) XCYCLE = F EGWF = T WALLCO = GRND2 ************************************************************ Group 14. Downstream Pressure For PARAB ************************************************************ Group 15. Terminate Sweeps LSWEEP = 500 ;ISWC1 = 1 LITHYD = 1 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1 SELREF = T RESFAC =1.0E-07 ************************************************************ Group 16. Terminate Iterations LITER(P1)=250 ;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.5) RELAX(U1,FALSDT,100.) RELAX(V1,FALSDT,100.) RELAX(W1,FALSDT,100.) RELAX(PRPS,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(PRPS)=1.0E+10 ;VARMIN(PRPS)=-1.0E+10 ************************************************************ Group 19. Data transmitted to GROUND PARSOL = F ISG62 = 1 SPEDAT(SET,GXMONI,PLOTALL,L,T) SPEDAT(SET,OBJNAM,!OB1,C,B1) SPEDAT(SET,OBJTYP,!OB1,C,INLET) SPEDAT(SET,OBJNAM,!OB2,C,B2) SPEDAT(SET,OBJTYP,!OB2,C,OUTLET) SPEDAT(SET,ARATIO,!OB2,R,1.) SPEDAT(SET,OBJNAM,^OB3,C,B3) SPEDAT(SET,OBJTYP,^OB3,C,BLOCKAGE) SPEDAT(SET,B3,MATERIAL,R,198.) SPEDAT(SET,OBJNAM,^OB4,C,B4) SPEDAT(SET,OBJTYP,^OB4,C,BLOCKAGE) SPEDAT(SET,B4,MATERIAL,R,198.) SPEDAT(SET,OBJNAM,^OB5,C,B5) SPEDAT(SET,OBJTYP,^OB5,C,USER_DEFINED) SPEDAT(SET,^OB5,LEVEL_X,I,1) SPEDAT(SET,^OB5,LEVEL_Y,I,1) SPEDAT(SET,^OB5,LEVEL_Z,I,1) SPEDAT(SET,B5,DATFILE,C,fine) SPEDAT(SET,^OB5,AXES,C,OXYZ) SPEDAT(SET,OBJNAM,^OB6,C,B6) SPEDAT(SET,OBJTYP,^OB6,C,USER_DEFINED) SPEDAT(SET,^OB6,LEVEL_X,I,0) SPEDAT(SET,^OB6,LEVEL_Y,I,0) SPEDAT(SET,^OB6,LEVEL_Z,I,0) SPEDAT(SET,B6,DATFILE,C,fine) SPEDAT(SET,^OB6,AXES,C,OXYZ) SPEDAT(SET,OBJNAM,^OB7,C,B7) SPEDAT(SET,OBJTYP,^OB7,C,USER_DEFINED) SPEDAT(SET,^OB7,LEVEL_X,I,1) SPEDAT(SET,^OB7,LEVEL_Y,I,1) SPEDAT(SET,^OB7,LEVEL_Z,I,1) SPEDAT(SET,B7,DATFILE,C,fine) SPEDAT(SET,^OB7,AXES,C,OXYZ) SPEDAT(SET,FACETDAT,NUMOBJ,I,7) SPEDAT(SET,MATERIAL,198,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(V1,Y,N,Y,Y,Y,Y) OUTPUT(W1,Y,N,Y,Y,Y,Y) OUTPUT(PRPS,Y,N,Y,N,N,N) ************************************************************ Group 22. Monitor Print-Out IXMON = 11 ;IYMON = 11 ;IZMON = 6 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