TALK=T;RUN(1,1) DISPLAY 2D (x,y) beam is free for Time <= 0. //// <- fixed (DisX=DisY=0) **** * * * ********************** * : ZV : * : : * ********************** * * **** //// <- fixed (DisX=DisY=0) Initial condition : Time = 0: in ZV VDSY = 0.1 ENDDIS PHOTON USE p;parphi 1 1 700 clear set prop off view y gr ou y 16 con disy y 16 fi;0.0001 msg DISY (X,Z=Time) on axes of beam pause clear view 1 1 1 gr ou z 10 x 11 m y 11 22 gr ou z 10 x 1 10 y 1 m SET VEC COMP - - - SET VEC COMP DISX DISY - VECT IZ 10 SH DASH 0 gr ou z 40 x 11 m y 11 22 gr ou z 40 x 1 10 y 1 m SET VEC COMP - - - SET VEC COMP DISX DISY - VECT IZ 40 SH DASH 0 gr ou z 70 x 11 m y 11 22 gr ou z 70 x 1 10 y 1 m SET VEC COMP - - - SET VEC COMP DISX DISY - VECT IZ 70 SH DASH 0 msg Displacement vector (Z=Time=10, 40, 70) pause autoplot FILE parphi 5 clear data 1 DISY X m Y 14 Z 1 m col1 1 scale plot 1 msg DISY(Time) on end of beam pause ENDUSE ************************************************************ Group 1. Run Title and Number ************************************************************ ************************************************************ TEXT(2D wave in "T" beam; S672 ) ************************************************************ ************************************************************ IRUNN = 1 ;LIBREF = 672 ************************************************************ Group 2. Time dependence STEADY = F * Set overall time and no. of steps TFIRST =0. ;TLAST =5.999804E-04 FSTEP = 1 ;LSTEP = 100 TFRAC(1)=1.0E-02 ;TFRAC(2)=0.02 TFRAC(3)=0.03 ;TFRAC(4)=0.04 TFRAC(5)=0.05 ;TFRAC(6)=0.06 TFRAC(7)=0.07 ;TFRAC(8)=0.08 TFRAC(9)=0.09 ;TFRAC(10)=0.1 TFRAC(11)=0.11 ;TFRAC(12)=0.12 TFRAC(13)=0.13 ;TFRAC(14)=0.14 TFRAC(15)=0.15 ;TFRAC(16)=0.16 TFRAC(17)=0.17 ;TFRAC(18)=0.18 TFRAC(19)=0.19 ;TFRAC(20)=0.2 TFRAC(21)=0.21 ;TFRAC(22)=0.22 TFRAC(23)=0.23 ;TFRAC(24)=0.24 TFRAC(25)=0.25 ;TFRAC(26)=0.26 TFRAC(27)=0.27 ;TFRAC(28)=0.28 TFRAC(29)=0.29 ;TFRAC(30)=0.3 TFRAC(31)=0.31 ;TFRAC(32)=0.32 TFRAC(33)=0.33 ;TFRAC(34)=0.34 TFRAC(35)=0.35 ;TFRAC(36)=0.36 TFRAC(37)=0.37 ;TFRAC(38)=0.38 TFRAC(39)=0.39 ;TFRAC(40)=0.4 TFRAC(41)=0.41 ;TFRAC(42)=0.42 TFRAC(43)=0.43 ;TFRAC(44)=0.44 TFRAC(45)=0.45 ;TFRAC(46)=0.46 TFRAC(47)=0.47 ;TFRAC(48)=0.48 TFRAC(49)=0.49 ;TFRAC(50)=0.5 TFRAC(51)=0.51 ;TFRAC(52)=0.52 TFRAC(53)=0.53 ;TFRAC(54)=0.54 TFRAC(55)=0.55 ;TFRAC(56)=0.56 TFRAC(57)=0.57 ;TFRAC(58)=0.58 TFRAC(59)=0.59 ;TFRAC(60)=0.6 TFRAC(61)=0.61 ;TFRAC(62)=0.62 TFRAC(63)=0.63 ;TFRAC(64)=0.64 TFRAC(65)=0.65 ;TFRAC(66)=0.66 TFRAC(67)=0.67 ;TFRAC(68)=0.68 TFRAC(69)=0.69 ;TFRAC(70)=0.7 TFRAC(71)=0.71 ;TFRAC(72)=0.72 TFRAC(73)=0.73 ;TFRAC(74)=0.74 TFRAC(75)=0.75 ;TFRAC(76)=0.76 TFRAC(77)=0.77 ;TFRAC(78)=0.78 TFRAC(79)=0.79 ;TFRAC(80)=0.8 TFRAC(81)=0.81 ;TFRAC(82)=0.82 TFRAC(83)=0.83 ;TFRAC(84)=0.84 TFRAC(85)=0.85 ;TFRAC(86)=0.86 TFRAC(87)=0.87 ;TFRAC(88)=0.88 TFRAC(89)=0.89 ;TFRAC(90)=0.9 TFRAC(91)=0.91 ;TFRAC(92)=0.92 TFRAC(93)=0.93 ;TFRAC(94)=0.94 TFRAC(95)=0.95 ;TFRAC(96)=0.96 TFRAC(97)=0.97 ;TFRAC(98)=0.98 TFRAC(99)=0.99 ;TFRAC(100)=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 = 32 YVLAST =0.06 YFRAC(1)=0.03125 ;YFRAC(2)=0.0625 YFRAC(3)=0.09375 ;YFRAC(4)=0.125 YFRAC(5)=0.15625 ;YFRAC(6)=0.1875 YFRAC(7)=0.21875 ;YFRAC(8)=0.25 YFRAC(9)=0.28125 ;YFRAC(10)=0.3125 YFRAC(11)=0.34375 ;YFRAC(12)=0.375 YFRAC(13)=0.40625 ;YFRAC(14)=0.4375 YFRAC(15)=0.46875 ;YFRAC(16)=0.5 YFRAC(17)=0.53125 ;YFRAC(18)=0.5625 YFRAC(19)=0.59375 ;YFRAC(20)=0.625 YFRAC(21)=0.65625 ;YFRAC(22)=0.6875 YFRAC(23)=0.71875 ;YFRAC(24)=0.75 YFRAC(25)=0.78125 ;YFRAC(26)=0.8125 YFRAC(27)=0.84375 ;YFRAC(28)=0.875 YFRAC(29)=0.90625 ;YFRAC(30)=0.9375 YFRAC(31)=0.96875 ;YFRAC(32)=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)=VDSX ;NAME(138)=VDSY NAME(139)=EPSZ ;NAME(140)=EPSX NAME(141)=EPSY ;NAME(142)=STRY NAME(143)=STRX ;NAME(144)=DRH1 NAME(145)=DVO1 ;NAME(146)=VISL NAME(147)=DEN1 ;NAME(148)=PRPS 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(VDSX,Y,N,N,N,N,Y) SOLUTN(VDSY,Y,N,N,N,N,Y) 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(VISL,Y,N,N,N,N,Y) SOLUTN(DEN1,Y,N,N,N,N,Y) SOLUTN(PRPS,Y,N,N,N,N,Y) SOLUTN(DISY,Y,Y,Y,N,N,Y) SOLUTN(DISX,Y,Y,Y,N,N,Y) DEN1 = 147 VISL = 146 PRPS = 148 ************************************************************ 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(VDSX)=0. ;FIINIT(VDSY)=0. 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(VISL)=1.0E-10 FIINIT(DEN1)=1.0E-10 ;FIINIT(PRPS)=160. FIINIT(DISY)=0. ;FIINIT(DISX)=0. PATCH(FLUID1 ,INIVAL, 10, 32, 1, 10, 1, 1, 1, 1) INIT(FLUID1 ,PRPS, FIXVAL ,0. ) INIT(FLUID1 ,DISY, FIXVAL ,0. ) INIT(FLUID1 ,DISX, FIXVAL ,0. ) PATCH(FLUID2 ,INIVAL, 10, 32, 23, 32, 1, 1, 1, 1) INIT(FLUID2 ,PRPS, FIXVAL ,0. ) INIT(FLUID2 ,DISY, FIXVAL ,0. ) INIT(FLUID2 ,DISX, FIXVAL ,0. ) PATCH(INITVEL ,INIVAL, 20, 32, 11, 22, 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(TOP ,NWALL , 1, 10, 32, 32, 1, 1, 1, 100) COVAL(TOP ,DISY,1. ,0. ) COVAL(TOP ,DISX,1. ,0. ) PATCH(BOTTOM ,SWALL , 1, 10, 1, 1, 1, 1, 1, 100) COVAL(BOTTOM ,DISY,1. ,0. ) COVAL(BOTTOM ,DISX,1. ,0. ) XCYCLE = F EGWF = T WALLCO = GRND2 ************************************************************ Group 14. Downstream Pressure For PARAB ************************************************************ Group 15. Terminate Sweeps LSWEEP = 60 ;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(VDSX,LINRLX,1.) RELAX(VDSY,LINRLX,1.) 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(VISL,LINRLX,1.) RELAX(DEN1,LINRLX,1.) RELAX(PRPS,LINRLX,1.) RELAX(DISY,LINRLX,1.) RELAX(DISX,LINRLX,1.) OVRRLX =0. EXPERT = F ;NNORSL = F ************************************************************ Group 18. Limits VARMAX(VDSX)=1.0E+10 ;VARMIN(VDSX)=-1.0E+10 VARMAX(VDSY)=1.0E+10 ;VARMIN(VDSY)=-1.0E+10 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(VISL)=1.0E+10 ;VARMIN(VISL)=-1.0E+10 VARMAX(DEN1)=1.0E+10 ;VARMIN(DEN1)=-1.0E+10 VARMAX(PRPS)=1.0E+10 ;VARMIN(PRPS)=-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 = 60 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(VDSX,Y,N,Y,N,N,N) OUTPUT(VDSY,Y,N,Y,N,N,N) 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(VISL,Y,N,Y,N,N,N) OUTPUT(DEN1,Y,N,Y,N,N,N) OUTPUT(PRPS,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 = 16 ;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