TALK=T;RUN(1,1) DISPLAY This case shows the sliding mesh and unstructured mesh capabilities of GCV. The geometry is shown crudely below. In reality, the edges of all the blocks are formed from arcs. -------------------------------- Ý \ Ý Ý \ Block 3 Ý Ý ----------------------Ý Ý Ý Ý\ Ý Ý Ý Ý \ Block 2 Ý Ý Ý Ý -------------Ý Ý Ý Ý Ý Ý X BlockÝ Ý Ý Ý Ý Ý X 1 Ý Ý Ý Ý Ý Ý XXXXXXX Ý Ý Ý Ý Ý Ý X Ý Ý Ý Ý Ý Ý X Ý Ý Ý Ý Ý -------------Ý Ý Ý Ý Ý Ý Ý Ý Ý---------------------- Ý Ý Ý Ý Ý --------------------------------- Block 1 has a cartesian topology, and contains two blockages forming a cross. Blocks 2 and 3 have polar topologies. The links between blocks 1 and 2 are 'unnatural'. Blocks 1 and 2 rotate relative to block 3 with a rotational speed of 10 radians/s. ENDDIS VRV USE * Start of frame PROBE 2.000000E+00 1.000000E+01 1.000000E+00 SLICE Z SLICE SAVE PROBE 7.300000E+01 2.600000E+01 1.000000E+00 SLICE Z SLICE SAVE PROBE 7.700000E+01 3.700000E+01 1.000000E+00 SLICE Z VIEW 0.000000E+00 0.000000E+00 1.000000E+00 UP 0.000000E+00 1.000000E+00 0.000000E+00 VIEW SIZE 1.633682E+01 VIEW DEPTH 3.000000E+00;VIEW TILT 0.8 OBJECT HIDE TYPE CELLTYPE OBJECT HIDE TYPE BFC_DOMAIN VARIABLE Velocity; VARIABLE RANGE 0 19 VECTOR ON VECTOR REFERENCE 9.000000E+00 VECTOR COLOUR MULTI CONTOUR ON MSG Press OK to animate PAUSE ANIMATE ENDUSE ************************************************************ Group 1. Run Title and Number ************************************************************ ************************************************************ TEXT(Sliding grid test case ) ************************************************************ ************************************************************ IRUNN = 1 ;LIBREF = 584 ************************************************************ Group 2. Time dependence STEADY = F * Set overall time and no. of steps TFIRST =0. ;TLAST =1. FSTEP = 1 ;LSTEP = 8 TFRAC(1)=0.125 ;TFRAC(2)=0.25 TFRAC(3)=0.375 ;TFRAC(4)=0.5 TFRAC(5)=0.625 ;TFRAC(6)=0.75 TFRAC(7)=0.875 ;TFRAC(8)=1. ************************************************************ Group 3. X-Direction Grid Spacing CARTES = T NX = 86 XULAST =1. ************************************************************ Group 4. Y-Direction Grid Spacing NY = 38 YVLAST =1. ************************************************************ Group 5. Z-Direction Grid Spacing PARAB = F NZ = 1 ZWLAST =1. ************************************************************ Group 6. Body-Fitted Coordinates BFC = T ;NONORT = F NUMBLK = 3 NCRT = -1 RSTGEO = F ;SAVGEO = F UUP = F ;VUP = F ;WUP = F NGEOM =CHAM NAMXYZ =CHAM ANGMIN =20. DOMAIN( 1, 87, 1, 39, 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(12)=KE NAME(13)=EP ;NAME(142)=VC1 NAME(143)=UC1 ;NAME(144)=PRPS NAME(145)=EPKE ;NAME(146)=EL1 NAME(147)=ENUT ;NAME(148)=WCRT NAME(149)=VCRT ;NAME(150)=UCRT * 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(U1,Y,Y,N,N,N,Y) SOLUTN(V1,Y,Y,N,N,N,Y) SOLUTN(KE,Y,Y,N,N,N,N) SOLUTN(EP,Y,Y,N,N,N,N) SOLUTN(VC1,Y,Y,N,N,N,Y) SOLUTN(UC1,Y,Y,N,N,N,Y) SOLUTN(PRPS,Y,N,N,N,N,Y) SOLUTN(EPKE,Y,N,N,N,N,N) SOLUTN(EL1,Y,N,N,N,N,Y) SOLUTN(ENUT,Y,N,N,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) VIST = 147 LEN1 = 146 PRPS = 144 ************************************************************ 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(KE,N,Y,Y,Y,Y,N) TERMS(EP,N,Y,Y,Y,Y,N) TERMS(VC1,N,Y,Y,Y,Y,Y) TERMS(UC1,N,Y,Y,Y,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.189 ;TMP1 =0. ;EL1 = GRND4 TSURR =0. ;TEMP0 =0. ;PRESS0 =0. DVO1DT =3.41E-03 ;DRH1DP =0. EMISS =0. ;SCATT =0. RADIA =0. ;RADIB =0. EL1A =0. ;EL1B =0. ;EL1C =0. ENUL =1.544E-05 ;ENUT = GRND3 ENUTA =0. ;ENUTB =0. ;ENUTC =0. IENUTA = 0 PRNDTL(U1)=1. ;PRNDTL(V1)=1. PRNDTL(KE)=1. ;PRNDTL(EP)=1. PRNDTL(VC1)=1. ;PRNDTL(UC1)=1. PRT(U1)=1. ;PRT(V1)=1. PRT(KE)=1. ;PRT(EP)=1.314 PRT(VC1)=1. ;PRT(UC1)=1. CP1 =1005. ;CP2 =1. ************************************************************ Group 10.Inter-Phase Transfer Processes ************************************************************ Group 11.Initial field variables (PHIs) FIINIT(P1)=1.0E-10 ;FIINIT(U1)=1.0E-10 FIINIT(V1)=-10. ;FIINIT(KE)=0.04 FIINIT(EP)=0.046632 ;FIINIT(VC1)=-10. FIINIT(UC1)=1.0E-10 ;FIINIT(PRPS)=-1. FIINIT(EPKE)=1.0E-10 ;FIINIT(EL1)=1.0E-10 FIINIT(ENUT)=1.0E-10 ;FIINIT(WCRT)=1.0E-10 FIINIT(VCRT)=1.0E-10 ;FIINIT(UCRT)=1.0E-10 PATCH(BLOK1 ,INIVAL, 9, 15, 12, 12, 1, 1, 1, 8) INIT(BLOK1 ,PRPS,0. ,198. ) PATCH(BLOK2 ,INIVAL, 12, 12, 9, 15, 1, 1, 1, 8) INIT(BLOK2 ,PRPS,0. ,198. ) 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(MBD1 ,CELL , 1, 23, 1, 23, 1, 1, 1, 8) PATCH(MBD2 ,CELL , 1, 86, 25, 31, 1, 1, 1, 8) PATCH(MBD3 ,CELL , 1, 86, 33, 38, 1, 1, 1, 8) PATCH(KESOURCE,PHASEM, 0, 0, 0, 0, 0, 0, 1, 8) COVAL(KESOURCE,KE , GRND4 , GRND4 ) COVAL(KESOURCE,EP , GRND4 , GRND4 ) PATCH(MBL2.3 ,NORTH , 2, 85, 30, 30, 1, 1, 1, 8) PATCH(MBL3.2 ,SOUTH , 2, 85, 34, 34, 1, 1, 1, 8) PATCH(MBL1.2 ,NORTH , 2, 22, 22, 22, 1, 1, 1, 8) PATCH(MBL2.1 ,SOUTH , 2, 22, 26, 26, 1, 1, 1, 8) PATCH(MBL1-2 ,EAST , 22, 22, 2, 22, 1, 1, 1, 8) PATCH(MBL2-1 ,SOUTH , 23, 43, 26, 26, 1, 1, 1, 8) PATCH(MBL1+2 ,SOUTH , 2, 22, 2, 2, 1, 1, 1, 8) PATCH(MBL2+1 ,SOUTH , 44, 64, 26, 26, 1, 1, 1, 8) PATCH(MBL1#2 ,WEST , 2, 2, 2, 22, 1, 1, 1, 8) PATCH(MBL2#1 ,SOUTH , 65, 85, 26, 26, 1, 1, 1, 8) PATCH(MBL2.2 ,WEST , 2, 2, 26, 30, 1, 1, 1, 8) PATCH(MBL2-2 ,EAST , 85, 85, 26, 30, 1, 1, 1, 8) PATCH(MBL3.3 ,WEST , 2, 2, 34, 38, 1, 1, 1, 8) PATCH(MBL3-3 ,EAST , 85, 85, 34, 38, 1, 1, 1, 8) PATCH(MBS1 ,CELL , 1, 23, 1, 23, 1, 1, 1, 8) PATCH(MBS2 ,CELL , 1, 86, 25, 31, 1, 1, 1, 8) PATCH(BFCIN1 ,NORTH , 2, 32, 38, 38, 1, 1, 1, 8) COVAL(BFCIN1 ,P1 , FIXFLU , GRND3 ) COVAL(BFCIN1 ,U1 ,0. ,0. ) COVAL(BFCIN1 ,V1 ,0. ,0. ) COVAL(BFCIN1 ,KE ,0. ,0.04 ) COVAL(BFCIN1 ,EP ,0. ,0.046632 ) COVAL(BFCIN1 ,VC1 ,0. ,-10. ) COVAL(BFCIN1 ,VCRT,0. ,-10. ) PATCH(BFCIN2 ,NORTH , 74, 85, 38, 38, 1, 1, 1, 8) COVAL(BFCIN2 ,P1 , FIXFLU , GRND3 ) COVAL(BFCIN2 ,U1 ,0. ,0. ) COVAL(BFCIN2 ,V1 ,0. ,0. ) COVAL(BFCIN2 ,KE ,0. ,0.04 ) COVAL(BFCIN2 ,EP ,0. ,0.046632 ) COVAL(BFCIN2 ,VC1 ,0. ,-10. ) COVAL(BFCIN2 ,VCRT,0. ,-10. ) PATCH(OUT ,NORTH , 33, 73, 38, 38, 1, 1, 1, 8) COVAL(OUT ,P1 ,1000. ,0. ) XCYCLE = F EGWF = T WALLCO = GRND2 BFCA =1. ************************************************************ Group 14. Downstream Pressure For PARAB ************************************************************ Group 15. Terminate Sweeps LSWEEP = 15 ;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(KE)=20 LITER(EP)=20 ;LITER(VC1)=10 LITER(UC1)=10 ENDIT(P1)=1.0E-03 ;ENDIT(U1)=1.0E-03 ENDIT(V1)=1.0E-03 ;ENDIT(KE)=1.0E-03 ENDIT(EP)=1.0E-03 ;ENDIT(VC1)=1.0E-03 ENDIT(UC1)=1.0E-03 ************************************************************ Group 17. Relaxation RELAX(P1,LINRLX,1.) RELAX(U1,FALSDT,10.) RELAX(V1,FALSDT,10.) RELAX(KE,LINRLX,0.5) RELAX(EP,LINRLX,0.5) RELAX(VC1,FALSDT,10.) RELAX(UC1,FALSDT,10.) RELAX(PRPS,LINRLX,1.) RELAX(EPKE,LINRLX,1.) RELAX(EL1,LINRLX,1.) RELAX(ENUT,LINRLX,1.) RELAX(WCRT,LINRLX,1.) RELAX(VCRT,LINRLX,1.) RELAX(UCRT,LINRLX,1.) KELIN = 3 OVRRLX =0. EXPERT = F ;NNORSL = F ************************************************************ Group 18. Limits VARMAX(P1)=1.0E+10 ;VARMIN(P1)=-1.0E+10 VARMAX(U1)=1.0E+06 ;VARMIN(U1)=-1.0E+06 VARMAX(V1)=1.0E+06 ;VARMIN(V1)=-1.0E+06 VARMAX(KE)=1.0E+10 ;VARMIN(KE)=1.0E-10 VARMAX(EP)=1.0E+10 ;VARMIN(EP)=1.0E-10 VARMAX(VC1)=1.0E+06 ;VARMIN(VC1)=-1.0E+06 VARMAX(UC1)=1.0E+06 ;VARMIN(UC1)=-1.0E+06 VARMAX(PRPS)=1.0E+10 ;VARMIN(PRPS)=-1.0E+10 VARMAX(EPKE)=1.0E+10 ;VARMIN(EPKE)=-1.0E+10 VARMAX(EL1)=1.0E+10 ;VARMIN(EL1)=-1.0E+10 VARMAX(ENUT)=1.0E+10 ;VARMIN(ENUT)=-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 ************************************************************ Group 19. Data transmitted to GROUND GENK = T PARSOL = F LSG9 = T ISG62 = 1 ANGVEL =10. RSG2 =10. SPEDAT(SET,DOMAIN,PHASE_1_MAT,I,0) SPEDAT(SET,GCVSLD,MBL2.3,L,T) SPEDAT(SET,GCV,MBL2-1,C,ESL) SPEDAT(SET,GCV,MBL2+1,C,NEL) SPEDAT(SET,GCV,MBL2#1,C,WNL) SPEDAT(SET,GXMONI,PLOTALL,L,T) SPEDAT(SET,MATERIAL,198,L,T) ************************************************************ Group 20. Preliminary Printout DISTIL = T ;NULLPR = F NDST = 0 DSTTOL =1.0E-02 EX(P1)=7.046 ;EX(U1)=2.094 EX(V1)=2.297 ;EX(KE)=0.01853 EX(EP)=0.02472 ;EX(VC1)=3.36 EX(UC1)=0.3077 ;EX(PRPS)=0.388 EX(EPKE)=0.4454 ;EX(EL1)=0.01156 EX(ENUT)=1.362E-03 ;EX(WCRT)=3.88E-11 EX(VCRT)=3.36 ;EX(UCRT)=0.3077 ************************************************************ 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(U1,Y,N,Y,N,N,N) OUTPUT(V1,Y,N,Y,N,N,N) OUTPUT(KE,Y,N,Y,Y,Y,Y) OUTPUT(EP,Y,N,Y,Y,Y,Y) OUTPUT(VC1,Y,N,Y,Y,Y,Y) OUTPUT(UC1,Y,N,Y,Y,Y,Y) OUTPUT(PRPS,Y,N,Y,N,N,N) OUTPUT(EPKE,Y,N,Y,N,N,N) OUTPUT(EL1,Y,N,Y,N,N,N) OUTPUT(ENUT,Y,N,Y,N,N,N) OUTPUT(WCRT,Y,N,Y,N,N,N) OUTPUT(VCRT,Y,N,Y,N,N,N) OUTPUT(UCRT,Y,N,Y,N,N,N) ************************************************************ Group 22. Monitor Print-Out IXMON = 5 ;IYMON = 3 ;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 CSG1 ='A' CSG2 ='B' STOP