TALK=T;RUN(1,1) PHOTON USE p;;;;;; vi 1 2 3 gr x m gr y m gr z m pause vi z gr z m dump gr pause gr off red set prop off con prps z 1 fi;.001 dump prps pause con off red vec z 1 sh dump vecs pause vec off red con u1 z 1 fi;.001 dump conu1 pause con off red con p1 z 1 fi;.001 dump conp1 ENDUSE Display Air flows steadily between eight slightly-inclined steel plates, which do not quite touch at their their ends. Body-fitted coordinates are used; and the turbulence model is LVEL. Some problem-defining parameters can be set interactively, via readvdu commands Enddis ************************************************************ Group 1. Run Title and Number ************************************************************ ************************************************************ TEXT(Parameterised inclined-plated flow :B103) ************************************************************ ************************************************************ IRUNN = 1 ;LIBREF = 0 ************************************************************ Group 2. Time dependence STEADY = T ************************************************************ Group 3. X-Direction Grid Spacing CARTES = T NX = 40 XULAST =1. ************************************************************ Group 4. Y-Direction Grid Spacing NY = 20 YVLAST =1. ************************************************************ Group 5. Z-Direction Grid Spacing PARAB = F NZ = 1 ZWLAST =1. ************************************************************ Group 6. Body-Fitted Coordinates BFC = T ;NONORT = F NCRT = -1 RSTGEO = F ;SAVGEO = F UUP = F ;VUP = F ;WUP = F NGEOM =CHAM NAMXYZ =CHAM ANGMIN =20. DOMAIN( 1, 41, 1, 21, 1, 2) * Set fixed sub-domain FIXDOM( 1, 0, 0, 0, 0, 0, 0) FIXDOM( 2, 0, 0, 0, 0, 0, 0) FIXDOM( 3, 0, 0, 0, 0, 0, 0) FIXDOM( 4, 0, 0, 0, 0, 0, 0) FIXDOM( 5, 0, 0, 0, 0, 0, 0) FIXDOM( 6, 0, 0, 0, 0, 0, 0) FIXDOM( 7, 0, 0, 0, 0, 0, 0) FIXDOM( 8, 0, 0, 0, 0, 0, 0) FIXDOM( 9, 0, 0, 0, 0, 0, 0) FIXDOM( 10, 0, 0, 0, 0, 0, 0) LIJ = F ;LJK = T ;LIK = F GCV = T ************************************************************ Group 7. Variables: STOREd,SOLVEd,NAMEd ONEPHS = T NAME(1)=P1 ;NAME(3)=U1 NAME(5)=V1 ;NAME(16)=UC1 NAME(17)=VC1 ;NAME(144)=LTLS NAME(145)=WCRT ;NAME(146)=VCRT NAME(147)=UCRT ;NAME(148)=WDIS NAME(149)=ENUT ;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(UC1,Y,Y,N,N,N,Y) SOLUTN(VC1,Y,Y,N,N,N,Y) SOLUTN(LTLS,Y,Y,Y,N,N,Y) SOLUTN(WCRT,Y,N,N,N,N,N) SOLUTN(VCRT,Y,N,N,N,N,N) SOLUTN(UCRT,Y,N,N,N,N,N) SOLUTN(WDIS,Y,N,N,N,N,Y) SOLUTN(ENUT,Y,N,N,N,N,Y) SOLUTN(PRPS,Y,N,N,N,N,Y) VIST = 149 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(UC1,N,Y,Y,Y,Y,Y) TERMS(VC1,N,Y,Y,Y,Y,Y) TERMS(LTLS,N,N,Y,N,Y,Y) DIFCUT =0.5 ;ZDIFAC =1. GALA = F ;ADDDIF = F NEWENT = T UCONV = T UDIFF = T USOLVE = 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 =1. ;TMP1 =0. ;EL1 = GRND1 TSURR =0. ;TEMP0 =0. ;PRESS0 =0. DVO1DT =0. ;DRH1DP =0. EMISS =0. ;SCATT =0. RADIA =0. ;RADIB =0. EL1A =0. ;EL1B =1. ;EL1C =0. ENUL =1.0E-05 ;ENUT = GRND8 ENUTA =0. ;ENUTB =0. ;ENUTC =0. IENUTA = 0 PRNDTL(U1)=1. ;PRNDTL(V1)=1. PRNDTL(UC1)=1. ;PRNDTL(VC1)=1. PRNDTL(LTLS)=1. PRT(U1)=1. ;PRT(V1)=1. PRT(UC1)=1. ;PRT(VC1)=1. PRT(LTLS)=1. CP1 =1. ;CP2 =1. ************************************************************ Group 10.Inter-Phase Transfer Processes ************************************************************ Group 11.Initial field variables (PHIs) FIINIT(P1)=1.0E-10 ;FIINIT(U1)=2. FIINIT(V1)=1.0E-10 ;FIINIT(UC1)=2. FIINIT(VC1)=1.0E-10 ;FIINIT(LTLS)=1.0E-10 FIINIT(WCRT)=1.0E-10 ;FIINIT(VCRT)=1.0E-10 FIINIT(UCRT)=1.0E-10 ;FIINIT(WDIS)=0.1 FIINIT(ENUT)=1.0E-10 ;FIINIT(PRPS)=0. PATCH(SLAB1 ,INIVAL, 1, 10, 1, 5, 1, 1, 1, 1) INIT(SLAB1 ,PRPS,0. ,111. ) PATCH(SLAB2 ,INIVAL, 1, 10, 16, 20, 1, 1, 1, 1) INIT(SLAB2 ,PRPS,0. ,111. ) PATCH(SLAB3 ,INIVAL, 11, 20, 1, 5, 1, 1, 1, 1) INIT(SLAB3 ,PRPS,0. ,111. ) PATCH(SLAB4 ,INIVAL, 11, 20, 16, 20, 1, 1, 1, 1) INIT(SLAB4 ,PRPS,0. ,111. ) PATCH(SLAB5 ,INIVAL, 21, 30, 1, 5, 1, 1, 1, 1) INIT(SLAB5 ,PRPS,0. ,111. ) PATCH(SLAB6 ,INIVAL, 21, 30, 16, 20, 1, 1, 1, 1) INIT(SLAB6 ,PRPS,0. ,111. ) PATCH(SLAB7 ,INIVAL, 31, 40, 1, 5, 1, 1, 1, 1) INIT(SLAB7 ,PRPS,0. ,111. ) PATCH(SLAB8 ,INIVAL, 31, 40, 16, 20, 1, 1, 1, 1) INIT(SLAB8 ,PRPS,0. ,111. ) 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(WESTIN ,WEST , 1, 1, 1, 10, 1, 1, 1, 1) COVAL(WESTIN ,P1 , FIXFLU ,1.189 ) COVAL(WESTIN ,U1 ,0. ,0. ) COVAL(WESTIN ,UC1 ,0. ,1. ) PATCH(EASTOUT ,EAST , 40, 40, 1, 10, 1, 1, 1, 1) COVAL(EASTOUT ,P1 ,1. ,0. ) XCYCLE = F EGWF = T WALLCO = GRND2 ************************************************************ Group 14. Downstream Pressure For PARAB ************************************************************ Group 15. Terminate Sweeps LSWEEP = 200 ;ISWC1 = 1 LITHYD = 1 ;LITFLX = 1 ;LITC = 1 ;ITHC1 = 1 SELREF = T RESFAC =1.0E-05 ************************************************************ Group 16. Terminate Iterations LITER(P1)=20 ;LITER(U1)=10 LITER(V1)=10 ;LITER(UC1)=10 LITER(VC1)=10 ;LITER(LTLS)=20 ENDIT(P1)=1.0E-03 ;ENDIT(U1)=1.0E-03 ENDIT(V1)=1.0E-03 ;ENDIT(UC1)=1.0E-03 ENDIT(VC1)=1.0E-03 ;ENDIT(LTLS)=1.0E-03 ************************************************************ Group 17. Relaxation RELAX(P1,LINRLX,1.) RELAX(U1,FALSDT,1.) RELAX(V1,FALSDT,1.) RELAX(UC1,FALSDT,1.) RELAX(VC1,FALSDT,1.) RELAX(LTLS,FALSDT,1.0E+09) RELAX(WCRT,LINRLX,1.) RELAX(VCRT,LINRLX,1.) RELAX(UCRT,LINRLX,1.) RELAX(WDIS,LINRLX,1.) RELAX(ENUT,LINRLX,1.) 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)=0.1 ;VARMIN(U1)=-1.0E+11 VARMAX(V1)=0.1 ;VARMIN(V1)=-1.0E+11 VARMAX(UC1)=0.1 ;VARMIN(UC1)=-1.0E+11 VARMAX(VC1)=0.1 ;VARMIN(VC1)=-1.0E+11 VARMAX(LTLS)=1.0E+10 ;VARMIN(LTLS)=-1.0E+10 VARMAX(WCRT)=1.0E+10 ;VARMIN(WCRT)=-1.0E+10 VARMAX(VCRT)=1.0E+10 ;VARMIN(VCRT)=-1.0E+10 VARMAX(UCRT)=1.0E+10 ;VARMIN(UCRT)=-1.0E+10 VARMAX(WDIS)=1.0E+10 ;VARMIN(WDIS)=-1.0E+10 VARMAX(ENUT)=1.0E+10 ;VARMIN(ENUT)=-1.0E+10 VARMAX(PRPS)=1.0E+10 ;VARMIN(PRPS)=-1.0E+10 ************************************************************ Group 19. Data transmitted to GROUND GENK = T PARSOL = F CONWIZ = T ISKINA = 5 ;ISKINB = 4 ISG50 = 1 ISG52 = 1 ISG62 = 1 SPEDAT(SET,GXMONI,PLOTALL,L,T) SPEDAT(SET,MATERIAL,0,L,T) SPEDAT(SET,MATERIAL,111,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,Y,Y,Y,Y,Y) OUTPUT(U1,Y,N,Y,N,N,N) OUTPUT(V1,Y,N,Y,N,N,N) OUTPUT(UC1,Y,Y,Y,Y,Y,Y) OUTPUT(VC1,Y,Y,Y,Y,Y,Y) OUTPUT(LTLS,Y,N,Y,Y,Y,Y) OUTPUT(WCRT,Y,N,Y,N,N,N) OUTPUT(VCRT,Y,N,Y,N,N,N) OUTPUT(UCRT,Y,N,Y,N,N,N) OUTPUT(WDIS,Y,N,Y,N,N,N) OUTPUT(ENUT,Y,N,Y,N,N,N) OUTPUT(PRPS,Y,N,Y,N,N,N) ************************************************************ Group 22. Monitor Print-Out IXMON = 1 ;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 NXPRIN = 1 ;IXPRF = 1 ;IXPRL = 10 NYPRIN = 1 ;IYPRF = 1 ;IYPRL = 10 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