TALK=T;RUN(1,1) PHOTON USE p; parphi; 1 1 500 gr ou x 1 gr off;red;gr ou y 1 msg pressure; distance is vertical, time horizontal con p1 x 1 fi;1 msg Pressto continue pause con off red msg velocity; distance is vertical, time horizontal con v1 x 1 fi;1 msg trajectory of interface con c3 x 1 col 1; 1.1 1.11 2 enduse DISPLAY High-pressure air is separated from low-pressure air by a spherical diaphragm concentric with a spherical outer vessel. The diaphragm suddenly breaks. The subsequent motion is predicted by a one-dimensional analysis. The spherical geometry is simulated by the use of VPOR and NPOR, which are made proportional to iy by the setting iporib=3. ENDDIS ************************************************************ Group 1. Run Title and Number ************************************************************ ************************************************************ TEXT(Spherical Blast Wave ) ************************************************************ ************************************************************ IRUNN = 1 ;LIBREF = 334 ************************************************************ Group 2. Time dependence STEADY = F * Set overall time and no. of steps TFIRST =0. ;TLAST =1.0E-03 FSTEP = 1 ;LSTEP = 200 TFRAC(1)=5.0E-03 ;TFRAC(41)=0.205 TFRAC(81)=0.405 ;TFRAC(121)=0.605 TFRAC(161)=0.805 ************************************************************ Group 3. X-Direction Grid Spacing CARTES = T NX = 1 XULAST =1. XFRAC(1)=1. ************************************************************ Group 4. Y-Direction Grid Spacing NY = 200 YVLAST =1. YFRAC(1)=5.0E-03 ;YFRAC(2)=1.0E-02 YFRAC(3)=0.015 ;YFRAC(4)=0.02 YFRAC(5)=0.025 ;YFRAC(6)=0.03 YFRAC(7)=0.035 ;YFRAC(8)=0.04 YFRAC(9)=0.045 ;YFRAC(10)=0.05 YFRAC(11)=0.055 ;YFRAC(12)=0.06 YFRAC(13)=0.065 ;YFRAC(14)=0.07 YFRAC(15)=0.075 ;YFRAC(16)=0.08 YFRAC(17)=0.085 ;YFRAC(18)=0.09 YFRAC(19)=0.095 ;YFRAC(20)=0.1 YFRAC(21)=0.105 ;YFRAC(22)=0.11 YFRAC(23)=0.115 ;YFRAC(24)=0.12 YFRAC(25)=0.125 ;YFRAC(26)=0.13 YFRAC(27)=0.135 ;YFRAC(28)=0.14 YFRAC(29)=0.145 ;YFRAC(30)=0.15 YFRAC(31)=0.155 ;YFRAC(32)=0.16 YFRAC(33)=0.165 ;YFRAC(34)=0.17 YFRAC(35)=0.175 ;YFRAC(36)=0.18 YFRAC(37)=0.185 ;YFRAC(38)=0.19 YFRAC(39)=0.195 ;YFRAC(40)=0.2 YFRAC(41)=0.205 ;YFRAC(42)=0.21 YFRAC(43)=0.215 ;YFRAC(44)=0.22 YFRAC(45)=0.225 ;YFRAC(46)=0.23 YFRAC(47)=0.235 ;YFRAC(48)=0.24 YFRAC(49)=0.245 ;YFRAC(50)=0.25 YFRAC(51)=0.255 ;YFRAC(52)=0.26 YFRAC(53)=0.265 ;YFRAC(54)=0.27 YFRAC(55)=0.275 ;YFRAC(56)=0.28 YFRAC(57)=0.285 ;YFRAC(58)=0.29 YFRAC(59)=0.295 ;YFRAC(60)=0.3 YFRAC(61)=0.305 ;YFRAC(62)=0.31 YFRAC(63)=0.315 ;YFRAC(64)=0.32 YFRAC(65)=0.325 ;YFRAC(66)=0.33 YFRAC(67)=0.335 ;YFRAC(68)=0.34 YFRAC(69)=0.345 ;YFRAC(70)=0.35 YFRAC(71)=0.355 ;YFRAC(72)=0.36 YFRAC(73)=0.365 ;YFRAC(74)=0.37 YFRAC(75)=0.375 ;YFRAC(76)=0.38 YFRAC(77)=0.385 ;YFRAC(78)=0.39 YFRAC(79)=0.395 ;YFRAC(80)=0.4 YFRAC(81)=0.405 ;YFRAC(82)=0.41 YFRAC(83)=0.415 ;YFRAC(84)=0.42 YFRAC(85)=0.425 ;YFRAC(86)=0.43 YFRAC(87)=0.435 ;YFRAC(88)=0.44 YFRAC(89)=0.445 ;YFRAC(90)=0.45 YFRAC(91)=0.455 ;YFRAC(92)=0.46 YFRAC(93)=0.465 ;YFRAC(94)=0.47 YFRAC(95)=0.475 ;YFRAC(96)=0.48 YFRAC(97)=0.485 ;YFRAC(98)=0.49 YFRAC(99)=0.495 ;YFRAC(100)=0.5 YFRAC(101)=0.505 ;YFRAC(102)=0.51 YFRAC(103)=0.515 ;YFRAC(104)=0.52 YFRAC(105)=0.525 ;YFRAC(106)=0.53 YFRAC(107)=0.535 ;YFRAC(108)=0.54 YFRAC(109)=0.545 ;YFRAC(110)=0.55 YFRAC(111)=0.555 ;YFRAC(112)=0.56 YFRAC(113)=0.565 ;YFRAC(114)=0.57 YFRAC(115)=0.575 ;YFRAC(116)=0.58 YFRAC(117)=0.585 ;YFRAC(118)=0.59 YFRAC(119)=0.595 ;YFRAC(120)=0.6 YFRAC(121)=0.605 ;YFRAC(122)=0.61 YFRAC(123)=0.615 ;YFRAC(124)=0.62 YFRAC(125)=0.625 ;YFRAC(126)=0.63 YFRAC(127)=0.635 ;YFRAC(128)=0.64 YFRAC(129)=0.645 ;YFRAC(130)=0.65 YFRAC(131)=0.655 ;YFRAC(132)=0.66 YFRAC(133)=0.665 ;YFRAC(134)=0.67 YFRAC(135)=0.675 ;YFRAC(136)=0.68 YFRAC(137)=0.685 ;YFRAC(138)=0.69 YFRAC(139)=0.695 ;YFRAC(140)=0.7 YFRAC(141)=0.705 ;YFRAC(142)=0.71 YFRAC(143)=0.715 ;YFRAC(144)=0.72 YFRAC(145)=0.725 ;YFRAC(146)=0.73 YFRAC(147)=0.735 ;YFRAC(148)=0.74 YFRAC(149)=0.745 ;YFRAC(150)=0.75 YFRAC(151)=0.755 ;YFRAC(152)=0.76 YFRAC(153)=0.765 ;YFRAC(154)=0.77 YFRAC(155)=0.775 ;YFRAC(156)=0.78 YFRAC(157)=0.785 ;YFRAC(158)=0.79 YFRAC(159)=0.795 ;YFRAC(160)=0.8 YFRAC(161)=0.805 ;YFRAC(162)=0.81 YFRAC(163)=0.815 ;YFRAC(164)=0.82 YFRAC(165)=0.825 ;YFRAC(166)=0.83 YFRAC(167)=0.835 ;YFRAC(168)=0.84 YFRAC(169)=0.845 ;YFRAC(170)=0.85 YFRAC(171)=0.855 ;YFRAC(172)=0.86 YFRAC(173)=0.865 ;YFRAC(174)=0.87 YFRAC(175)=0.875 ;YFRAC(176)=0.88 YFRAC(177)=0.885 ;YFRAC(178)=0.89 YFRAC(179)=0.895 ;YFRAC(180)=0.9 YFRAC(181)=0.905 ;YFRAC(182)=0.91 YFRAC(183)=0.915 ;YFRAC(184)=0.92 YFRAC(185)=0.925 ;YFRAC(186)=0.93 YFRAC(187)=0.935 ;YFRAC(188)=0.94 YFRAC(189)=0.945 ;YFRAC(190)=0.95 YFRAC(191)=0.955 ;YFRAC(192)=0.96 YFRAC(193)=0.965 ;YFRAC(194)=0.97 YFRAC(195)=0.975 ;YFRAC(196)=0.98 YFRAC(197)=0.985 ;YFRAC(198)=0.99 YFRAC(199)=0.995 ;YFRAC(200)=1. ************************************************************ Group 5. Z-Direction Grid Spacing PARAB = F NZ = 1 ZWLAST =1. ZFRAC(1)=1. ************************************************************ Group 6. Body-Fitted Coordinates ************************************************************ Group 7. Variables: STOREd,SOLVEd,NAMEd ONEPHS = T NAME(1)=P1 ;NAME(5)=V1 NAME(18)=C3 ;NAME(147)=PRPS NAME(148)=VPOR ;NAME(149)=NPOR NAME(150)=RHO1 * 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,N,N,N,Y) SOLUTN(V1,Y,Y,N,N,N,Y) SOLUTN(C3,Y,Y,N,N,N,Y) SOLUTN(PRPS,Y,N,N,N,N,Y) SOLUTN(VPOR,Y,N,N,N,N,Y) SOLUTN(NPOR,Y,N,N,N,N,Y) SOLUTN(RHO1,Y,N,N,N,N,Y) DEN1 = 150 EPOR = 0 ;HPOR = 0 ;NPOR = 149 ;VPOR = 148 PRPS = 147 ************************************************************ 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(V1,Y,Y,N,Y,Y,Y) TERMS(C3,Y,Y,N,Y,Y,Y) DIFCUT =0.5 ;ZDIFAC =1. GALA = F ;ADDDIF = F NEWRH1 = T 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 =0. DVO1DT =3.33E-03 ;DRH1DP = GRND3 RHO1A =2.682563E-04 ;RHO1B =0.71429 ;RHO1C =0. EMISS =0. ;SCATT =0. RADIA =0. ;RADIB =0. ENUL =1.569E-05 ;ENUT =0. CP1 =1007. ;CP2 =1. ************************************************************ Group 10.Inter-Phase Transfer Processes ************************************************************ Group 11.Initial field variables (PHIs) FIINIT(P1)=1.0E+05 ;FIINIT(V1)=1.0E-10 FIINIT(C3)=1. ;FIINIT(PRPS)=-1. FIINIT(VPOR)=1. ;FIINIT(NPOR)=1. FIINIT(RHO1)=1. PATCH(START ,INIVAL, 1, 1, 1, 10, 1, 1, 1, 1) INIT(START ,P1 ,0. ,2.0E+06 ) INIT(START ,C3 ,0. ,2.353517 ) INIT(START ,RHO1,0. ,20. ) 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 No PATCHes yet used for this Group XCYCLE = F EGWF = T WALLCO = GRND2 ************************************************************ Group 14. Downstream Pressure For PARAB ************************************************************ Group 15. Terminate Sweeps LSWEEP = 5 ;ISWC1 = 1 LITHYD = 1 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1 SELREF = T RESFAC =1.0E-05 ************************************************************ Group 16. Terminate Iterations LITER(P1)=20 ;LITER(V1)=10 LITER(C3)=20 ENDIT(P1)=1.0E-03 ;ENDIT(V1)=1.0E-03 ENDIT(C3)=1.0E-03 ************************************************************ Group 17. Relaxation RELAX(P1,LINRLX,1.) RELAX(V1,FALSDT,1.) RELAX(C3,FALSDT,1.0E+09) RELAX(PRPS,LINRLX,1.) RELAX(RHO1,LINRLX,1.) OVRRLX =0. EXPERT = F ;NNORSL = F ************************************************************ Group 18. Limits VARMAX(P1)=1.0E+10 ;VARMIN(P1)=-1.0E+10 VARMAX(V1)=1.0E+06 ;VARMIN(V1)=-1.0E+06 VARMAX(C3)=1.0E+10 ;VARMIN(C3)=-1.0E+10 VARMAX(PRPS)=1.0E+10 ;VARMIN(PRPS)=-1.0E+10 VARMAX(VPOR)=1.0E+10 ;VARMIN(VPOR)=-1.0E+10 VARMAX(NPOR)=1.0E+10 ;VARMIN(NPOR)=-1.0E+10 VARMAX(RHO1)=1.0E+10 ;VARMIN(RHO1)=-1.0E+10 ************************************************************ Group 19. Data transmitted to GROUND PARSOL = F CONWIZ = T IPORIB = 3 ISG62 = 1 SPEDAT(SET,DOMAIN,PHASE_1_MAT,I,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(V1,Y,N,Y,Y,Y,Y) OUTPUT(C3,Y,N,Y,Y,Y,Y) OUTPUT(PRPS,Y,N,Y,N,N,N) OUTPUT(VPOR,Y,N,Y,N,N,N) OUTPUT(NPOR,Y,N,Y,N,N,N) OUTPUT(RHO1,Y,N,Y,N,N,N) ************************************************************ Group 22. Monitor Print-Out IXMON = 100 ;IYMON = 1 ;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 = 40 ;ISTPRF = 1 ;ISTPRL = 100000 NYPRIN = -1 ;IYPRF = 1 ;IYPRL = 10000 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 PATCH(ALLY ,PROFIL, 1, 1, 1, 200, 1, 1, 1, 200) PLOT(ALLY ,P1 ,0. ,0. ) PLOT(ALLY ,V1 ,0. ,0. ) PATCH(TIMEPLOT,PROFIL, 1, 1, 1, 1, 1, 1, 1, 200) PLOT(TIMEPLOT,P1 ,0. ,0. ) PLOT(TIMEPLOT,V1 ,0. ,0. ) ************************************************************ Group 24. Dumps For Restarts SAVE = T ;NOWIPE = F NSAVE =CHAM IDISPA = 1 ;IDISPB = 1 ;IDISPC = 200 STOP