TALK=T;RUN(1,1) DISPLAY 2D (x,y) Y-shape beam is free for Time <= 0. :----- fixed (DisX=DisY=0) : : ************************** V * : Top : /***** : : /* *********************** /* * /* *********************** /***** : : * : Bottom : ************************** Initial condition Time = 0: caseno = 1: in Top VDSY = 0.1 caseno = 2: in Top and Bottom VDSY = 0.1 caseno = 3: in Top VDSY = 0.1, in Bottom VDSY = -0.1 ENDDIS PHOTON USE p;parphi 1 1 200 clear set prop off view y gr ou y 30 con disy y 30 fi;0.0001 msg DISY (X,Z=Time) on axis of top beam pause clear view 1 1 1 gr ou z 10 x 1 12 y 13 24 gr ou z 10 x 9 m y 1 12 gr ou z 10 x 9 m y 25 m SET VEC COMP - - - SET VEC COMP DISX DISY - VECT IZ 10 SH DASH 0 gr ou z 100 x 1 12 y 13 24 gr ou z 100 x 9 m y 1 12 gr ou z 100 x 9 m y 25 m SET VEC COMP - - - SET VEC COMP DISX DISY - VECT IZ 100 SH DASH 0 gr ou z 190 x 1 12 y 13 24 gr ou z 190 x 9 m y 1 12 gr ou z 190 x 9 m y 25 m SET VEC COMP - - - SET VEC COMP DISX DISY - VECT IZ 190 SH DASH 0 msg Displacement vector (Z=Time=10, 100, 190) pause autoplot FILE parphi 5 clear data 1 DISY X m Y m Z 1 m col1 1 data 1 DISY X m Y 1 Z 1 m colA 2 scale plot 1 2 msg DISY(Time) on end of top(W) and bottom(Y) beam pause ENDUSE ************************************************************ Group 1. Run Title and Number ************************************************************ ************************************************************ TEXT(Free wave in 2D "tuning-fork" model; S67) ************************************************************ ************************************************************ IRUNN = 1 ;LIBREF = 673 ************************************************************ Group 2. Time dependence STEADY = F * Set overall time and no. of steps TFIRST =0. ;TLAST =3.000021E-03 FSTEP = 1 ;LSTEP = 200 TFRAC(1)=4.999999E-03 ;TFRAC(2)=9.999999E-03 TFRAC(3)=0.015 ;TFRAC(4)=0.02 TFRAC(5)=0.025 ;TFRAC(6)=0.03 TFRAC(7)=0.035 ;TFRAC(8)=0.04 TFRAC(9)=0.045 ;TFRAC(10)=0.05 TFRAC(11)=0.055 ;TFRAC(12)=0.06 TFRAC(13)=0.065 ;TFRAC(14)=0.07 TFRAC(15)=0.075 ;TFRAC(16)=0.08 TFRAC(17)=0.085 ;TFRAC(18)=0.09 TFRAC(19)=0.095 ;TFRAC(20)=0.1 TFRAC(21)=0.105 ;TFRAC(22)=0.11 TFRAC(23)=0.115 ;TFRAC(24)=0.12 TFRAC(25)=0.125 ;TFRAC(26)=0.13 TFRAC(27)=0.135 ;TFRAC(28)=0.14 TFRAC(29)=0.145 ;TFRAC(30)=0.15 TFRAC(31)=0.155 ;TFRAC(32)=0.16 TFRAC(33)=0.165 ;TFRAC(34)=0.17 TFRAC(35)=0.175 ;TFRAC(36)=0.18 TFRAC(37)=0.185 ;TFRAC(38)=0.19 TFRAC(39)=0.195 ;TFRAC(40)=0.2 TFRAC(41)=0.205 ;TFRAC(42)=0.21 TFRAC(43)=0.215 ;TFRAC(44)=0.22 TFRAC(45)=0.225 ;TFRAC(46)=0.23 TFRAC(47)=0.235 ;TFRAC(48)=0.24 TFRAC(49)=0.245 ;TFRAC(50)=0.25 TFRAC(51)=0.255 ;TFRAC(52)=0.26 TFRAC(53)=0.265 ;TFRAC(54)=0.27 TFRAC(55)=0.275 ;TFRAC(56)=0.28 TFRAC(57)=0.285 ;TFRAC(58)=0.29 TFRAC(59)=0.295 ;TFRAC(60)=0.3 TFRAC(61)=0.305 ;TFRAC(62)=0.31 TFRAC(63)=0.315 ;TFRAC(64)=0.32 TFRAC(65)=0.325 ;TFRAC(66)=0.33 TFRAC(67)=0.335 ;TFRAC(68)=0.34 TFRAC(69)=0.345 ;TFRAC(70)=0.35 TFRAC(71)=0.355 ;TFRAC(72)=0.36 TFRAC(73)=0.365 ;TFRAC(74)=0.37 TFRAC(75)=0.375 ;TFRAC(76)=0.38 TFRAC(77)=0.385 ;TFRAC(78)=0.39 TFRAC(79)=0.395 ;TFRAC(80)=0.4 TFRAC(81)=0.405 ;TFRAC(82)=0.41 TFRAC(83)=0.415 ;TFRAC(84)=0.42 TFRAC(85)=0.425 ;TFRAC(86)=0.43 TFRAC(87)=0.435 ;TFRAC(88)=0.44 TFRAC(89)=0.445 ;TFRAC(90)=0.45 TFRAC(91)=0.455 ;TFRAC(92)=0.46 TFRAC(93)=0.465 ;TFRAC(94)=0.47 TFRAC(95)=0.475 ;TFRAC(96)=0.48 TFRAC(97)=0.485 ;TFRAC(98)=0.49 TFRAC(99)=0.495 ;TFRAC(100)=0.5 TFRAC(101)=0.505 ;TFRAC(102)=0.51 TFRAC(103)=0.515 ;TFRAC(104)=0.52 TFRAC(105)=0.525 ;TFRAC(106)=0.53 TFRAC(107)=0.535 ;TFRAC(108)=0.54 TFRAC(109)=0.545 ;TFRAC(110)=0.55 TFRAC(111)=0.555 ;TFRAC(112)=0.56 TFRAC(113)=0.565 ;TFRAC(114)=0.57 TFRAC(115)=0.575 ;TFRAC(116)=0.58 TFRAC(117)=0.585 ;TFRAC(118)=0.59 TFRAC(119)=0.595 ;TFRAC(120)=0.6 TFRAC(121)=0.605 ;TFRAC(122)=0.61 TFRAC(123)=0.615 ;TFRAC(124)=0.62 TFRAC(125)=0.625 ;TFRAC(126)=0.63 TFRAC(127)=0.635 ;TFRAC(128)=0.64 TFRAC(129)=0.645 ;TFRAC(130)=0.65 TFRAC(131)=0.655 ;TFRAC(132)=0.66 TFRAC(133)=0.665 ;TFRAC(134)=0.67 TFRAC(135)=0.675 ;TFRAC(136)=0.68 TFRAC(137)=0.685 ;TFRAC(138)=0.69 TFRAC(139)=0.695 ;TFRAC(140)=0.7 TFRAC(141)=0.705 ;TFRAC(142)=0.71 TFRAC(143)=0.715 ;TFRAC(144)=0.72 TFRAC(145)=0.725 ;TFRAC(146)=0.73 TFRAC(147)=0.735 ;TFRAC(148)=0.74 TFRAC(149)=0.745 ;TFRAC(150)=0.75 TFRAC(151)=0.755 ;TFRAC(152)=0.76 TFRAC(153)=0.765 ;TFRAC(154)=0.77 TFRAC(155)=0.775 ;TFRAC(156)=0.78 TFRAC(157)=0.785 ;TFRAC(158)=0.79 TFRAC(159)=0.795 ;TFRAC(160)=0.8 TFRAC(161)=0.805 ;TFRAC(162)=0.81 TFRAC(163)=0.815 ;TFRAC(164)=0.82 TFRAC(165)=0.825 ;TFRAC(166)=0.83 TFRAC(167)=0.835 ;TFRAC(168)=0.84 TFRAC(169)=0.845 ;TFRAC(170)=0.85 TFRAC(171)=0.855 ;TFRAC(172)=0.86 TFRAC(173)=0.865 ;TFRAC(174)=0.87 TFRAC(175)=0.875 ;TFRAC(176)=0.88 TFRAC(177)=0.885 ;TFRAC(178)=0.89 TFRAC(179)=0.895 ;TFRAC(180)=0.9 TFRAC(181)=0.905 ;TFRAC(182)=0.91 TFRAC(183)=0.915 ;TFRAC(184)=0.92 TFRAC(185)=0.925 ;TFRAC(186)=0.93 TFRAC(187)=0.935 ;TFRAC(188)=0.94 TFRAC(189)=0.945 ;TFRAC(190)=0.95 TFRAC(191)=0.955 ;TFRAC(192)=0.96 TFRAC(193)=0.965 ;TFRAC(194)=0.97 TFRAC(195)=0.975 ;TFRAC(196)=0.98 TFRAC(197)=0.985 ;TFRAC(198)=0.99 TFRAC(199)=0.995 ;TFRAC(200)=1. ************************************************************ Group 3. X-Direction Grid Spacing CARTES = T NX = 32 XULAST =0.12 XFRAC(1)=0.03125 ;XFRAC(2)=0.0625 XFRAC(3)=0.09375 ;XFRAC(4)=0.125 XFRAC(5)=0.15625 ;XFRAC(6)=0.1875 XFRAC(7)=0.21875 ;XFRAC(8)=0.25 XFRAC(9)=0.28125 ;XFRAC(10)=0.3125 XFRAC(11)=0.34375 ;XFRAC(12)=0.375 XFRAC(13)=0.40625 ;XFRAC(14)=0.4375 XFRAC(15)=0.46875 ;XFRAC(16)=0.5 XFRAC(17)=0.53125 ;XFRAC(18)=0.5625 XFRAC(19)=0.59375 ;XFRAC(20)=0.625 XFRAC(21)=0.65625 ;XFRAC(22)=0.6875 XFRAC(23)=0.71875 ;XFRAC(24)=0.75 XFRAC(25)=0.78125 ;XFRAC(26)=0.8125 XFRAC(27)=0.84375 ;XFRAC(28)=0.875 XFRAC(29)=0.90625 ;XFRAC(30)=0.9375 XFRAC(31)=0.96875 ;XFRAC(32)=1. ************************************************************ Group 4. Y-Direction Grid Spacing NY = 36 YVLAST =0.036 YFRAC(1)=0.027778 ;YFRAC(2)=0.055556 YFRAC(3)=0.083333 ;YFRAC(4)=0.111111 YFRAC(5)=0.138889 ;YFRAC(6)=0.166667 YFRAC(7)=0.194444 ;YFRAC(8)=0.222222 YFRAC(9)=0.25 ;YFRAC(10)=0.277778 YFRAC(11)=0.305556 ;YFRAC(12)=0.333333 YFRAC(13)=0.361111 ;YFRAC(14)=0.388889 YFRAC(15)=0.416667 ;YFRAC(16)=0.444444 YFRAC(17)=0.472222 ;YFRAC(18)=0.5 YFRAC(19)=0.527778 ;YFRAC(20)=0.555556 YFRAC(21)=0.583333 ;YFRAC(22)=0.611111 YFRAC(23)=0.638889 ;YFRAC(24)=0.666667 YFRAC(25)=0.694444 ;YFRAC(26)=0.722222 YFRAC(27)=0.75 ;YFRAC(28)=0.777778 YFRAC(29)=0.805556 ;YFRAC(30)=0.833333 YFRAC(31)=0.861111 ;YFRAC(32)=0.888889 YFRAC(33)=0.916667 ;YFRAC(34)=0.944444 YFRAC(35)=0.972222 ;YFRAC(36)=1. ************************************************************ Group 5. Z-Direction Grid Spacing PARAB = F NZ = 1 ZWLAST =1.0E-02 ZFRAC(1)=1. ************************************************************ Group 6. Body-Fitted Coordinates ************************************************************ Group 7. Variables: STOREd,SOLVEd,NAMEd ONEPHS = T NAME(137)=EPSZ ;NAME(138)=EPSX NAME(139)=EPSY ;NAME(140)=STRY NAME(141)=STRX ;NAME(142)=DRH1 NAME(143)=DVO1 ;NAME(144)=ENUL NAME(145)=DEN1 ;NAME(146)=PRPS NAME(147)=VDSX ;NAME(148)=VDSY NAME(149)=DISY ;NAME(150)=DISX * Y in SOLUTN argument list denotes: * 1-stored 2-solved 3-whole-field * 4-point-by-point 5-explicit 6-harmonic averaging SOLUTN(EPSZ,Y,N,N,N,N,Y) SOLUTN(EPSX,Y,N,N,N,N,Y) SOLUTN(EPSY,Y,N,N,N,N,Y) SOLUTN(STRY,Y,N,N,N,N,Y) SOLUTN(STRX,Y,N,N,N,N,Y) SOLUTN(DRH1,Y,N,N,N,N,Y) SOLUTN(DVO1,Y,N,N,N,N,Y) SOLUTN(ENUL,Y,N,N,N,N,Y) SOLUTN(DEN1,Y,N,N,N,N,Y) SOLUTN(PRPS,Y,N,N,N,N,Y) SOLUTN(VDSX,Y,N,N,N,N,Y) SOLUTN(VDSY,Y,N,N,N,N,Y) SOLUTN(DISY,Y,Y,Y,N,N,Y) SOLUTN(DISX,Y,Y,Y,N,N,Y) DEN1 = 145 VISL = 144 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(DISY,N,N,Y,Y,Y,N) TERMS(DISX,N,N,Y,Y,Y,N) 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. ;TMP1 =0. ;EL1 =0. TSURR =0. ;TEMP0 =0. ;PRESS0 =0. DVO1DT =0. ;DRH1DP =0. EMISS =0. ;SCATT =0. RADIA =0. ;RADIB =0. ENUL =1.0E-05 ;ENUT =0. PRNDTL(DISY)=1. ;PRNDTL(DISX)=1. PRT(DISY)=1. ;PRT(DISX)=1. CP1 =1. ;CP2 =1. * List of user-defined materials to be read by EARTH MATFLG=T;IMAT=1 * Name *Ind. Dens. Viscos. Spec.heat Conduct. Expans. Compr. *160 7800.0 0.3 473.0 43.0 1.0E-5 0.5E-11 ************************************************************ Group 10.Inter-Phase Transfer Processes ************************************************************ Group 11.Initial field variables (PHIs) FIINIT(EPSZ)=1.0E-10 ;FIINIT(EPSX)=1.0E-10 FIINIT(EPSY)=1.0E-10 ;FIINIT(STRY)=1.0E-10 FIINIT(STRX)=1.0E-10 ;FIINIT(DRH1)=1.0E-10 FIINIT(DVO1)=1.0E-10 ;FIINIT(ENUL)=1.0E-10 FIINIT(DEN1)=1.0E-10 ;FIINIT(PRPS)=160. FIINIT(VDSX)=0. ;FIINIT(VDSY)=0. FIINIT(DISY)=0. ;FIINIT(DISX)=0. PATCH(FLUID1 ,INIVAL, 1, 8, 1, 12, 1, 1, 1, 1) INIT(FLUID1 ,PRPS, FIXVAL ,0. ) PATCH(FLUID2 ,INIVAL, 1, 8, 25, 36, 1, 1, 1, 1) INIT(FLUID2 ,PRPS, FIXVAL ,0. ) PATCH(FLUID3 ,INIVAL, 13, 32, 13, 24, 1, 1, 1, 1) INIT(FLUID3 ,PRPS, FIXVAL ,0. ) PATCH(INITVEL ,INIVAL, 26, 32, 25, 36, 1, 1, 1, 1) INIT(INITVEL ,VDSY, FIXVAL ,0.1 ) 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(LEFT ,WWALL , 1, 1, 13, 24, 1, 1, 1, 200) COVAL(LEFT ,DISY,1. ,0. ) COVAL(LEFT ,DISX,1. ,0. ) XCYCLE = F EGWF = T WALLCO = GRND2 ************************************************************ Group 14. Downstream Pressure For PARAB ************************************************************ Group 15. Terminate Sweeps LSWEEP = 120 ;ISWC1 = 1 LITHYD = 1 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1 SELREF = T RESFAC =1.0E-05 ************************************************************ Group 16. Terminate Iterations LITER(DISY)=20 ;LITER(DISX)=20 ENDIT(DISY)=1.0E-03 ;ENDIT(DISX)=1.0E-03 ************************************************************ Group 17. Relaxation RELAX(EPSZ,LINRLX,1.) RELAX(EPSX,LINRLX,1.) RELAX(EPSY,LINRLX,1.) RELAX(STRY,LINRLX,1.) RELAX(STRX,LINRLX,1.) RELAX(DRH1,LINRLX,1.) RELAX(DVO1,LINRLX,1.) RELAX(ENUL,LINRLX,1.) RELAX(DEN1,LINRLX,1.) RELAX(PRPS,LINRLX,1.) RELAX(VDSX,LINRLX,1.) RELAX(VDSY,LINRLX,1.) RELAX(DISY,LINRLX,1.) RELAX(DISX,LINRLX,1.) OVRRLX =0. EXPERT = F ;NNORSL = F ************************************************************ Group 18. Limits VARMAX(EPSZ)=1.0E+10 ;VARMIN(EPSZ)=-1.0E+10 VARMAX(EPSX)=1.0E+10 ;VARMIN(EPSX)=-1.0E+10 VARMAX(EPSY)=1.0E+10 ;VARMIN(EPSY)=-1.0E+10 VARMAX(STRY)=1.0E+10 ;VARMIN(STRY)=-1.0E+10 VARMAX(STRX)=1.0E+10 ;VARMIN(STRX)=-1.0E+10 VARMAX(DRH1)=1.0E+10 ;VARMIN(DRH1)=-1.0E+10 VARMAX(DVO1)=1.0E+10 ;VARMIN(DVO1)=-1.0E+10 VARMAX(ENUL)=1.0E+10 ;VARMIN(ENUL)=-1.0E+10 VARMAX(DEN1)=1.0E+10 ;VARMIN(DEN1)=-1.0E+10 VARMAX(PRPS)=1.0E+10 ;VARMIN(PRPS)=-1.0E+10 VARMAX(VDSX)=1.0E+10 ;VARMIN(VDSX)=-1.0E+10 VARMAX(VDSY)=1.0E+10 ;VARMIN(VDSY)=-1.0E+10 VARMAX(DISY)=1.0E+10 ;VARMIN(DISY)=-1.0E+10 VARMAX(DISX)=1.0E+10 ;VARMIN(DISX)=-1.0E+10 ************************************************************ Group 19. Data transmitted to GROUND STRA = T PARSOL = F ISG21 = 120 ISG52 = 3 ISG62 = 1 CSG10 ='Q1' SPEDAT(SET,GXMONI,PLOTALL,L,T) SPEDAT(SET,MATERIAL,160,L,T) SPEDAT(SET,MATERIAL,0,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(EPSZ,Y,N,Y,N,N,N) OUTPUT(EPSX,Y,N,Y,N,N,N) OUTPUT(EPSY,Y,N,Y,N,N,N) OUTPUT(STRY,Y,N,Y,N,N,N) OUTPUT(STRX,Y,N,Y,N,N,N) OUTPUT(DRH1,Y,N,Y,N,N,N) OUTPUT(DVO1,Y,N,Y,N,N,N) OUTPUT(ENUL,Y,N,Y,N,N,N) OUTPUT(DEN1,Y,N,Y,N,N,N) OUTPUT(PRPS,Y,N,Y,N,N,N) OUTPUT(VDSX,Y,N,Y,N,N,N) OUTPUT(VDSY,Y,N,Y,N,N,N) OUTPUT(DISY,Y,N,Y,Y,Y,Y) OUTPUT(DISX,Y,N,Y,Y,Y,Y) ************************************************************ Group 22. Monitor Print-Out IXMON = 32 ;IYMON = 36 ;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 = 100000 ;ISTPRF = 1 ;ISTPRL = 100000 NXPRIN = 1 ;IXPRF = 1 ;IXPRL = 10000 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 No PATCHes yet used for this Group ************************************************************ Group 24. Dumps For Restarts SAVE = T ;NOWIPE = F NSAVE =CHAM IDISPA = 1 ;IDISPB = 0 ;IDISPC = 0 STOP