TALK=T;RUN( 1, 1) ************************************************************ Q1 created by VDI menu, Version 2020, Date 16/06/20 CPVNAM=VDI; SPPNAM=Core ************************************************************ Echo DISPLAY / USE settings DISPLAY Library case 659 The case shows a 2D cross-section through a long warehouse. An ANGLED-IN object is used to inject air at 2m^3/s normal to the roof, and an ANGLED-OUT object is used to create an opening on the sloping roof. To see the related tutorial, click HERE. The Q1 contains Viewer commands. To run the macro, press F3 in the Viewer. ENDDIS VRV USE * Start of frame PROBE 4.750000E+00 5.000000E-01 1.900000E+00 SLICE Y VIEW 0.000000E+00 -9.999875E-01 -4.999979E-03 UP -2.615811E-10 -4.999979E-03 9.999875E-01 VIEW CENTRE 5.000000E+00 5.000000E-01 2.000000E+00 VIEW SIZE 5.191994E+00 VIEW DEPTH 3.000000E+00;VIEW TILT 0.8 VARIABLE Velocity VECTOR ON CONTOUR ON STREAM CLEAR STREAM ANIMATE OFF PAUSE ENDUSE ************************************************************ IRUNN = 1 ;LIBREF = 0 ************************************************************ Group 1. Run Title TEXT(2D Warehouse Example ) ************************************************************ Group 2. Transience STEADY = T ************************************************************ Groups 3, 4, 5 Grid Information * Overall number of cells, RSET(M,NX,NY,NZ,tolerance) RSET(M,62,1,50) ************************************************************ Group 6. Body-Fitted coordinates ************************************************************ Group 7. Variables: STOREd,SOLVEd,NAMEd * Non-default variable names NAME(146)=PRPS ;NAME(147)=EPKE NAME(148)=DEN1 ;NAME(149)=EL1 NAME(150) =ENUT * Solved variables list SOLVE(P1,U1,W1) * Stored variables list STORE(ENUT,EL1,DEN1,EPKE,PRPS) * Additional solver options SOLUTN(P1,Y,Y,Y,N,N,Y) TURMOD(KECHEN) ************************************************************ Group 8. Terms & Devices ************************************************************ Group 9. Properties PRESS0 =1.01325E+05 ;TEMP0 =273.149994 * Domain material index is 0 signifying: * Air at 20 deg C, 1 atm, treated as incompressible SETPRPS(1, 0) DVO1DT =3.41E-03 PRT(KE)=0.75 ;PRT(EP)=1.15 ************************************************************ Group 10.Inter-Phase Transfer Processes ************************************************************ Group 11.Initialise Var/Porosity Fields FIINIT(P1)=0. ;FIINIT(PRPS)=-1. No PATCHes used for this Group INIADD = F ************************************************************ Group 12. Convection and diffusion adjustments No PATCHes used for this Group ************************************************************ Group 13. Boundary & Special Sources No PATCHes used for this Group EGWF = T ************************************************************ Group 14. Downstream Pressure For PARAB ************************************************************ Group 15. Terminate Sweeps LSWEEP = 750 RESFAC =1.0E-05 ************************************************************ Group 16. Terminate Iterations ************************************************************ Group 17. Relaxation RELAX(P1 ,LINRLX,0.5 ) RELAX(U1 ,LINRLX,0.5 ) RELAX(W1 ,LINRLX,0.5 ) RELAX(KE ,LINRLX,0.5 ) RELAX(EP ,LINRLX,0.5 ) KELIN = 3 ************************************************************ Group 18. Limits ************************************************************ Group 19. EARTH Calls To GROUND Station GENK = T PARSOL = F CONWIZ = T IENUTA = 2 ISG62 = 1 SPEDAT(SET,GXMONI,PLOTALL,L,T) ************************************************************ Group 20. Preliminary Printout DISTIL = T ;NULLPR = F NDST = 0 DSTTOL =1.0E-02 EX(P1)=1.157 ;EX(U1)=0.4021 EX(W1)=0.3568 ;EX(KE)=6.968E-03 EX(EP)=0.0113 ;EX(PRPS)=0.7316 EX(EPKE)=0.5013 ;EX(DEN1)=0.8699 EX(EL1)=0.02786 ;EX(ENUT)=1.556E-03 ************************************************************ Group 21. Print-out of Variables ************************************************************ Group 22. Monitor Print-Out IXMON = 31 ;IYMON = 1 ;IZMON = 26 NPRMON = 100000 NPRMNT = 1 TSTSWP = -1 ************************************************************ Group 23.Field Print-Out & Plot Control NPRINT = 100000 ISWPRF = 1 ;ISWPRL = 100000 No PATCHes used for this Group ************************************************************ Group 24. Dumps For Restarts GVIEW(P,0.,-1.,0.) GVIEW(UP,0.,0.,1.) GVIEW(VDIS,5.191994) GVIEW(CENTRE,5.,0.5,2.) > DOM, SIZE, 1.000000E+01, 1.000000E+00, 4.000000E+00 > DOM, MONIT, 4.919199E+00, 5.000000E-01, 1.926025E+00 > DOM, SCALE, 1.000000E+00, 1.000000E+00, 1.000000E+00 > GRID, AUTO, T T T > GRID, RSET_X_1, -8, 1.100000E+00,G > GRID, RSET_X_2, -4, 1.100000E+00,G > GRID, RSET_X_3, -7, 1.100000E+00,G > GRID, RSET_X_4, -4, 1.100000E+00,G > GRID, RSET_X_5, -8, 1.100000E+00,G > GRID, RSET_X_6, -8, 1.100000E+00,G > GRID, RSET_X_7, -4, 1.100000E+00,G > GRID, RSET_X_8, -7, 1.100000E+00,G > GRID, RSET_X_9, -4, 1.100000E+00,G > GRID, RSET_X_10, -8, 1.100000E+00,G > GRID, RSET_Y_1, 1, 1.000000E+00 > GRID, RSET_Z_1, -16, 1.100000E+00,G > GRID, RSET_Z_2, -20, 1.100000E+00,G > GRID, RSET_Z_3, -5, 1.100000E+00,G > GRID, RSET_Z_4, 9, 1.100000E+00,G > DOM, INI_AMB, YES > DOM, INI_BUOY, YES > OBJ, NAME, DOM_XMIN_W > OBJ, POSITION, 0.000000E+00, 0.000000E+00, 0.000000E+00 > OBJ, SIZE, 0.000000E+00, TO_END, TO_END > OBJ, DOMCLIP, NO > OBJ, GEOMETRY, box > OBJ, VISIBLE, NO > OBJ, TYPE, PLATE > OBJ, NAME, DOM_XMAX_W > OBJ, POSITION, AT_END, 0.000000E+00, 0.000000E+00 > OBJ, SIZE, 0.000000E+00, TO_END, TO_END > OBJ, DOMCLIP, NO > OBJ, GEOMETRY, box > OBJ, VISIBLE, NO > OBJ, TYPE, PLATE > OBJ, NAME, DOM_ZMIN_W > OBJ, POSITION, 0.000000E+00, 0.000000E+00, 0.000000E+00 > OBJ, SIZE, TO_END, TO_END, 0.000000E+00 > OBJ, DOMCLIP, NO > OBJ, GEOMETRY, box > OBJ, VISIBLE, NO > OBJ, TYPE, PLATE > OBJ, NAME, ROOF1 > OBJ, POSITION, 0.000000E+00, 0.000000E+00, AT_END > OBJ, SIZE, 5.000000E+00, TO_END, 1.000000E+00 > OBJ, DOMCLIP, NO > OBJ, GEOMETRY, wedge > OBJ, ROTATION24, 12 > OBJ, TYPE, BLOCKAGE > OBJ, MATERIAL, 198,Solid with smooth-wall friction > OBJ, NAME, ROOF2 > OBJ, POSITION, AT_END, 0.000000E+00, AT_END > OBJ, SIZE, 5.000000E+00, TO_END, 1.000000E+00 > OBJ, DOMCLIP, NO > OBJ, GEOMETRY, wedge > OBJ, ROTATION24, 16 > OBJ, TYPE, BLOCKAGE > OBJ, MATERIAL, 198,Solid with smooth-wall friction > OBJ, NAME, INLET > OBJ, POSITION, 2.000000E+00, 0.000000E+00, AT_END > OBJ, SIZE, 1.000000E+00, TO_END, 7.500000E-01 > OBJ, DOMCLIP, NO > OBJ, GEOMETRY, box > OBJ, TYPE, ANGLED-IN > OBJ, PRESSURE, P_AMBIENT > OBJ, VOLUFLOW, 2. > OBJ, TURB-INTENS, 5. > OBJ, NAME, OUTLET > OBJ, POSITION, 7.000000E+00, 0.000000E+00, AT_END > OBJ, SIZE, 1.000000E+00, TO_END, 7.500000E-01 > OBJ, DOMCLIP, NO > OBJ, GEOMETRY, box > OBJ, TYPE, ANGLED-OUT > OBJ, PRESSURE, P_AMBIENT > OBJ, COEFFICIENT, 1000. > OBJ, TURBULENCE, SAME , SAME > OBJ, NAME, CRATE1 > OBJ, POSITION, 1.500000E+00, 0.000000E+00, 0.000000E+00 > OBJ, SIZE, 2.000000E+00, TO_END, 1.000000E+00 > OBJ, DOMCLIP, NO > OBJ, GEOMETRY, box > OBJ, TYPE, BLOCKAGE > OBJ, MATERIAL, 198,Solid with smooth-wall friction > OBJ, NAME, CRATE2 > OBJ, POSITION, 6.500000E+00, 0.000000E+00, 0.000000E+00 > OBJ, SIZE, 2.000000E+00, TO_END, 1.000000E+00 > OBJ, DOMCLIP, NO > OBJ, GEOMETRY, box > OBJ, TYPE, BLOCKAGE > OBJ, MATERIAL, 198,Solid with smooth-wall friction STOP