TALK=T;RUN(1,1) photon use p parphi 1 1500 1500 msg contours of reactedness. Distance is vertical, time horizontal con rctd y 1 fi;0.1 enduse DISPLAY This case represents the main features of transient plane laminar flame propagation through a combustible mixture. The reaction rate is proportional to (1-r)*r**n, where r = reactedness, a "progress variable" which changes from 0.0 to 1.0 as reaction proceeds, while n is a constant exponent. The distance variable x represents: integral(density * d distance). In the example provided, the flame propagates from the high-x end to the low-x end. It should be found that the speed of propagation is proportional to the square root of the product of the transport coefficient (ENUL) and the reaction-rate constant (CHSOA). ----------------------------------------------------- r=1.e-4 <--| flame-front r=1. ----------------------------------------------------- x-----> ENDDIS DISPLAY Two burned-gas fragments are introduced into a large volume of cold unburned combustible mixture. The larger one ignites a self-sustaining flame; but the smaller one is extinguished. ENDDIS ************************************************************ Group 1. Run Title and Number ************************************************************ ************************************************************ TEXT(1D Ignition And Extinction ) ************************************************************ ************************************************************ IRUNN = 1 ;LIBREF = 109 ************************************************************ Group 2. Time dependence STEADY = F * Set overall time and no. of steps TFIRST =0. ;TLAST =1.0E-03 FSTEP = 1 ;LSTEP = 50 TFRAC(1)=0.02 ;TFRAC(13)=0.26 TFRAC(25)=0.5 ;TFRAC(37)=0.74 TFRAC(49)=0.98 ************************************************************ Group 3. X-Direction Grid Spacing CARTES = T NX = 50 XULAST =1. XFRAC(1)=0.02 ;XFRAC(11)=0.22 XFRAC(21)=0.42 ;XFRAC(31)=0.62 XFRAC(41)=0.82 ************************************************************ Group 4. Y-Direction Grid Spacing NY = 1 YVLAST =1. YFRAC(1)=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(150)=RCTD * Y in SOLUTN argument list denotes: * 1-stored 2-solved 3-whole-field * 4-point-by-point 5-explicit 6-harmonic averaging SOLUTN(RCTD,Y,Y,N,N,N,Y) ************************************************************ 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(RCTD,Y,N,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. ;TMP1 =0. ;EL1 =0. TSURR =0. ;TEMP0 =0. ;PRESS0 =0. DVO1DT =0. ;DRH1DP =0. EMISS =0. ;SCATT =0. RADIA =0. ;RADIB =0. ENUL =100. ;ENUT =0. PRNDTL(RCTD)=1. PRT(RCTD)=1. CP1 =1. ;CP2 =1. ************************************************************ Group 10.Inter-Phase Transfer Processes ************************************************************ Group 11.Initial field variables (PHIs) FIINIT(RCTD)=0. PATCH(IGNITE1 ,INIVAL, 47, 50, 1, 1, 1, 1, 1, 1) INIT(IGNITE1 ,RCTD,0. ,1. ) PATCH(IGNITE2 ,INIVAL, 1, 5, 1, 1, 1, 1, 1, 1) INIT(IGNITE2 ,RCTD,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(CHSOTERM,VOLUME, 1, 50, 1, 1, 1, 1, 1, 50) COVAL(CHSOTERM,RCTD, GRND7 ,1. ) XCYCLE = F EGWF = T WALLCO = GRND2 ************************************************************ Group 14. Downstream Pressure For PARAB ************************************************************ Group 15. Terminate Sweeps LSWEEP = 10 ;ISWC1 = 1 LITHYD = 1 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1 SELREF = T RESFAC =1.0E-05 ************************************************************ Group 16. Terminate Iterations LITER(RCTD)=20 ENDIT(RCTD)=1.0E-03 ************************************************************ Group 17. Relaxation RELAX(RCTD,FALSDT,1.0E+09) OVRRLX =0. EXPERT = F ;NNORSL = F ************************************************************ Group 18. Limits VARMAX(RCTD)=1.0E+10 ;VARMIN(RCTD)=-1.0E+10 ************************************************************ Group 19. Data transmitted to GROUND PARSOL = F ISG62 = 1 CHSOA =1.0E+05 ;CHSOB =6. 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(RCTD,Y,N,Y,Y,Y,Y) ************************************************************ Group 22. Monitor Print-Out IXMON = 25 ;IYMON = 1 ;IZMON = 1 NPRMON = 100000 ;NPRMNT = 1 ;TSTSWP = 2 UWATCH = T ;USTEER = T HIGHLO = F ************************************************************ Group 23.Field Print-Out & Plot Control NPRINT = 100000 ;NUMCLS = 5 NTPRIN = 12 ;ISTPRF = 1 ;ISTPRL = 100000 NXPRIN = 10 ;IXPRF = 1 ;IXPRL = 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(XWISE ,PROFIL, 1, 50, 1, 1, 1, 1, 1, 50) PLOT(XWISE ,RCTD,0. ,0. ) PATCH(TIMEWISE,PROFIL, 25, 37, 1, 1, 1, 1, 1, 50) PLOT(TIMEWISE,RCTD,0. ,0. ) ************************************************************ Group 24. Dumps For Restarts SAVE = T ;NOWIPE = F NSAVE =CHAM IDISPA = 1 ;IDISPB = 0 ;IDISPC = 0 STOP