54 DOUBLE PRECISION :: TMP_DP
57 DOUBLE PRECISION,
DIMENSION(6) :: LOC
60 CHARACTER(LEN=3),
DIMENSION(3) :: LEGEND
61 CHARACTER(LEN=12),
DIMENSION(0:9) :: DISCR_NAME
62 CHARACTER(LEN=12),
DIMENSION(0:9) :: DISCR_NAME1
63 CHARACTER(LEN=8),
DIMENSION(1:4) :: LEQ_METHOD_NAME
67 DATA discr_name/
'FOUP',
'FOUP',
'Superbee',
'Smart',
'Ultra-Quick' 68 'QUICKEST',
'Muscl',
'VanLeer',
'Minmod',
'Central'/
69 DATA discr_name1/
'FOUP',
'FOUP',
'Fourth Order',
'Smart',
'Ultra-Quick' 70 'QUICKEST',
'Muscl',
'VanLeer',
'Minmod',
'Central'/
71 DATA leq_method_name/
' SOR ',
'BiCGSTAB',
' GMRES ',
' CG ' 75 mmax_tot =
mmax + des_mmax
98 ELSE IF (
run_type ==
'RESTART_1')
THEN 120 WRITE (
unit_out, 1141) m,
'X',
' NOT ' 125 WRITE (
unit_out, 1141) m,
'Y',
' NOT ' 130 WRITE (
unit_out, 1141) m,
'Z',
' NOT ' 206 WRITE (
unit_out, 1202)
'X',
' with pressure drop' 212 WRITE (
unit_out, 1202)
'Y',
' with pressure drop' 218 WRITE (
unit_out, 1202)
'Z',
' with pressure drop' 269 1400
FORMAT(//,3
x,
'5. SOLIDS PHASE',/)
270 1401
FORMAT(7
x,
'Number of particulate phases (MMAX) = ',i2)
272 IF(mmax_tot > 0)
THEN 281 1405
FORMAT(/7
x,
'M',4
x,
'Model',5
x,
'Diameter',8
x,
'Density',6
x, &
283 1406
FORMAT(6
x,i2,4
x,a3,5
x,g12.5,3
x,g12.5,9
x,l1)
285 1410
FORMAT(/7
x,
'Number of solids-',i2,
' species (NMAX(',i2,
')) = ',i3)
287 1411
FORMAT(9
x,
'Solid',5
x,
'Molecular')
288 1412
FORMAT(26
x,
'Density',4
x,
'Mass Fraction')
290 1415
FORMAT(8
x,
'Species',5
x,
'weight',7
x,
'Alias',5
x,
'Name')
291 1416
FORMAT(7
x,
'(RO_Xs0)',6
x,
'(X_s0)')
316 1420
FORMAT(10
x,i2,5
x,g12.5,2(2
x,a8))
317 1421
FORMAT(2(2
x,g12.5))
330 1430
FORMAT(/7
x,
'Void fraction at maximum packing (EP_star) = ',g12.5)
331 1431
FORMAT(7
x,
'Constant solids viscosity (MU_s0(',i2,
') = ',g12.5)
335 IF(.NOT.des_continuum_coupled)
THEN 336 WRITE(
unit_out,
"(/7X,'Gas/Solids NOT coupled.')")
338 WRITE(
unit_out,
"(/7X,'Gas/Solids Coupling Information:')" 341 WRITE(
unit_out,1440)
'interpolation' 343 WRITE(
unit_out,1440)
'cell averaging' 347 WRITE(
unit_out,1441)
'interpolation' 349 WRITE(
unit_out,1441)
'cell averaging' 353 1440
FORMAT(10
x,
'Use ',
a,
' to calculate gas/particle drag.')
354 1441
FORMAT(10
x,
'Use ',
a,
' to calculate dispersed phase scalar fields.' 360 1450
FORMAT(/7
x,
'Use ',
a,
' collsion model.',2/10
x,&
361 'Spring Coefficients:',t37,
'Normal',7
x,
'Tangential')
363 IF(des_coll_model_enum .EQ. lsd)
THEN 364 WRITE(
unit_out,1450)
'Linear spring-dashpot' 365 WRITE(
unit_out,1455)
'Particle-particle', kn, kt
366 WRITE(
unit_out,1455)
'Particle-wall', kn_w, kt_w
368 ELSEIF(des_coll_model_enum .EQ. hertzian)
THEN 369 WRITE(
unit_out,1450)
'Hertzian spring-dashpot' 374 WRITE(
unit_out,1456)m,nn,hert_kn(m,nn),hert_kt(m,nn
376 WRITE(
unit_out,1457)nn,hert_kn(m,nn),hert_kt(m,nn
379 WRITE(
unit_out,1458) hert_kwn(m),hert_kwt(m)
384 1451
FORMAT(/10
x,
'Damping Coefficients:',t37,
'Normal',7
x,
'Tangential')
389 WRITE(
unit_out,1456)m,nn,des_etan(m,nn),des_etat(m,nn
391 WRITE(
unit_out,1457)nn,des_etan(m,nn),des_etat(m,nn
394 WRITE(
unit_out,1458) des_etan_wall(m),des_etat_wall(m)
397 1455
FORMAT(12
x,
a,t35,g12.5,3
x,g12.5)
398 1456
FORMAT(12
x,
'Phase',i2,
'-Phase',i2,
' = ',t35,g12.5,3
x,g12.5)
399 1457
FORMAT(19
x,
'-Phase',i2,
' = ',t35,g12.5,3
x,g12.5)
400 1458
FORMAT(19
x,
'-Wall',3
x,
' = ',t35,g12.5,3
x,g12.5)
405 WRITE(
unit_out,
"(/7X,A)")
'MP-PIC Model Parameters:' 408 'SNIDER model for solids Stress and integration' 488 CASE (mass_inflow,cg_mi)
494 CASE (p_outflow,cg_po)
496 CASE (free_slip_wall,cg_fsw)
498 CASE (no_slip_wall,cg_nsw)
500 CASE (par_slip_wall,cg_psw)
585 IF(
is_type(l)==
'IMPERMEABLE' .OR. &
586 is_type(l)(3:13)==
'IMPERMEABLE')
THEN 588 ELSE IF (
is_type(l)==
'SEMIPERMEABLE' .OR. &
589 is_type(l)(3:15)==
'SEMIPERMEABLE')
THEN 616 '.OUT',
'This file (ASCII)',
out_dt 618 '.LOG',
'Log file containing messages (ASCII)',
undefined 620 '.RES',
'Restart file (Binary)',
res_dt 622 '.SP1',
'EP_g (Binary, single precision)',
spx_dt(1)
624 '.SP2',
'P_g, P_star (Binary, single precision)',
spx_dt(2)
626 '.SP3',
'U_g, V_g, W_g (Binary, single precision)',
spx_dt(3)
628 '.SP4',
'U_s, V_s, W_s (Binary, single precision)',
spx_dt(4)
630 '.SP5',
'ROP_s (Binary, single precision)',
spx_dt(5)
632 '.SP6',
'T_g, T_s (Binary, single precision)',
spx_dt(6)
634 '.SP7',
'X_g, X_s (Binary, single precision)',
spx_dt(7)
636 '.SP8',
'Theta_m (Binary, single precision)',
spx_dt(8)
638 '.SP9',
'User Scalar (Binary, single precision)',
spx_dt(9)
640 '.SPA',
'ReactionRates (Binary, single precision)',
spx_dt(10)
642 '.SPB',
'K and Epsilon (Binary, single precision)',
spx_dt(11)
656 WRITE (
unit_out,
'(/,1X,1A1)') char(12)
660 1000
FORMAT(17
x,
'MM MM FFFFFFFFFF IIIIII XX XX',/17
x,&
661 'MM MM FFFFFFFFFF IIIIII XX XX',/17
x,&
662 'MMMM MMMM FF II XX XX',/17
x,&
663 'MMMM MMMM FF II XX XX',/17
x,&
664 'MM MM MM FF II XX XX ',/17
x,&
665 'MM MM MM FF II XX XX ',/17
x,&
666 'MM MM FFFFFFFF II XX ',/17
x,&
667 'MM MM FFFFFFFF II XX ',/17
x,&
668 'MM MM FF II XX XX ',/17
x,&
669 'MM MM FF II XX XX ',/17
x,&
670 'MM MM FF II XX XX',/17
x,&
671 'MM MM FF II XX XX',/17
x,&
672 'MM MM FF IIIIII XX XX',/17
x,&
673 'MM MM FF IIIIII XX XX',2/20
x,&
674 'Multiphase Flow with Interphase eXchanges'/34
x,
'Version: ',
a,/
675 'Time: ',i2,
':',i2,20
x,
'Date: ',i2,
'-',i2,
'-',i4)
676 1010
FORMAT(/7
x,
'Computer : ',a50,/,1
x,79(
'_'))
677 1100
FORMAT(//,3
x,
'1. RUN CONTROL',/)
678 1101
FORMAT(/7
x,
'* Model B momentum equations are solved')
679 1102
FORMAT(/7
x,
'Number of scalars = ', i4,&
680 /7
x,
'Scalar No. Carrier Phase (Phase4Scalar)')
681 1103
FORMAT(/7
x, i4,
' ',i4)
682 1104
FORMAT(/7
x,
'* K and Epsilon equations are solved.')
683 1111
FORMAT(/7
x,
'* Virtual mass force is applied to momentum equations.' 684 FORMAT(/7
x,
'* Simonin model is solved')
685 1106
FORMAT(/7
x,
'* Ahmadi model is solved')
686 1107
FORMAT(/7
x,
'** Note: When Simonin or Ahmadi model is solved, K-Epsilon' 687 ' and granular energy are automatically solved.')
688 1108
FORMAT(/7
x,
'* Schaeffer frictional model is solved')
689 1109
FORMAT(/7
x,
'* Savage frictional model is solved')
690 1110
FORMAT(7
x,
'Run name(RUN_NAME): ',a60)
691 1120
FORMAT(7
x,
'Brief description of the run (DESCRIPTION) :',/9
x,a60)
692 1123
FORMAT(14
x,
'Kinetic Theory : ',a50)
693 1130
FORMAT(7
x,
'Units (UNITS) : ',a16)
694 1135
FORMAT(7
x,
'Start-time (TIME) = ',g12.5,/7
x,
'Stop_time (TSTOP) = ',g12
695 'Time step (DT) = ',g12.5,/7
x,
'Max time step (DT_MAX) = ',g12.
696 'Min time step (DT_MIN) = ',g12.5,/7
x,&
697 'Time step adjustment factor (DT_FAC) = ',g12.5)
698 1136
FORMAT(7
x,
'* Steady state simulation.')
699 1137
FORMAT(7
x,
'Type of run (RUN_TYPE) : ',a16)
700 1138
FORMAT(30
x,
'(Initial conditions from the input (.DAT) file)')
701 1139
FORMAT(30
x,
'(Initial conditions from the restart (.RES) file)')
702 1140
FORMAT(/7
x,
'* Gas momentum equation-',
a,
' is',
a,
'solved.')
703 1141
FORMAT(/7
x,
'* Solids-',i2,
' momentum equation-',
a,
' is',
a,
'solved.' 704 FORMAT(/7
x,
'* Granular energy equation(s) is solved.')
705 1143
FORMAT(/7
x,
'* Energy equations are solved.')
706 1144
FORMAT(/7
x,
'* Energy equations are NOT solved.')
707 1145
FORMAT(/7
x,
'* Gas Species equations are solved.')
708 1146
FORMAT(/7
x,
'* Gas Species equations are NOT solved.')
709 1147
FORMAT(/7
x,
'* Solids-',i2,
' Species equations are solved.')
710 1148
FORMAT(/7
x,
'* Solids-',i2,
' Species equations are NOT solved.')
711 1149
FORMAT(/7
x,
'* User-defined subroutines are',
a,
'called.')
713 1150
FORMAT(//,3
x,
'2. PHYSICAL AND NUMERICAL PARAMETERS',/)
714 1151
FORMAT(7
x,
'Coefficient of restitution (C_e) = ',g12.5)
715 1152
FORMAT(7
x,
'Coefficient of friction (C_f) = ',g12.5)
716 1153
FORMAT(7
x,
'Angle of internal friction (Phi) = ',g12.5)
717 1154
FORMAT(7
x,
'Angle of wall_particle friction (Phi_w) = ',g12.5)
718 1155
FORMAT(7
x,
'Default turbulence length scale (L_scale0) = ',g12.5,/7
x 719 'Maximum turbulent viscosity (MU_gmax) = ',g12.5)
720 1156
FORMAT(7
x,
'Excluded volume for B-M stress term (V_ex) = ',g12.5)
721 1157
FORMAT(7
x,
'Reference pressure (P_ref) = ',g12.5,/7
x,&
722 'Pressure scale-factor (P_scale) = ',g12.5,/7
x,&
723 'Gravitational acceleration (GRAVITY) = ',g12.5)
724 1158
FORMAT(7
x,
'Under relaxation (UR_FAC) and',&
725 ' Iterations in Leq solver (LEQ_IT):'/,9
x,&
726 ' UR_FAC',2
x,
'LEQ_IT',
' LEQ_METHOD',&
727 ' LEQ_SWEEP',
' LEQ_TOL',
' LEQ_PC',
' DISCRETIZE')
729 'Fluid cont. and P_g = ',f6.3,2
x,i4,6
x,a8,5
x,a4,4
x,g11.4,3
x,a4
730 'Solids cont. and P_s = ',f6.3,2
x,i4,6
x,a8,5
x,a4,4
x,g11.4,3
x,a4
731 'U velocity = ',f6.3,2
x,i4,6
x,a8,5
x,a4,4
x,g11.4,3
x,a4
732 'V velocity = ',f6.3,2
x,i4,6
x,a8,5
x,a4,4
x,g11.4,3
x,a4
733 'W velocity = ',f6.3,2
x,i4,6
x,a8,5
x,a4,4
x,g11.4,3
x,a4
734 'Energy = ',f6.3,2
x,i4,6
x,a8,5
x,a4,4
x,g11.4,3
x,a4
735 'Species = ',f6.3,2
x,i4,6
x,a8,5
x,a4,4
x,g11.4,3
x,a4
736 'Granular Energy = ',f6.3,2
x,i4,6
x,a8,5
x,a4,4
x,g11.4,3
x,a4
737 'User scalar = ',f6.3,2
x,i4,6
x,a8,5
x,a4,4
x,g11.4,3
x,a4
738 FORMAT(7
x,1a20,
'- C(',i2,
') = ',g12.5)
740 1200
FORMAT(//,3
x,
'3. GEOMETRY AND DISCRETIZATION',/)
741 1201
FORMAT(7
x,
'Coordinates: ',1a16/)
742 1202
FORMAT(7
x,
'Cyclic boundary conditions in ',
a,
' direction',
a)
743 1203
FORMAT(7
x,
'Pressure drop (DELP_',
a,
') = ',g12.5)
744 1210
FORMAT(7
x,
'X-direction cell sizes (DX) and East face locations:')
745 1211
FORMAT(7
x,
'Minimum value of X, or R (XMIN) =',g12.5)
746 1212
FORMAT(7
x,
'Number of cells in X, or R, direction (IMAX) = ',i4)
747 1213
FORMAT(7
x,
'Reactor length in X, or R, direction (XLENGTH) =',g12.5
748 FORMAT(7
x,
'Y-direction cell sizes (DY) and North face locations:')
749 1221
FORMAT(7
x,
'Number of cells in Y direction (JMAX) = ',i4)
750 1222
FORMAT(7
x,
'Reactor length in Y direction (YLENGTH) =',g12.5//)
751 1230
FORMAT(7
x,
'Z-direction cell sizes (DZ) and Top face locations:')
752 1231
FORMAT(7
x,
'Number of cells in Z, or theta, direction (KMAX) = ',i4
753 FORMAT(7
x,
'Reactor length in Z, or theta, direction (ZLENGTH) =',g12
755 1300
FORMAT(//,3
x,
'4. GAS PHASE',/)
756 1305
FORMAT(7
x,
'Gas density (RO_g0) = ',g12.5,&
757 ' (A constant value is used everywhere)')
758 1310
FORMAT(7
x,
'Viscosity (MU_g0) = ',g12.5,&
759 ' (A constant value is used everywhere)')
760 1315
FORMAT(7
x,
'Number of gas species (NMAX(0)) = ',i3)
761 1316
FORMAT(7
x,
'Gas species',5
x,
'Molecular weight (MW_g)')
762 1317
FORMAT(7
x,3
x,i3,15
x,g12.5)
763 1320
FORMAT(7
x,
'Average molecular weight (MW_avg) = ',g12.5,&
764 ' (A constant value is used everywhere)')
767 1500
FORMAT(//,3
x,
'6. INITIAL CONDITIONS')
768 1510
FORMAT(/7
x,
'Initial condition no : ',i4)
769 1520
FORMAT(9
x,39
x,
' Specified ',5
x,
' Simulated ',/9
x,&
770 'X coordinate of west face (IC_X_w) = ',g12.5,5
x,g12.5/,9
x,&
771 'X coordinate of east face (IC_X_e) = ',g12.5,5
x,g12.5/,9
x,&
772 'Y coordinate of south face (IC_Y_s) = ',g12.5,5
x,g12.5/,9
x,&
773 'Y coordinate of north face (IC_Y_n) = ',g12.5,5
x,g12.5/,9
x,&
774 'Z coordinate of bottom face (IC_Z_b) = ',g12.5,5
x,g12.5/,9
x,&
775 'Z coordinate of top face (IC_Z_t) = ',g12.5,5
x,g12.5)
776 1530
FORMAT(9
x,
'I index of cell at west (IC_I_w) = ',i4,/,9
x,&
777 'I index of cell at east (IC_I_e) = ',i4,/,9
x,&
778 'J index of cell at south (IC_J_s) = ',i4,/,9
x,&
779 'J index of cell at north (IC_J_n) = ',i4,/,9
x,&
780 'K index of cell at bottom (IC_K_b) = ',i4,/,9
x,&
781 'K index of cell at top (IC_K_t) = ',i4)
782 1540
FORMAT(9
x,
'Void fraction (IC_EP_g) = ',g12.5)
783 1541
FORMAT(9
x,
'Gas pressure (IC_P_g) = ',g12.5)
784 1542
FORMAT(9
x,
'Gas temperature (IC_T_g) = ',g12.5)
785 1543
FORMAT(9
x,
'Gas species',5
x,
'Mass fraction (IC_X_g)')
786 1544
FORMAT(9
x,3
x,i3,15
x,g12.5)
787 1545
FORMAT(9
x,
'Gas radiation coefficient (IC_GAMA_Rg) = ',g12.5,/,9
x 788 'Gas radiation temperature (IC_T_Rg) = ',g12.5)
789 1550
FORMAT(9
x,
'X-component of gas velocity (IC_U_g) = ',g12.5,/9
x,&
790 'Y-component of gas velocity (IC_V_g) = ',g12.5,/9
x,&
791 'Z-component of gas velocity (IC_W_g) = ',g12.5)
792 1560
FORMAT(9
x,
'Solids phase-',i2,
' Density x Volume fr. (IC_ROP_s) = ' 793 FORMAT(9
x,
'Solids phase-',i2,
' temperature (IC_T_s) = ',g12.5)
794 1563
FORMAT(9
x,
'Solids-',i2,
' species',5
x,
'Mass fraction (IC_X_s)')
795 1564
FORMAT(9
x,3
x,i3,20
x,g12.5)
796 1565
FORMAT(9
x,
'Solids phase-',i2,
' radiation coefficient (IC_GAMA_Rs)'' =' 797 'Solids phase-',i2,
' radiation temperature (IC_T_Rs) =' 799 FORMAT(9
x,
'X-component of solids phase-',i2,
' velocity (IC_U_s) =' 800 'Y-component of solids phase-',i2,
' velocity (IC_V_s) =',g12
801 'Z-component of solids phase-',i2,
' velocity (IC_W_s) =',g12.5
802 FORMAT(9
x,
'Solids pressure (IC_P_star) = ',g12.5)
803 1575
FORMAT(9
x,
'Turbulence length scale (IC_L_scale) = ',g12.5)
805 1600
FORMAT(//,3
x,
'7. BOUNDARY CONDITIONS')
806 1601
FORMAT(/7
x,
'Average value of ',
a,g12.5)
807 1602
FORMAT(/7
x,
'Average value of ',
a,i2,
a,g12.5)
808 1610
FORMAT(/7
x,
'Boundary condition no : ',i4)
809 1611
FORMAT(9
x,
'Type of boundary condition : ',a16)
810 1612
FORMAT(11
x,
'(Inlet with specified gas and solids mass flux)')
811 1613
FORMAT(11
x,
'(Outlet with specified gas and solids mass flux)')
812 1614
FORMAT(11
x,
'(Inlet with specified gas pressure)')
813 1615
FORMAT(11
x,
'(Outlet with specified gas pressure)')
814 1616
FORMAT(11
x,
'(Gradients of parallel velocity components are zero)')
815 1617
FORMAT(11
x,
'(Velocity is zero at wall)')
816 1618
FORMAT(11
x,
'(Partial slip condition at wall)')
817 1619
FORMAT(11
x,
'(Outflow condition)')
818 1620
FORMAT(9
x,39
x,
' Specified ',5
x,
' Simulated ',/9
x,&
819 'X coordinate of west face (BC_X_w) = ',g12.5,5
x,g12.5/,9
x,&
820 'X coordinate of east face (BC_X_e) = ',g12.5,5
x,g12.5/,9
x,&
821 'Y coordinate of south face (BC_Y_s) = ',g12.5,5
x,g12.5/,9
x,&
822 'Y coordinate of north face (BC_Y_n) = ',g12.5,5
x,g12.5/,9
x,&
823 'Z coordinate of bottom face (BC_Z_b) = ',g12.5,5
x,g12.5/,9
x,&
824 'Z coordinate of top face (BC_Z_t) = ',g12.5,5
x,g12.5)
825 1630
FORMAT(9
x,
'I index of cell at west (BC_I_w) = ',i4,/,9
x,&
826 'I index of cell at east (BC_I_e) = ',i4,/,9
x,&
827 'J index of cell at south (BC_J_s) = ',i4,/,9
x,&
828 'J index of cell at north (BC_J_n) = ',i4,/,9
x,&
829 'K index of cell at bottom (BC_K_b) = ',i4,/,9
x,&
830 'K index of cell at top (BC_K_t) = ',i4)
831 1635
FORMAT(9
x,
'Boundary area = ',g12.5)
832 1640
FORMAT(9
x,
'Void fraction (BC_EP_g) = ',g12.5)
833 1641
FORMAT(9
x,
'Gas pressure (BC_P_g) = ',g12.5)
834 1642
FORMAT(9
x,
'Gas temperature (BC_T_g) = ',g12.5)
835 1643
FORMAT(9
x,
'Gas species',5
x,
'Mass fraction (BC_X_g)')
836 1644
FORMAT(9
x,3
x,i3,15
x,g12.5)
837 1648
FORMAT(9
x,
'Gas mass flow rate (BC_MASSFLOW_g) = ',g12.5)
838 1649
FORMAT(9
x,
'Gas volumetric flow rate (BC_VOLFLOW_g) = ',g12.5)
839 1650
FORMAT(9
x,
'X-component of gas velocity (BC_U_g) = ',g12.5)
840 1651
FORMAT(9
x,
'Y-component of gas velocity (BC_V_g) = ',g12.5)
841 1652
FORMAT(9
x,
'Z-component of gas velocity (BC_W_g) = ',g12.5)
842 1655
FORMAT(9
x,
'Initial interval when jet vel= BC_Jet_g0 (BC_DT_0) = ',g12
843 'Initial jet velocity (BC_Jet_g0) = ',g12.5,/9
x,&
844 'Interval when jet vel= BC_Jet_gl (BC_DT_l) = ',g12.5,/9
x,&
845 'Low value of jet velocity (BC_Jet_gl) = ',g12.5,/9
x,&
846 'Interval when jet vel = BC_Jet_gh (BC_DT_h) = ',g12.5,/9
x,&
847 'High value of jet velocity (BC_Jet_gh) = ',g12.5)
848 1656
FORMAT(9
x,
'Interval for averaging outflow rates= (BC_DT_0) = ',g12
849 FORMAT(9
x,
'Solids phase-',i2,
' Density x Volume fr. (BC_ROP_s) = ' 850 FORMAT(9
x,
'Solids phase-',i2,
' temperature (BC_T_s) = ',g12.5)
852 1663
FORMAT(9
x,
'Solids-',i2,
' species',5
x,
'Mass fraction (BC_X_s)')
853 1664
FORMAT(9
x,3
x,i3,20
x,g12.5)
854 1668
FORMAT(9
x,
'Solids phase-',i2,
' mass flow rate (BC_MASSFLOW_s) =',g12
855 FORMAT(9
x,
'Solids phase-',i2,
' volumetric flow rate (BC_VOLFLOW_s) =' 857 FORMAT(9
x,
'X-component of solids phase-',i2,
' velocity (BC_U_s) =' 858 FORMAT(9
x,
'Y-component of solids phase-',i2,
' velocity (BC_V_s) =' 859 FORMAT(9
x,
'Z-component of solids phase-',i2,
' velocity (BC_W_s) =' 860 FORMAT(9
x,
'Partial slip coefficient (BC_hw_g) = ',g12.5,/,9
x,&
861 'Slip velociity U at wall (BC_Uw_g) = ',g12.5,/,9
x,&
862 'Slip velociity V at wall (BC_Vw_g) = ',g12.5,/,9
x,&
863 'Slip velociity W at wall (BC_Ww_g) = ',g12.5)
864 1676
FORMAT(9
x,
'Solids phase: ',i2,/,11
x,&
865 'Partial slip coefficient (BC_hw_s) = ',g12.5,/,11
x,&
866 'Slip velociity U at wall (BC_Uw_s) = ',g12.5,/,11
x,&
867 'Slip velociity V at wall (BC_Vw_s) = ',g12.5,/,11
x,&
868 'Slip velociity W at wall (BC_Ww_s) = ',g12.5)
870 1700
FORMAT(//,3
x,
'8. INTERNAL SURFACES')
871 1710
FORMAT(/7
x,
'Internal surface no : ',i4)
872 1711
FORMAT(9
x,
'Type of internal surface : ',a16)
873 1712
FORMAT(11
x,
'(No gas or solids flow through the surface)')
874 1713
FORMAT(11
x,
'(Only gas flows through the surface)')
875 1720
FORMAT(9
x,39
x,
' Specified ',5
x,
' Simulated ',/9
x,&
876 'X coordinate of west face (IS_X_w) = ',g12.5,5
x,g12.5/,9
x,&
877 'X coordinate of east face (IS_X_e) = ',g12.5,5
x,g12.5/,9
x,&
878 'Y coordinate of south face (IS_Y_s) = ',g12.5,5
x,g12.5/,9
x,&
879 'Y coordinate of north face (IS_Y_n) = ',g12.5,5
x,g12.5/,9
x,&
880 'Z coordinate of bottom face (IS_Z_b) = ',g12.5,5
x,g12.5/,9
x,&
881 'Z coordinate of top face (IS_Z_t) = ',g12.5,5
x,g12.5)
882 1730
FORMAT(9
x,
'I index of cell at west (IS_I_w) = ',i4,/,9
x,&
883 'I index of cell at east (IS_I_e) = ',i4,/,9
x,&
884 'J index of cell at south (IS_J_s) = ',i4,/,9
x,&
885 'J index of cell at north (IS_J_n) = ',i4,/,9
x,&
886 'K index of cell at bottom (IS_K_b) = ',i4,/,9
x,&
887 'K index of cell at top (IS_K_t) = ',i4)
888 1740
FORMAT(9
x,
'Permeability (IS_PC1) = ',g12.5)
889 1741
FORMAT(9
x,
'Inertial resistance factor (IS_PC2) = ',g12.5)
890 1742
FORMAT(9
x,
'Solids phase-',i2,
' Velocity (IS_VEL_s) = ',g12.5)
892 1800
FORMAT(//,3
x,
'9. OUTPUT DATA FILES:',/7
x,
'Extension',t18,&
893 'Description',t59,
'Interval for writing')
894 1801
FORMAT(7
x,a4,t18,
a,t61,g12.5)
896 1900
FORMAT(//,3
x,
'10. TOLERANCES',/7
x,&
897 'The following values are specified in the file TOLERANCE.INC.' 898 FORMAT(/7
x,
'Minimum value of EP_s tracked (ZERO_EP_s) = ',g12.5)
899 1904
FORMAT(7
x,
'Maximum average residual (TOL_RESID) = ',g12.5,/7
x,&
900 'Maximum average residual (TOL_RESID_T) = ',g12.5,/7
x,&
901 'Maximum average residual (TOL_RESID_X) = ',g12.5,/7
x,&
902 'Minimum residual at divergence (TOL_DIVERGE) = ',g12.5)
903 1905
FORMAT(7
x,
'Tolerance for species and energy balances (TOL_COM) = ' 904 FORMAT(7
x,
'Tolerance for scalar mass balances (TOL_RESID_Scalar) = ' 905 FORMAT(7
x,
'Tolerance for K-Epsilon balances (TOL_RESID_K_Epsilon) = ' 906 FORMAT(7
x,
'Tolerance for Granular Temp. balances (TOL_RESID_Th) = ' 929 DOUBLE PRECISION FUNCTION location (L2, XMIN, DX)
947 DOUBLE PRECISION XMIN
952 DOUBLE PRECISION DX(0:l2)
990 character(LEN=3),
allocatable :: array1(:)
991 character(LEN=4),
dimension(:),
allocatable :: array2, array3
1000 allocate (array3(1))
1016 IF (ip_at_e(ijk))
THEN 1017 array2(ijk)(4:4) =
'E' 1018 ELSE IF (sip_at_e(ijk))
THEN 1019 array2(ijk)(4:4) =
'e' 1022 IF (ip_at_n(ijk))
THEN 1023 array2(ijk)(4:4) =
'N' 1024 ELSE IF (sip_at_n(ijk))
THEN 1025 array2(ijk)(4:4) =
'n' 1028 IF (ip_at_t(ijk))
THEN 1029 array2(ijk)(4:4) =
'T' 1030 ELSE IF (sip_at_t(ijk))
THEN 1031 array2(ijk)(4:4) =
't' 1038 CALL out_array_c (array3,
'BC/IC condition flags')
1047 2000
FORMAT(//,3
x,
'11. INITIAL AND BOUNDARY CONDITION FLAGS',/7
x,&
1048 'The initial and boundary conditions specified are shown in',/7
x 1049 'the following map. Each computational cell is represented',/7
x 1050 'by a string of three characters. The first character',/7
x,&
1051 'represents the type of cell, and the last two characters',/7
x,
1052 'give a number that identifies a boundary or initial condi-',/7
x 1053 'tion. For example, .02 indicates a cell where Initial',/7
x,&
1054 'Condition No. 2 will be specified. Only the last two digits'/7
x 1055 'are written. Hence, for example, Condition No. 12, 112, 212'/
1056 'etc. will be represented only as 12.',/7
x,&
1057 ' First Character Description'/7
x,&
1058 ' . Initial condition'/7
x,&
1059 ' W No slip wall'/7
x,&
1060 ' S Free-slip wall'/7
x,&
1061 ' s Partial-slip wall'/7
x,&
1062 ' c Cyclic boundary'/7
x,&
1063 ' C Cyclic boundary with pressure drop'/7
x 1064 ' I Specified mass-flux inflow cell'/7
x,&
1065 ' O Outflow cell'/7
x,&
1066 ' p Specified pressure inflow cell'/7
x,&
1067 ' P Specified pressure outflow cell'/7
x,&
1069 'Internal surfaces at East, North or Top of each cell is',/7
x,&
1070 'is represented by the following letters to the right of the',/
1071 'three-character string:',/7
x,&
1072 ' Side Impermeable Semipermeable',/7
x,&
1076 'For cells with internal surfaces on more than one side',/7
x,&
1077 'the characters will be over-written in the above order',/1
x,a1
double precision, dimension(dimension_bc, dim_m) bc_ww_s
double precision l_scale0
integer, dimension(dimension_bc) bc_k_b
double precision, dimension(dimension_ic) ic_p_star
character(len=16) coordinates
integer, parameter dimension_c
double precision, dimension(dimension_bc) bc_y_n
logical, dimension(0:dim_m) momentum_y_eq
integer, parameter dimension_ic
double precision, dimension(dimension_ic) ic_l_scale
double precision, dimension(dim_eqs) ur_fac
character(len=60) description
double precision, dimension(dimension_bc) bc_dt_0
double precision, dimension(dimension_bc) bc_volflow_g
character(len=18), dimension(dim_m, dim_n_s) species_s
double precision, dimension(dimension_bc) bc_uw_g
double precision, dimension(dimension_ic, dim_m) ic_rop_s
double precision, dimension(dimension_bc, dim_m) bc_uw_s
double precision, dimension(dim_m) d_p0
character(len=16), dimension(dimension_is) is_type
integer, parameter dimension_is
double precision, dimension(dimension_bc) bc_t_g
double precision, dimension(dimension_ic) ic_t_g
integer, dimension(dimension_ic) ic_j_s
subroutine write_table(LEGEND, ARRAY, DIST_MIN, LSTART, LEND)
logical mppic_solid_stress_snider
double precision function location(L2, XMIN, DX)
double precision, dimension(dimension_bc) bc_dt_l
integer, parameter unit_out
double precision, dimension(dimension_is) is_x_e
integer, dimension(dimension_bc) bc_i_w
integer, dimension(dimension_is) is_i_w
logical, dimension(0:dim_m) momentum_x_eq
integer, dimension(dimension_bc) bc_j_n
character(len=60) run_name
logical, dimension(0:dim_m) species_eq
double precision, dimension(dimension_bc, dim_m) bc_w_s
integer, dimension(dimension_ic) ic_j_n
double precision, dimension(dimension_bc, dim_m, dim_n_s) bc_x_s
subroutine out_array_c(ARRAY, MESSAGE)
double precision tol_resid_t
double precision tol_resid_scalar
logical, dimension(0:dim_m) momentum_z_eq
logical, dimension(dim_m) solve_ros
double precision, dimension(0:dim_j) dy
logical, dimension(dimension_ic) ic_defined
double precision, dimension(dimension_bc) bc_jet_g0
character(len=64) id_node
double precision, dimension(dimension_bc) bc_jet_gh
integer, parameter dimension_bc
double precision, dimension(dimension_ic) ic_z_b
integer, dimension(dimension_bc) bc_type_enum
double precision, dimension(dim_m, dim_n_s) x_s0
double precision, dimension(dimension_bc) bc_x_e
double precision, dimension(dimension_ic) ic_x_w
character(len=3), dimension(dim_m) solids_model
character(len=4), dimension(dim_eqs) leq_sweep
double precision, parameter undefined
double precision, dimension(dim_m, dim_n_s) ro_xs0
double precision, dimension(dimension_ic, dim_m) ic_gama_rs
double precision, dimension(0:dim_k) dz
double precision tol_resid_k_epsilon
character(len=3), dimension(:), pointer icbc_flag
logical, dimension(dim_m) close_packed
double precision, dimension(dim_n_g) mw_g
double precision, dimension(:), allocatable a
logical des_interp_mean_fields
double precision, dimension(dimension_bc) bc_v_g
double precision, parameter tol_com
double precision, dimension(n_spx) spx_dt
double precision, dimension(dimension_bc) bc_y_s
double precision, dimension(dimension_ic) ic_u_g
double precision, dimension(dimension_is) is_x_w
double precision, dimension(dimension_bc, dim_m) bc_volflow_s
double precision, dimension(dimension_ic) ic_z_t
subroutine usr_write_out0
double precision, dimension(dimension_ic, dim_m) ic_w_s
integer, dimension(dimension_ic) ic_i_w
integer, dimension(dimension_bc) bc_k_t
integer, dimension(dim_eqs) leq_it
double precision, dimension(dimension_bc, dim_m) bc_t_s
integer, dimension(dimension_ic) ic_i_e
double precision, dimension(dimension_ic) ic_v_g
integer, dimension(dimension_ic) ic_k_b
integer, dimension(dimension_bc) bc_j_s
integer, dimension(dimension_is) is_k_b
character(len=20), dimension(dimension_c) c_name
double precision, dimension(dimension_is, dim_m) is_vel_s
character(len=16) run_type
double precision tol_resid_th
double precision, parameter zero_ep_s
double precision, dimension(dim_m) v_s0
double precision, dimension(dimension_is) is_z_b
double precision, dimension(dimension_ic) ic_y_n
double precision, dimension(dimension_bc, dim_m) bc_hw_s
double precision, dimension(dimension_bc) bc_hw_g
logical, dimension(dimension_bc) bc_defined
double precision, dimension(dimension_is, 2) is_pc
double precision, dimension(dimension_ic, dim_m, dim_n_s) ic_x_s
double precision, dimension(dimension_bc) bc_p_g
double precision, dimension(dimension_ic) ic_w_g
double precision, dimension(0:dim_i) dx
double precision, dimension(dimension_ic) ic_gama_rg
double precision tol_diverge
double precision, dimension(dim_eqs) leq_tol
double precision, parameter half
double precision, dimension(dimension_bc) bc_dt_h
integer, dimension(dimension_ic) ic_k_t
character(len=16), dimension(dimension_bc) bc_type
logical, dimension(dimension_is) is_defined
double precision, dimension(dimension_ic, dim_m) ic_v_s
double precision, dimension(dimension_bc, dim_m) bc_v_s
double precision, dimension(dimension_bc) bc_massflow_g
integer, dimension(0:dim_m) nmax
double precision, dimension(dimension_bc) bc_z_b
integer, dimension(dimension_is) is_j_s
double precision, dimension(dimension_bc, dim_m) bc_massflow_s
double precision, dimension(dimension_ic) ic_p_g
double precision, dimension(dimension_bc) bc_u_g
double precision, dimension(dimension_bc) bc_vw_g
double precision tol_resid
double precision, dimension(dimension_ic) ic_x_e
double precision, dimension(dimension_is) is_z_t
double precision, dimension(dim_m, dim_n_s) mw_s
double precision tol_resid_x
double precision, dimension(dimension_bc, dim_m) bc_u_s
double precision, dimension(dimension_ic, dim_m) ic_u_s
double precision, dimension(dim_m) u_s0
double precision, dimension(dim_m) w_s0
double precision, dimension(dimension_bc, dim_n_g) bc_x_g
double precision, dimension(dimension_bc) bc_ep_g
integer, dimension(dim_eqs) discretize
double precision, dimension(dimension_is) is_y_s
double precision, dimension(dimension_ic, dim_n_g) ic_x_g
double precision, dimension(dimension_bc) bc_z_t
double precision, dimension(dimension_c) c
double precision, dimension(dimension_ic) ic_ep_g
double precision, dimension(dimension_is) is_y_n
integer, dimension(dim_eqs) leq_method
double precision, dimension(dim_m) ro_s0
double precision, dimension(dim_m) mu_s0
double precision, dimension(dimension_bc) bc_jet_gl
integer, dimension(dimension_is) is_j_n
integer, dimension(1:dim_scalar) phase4scalar
character(len=32), dimension(dim_m, dim_n_s) species_alias_s
integer, dimension(dimension_is) is_i_e
double precision, dimension(dimension_bc) bc_w_g
double precision, dimension(dimension_ic) ic_y_s
double precision, dimension(dimension_bc, dim_m) bc_vw_s
double precision, dimension(dimension_bc) bc_ww_g
double precision, dimension(dimension_ic) ic_t_rg
double precision, dimension(dimension_ic, dim_m) ic_t_s
integer, dimension(dimension_bc) bc_i_e
double precision, dimension(:), allocatable x
double precision, parameter zero
character(len=10) id_version
logical function is_cg(boundary_condition)
double precision, dimension(dimension_bc, dim_m) bc_rop_s
double precision, dimension(dimension_bc) bc_area
double precision, dimension(dimension_bc) bc_x_w
character, parameter undefined_c
integer, dimension(dimension_is) is_k_t
character(len=4), dimension(dim_eqs) leq_pc
double precision, dimension(dimension_ic, dim_m) ic_t_rs