TALK=T;RUN( 1, 1) ************************************************************ Q1 created by VDI menu, Version 3.5, Date 16/12/02 CPVNAM=VDI;SPPNAM=Core ************************************************************ Echo DISPLAY / USE settings PHOTON USE p; ; ; ; ; cl;gr ou y 1 msg Contours of temperature T1 con tem1 y 1 fi;0.005 ; pause pause cl;gr ou y 1 msg Contours of coefficients APCO: con apt1 j 1 fi;0.005 pause cl;gr ou y 1 msg Contours of coefficients AECO: con aet1 j 1 fi;0.005 pause cl;gr ou y 1 msg Contours of coefficients AWCO: con awt1 j 1 fi;0.005 pause cl;gr ou y 1 msg Contours of coefficients ALCO: con alt1 j 1 fi;0.005 pause cl;gr ou y 1 msg Contours of coefficients AHCO: con aht1 j 1 fi;0.005 pause cl;gr ou y 1 msg Contours of residuals of temperature RES: con tres j 1 fi;0.005 pause cl;gr ou y 1 msg Contours of temperature corrections CORR: con tcor j 1 fi;0.005 pause AUTOPLOT file phi 5 aphi 2 data 1 tem1 z 1 col3 1 data 1 tem1 z 4 colf 2 data 2 dist anal BLB4 3 REDR msg Tem1 at z=1 Blue ; at z=4 Red ;Analytic solution Crosses ENDUSE DISPLAY This case uses the geometry and finer grid volumes of F301. Temperatures at opposite boundaries along x-direction is fixed as boundary conditions. The solution is one dimensional with linear profile T(x) = (T2-T1)(x/L)+T1 at x=0 T=T1 ; at x=L T=T2 In-Form facility is used for printing coefficients, residuals and corrections and extinction coeffieint. PHOTON use is available. AUTOPLOT is used to show the comparison of the analytic and PHOENICS solution. Save following table file as aphi to use autoplot, then copy it to working directory. ----------- aphi ------ DIST Anal 5.000E-01 1.938E+03 1.500E+00 1.812E+03 2.500E+00 1.688E+03 3.500E+00 1.562E+03 4.500E+00 1.438E+03 5.500E+00 1.312E+03 6.500E+00 1.188E+03 7.500E+00 1.062E+03 ----------- aphi ------ ENDDIS ************************************************************ IRUNN = 1 ;LIBREF = 312 ************************************************************ Group 1. Run Title TEXT(f309 for x-z plane ) ************************************************************ Group 2. Transience STEADY = T ************************************************************ Groups 3, 4, 5 Grid Information * Overall number of cells, RSET(M,NX,NY,NZ,tolerance) RSET(M,8,1,6,1.000000E+01) ************************************************************ Group 6. Body-Fitted coordinates ************************************************************ Group 7. Variables: STOREd,SOLVEd,NAMEd ONEPHS = T * Non-default variable names NAME(141) =TCOR ; NAME(142) =TRES NAME(143) =GAT1 ; NAME(144) =ALT1 NAME(145) =AHT1 ; NAME(146) =AWT1 NAME(147) =AET1 ; NAME(148) =APT1 NAME(149) =TEM1 ; NAME(150) =PRPS * Solved variables list SOLVE(TEM1) * Stored variables list STORE(PRPS,APT1,AET1,AWT1,AHT1,ALT1,GAT1,TRES) STORE(TCOR) * Additional solver options SOLUTN(TEM1,Y,Y,Y,N,N,Y) ************************************************************ Echo InForm settings for Group 7 inform7begin ** temperature equation coefficients (STORED of APT1 is APCO(TEM1)) (STORED of AET1 is AECO(TEM1)) (STORED of AWT1 is AWCO(TEM1)) (STORED of AhT1 is AhCO(TEM1)) (STORED of AlT1 is AlCO(TEM1)) ** Exchange coefficients of TEM1, temperature (STORED of GAt1 is GAMM(TEM1)) ** Print-out residuals of temperature (STORED of TRES is RESI(TEM1)) ** Print-out of temperature corrections (STORED of TCOR is CORR(TEM1)) inform7end ************************************************************ Group 8. Terms & Devices ************************************************************ Group 9. Properties PRESS0 = 1.000000E+05 RHO1 = 1.000000E+00 ENUL = 1.500000E-02 CP1 = 1.000000E+00 ENUT = 0.000000E+00 PRNDTL(TEM1) = 1.000000E+00 ************************************************************ Group 10.Inter-Phase Transfer Processes ************************************************************ Group 11.Initialise Var/Porosity Fields FIINIT(PRPS) = -1.000000E+00 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 ************************************************************ Group 14. Downstream Pressure For PARAB ************************************************************ Group 15. Terminate Sweeps LSWEEP = 50 RESFAC = 1.000000E-03 ************************************************************ Group 16. Terminate Iterations LITER (TEM1) = 100 ************************************************************ Group 17. Relaxation RELAX(TEM1,LINRLX, 5.000000E-01) ************************************************************ Group 18. Limits ************************************************************ Group 19. EARTH Calls To GROUND Station USEGRD = T ;USEGRX = T ASAP = T ************************************************************ Group 20. Preliminary Printout ECHO = T EX(TCOR)= 2.844E-04 ;EX (TRES) = 1.728000E-02 EX (GAT1) = 1.500000E-02 ;EX (ALT1) = 1.250000E-02 EX (AHT1) = 1.667000E+18 ;EX (AWT1) = 1.313000E-02 EX (AET1) = 1.313000E-02 ;EX (APT1) = 7.500000E-03 EX (TEM1) = 1.500000E+03 ;EX (PRPS) = 1.000000E+00 ************************************************************ Group 21. Print-out of Variables ************************************************************ Group 22. Monitor Print-Out IXMON = 1 ;IYMON = 1 ;IZMON = 4 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.000000E+00,-1.000000E+00,0.000000E+00) GVIEW(UP,0.000000E+00,0.000000E+00,1.000000E+00) > DOM, SIZE, 8.000000E+00, 1.000000E+00, 6.000000E+00 > DOM, MONIT, 5.000000E-01, 5.000000E-01, 3.500000E+00 > DOM, SCALE, 1.000000E+00, 1.000000E+00, 1.000000E+00 > DOM, SNAPSIZE, 1.000000E-02 > OBJ, NAME, B1 > OBJ, POSITION, 0.000000E+00, 0.000000E+00, 0.000000E+00 > OBJ, SIZE, 0.000000E+00, 1.000000E+00, 6.000000E+00 > OBJ, CLIPART, 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, NAME, B3 > OBJ, POSITION, 0.000000E+00, 0.000000E+00, 0.000000E+00 > OBJ, SIZE, 8.000000E+00, 1.000000E+00, 0.000000E+00 > OBJ, CLIPART, cube11 > OBJ, ROTATION24, 1 > OBJ, TYPE, PLATE > OBJ, NAME, B4 > OBJ, POSITION, 0.000000E+00, 0.000000E+00, 6.000000E+00 > OBJ, SIZE, 8.000000E+00, 1.000000E+00, 0.000000E+00 > OBJ, CLIPART, cube11 > OBJ, ROTATION24, 1 > OBJ, TYPE, PLATE > OBJ, NAME, B5 > OBJ, POSITION, 2.000000E+00, 0.000000E+00, 2.000000E+00 > OBJ, SIZE, 4.000000E+00, 1.000000E+00, 2.000000E+00 > OBJ, CLIPART, fine > OBJ, ROTATION24, 1 > OBJ, TYPE, FINE_GRID_VOL > OBJ, FINEFACTS, 6.000000E+00, 1.000000E+00, 6.000000E+00 > OBJ, NAME, B6 > OBJ, POSITION, 3.000000E+00, 0.000000E+00, 2.500000E+00 > OBJ, SIZE, 2.000000E+00, 1.000000E+00, 1.000000E+00 > OBJ, CLIPART, fine > OBJ, ROTATION24, 1 > OBJ, TYPE, FINE_GRID_VOL > OBJ, FINEFACTS, 6.000000E+00, 1.000000E+00, 6.000000E+00 > OBJ, NAME, B7 > OBJ, POSITION, 8.000000E+00, 0.000000E+00, 0.000000E+00 > OBJ, SIZE, 0.000000E+00, 1.000000E+00, 6.000000E+00 > OBJ, CLIPART, cube13 > OBJ, ROTATION24, 1 > OBJ, TYPE, PLATE > OBJ, SURF_TEMP, 0.000000E+00, 1.000000E+03 > OBJ, NAME, B8 > OBJ, POSITION, 0.000000E+00, 0.000000E+00, 0.000000E+00 > OBJ, SIZE, 0.000000E+00, 1.000000E+00, 6.000000E+00 > OBJ, CLIPART, cube13 > OBJ, ROTATION24, 1 > OBJ, TYPE, PLATE > OBJ, SURF_TEMP, 0.000000E+00, 2.000000E+03 SINGLE SWEEP SOLUTION integer(icase) icase=2 if(icase.eq.2) then LSWEEP = 1 RELAX(TEM1,LINRLX, 1.0000) LITER (TEM1) = 1 spedat(set,fgmb_itr,tem1,i,10000) endif STOP