TALK=T;RUN( 1, 1) ************************************************************ Q1 created by VDI menu, Version 3.6, Date 11/05/06 CPVNAM=VDI;SPPNAM=Core ************************************************************ Echo DISPLAY / USE settings DISPLAY This example illustrates the use of the partitioned-terrain technique. A room contains a smoke source. The smoke escapes through the open windows and spreads round the outside of the building. Around the corner is a second room with open windows. The smoke enters the second room and spreads inside it. The first run models the smoke movement within the room. The windows are treated as openings. They also write the mass flows to data files. The second run in the series calculates the flow around the outside of the building. The window-flows exported from the first run are used by the inlet objects representing the windows. The windows of the second room are openings which also save their mass flows. This, the third run in the series calculates the flow inside the second room, using the data from the third run as inputs. The Q1 contains VRV USE commands. Press F3 in the Viewer to run the macro. ENDDIS VRV USE AXIS ON CELPOS OFF CONTOUR SCALE ON POSITION CONTOURKEY 2.587322E-02 9.276438E-02 TEXT ON POSITION TITLE 2.975420E-01 8.998145E-01 POSITION PROBE 7.671410E-01 9.276438E-02 GRID OFF WIREFRAME OFF SCALE 1.000000E+00 1.000000E+00 1.000000E+00 PROBE 5.833330E+00 2.833330E+00 8.333330E-01; PROBE ON SLICE Z SLICE OUTLINE ON VIEW 0.000000E+00 -3.894183E-01 9.210610E-01 UP 0.000000E+00 9.210610E-01 3.894183E-01 VIEW CENTRE 4.277503E+00 3.357781E+00 1.744771E+00 VIEW SIZE 5.779965E+00 VIEW DEPTH 3.000000E+00;VIEW TILT 0.8 DOMAIN ON OBJECT SHOW TYPE OUTLET OBJECT PAINT TYPE OUTLET OFF OBJECT SHOW TYPE PLATE OBJECT HIDE LIST LIST FLOOR CEILING OBJECT PAINT TYPE PLATE OFF OBJECT SHOW TYPE USER_DEFINED OBJECT PAINT TYPE USER_DEFINED OFF VARIABLE C1 VECTOR ON CONTOUR ON CONTOUR BLANK ON CONTOUR AVERAGE ON SURFACE OFF MINMAX OFF CONTOUR OPAQUENESS 100 STREAM CLEAR STREAM ANIMATE OFF ENDUSE ************************************************************ IRUNN = 1 ;LIBREF = 0 ************************************************************ Group 1. Run Title TEXT(Smoke in room. ) ************************************************************ Group 2. Transience STEADY = T ************************************************************ Groups 3, 4, 5 Grid Information * Overall number of cells, RSET(M,NX,NY,NZ,tolerance) RSET(M,30,18,9) ************************************************************ Group 6. Body-Fitted coordinates ************************************************************ Group 7. Variables: STOREd,SOLVEd,NAMEd ONEPHS = T * Non-default variable names NAME(148) =DEN1 ; NAME(150) =EPKE * Solved variables list SOLVE(P1 ,U1 ,V1 ,W1 ,C1 ) * Stored variables list STORE(EPKE,DEN1) * Additional solver options SOLUTN(P1 ,Y,Y,Y,N,N,Y) TURMOD(KEMODL) ************************************************************ Group 8. Terms & Devices ************************************************************ Group 9. Properties PRESS0 = 1.000000E+05 ;TEMP0 = 2.730000E+02 * Domain material index is 0 signifying: * Air at 20 deg C, 1 atm, treated as incompressible SETPRPS(1, 0) DVO1DT = 3.410000E-03 PRT (EP ) = 1.314000E+00 ************************************************************ Group 10.Inter-Phase Transfer Processes ************************************************************ Group 11.Initialise Var/Porosity Fields 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 = 500 RESFAC = 1.000000E-03 ************************************************************ Group 16. Terminate Iterations LITER (P1 ) = 200 ************************************************************ Group 17. Relaxation RELAX(P1 ,LINRLX, 1.000000E+00) RELAX(KE ,LINRLX, 5.000000E-01) RELAX(EP ,LINRLX, 5.000000E-01) RELAX(C1 ,LINRLX, 1.000000E+00) KELIN = 3 ************************************************************ Group 18. Limits VARMAX(U1 ) = 1.000000E+06 ;VARMIN(U1 ) =-1.000000E+06 VARMAX(V1 ) = 1.000000E+06 ;VARMIN(V1 ) =-1.000000E+06 VARMAX(W1 ) = 1.000000E+06 ;VARMIN(W1 ) =-1.000000E+06 ************************************************************ Group 19. EARTH Calls To GROUND Station USEGRD = T ;USEGRX = T GENK = T ASAP = T PARSOL = T CONWIZ = T ************************************************************ Group 20. Preliminary Printout ECHO = T ************************************************************ Group 21. Print-out of Variables ************************************************************ Group 22. Monitor Print-Out IXMON = 18 ;IYMON = 9 ;IZMON = 3 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,5.220130E-01,-6.469759E-01,5.558106E-01) GVIEW(UP,-2.841769E-01,4.824874E-01,8.285224E-01) > DOM, SIZE, 1.000000E+01, 6.000000E+00, 3.000000E+00 > DOM, MONIT, 5.833330E+00, 2.833330E+00, 8.333330E-01 > DOM, SCALE, 1.000000E+00, 1.000000E+00, 1.000000E+00 > DOM, SNAPSIZE, 1.000000E-02 > OBJ, NAME, FLOOR > OBJ, POSITION, 0.000000E+00, 0.000000E+00, 0.000000E+00 > OBJ, SIZE, 1.000000E+01, 6.000000E+00, 0.000000E+00 > OBJ, GEOMETRY, cube11 > OBJ, ROTATION24, 1 > OBJ, VISIBLE, NO > OBJ, TYPE, PLATE > OBJ, NAME, CEILING > OBJ, POSITION, 0.000000E+00, 0.000000E+00, 3.000000E+00 > OBJ, SIZE, 1.000000E+01, 6.000000E+00, 0.000000E+00 > OBJ, GEOMETRY, cube11 > OBJ, ROTATION24, 1 > OBJ, VISIBLE, NO > OBJ, TYPE, PLATE > OBJ, NAME, EWALL > OBJ, POSITION, 1.000000E+01, 0.000000E+00, 0.000000E+00 > OBJ, SIZE, 0.000000E+00, 6.000000E+00, 3.000000E+00 > OBJ, GEOMETRY, cube11 > OBJ, ROTATION24, 1 > OBJ, TYPE, PLATE > OBJ, NAME, WWAL1 > OBJ, POSITION, 0.000000E+00, 0.000000E+00, 0.000000E+00 > OBJ, SIZE, 0.000000E+00, 2.000000E+00, 3.000000E+00 > OBJ, GEOMETRY, cube11 > OBJ, ROTATION24, 1 > OBJ, TYPE, PLATE > OBJ, NAME, WWAL2 > OBJ, POSITION, 0.000000E+00, 4.000000E+00, 0.000000E+00 > OBJ, SIZE, 0.000000E+00, 2.000000E+00, 3.000000E+00 > OBJ, GEOMETRY, cube11 > OBJ, ROTATION24, 1 > OBJ, TYPE, PLATE > OBJ, NAME, WWAL3 > OBJ, POSITION, 0.000000E+00, 2.000000E+00, 0.000000E+00 > OBJ, SIZE, 0.000000E+00, 2.000000E+00, 1.000000E+00 > OBJ, GEOMETRY, cube11 > OBJ, ROTATION24, 1 > OBJ, TYPE, PLATE > OBJ, NAME, WWAL4 > OBJ, POSITION, 0.000000E+00, 2.000000E+00, 2.500000E+00 > OBJ, SIZE, 0.000000E+00, 2.000000E+00, 5.000000E-01 > OBJ, GEOMETRY, cube11 > OBJ, ROTATION24, 1 > OBJ, TYPE, PLATE > OBJ, NAME, SWAL1 > OBJ, POSITION, 0.000000E+00, 6.000000E+00, 0.000000E+00 > OBJ, SIZE, 7.000000E+00, 0.000000E+00, 3.000000E+00 > OBJ, GEOMETRY, cube11 > OBJ, ROTATION24, 1 > OBJ, TYPE, PLATE > OBJ, NAME, SWAL2 > OBJ, POSITION, 8.000000E+00, 6.000000E+00, 0.000000E+00 > OBJ, SIZE, 2.000000E+00, 0.000000E+00, 3.000000E+00 > OBJ, GEOMETRY, cube11 > OBJ, ROTATION24, 1 > OBJ, TYPE, PLATE > OBJ, NAME, SWAL3 > OBJ, POSITION, 7.000000E+00, 6.000000E+00, 2.000000E+00 > OBJ, SIZE, 1.000000E+00, 0.000000E+00, 1.000000E+00 > OBJ, GEOMETRY, cube11 > OBJ, ROTATION24, 1 > OBJ, TYPE, PLATE > OBJ, NAME, NWAL1 > OBJ, POSITION, 0.000000E+00, 0.000000E+00, 0.000000E+00 > OBJ, SIZE, 1.000000E+01, 0.000000E+00, 1.000000E+00 > OBJ, GEOMETRY, cube11 > OBJ, ROTATION24, 1 > OBJ, TYPE, PLATE > OBJ, NAME, NWAL2 > OBJ, POSITION, 0.000000E+00, 0.000000E+00, 2.500000E+00 > OBJ, SIZE, 1.000000E+01, 0.000000E+00, 5.000000E-01 > OBJ, GEOMETRY, cube11 > OBJ, ROTATION24, 1 > OBJ, TYPE, PLATE > OBJ, NAME, NWAL3 > OBJ, POSITION, 0.000000E+00, 0.000000E+00, 1.000000E+00 > OBJ, SIZE, 2.000000E+00, 0.000000E+00, 1.500000E+00 > OBJ, GEOMETRY, cube11 > OBJ, ROTATION24, 1 > OBJ, TYPE, PLATE > OBJ, NAME, NWAL4 > OBJ, POSITION, 4.000000E+00, 0.000000E+00, 1.000000E+00 > OBJ, SIZE, 2.000000E+00, 0.000000E+00, 1.500000E+00 > OBJ, GEOMETRY, cube11 > OBJ, ROTATION24, 1 > OBJ, TYPE, PLATE > OBJ, NAME, NWAL5 > OBJ, POSITION, 8.000000E+00, 0.000000E+00, 1.000000E+00 > OBJ, SIZE, 2.000000E+00, 0.000000E+00, 1.500000E+00 > OBJ, GEOMETRY, cube11 > OBJ, ROTATION24, 1 > OBJ, TYPE, PLATE > OBJ, NAME, DOOR > OBJ, POSITION, 7.000000E+00, 6.000000E+00, 0.000000E+00 > OBJ, SIZE, 1.000000E+00, 0.000000E+00, 2.000000E+00 > OBJ, GEOMETRY, cube12t > OBJ, ROTATION24, 1 > OBJ, TYPE, OUTLET > OBJ, PRESSURE, 0.000000E+00 > OBJ, TEMPERATURE, SAME > OBJ, COEFFICIENT, 1.000000E+03 > OBJ, TURBULENCE, SAME , SAME ! 3 INLET objects with IMPORT > OBJ, NAME, TROBJ1 > OBJ, POSITION, 6.000000E+00, 0.000000E+00, 1.000000E+00 > OBJ, SIZE, 2.000001E+00, 0.000000E+00, 1.500000E+00 > OBJ, GEOMETRY, cube3t > OBJ, ROTATION24, 1 > OBJ, TYPE, INLET > OBJ, PRESSURE, 0.000000E+00 > OBJ, VELOCITY, 0.000000E+00, 0.000000E+00, 0.000000E+00 > OBJ, TEMPERATURE, 0.000000E+00 > OBJ, TURB-INTENS, 5.000000E+00 > OBJ, IMPORT, w1out.pob > OBJ, NAME, TROBJ2 > OBJ, POSITION, 2.000000E+00, 0.000000E+00, 1.000000E+00 > OBJ, SIZE, 1.999999E+00, 0.000000E+00, 1.500000E+00 > OBJ, GEOMETRY, cube3t > OBJ, ROTATION24, 1 > OBJ, TYPE, INLET > OBJ, PRESSURE, 0.000000E+00 > OBJ, VELOCITY, 0.000000E+00, 0.000000E+00, 0.000000E+00 > OBJ, TEMPERATURE, 0.000000E+00 > OBJ, TURB-INTENS, 5.000000E+00 > OBJ, IMPORT, w2out.pob > OBJ, NAME, TROBJ3 > OBJ, POSITION, 0.000000E+00, 2.000000E+00, 1.000000E+00 > OBJ, SIZE, 0.000000E+00, 2.000000E+00, 1.500000E+00 > OBJ, GEOMETRY, cube3t > OBJ, ROTATION24, 1 > OBJ, TYPE, INLET > OBJ, PRESSURE, 0.000000E+00 > OBJ, VELOCITY, 0.000000E+00, 0.000000E+00, 0.000000E+00 > OBJ, TEMPERATURE, 0.000000E+00 > OBJ, TURB-INTENS, 5.000000E+00 > OBJ, IMPORT, w3out.pob STOP