TALK=T;RUN( 1, 1) ************************************************************ Q1 created by VDI menu, Version 2018, Date 27/10/17 CPVNAM=VDI; SPPNAM=Core ************************************************************ Echo DISPLAY / USE settings DISPLAY This is a 2D case to demonstrate how to make channel or cavity through solid domain or objects. This feature can be very helpful for mould designer when he/she optimises the design by adding, removing, or changing the position of runners or feeders without going back to CAD. In this example the domain is water, and the domain is initially filled with a solid object FILL (hidden). The violet cylinder cavity was carved from the solid by a cylinder object with domain material.Then the solid black cylinder was put in the center of the cavity. The blue objects can be runners of domain material, which cut through the solid domain-filling object and solid core. Click to see objects Click to see the solution ENDDIS ************************************************************ IRUNN = 1 ;LIBREF = 137 ************************************************************ Group 1. Run Title TEXT(Flow through channels cut from solid ************************************************************ Group 2. Transience STEADY = T ************************************************************ Groups 3, 4, 5 Grid Information * Overall number of cells, RSET(M,NX,NY,NZ,tolerance) RSET(M,58,58,1) ************************************************************ Group 6. Body-Fitted coordinates ************************************************************ Group 7. Variables: STOREd,SOLVEd,NAMEd * Non-default variable names NAME(148)=ENUT ;NAME(150)=WDIS * Solved variables list SOLVE(P1,U1,V1) * Stored variables list STORE(WDIS,ENUT) * Additional solver options SOLUTN(P1,Y,Y,Y,N,N,Y) TURMOD(LVEL) ************************************************************ Group 8. Terms & Devices ************************************************************ Group 9. Properties PRESS0 =1.0E+05 ;TEMP0 =273. * Domain material index is 67 signifying: * WATER at 20. deg C SETPRPS(1, 67) DVO1DT =1.18E-04 ************************************************************ Group 10.Inter-Phase Transfer Processes ************************************************************ Group 11.Initialise Var/Porosity Fields FIINIT(WDIS)=0.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 = 1000 SARAH =5.0E-03 RESFAC =1.0E-03 ************************************************************ Group 16. Terminate Iterations LITER(P1)=50 ************************************************************ Group 17. Relaxation RELAX(P1 ,LINRLX,1. ) ************************************************************ Group 18. Limits ************************************************************ Group 19. EARTH Calls To GROUND Station CONWIZ = T ************************************************************ Group 20. Preliminary Printout ************************************************************ Group 21. Print-out of Variables OUTPUT(WDIS,Y,N,N,N,N,N) ************************************************************ Group 22. Monitor Print-Out IXMON = 28 ;IYMON = 49 ;IZMON = 1 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.,0.,1.) GVIEW(UP,0.,1.,0.) GVIEW(DEPTH,1230.560059) GVIEW(VDIS,0.760835) GVIEW(CENTRE,0.5,0.5,0.5) > DOM, SIZE, 1.000000E+00, 1.000000E+00, 1.000000E+00 > DOM, MONIT, 5.150000E-01, 7.055556E-01, 5.000000E-01 > DOM, SCALE, 1.000000E+00, 1.000000E+00, 1.000000E+00 > GRID, RSET_X_1, 6, 1.000000E+00 > GRID, RSET_X_2, 10,-1.100000E+00,G > GRID, RSET_X_3, 10, 1.000000E+00 > GRID, RSET_X_4, 10, 1.000000E+00 > GRID, RSET_X_5, 10, 1.000000E+00 > GRID, RSET_X_6, 6, 1.100000E+00,G > GRID, RSET_X_7, 6, 1.100000E+00,G > GRID, RSET_Y_1, 1, 1.000000E+00 > GRID, RSET_Y_2, 18, 1.000000E+00 > GRID, RSET_Y_3, 8, 1.000000E+00 > GRID, RSET_Y_4, 4, 1.000000E+00 > GRID, RSET_Y_5, 8, 1.000000E+00 > GRID, RSET_Y_6, 18, 1.000000E+00 > GRID, RSET_Y_7, 1, 1.000000E+00 > GRID, RSET_Z_1, 1, 1.000000E+00 > OBJ, NAME, FILL > OBJ, POSITION, 0.000000E+00, 0.000000E+00, 0.000000E+00 > OBJ, SIZE, TO_END, TO_END, TO_END > OBJ, DOMCLIP, NO > OBJ, GEOMETRY, box > OBJ, VISIBLE, NO > OBJ, TYPE, BLOCKAGE > OBJ, WIREFRAME, YES > OBJ, MATERIAL, 198,Solid with smooth-wall friction > OBJ, NAME, B1 > OBJ, POSITION, 2.000000E-01, 2.000000E-01, 0.000000E+00 > OBJ, SIZE, 6.000000E-01, 6.000000E-01, TO_END > OBJ, DOMCLIP, NO > OBJ, GEOMETRY, cylinder > OBJ, TYPE, BLOCKAGE > OBJ, COLOR-MODE, USER > OBJ, COLOR-VAL, 2 > OBJ, OPAQUE, 30 > OBJ, WIREFRAME, YES > OBJ, MATERIAL, DOMAIN > OBJ, NAME, B3 > OBJ, POSITION, 4.000000E-01, 4.000000E-01, 0.000000E+00 > OBJ, SIZE, 2.000000E-01, 2.000000E-01, TO_END > OBJ, DOMCLIP, NO > OBJ, GEOMETRY, cylinder > OBJ, TYPE, BLOCKAGE > OBJ, COLOR-MODE, DEFAULT2 > OBJ, COLOR-VAL, 42 > OBJ, OPAQUE, 50 > OBJ, WIREFRAME, YES > OBJ, MATERIAL, 198,Solid with smooth-wall friction > OBJ, NAME, B4 > OBJ, POSITION, 0.000000E+00, 4.800000E-01, 0.000000E+00 > OBJ, SIZE, 5.000000E-01, 4.000000E-02, TO_END > OBJ, DOMCLIP, NO > OBJ, GEOMETRY, box > OBJ, TYPE, BLOCKAGE > OBJ, COLOR-MODE, USER > OBJ, COLOR-VAL, 2 > OBJ, OPAQUE, 50 > OBJ, WIREFRAME, YES > OBJ, MATERIAL, DOMAIN > OBJ, NAME, B5 > OBJ, POSITION, 0.000000E+00, 4.800000E-01, 0.000000E+00 > OBJ, SIZE, 0.000000E+00, 4.000000E-02, TO_END > OBJ, DOMCLIP, NO > OBJ, GEOMETRY, cube3t > OBJ, TYPE, INLET > OBJ, WIREFRAME, YES > OBJ, PRESSURE, 1. > OBJ, VELOCITY, 1. ,0. ,0. > OBJ, NAME, B6 > OBJ, POSITION, AT_END, 4.800000E-01, 0.000000E+00 > OBJ, SIZE, 0.000000E+00, 4.000000E-02, TO_END > OBJ, DOMCLIP, NO > OBJ, GEOMETRY, cube12t > OBJ, TYPE, OUTLET > OBJ, WIREFRAME, YES > OBJ, PRESSURE, 0. > OBJ, COEFFICIENT, 1000. > OBJ, NAME, B7 > OBJ, POSITION, 4.610000E-01, 4.810000E-01, 0.000000E+00 > OBJ, SIZE, 2.000000E-01, 4.000000E-02, 1.000000E+00 > OBJ, ROT-ANGLE, 4.500000E+01, 0.000000E+00, 0.000000E+00 > OBJ, GEOMETRY, box > OBJ, GRID, N,N,N > OBJ, TYPE, BLOCKAGE > OBJ, COLOR-MODE, USER > OBJ, COLOR-VAL, 2 > OBJ, OPAQUE, 50 > OBJ, WIREFRAME, YES > OBJ, MATERIAL, DOMAIN > OBJ, NAME, B8 > OBJ, POSITION, 4.328000E-01, 4.907000E-01, 0.000000E+00 > OBJ, SIZE, 2.000000E-01, 4.000000E-02, 1.000000E+00 > OBJ, ROT-ANGLE, -4.500000E+01, 0.000000E+00, 0.000000E+00 > OBJ, GEOMETRY, box > OBJ, GRID, N,N,N > OBJ, TYPE, BLOCKAGE > OBJ, COLOR-MODE, USER > OBJ, COLOR-VAL, 2 > OBJ, OPAQUE, 50 > OBJ, WIREFRAME, YES > OBJ, MATERIAL, DOMAIN > OBJ, NAME, B9 > OBJ, POSITION, 7.000000E-01, 4.800000E-01, 0.000000E+00 > OBJ, SIZE, TO_END, 4.000000E-02, TO_END > OBJ, DOMCLIP, NO > OBJ, GEOMETRY, box > OBJ, TYPE, BLOCKAGE > OBJ, COLOR-MODE, USER > OBJ, COLOR-VAL, 2 > OBJ, OPAQUE, 50 > OBJ, WIREFRAME, YES > OBJ, MATERIAL, DOMAIN STOP