MFIX  2016-1
init_namelist.f
Go to the documentation of this file.
1 !vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv!
2 ! !
3 ! Subroutine: INIT_NAMELIST !
4 ! Purpose: initialize the NAMELIST variables !
5 ! !
6 ! Author: P. Nicoletti Date: 26-NOV-91 !
7 ! !
8 ! Keyword Documentation Format: !
9 ! !
10 
11 ! legacy=TRUE/FALSE> !
12 ! <description></description> !
13 ! <arg index="" id="" max="" min=""/> !
14 ! <dependent keyword="" value="DEFINED"/> !
15 ! <conflict keyword="" value="DEFINED"/> !
16 ! <valid value="" note="" alias=""/> !
17 ! <range min="" max="" /> !
18 ! MFIX_KEYWORD=INIT_VALUE !
19 
20 !^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^!
21 
22  SUBROUTINE init_namelist
23 
24 !-----------------------------------------------
25 ! Modules
26 !-----------------------------------------------
27  USE bc
28  USE cdist
30  USE compar
31  USE constant
32  USE fldvar
33  USE geometry
34  USE ic
35  USE indices
36  USE is
37  USE iterate, only: max_nit
38  USE leqsol
39  USE output
40  USE parallel
41  USE param
42  USE param1
43  USE physprop
44  USE ps
45  USE residual
46  USE run
47  USE rxns
48  USE scalars
49  USE scales
50  USE stiff_chem
51  USE toleranc
52  USE ur_facs
53  use usr_src, only: call_usr_source
54 ! user defined flags
57  use usr_prop, only: usr_gama, usr_fgs, usr_fss
58 
59  IMPLICIT NONE
60 !-----------------------------------------------
61 ! Local variables
62 !-----------------------------------------------
63 ! loop counters
64  INTEGER :: LC
65 
66 !#####################################################################!
67 ! Run Control !
68 !#####################################################################!
69 
70 
71 ! <description> Name used to create output files. The name should
72 ! generate legal file names after appending extensions.
73 ! Ex: Given the input, RUN_NAME = "bub01", MFIX will generate
74 ! the output files: BUB01.LOG, BUB01.OUT, BUB01.RES, etc.
75 ! </description>
77 
78 
79 
80 ! <description>Problem description. Limited to 60 characters.</description>
82 
83 
84 
85 ! <description> Simulation input/output units.</description>
86 ! <valid value="cgs" note="All input and output in CGS units (g, cm, s, cal)."/>
87 ! <valid value="si" note="All input and output in SI units (kg, m, s, J)."/>
89 
90 
91 
92 ! <description>Type of run.</description>
93 ! <valid value="new" note="A new run. There should be no .RES, .SPx,
94 ! .OUT, or .LOG files in the run directory."/>
95 ! <valid value="RESTART_1" note="Traditional restart. The run continues
96 ! from the last time the .RES file was updated and new data is added
97 ! to the SPx files."/>
98 ! <valid value="RESTART_2"
99 ! note="Start a new run with initial conditions from a .RES file
100 ! created from another run. No other data files (SPx) should be
101 ! in the run directory."/>
103 
104 
105 
106 ! <description>
107 ! Simulation start time. This is typically zero.
108 ! </description>
109 ! <range min="0.0" max="+Inf" />
110  time = undefined
111 
112 
113 
114 ! <description>
115 ! Simulation stop time.
116 ! </description>
117 ! <range min="0.0" max="+Inf" />
118  tstop = undefined
119 
120 
121 
122 ! <description>
123 ! Initial time step size. If left undefined, a steady-state
124 ! calculation is performed.
125 ! </description>
126 ! <dependent keyword="TIME" value="DEFINED"/>
127 ! <dependent keyword="TSTOP" value="DEFINED"/>
128 ! <range min="0.0" max="+Inf" />
129  dt = undefined
130 
131 
132 
133 ! <description>Maximum time step size.</description>
134 ! <dependent keyword="TIME" value="DEFINED"/>
135 ! <dependent keyword="TSTOP" value="DEFINED"/>
136 ! <range min="0.0" max="+Inf" />
137  dt_max = one
138 
139 
140 
141 ! <description>Minimum time step size.</description>
142 ! <dependent keyword="TIME" value="DEFINED"/>
143 ! <dependent keyword="TSTOP" value="DEFINED"/>
144 ! <range min="0.0" max="+Inf" />
145  dt_min = 1.0d-6
146 
147 
148 
149 ! <description>
150 ! Factor for adjusting time step.
151 ! * The value must be less than or equal to 1.0.
152 ! * A value of 1.0 keeps the time step constant which may help overcome
153 ! initial non-convergence.
154 ! </description>
155 ! <dependent keyword="TIME" value="DEFINED"/>
156 ! <dependent keyword="TSTOP" value="DEFINED"/>
157 ! <range min="0.0" max="1" />
158  dt_fac = 0.9d0
159 
160 
161 
162 ! <description>
163 ! Force a forward time-step if the maximum number of iterations,
164 ! MAX_NIT, is reached. The forward time-step is only forced after
165 ! reaching the minimum time-step, DT_MIN, for adjustable time-step
166 ! simulations (DT_FAC /= 1). This option should be used with caution
167 ! as unconverged time-steps may lead to poor simulation results and/or
168 ! additional convergence issues.
169 ! </description>
170 ! <valid value=".TRUE." note="Force forward time-step when DT=DT_MIN and
171 ! the maximum number of iterations are reached."/>
172 ! <valid value=".FALSE." note="Abort run when DT < DT_MIN."/>
173  persistent_mode = .false.
174 
175 
176 
177 ! <description>
178 ! Flag to restart the code when DT < DT_MIN.
179 ! </description>
180  auto_restart = .false.
181 
182 
183 
184 ! <description>
185 ! Flag to enable/disable solving the X-momentum equations.
186 ! </description>
187 ! <arg index="1" id="Phase" min="0" max="DIM_M"/>
188 ! <valid value=".TRUE." note="Solve X-momentum equations."/>
189 ! <valid value=".FALSE." note="The X velocity initial conditions
190 ! persist throughout the simulation."/>
191  momentum_x_eq(:dim_m) = .true.
192 
193 
194 
195 ! <description>
196 ! Flag to enable/disable solving the Y-momentum equations.
197 ! </description>
198 ! <arg index="1" id="Phase" min="0" max="DIM_M"/>
199 ! <valid value=".TRUE." note="Solve Y-momentum equations."/>
200 ! <valid value=".FALSE." note="The Y velocity initial conditions
201 ! persist throughout the simulation."/>
202  momentum_y_eq(:dim_m) = .true.
203 
204 
205 
206 ! <description>
207 ! Flag to enable/disable solving the Z-momentum equations.
208 ! </description>
209 ! <arg index="1" id="Phase" min="0" max="DIM_M"/>
210 ! <valid value=".TRUE." note="Solve Z-momentum equations."/>
211 ! <valid value=".FALSE." note="The Z velocity initial conditions
212 ! persist throughout the simulation."/>
213  momentum_z_eq(:dim_m) = .true.
214 
215 
216 
217 ! <description>
218 ! Flag to enable Jackson form of momentum equations.
219 ! note="Anderson and Jackson, (1967), IECF, 6(4), p.527."/>
220 ! </description>
221 ! <valid value=".TRUE." note="Solve Jackson form of momentum equations."/>
222 ! <valid value=".FALSE." note="Default form."/>
223  jackson = .false.
224 
226 ! <description>
227 ! Flag to enable Ishii form of momentum equations.
228 ! note="Ishii, (1975), Thermo-fluid dynamic theory of two-phase flow."/>
229 ! </description>
230 ! <valid value=".TRUE." note="Solve Ishii form of momentum equations."/>
231 ! <valid value=".FALSE." note="Default form."/>
232  ishii = .false.
233 
234 
235 
236 ! <description>Solve energy equations.</description>
237 ! <valid value=".TRUE." note="Solve energy equations."/>
238 ! <valid value=".FALSE." note="Do not solve energy equations."/>
239  energy_eq = .true.
240 
241 
242 
243 ! <description>Solve species transport equations.</description>
244 ! <arg index="1" id="Phase" min="0" max="DIM_M"/>
245 ! <valid value=".TRUE." note="Solve species equations."/>
246 ! <valid value=".FALSE." note="Do not solve species equations."/>
247  species_eq(:dim_m) = .true.
248 
249 
250 
251 ! <description>Granular energy formulation selection.</description>
252 ! <valid value=".FALSE."
253 ! note="Use algebraic granular energy equation formulation."/>
254 ! <valid value=".TRUE."
255 ! note="Use granular energy transport equation (PDE) formulation."/>
256  granular_energy = .false.
257 
258 
259 
260 ! <description>
261 ! The K-Epsilon turbulence model (for single-phase flow).
262 ! o Numerical parameters (like under-relaxation) are the same as the
263 ! ones for SCALAR (index = 9).
264 ! o All walls must be defined (NSW, FSW or PSW) in order to use
265 ! standard wall functions. If a user does not specify a wall type,
266 ! the simulation will not contain the typical turbulent profile in
267 ! wall-bounded flows.
268 ! </description>
269 ! <dependent keyword="MU_GMAX" value="DEFINED"/>
270 ! <conflict keyword="L_SCALE0" value="DEFINED"/>
271 ! <valid value=".TRUE." note="Enable the K-epsilon turbulence model
272 ! (for single-phase flow) using standard wall functions."/>
273 ! <valid value=".FALSE." note="Do not use K-epsilon turbulence model"/>
274  k_epsilon = .false.
275 
276 
277 
278 ! <description>
279 ! Value of turbulent length initialized. This may be overwritten
280 ! in specific regions with the keyword IC_L_SCALE.
281 
282 ! <dependent keyword="MU_GMAX" value="DEFINED"/>
283 ! <conflict keyword="K_EPSILON" value=".TRUE."/>
284  l_scale0 = zero
285 
286 
287 
288 ! <description>
289 ! Maximum value of the turbulent viscosity of the fluid, which
290 ! must be defined if any turbulence model is used.
291 ! A value MU_GMAX =1.E+03 is recommended. (see calc_mu_g.f)
292 ! </description>
294 
295 
296 
297 ! <description>
298 ! Available gas-solids drag models.
299 ! Note: The extension _PCF following the specified drag model
300 ! indicates that the polydisperse correction factor is available.
301 ! For PCF details see:
302 ! o Van der Hoef MA, Beetstra R, Kuipers JAM. (2005)
303 ! Journal of Fluid Mechanics.528:233-254.
304 ! o Beetstra, R., van der Hoef, M. A., Kuipers, J.A.M. (2007).
305 ! AIChE Journal, 53:489-501.
306 ! o Erratum (2007), AIChE Journal, Volume 53:3020
307 ! </description>
308 !
309 ! <valid value="SYAM_OBRIEN" note="Syamlal M, OBrien TJ (1988).
310 ! International Journal of Multiphase Flow 14:473-481.
311 ! Two additional parameters may be specified: DRAG_C1, DRAG_D1"/>
312 !
313 ! <valid value="GIDASPOW" note="Ding J, Gidaspow D (1990).
314 ! AIChE Journal 36:523-538"/>
315 !
316 ! <valid value="GIDASPOW_BLEND" note="Lathouwers D, Bellan J (2000).
317 ! Proceedings of the 2000 U.S. DOE
318 ! Hydrogen Program Review NREL/CP-570-28890."/>
319 !
320 ! <valid value="WEN_YU" note="Wen CY, Yu YH (1966).
321 ! Chemical Engineering Progress Symposium Series 62:100-111."/>
322 !
323 ! <valid value="KOCH_HILL" note="Hill RJ, Koch DL, Ladd JC (2001).
324 ! Journal of Fluid Mechanics, 448: 213-241. and 448:243-278."/>
325 !
326 ! <valid value="BVK" note="Beetstra, van der Hoef, Kuipers (2007).
327 ! Chemical Engineering Science 62:246-255"/>
328 !
329 ! <valid value="HYS" note="Yin, X, Sundaresan, S. (2009).
330 ! AIChE Journal 55:1352-1368
331 ! This model has a lubrication cutoff distance, LAM_HYS, that can be
332 ! specified."/>
333 !
334 ! <valid value="USER_DRAG" note="Invoke user-defined drag law. (usr_drag.f)"/>
335 !
336 ! <valid value="GIDASPOW_PCF" note="see GIDASPOW"/>
337 ! <valid value="GIDASPOW_BLEND_PCF" note="see GIDASPOW_BLEND"/>
338 ! <valid value="WEN_YU_PCF" note="see WEN_YU"/>
339 ! <valid value="KOCH_HILL_PCF" note="see KOCH_HILL"/>
340 !
341  drag_type = 'SYAM_OBRIEN'
342 
343 
344 
345 ! <description>
346 ! Quantity for calibrating Syamlal-O'Brien drag correlation using Umf
347 ! data. This is determined using the Umf spreadsheet.
348 ! </description>
349  drag_c1 = 0.8d0
350 
351 
352 
353 ! <description>
354 ! Quantity for calibrating Syamlal-O'Brien drag correlation using Umf
355 ! data. This is determined using the Umf spreadsheet.
356 ! </description>
357  drag_d1 = 2.65d0
358 
359 
360 
361 ! <description>
362 ! The lubrication cutoff distance for HYS drag model. In practice
363 ! this number should be on the order of the mean free path of the
364 ! gas for smooth particles, or the RMS roughness of a particle if
365 ! they are rough (if particle roughness is larger than the mean
366 ! free path).
367 ! </description>
368 ! <dependent keyword="DRAG_TYPE" value="HYS"/>
370 
371 
372 
373 ! <description>
374 ! Subgrid models.
375 ! </description>
376 !
377 ! <valid value="Igci" note="
378 ! Igci, Y., Pannala, S., Benyahia, S., and Sundaresan S. (2012).
379 ! Industrial & Engineering Chemistry Research, 2012, 51(4):2094-2103"/>
380 !
381 ! <valid value="Milioli" note="
382 ! Milioli, C.C., Milioli, F. E., Holloway, W., Agrawal, K. and
383 ! Sundaresan, S. (2013). AIChE Journal, 59:3265-3275."/>
384 !
385  subgrid_type = undefined_c
386 
387 
388 
389 ! <description>
390 ! Ratio of filter size to computational cell size.
391 ! </description>
392  filter_size_ratio = 2.0d0
393 
394 
395 
396 ! <description>Flag for subgrid wall correction.</description>
397 ! <valid value=".FALSE." note="Do not include wall correction."/>
398 ! <valid value=".TRUE." note="Include subgrid wall correction."/>
399  subgrid_wall = .false.
400 
401 
402 
403 ! <description>
404 ! Shared gas-pressure formulation. See Syamlal, M. and Pannala, S.
405 ! "Multiphase continuum formulation for gas-solids reacting flows,"
406 ! chapter in Computational Gas-Solids Flows and Reacting Systems:
407 ! Theory, Methods and Practice, S. Pannala, M. Syamlal and T.J.
408 ! O'Brien (editors), IGI Global, Hershey, PA, 2011.
409 ! </description>
410 ! <valid value=".FALSE." note="Use Model A"/>
411 ! <valid value=".TRUE." note="Use Model B. Bouillard, J.X.,
412 ! Lyczkowski, R.W., Folga, S., Gidaspow, D., Berry, G.F. (1989).
413 ! Canadian Journal of Chemical Engineering 67:218-229."/>
414  model_b = .false.
415 
416 
417 
418 ! <description> The number of user-defined scalar transport equations
419 ! to solve.
420 ! </description>
421 ! <range min="0" max="DIM_SCALAR" />
422  nscalar = 0
423 
424 
425 
426 ! <description>
427 ! The phase convecting the indexed scalar transport equation.
428 ! </description>
429 ! <arg index="1" id="Scalar Equation" min="0" max="DIM_SCALAR"/>
430 ! <range min="0" max="DIM_M" />
432 
433 
434 !#####################################################################!
435 ! Physical Parameters !
436 !#####################################################################!
437 
438 
439 
440 ! <description>Reference pressure. [0.0]</description>
441  p_ref = zero
442 
443 
444 
445 ! <description>Scale factor for pressure. [1.0]</description>
446  p_scale = one
447 
448 
449 
450 ! <description>Gravitational acceleration. [980.7 in CGS]</description>
452 
453 
454 
455 ! <description>
456 ! X-component of gravitational acceleration vector. By default, the
457 ! gravity force acts in the negative y-direction.
458 ! </description>
459  gravity_x = zero
460 
461 
462 
463 ! <description>
464 ! Y-component of gravitational acceleration vector. By default, the
465 ! gravity force acts in the negative y-direction.
466 ! </description>
467  gravity_y = zero
468 
469 
470 
471 ! <description>
472 ! Z-component of gravitational acceleration vector. By default, the
473 ! gravity force acts in the negative y-direction.
474 ! </description>
475  gravity_z = zero
476 
477 
478 
479 
480 
481 
482 !#####################################################################!
483 ! Numerical Parameters !
484 !#####################################################################!
485 
486 
487 
488 
489 ! <description>
490 ! Maximum number of iterations [500].
491 ! </description>
492  max_nit = 500
493 
494 
495 
496 ! <description>
497 ! Factor to normalize the gas continuity equation residual. The
498 ! residual from the first iteration is used if NORM_G is left
499 ! undefined. NORM_G=0 invokes a normalization method based on the
500 ! dominant term in the continuity equation. This setting may speed up
501 ! calculations, especially near a steady state and incompressible
502 ! fluids. But, the number of iterations for the gas phase pressure
503 ! should be increased, LEQ_IT(1), to ensure mass balance
504 ! </description>
505  norm_g = undefined
506 
507 
508 
509 ! <description>
510 ! Factor to normalize the solids continuity equation residual. The
511 ! residual from the first iteration is used if NORM_S is left
512 ! undefined. NORM_S = 0 invokes a normalization method based on the
513 ! dominant term in the continuity equation. This setting may speed up
514 ! calculations, especially near a steady state and incompressible
515 ! fluids. But, the number of iterations for the solids volume
516 ! fraction should be increased, LEQ_IT(2), to ensure mass balance.
517 ! </description>
518  norm_s = undefined
519 
520 
521 
522 ! <description>
523 ! Maximum residual at convergence (Continuity + Momentum) [1.0d-3].
524 ! </description>
525  tol_resid = 1.0d-3
526 
527 
528 
529 
530 ! <description>
531 ! Maximum residual at convergence (Energy) [1.0d-4].
532 ! </description>
533  tol_resid_t = 1.0d-4
534 
535 
536 
537 ! <description>
538 ! Maximum residual at convergence (Species Balance) [1.0d-4].
539 ! </description>
540  tol_resid_x = 1.0d-4
541 
542 
543 
544 ! <description>
545 ! Maximum residual at convergence (Granular Energy) [1.0d-4].
546 ! </description>
547  tol_resid_th = 1.0d-4
548 
549 
550 
551 ! <description>
552 ! Maximum residual at convergence (Scalar Equations) [1.0d-4].
553 ! </description>
554  tol_resid_scalar = 1.0d-4
555 
556 
557 
558 ! <description>
559 ! Maximum residual at convergence (K_Epsilon Model) [1.0d-4].
560 ! </description>
561  tol_resid_k_epsilon = 1.0d-4
562 
563 
564 
565 ! <description>
566 ! Minimum residual for declaring divergence [1.0d+4].
567 ! This parameter is useful for incompressible fluid simulations
568 ! because velocity residuals can take large values for the second
569 ! iteration (e.g., 1e+8) before dropping down to smaller values for
570 ! the third iteration.
571 ! </description>
572  tol_diverge = 1.0d+4
573 
574 
575 
576 ! <description>
577 ! Reduce the time step if the residuals stop decreasing. Disabling this
578 ! feature may help overcome initial non-convergence.
579 ! </description>
580 ! <valid value=".FALSE." note="Continue iterating if residuals stall."/>
581 ! <valid value=".TRUE." note="Reduce time step if residuals stall."/>
582  detect_stall = .true.
583 
584 
585 
586 
587 ! <description>
588 ! LEQ Solver selection. BiCGSTAB is the default method for all
589 ! equation types.
590 ! </description>
591 ! <arg index="1" id="Equation ID Number" min="1" max="DIM_EQS"/>
592 ! <valid value="1" note="SOR - Successive over-relaxation"/>
593 ! <valid value="2" note="BiCGSTAB - Biconjugate gradient stabilized."/>
594 ! <valid value="3" note="GMRES - Generalized minimal residual method"/>
595 ! <valid value="5" note="CG - Conjugate gradient"/>
596  leq_method(:) = 2
597 
598 
599 
600 ! <description>
601 ! Linear Equation tolerance [1.0d-4].
602 ! </description>
603 ! <arg index="1" id="Equation ID Number" min="1" max="DIM_EQS"/>
604 ! <dependent keyword="LEQ_METHOD" value="2"/>
605 ! <dependent keyword="LEQ_METHOD" value="3"/>
606  leq_tol(:) = 1.0d-4
607 
608 
609 
610 ! <description>
611 ! Number of iterations in the linear equation solver.
612 ! o 20 iterations for equation types 1-2
613 ! o 5 iterations for equation types 3-5,10
614 ! o 15 iterations for equation types 6-9
615 ! </description>
616 ! <arg index="1" id="Equation ID Number" min="1" max="DIM_EQS"/>
617  leq_it(1) = 20
618  leq_it(2) = 20
619  leq_it(3) = 5
620  leq_it(4) = 5
621  leq_it(5) = 5
622  leq_it(6) = 15
623  leq_it(7) = 15
624  leq_it(8) = 15
625  leq_it(9) = 15
626  leq_it(10) = 5
627 
628 
629 
630 ! <description>
631 ! Linear equation sweep direction. This applies when using GMRES or
632 ! when using the LINE preconditioner with BiCGSTAB or CG methods.
633 ! 'RSRS' is the default for all equation types.
634 ! </description>
635 ! <arg index="1" id="Equation ID Number" min="1" max="DIM_EQS"/>
636 ! <valid value="RSRS" note="(Red/Black Sweep, Send Receive) repeated twice"/>
637 ! <valid value="ISIS" note="(Sweep in I, Send Receive) repeated twice"/>
638 ! <valid value="JSJS" note="(Sweep in J, Send Receive) repeated twice"/>
639 ! <valid value="KSKS" note="(Sweep in K, Send Receive) repeated twice"/>
640 ! <valid value="ASAS" note="(All Sweep, Send Receive) repeated twice"/>
641  leq_sweep(:) = 'RSRS'
642 
643 
644 
645 ! <description>
646 ! Linear precondition used by the BiCGSTAB and CG LEQ solvers. 'LINE'
647 ! is the default for all equation types.
648 ! </description>
649 ! <arg index="1" id="Equation ID Number" min="1" max="DIM_EQS"/>
650 ! <valid value="NONE" note="No preconditioner"/>
651 ! <valid value="LINE" note="Line relaxation"/>
652 ! <valid value="DIAG" note="Diagonal Scaling"/>
653  leq_pc(:) = 'LINE'
654 
655 
656 
657 
658 ! <description>
659 ! Under relaxation factors.
660 ! o 0.8 for equation types 1,9
661 ! o 0.5 for equation types 2,3,4,5,8
662 ! o 1.0 for equation types 6,7,10
663 ! </description>
664 ! <arg index="1" id="Equation ID Number" min="1" max="DIM_EQS"/>
665  ur_fac(1) = 0.8d0 ! pressure
666  ur_fac(2) = 0.5d0 ! rho, ep
667  ur_fac(3) = 0.5d0 ! U
668  ur_fac(4) = 0.5d0 ! V
669  ur_fac(5) = 0.5d0 ! W
670  ur_fac(6) = 1.0d0 ! T
671  ur_fac(7) = 1.0d0 ! X
672  ur_fac(8) = 0.5d0 ! Th
673  ur_fac(9) = 0.8d0 ! Scalar
674  ur_fac(10) = 1.0d0 ! DES Diffusion
675 
676 
677 
678 ! <description>
679 ! The implicitness calculation of the gas-solids drag coefficient
680 ! may be underrelaxed by changing ur_f_gs, which takes values
681 ! between 0 to 1.
682 ! o 0 updates F_GS every time step
683 ! o 1 updates F_GS every iteration
684 ! </description>
685 ! <range min="0" max="1" />
686  ur_f_gs = 1.0d0
687 
688 
689 
690 ! <description>
691 ! Under relaxation factor for conductivity coefficient associated
692 ! with other solids phases for IA Theory [1.0].
693 ! </description>
694  ur_kth_sml = 1.0d0
695 
696 
697 
698 ! <description>Discretization scheme of equations.</description>
699 ! <arg index="1" id="Equation ID Number" min="1" max="DIM_EQS"/>
700 ! <valid value="0" note="First-order upwinding."/>
701 ! <valid value="1" note="First-order upwinding (using down-wind factors)."/>
702 ! <valid value="3" note="Smart."/>
703 ! <valid value="2" note="Superbee (recommended method)."/>
704 ! <valid value="5" note="QUICKEST (does not work)."/>
705 ! <valid value="4" note="ULTRA-QUICK."/>
706 ! <valid value="7" note="van Leer."/>
707 ! <valid value="6" note="MUSCL."/>
708 ! <valid value="8" note="minmod."/>
709 ! <valid value="9" note="Central (often unstable; useful for testing)."/>
710  discretize(:) = 0
711 
712 
713 
714 ! <description>
715 ! Use deferred correction method for implementing higher order
716 ! discretization.
717 ! </description>
718 ! <valid value=".FALSE." note="Use down-wind factor method (default)."/>
719 ! <valid value=".TRUE." note="Use deferred correction method."/>
720  def_cor = .false.
721 
722 
723 
724 ! <description>
725 ! This scheme guarantees that the set of differenced species mass
726 ! balance equations maintain the property that the sum of species
727 ! mass fractions sum to one. This property is not guaranteed when
728 ! a flux limiter is used with higher order spatial discretization
729 ! schemes. Note: The chi-scheme is implemented for SMART and MUSCL
730 ! discretization schemes.
731 ! Darwish, M.S., Moukalled, F. (2003). Computer Methods in Applied
732 ! Mech. Eng., 192(13):1711-1730.
733 ! </description>
734 ! <valid value=".FALSE." note="Do not use the chi-scheme."/>
735 ! <valid value=".TRUE." note="Use the chi-scheme correction."/>
736  chi_scheme = .false.
737 
738 
739 
740 ! <description>
741 ! Four point fourth order interpolation and is upstream biased.
742 ! Notes:
743 ! o DISCRETIZE(*) defaults to Superbee if this scheme is chosen
744 ! and DISCRETIZE(*) < 2.
745 ! o Set C_FAC between 0 and 1 when using this scheme.
746 ! </description>
747 ! <dependent keyword="C_FAC" value="DEFINED"/>
748 ! <valid value=".FALSE." note="Do not use fourth order interpolation."/>
749 ! <valid value=".TRUE." note="Use fourth order interpolation."/>
750  fpfoi = .false.
751 
752 
753 
754 ! <description>
755 ! Factor between zero and one used in the universal limiter when
756 ! using four point, fourth order interpolation (FPFOI).
757 ! o Choosing one gives (diffusive) first order upwinding.
758 ! o The scheme becomes more compressive as values near zero.
759 ! </description>
760 ! <range min="0.0" max="1.0" />
761 ! <dependent keyword="fpfoi" value=".TRUE."/>
762  c_fac = undefined
763 
764 
765 
766 ! <description>Temporal discretization scheme.</description>
767 ! <valid value=".FALSE."
768 ! note="Implicit Euler based temporal discretization scheme employed
769 ! (first order accurate in time)."/>
770 ! <valid value=".TRUE."
771 ! note="Two-step implicit Runge-Kutta method based temporal
772 ! discretization scheme employed. This method should be second
773 ! order accurate in time excluding pressure terms and restart
774 ! time step which are first order accurate. However, recent testing
775 ! shows that second order accuracy in time is not observed."/>
776  cn_on = .false.
777 
778 
779 
780 ! <description>
781 ! The code declares divergence if the velocity anywhere in the domain
782 ! exceeds a maximum value. This maximum value is automatically
783 ! determined from the boundary values. The user may scale the maximum
784 ! value by adjusting this scale factor [1.0d0].
785 ! </description>
787 
788 
789 
790 ! <description>
791 ! Solve transpose of linear system. (BICGSTAB ONLY).
792 ! </description>
793 ! <dependent keyword="LEQ_METHOD" value="2"/>
794  do_transpose = .false.
795 
796 
797 
798 ! <description>
799 ! Frequency to check for convergence. (BICGSTAB ONLY)
800 ! </description>
801 ! <dependent keyword="LEQ_METHOD" value="2"/>
802  icheck_bicgs = 1
803 
804 
805 
806 ! <description>
807 ! Sets optimal LEQ flags for parallel runs.
808 ! </description>
809  opt_parallel = .false.
810 
811 
812 
813 ! <description>
814 ! Use do-loop assignment over direct vector assignment.
815 ! </description>
816  use_doloop = .false.
817 
818 
819 
820 ! <description>
821 ! Calculate dot-products more efficiently (Serial runs only.)
822 ! </description>
823  is_serial = .true.
824 
825 
826 
827 !#####################################################################!
828 ! Geometry and Discretization !
829 !#####################################################################!
830 
831 
832 
833 ! <description>Coordinates used in the simulation.</description>
834 ! <valid value="cartesian" note="Cartesian coordinates."/>
835 ! <valid value="cylindrical" note="Cylindrical coordinates."/>
837 
838 
839 
840 ! <description>(Do not use.)</description>
841 ! <valid value=".FALSE." note="x (r) direction is considered."/>
842 ! <valid value=".TRUE." note="x (r) direction is not considered."/>
843 ! NO_I = .FALSE.
844 
845 
846 
847 ! <description>Number of cells in the x (r) direction.</description>
848  imax = undefined_i
849 
850 
851 
852 ! <description>
853 ! Cell sizes in the x (r) direction. Enter values from DX(0) to
854 ! DX(IMAX-1).
855 ! o Use uniform mesh size with higher-order discretization methods.
856 ! o DX should be kept uniform in cylindrical coordinates
857 ! for strict momentum conservation.
858 ! </description>
859 ! <arg index="1" id="Cell" min="0" max="DIM_I"/>
860  dx(:dim_i) = undefined
861 
862 
863 
864 ! <description>
865 ! The inner radius in the simulation of an annular cylindrical region.
866 ! </description>
867  xmin = zero
868 
869 
870 
871 ! <description>Reactor length in the x (r) direction.</description>
873 
874 
875 
876 ! <description>(Do not use.)</description>
877 ! <valid value=".FALSE. note="y-direction is considered."/>
878 ! <valid value=".TRUE." note="y-direction is not considered."/>
879 ! NO_J = .FALSE.
880 
881 
882 
883 
884 ! <description>Number of cells in the y-direction.</description>
885  jmax = undefined_i
886 
887 
888 
889 ! <description>
890 ! Cell sizes in the y-direction. Enter values from DY(0) to
891 ! DY(IMAX-1). Use uniform mesh size with second-order
892 ! discretization methods.
893 ! </description>
894 ! <arg index="1" id="Cell" min="0" max="DIM_J"/>
895  dy(:dim_j) = undefined
896 
897 
898 
899 ! <description>Reactor length in the y-direction.</description>
901 
902 
903 
904 ! <description>
905 ! Flag to disable the third dimension (i.e., 2D simulation).
906 ! o Z axis in Cartesian coordinate system
907 ! o Theta in Cylindrical coordinate system
908 ! </description>
909 ! <valid value=".FALSE." note="3D simulation."/>
910 ! <valid value=".TRUE." note="2D simulation."/>
911  no_k = .false.
912 
913 
914 
915 ! <description>Number of cells in the z-direction.</description>
916  kmax = undefined_i
917 
918 
919 
920 ! <description>
921 ! Cell sizes in the z (theta) direction. Enter values from DZ(0) to
922 ! DZ(IMAX-1). Use uniform mesh size with second-order discretization
923 ! methods.
924 ! </description>
925 ! <arg index="1" id="Cell" min="0" max="DIM_K"/>
926  dz(:dim_k) = undefined
927 
928 
929 
930 ! <description>Reactor length in the z (theta) direction.</description>
932 
933 
934 
935 
936 ! <description>
937 ! Flag for making the x-direction cyclic without pressure drop. No other
938 ! boundary conditions for the x-direction should be specified.
939 
940 ! <valid value=".FALSE." note="No cyclic condition at x-boundary."/>
941 ! <valid value=".TRUE." note="Cyclic condition at x-boundary."/>
942  cyclic_x = .false.
943 
944 
945 
946 ! <description>
947 ! Flag for making the x-direction cyclic with pressure drop. If the
948 ! keyword FLUX_G is given a value this becomes a cyclic boundary
949 ! condition with specified mass flux. No other boundary conditions
950 ! for the x-direction should be specified.
951 ! </description>
952 ! <valid value=".FALSE." note="No cyclic condition at x-boundary."/>
953 ! <valid value=".TRUE." note="Cyclic condition with pressure drop at x-boundary."/>
954  cyclic_x_pd = .false.
955 
956 
957 
958 ! <description>
959 ! Fluid pressure drop across XLENGTH when a cyclic boundary condition
960 ! with pressure drop is imposed in the x-direction.
961 ! </description>
962  delp_x = undefined
963 
964 
965 
966 ! <description>
967 ! Flag for making the y-direction cyclic without pressure drop. No
968 ! other boundary conditions for the y-direction should be specified.
969 ! </description>
970 ! <valid value=".FALSE." note="No cyclic condition at y-boundary."/>
971 ! <valid value=".TRUE." note="Cyclic condition at x-boundary."/>
972  cyclic_y = .false.
973 
974 
975 
976 ! <description>
977 ! Flag for making the y-direction cyclic with pressure drop. If the
978 ! keyword FLUX_G is given a value this becomes a cyclic boundary
979 ! condition with specified mass flux. No other boundary conditions
980 ! for the y-direction should be specified.
981 ! </description>
982 ! <valid value=".FALSE." note="No cyclic condition at y-boundary."/>
983 ! <valid value=".TRUE." note="Cyclic condition with pressure drop at y-boundary."/>
984  cyclic_y_pd = .false.
985 
986 
987 
988 ! <description>
989 ! Fluid pressure drop across YLENGTH when a cyclic boundary condition
990 ! with pressure drop is imposed in the y-direction.
991 ! </description>
992  delp_y = undefined
993 
994 
995 
996 ! <description>
997 ! Flag for making the z-direction cyclic without pressure drop. No
998 ! other boundary conditions for the z-direction should be specified.
999 ! </description>
1000 ! <valid value=".FALSE." note="No cyclic condition at z-boundary."/>
1001 ! <valid value=".TRUE." note="Cyclic condition at z-boundary."/>
1002  cyclic_z = .false.
1003 
1004 
1005 
1006 ! <description>
1007 ! Flag for making the z-direction cyclic with pressure drop. If the
1008 ! keyword FLUX_G is given a value this becomes a cyclic boundary
1009 ! condition with specified mass flux. No other boundary conditions
1010 ! for the z-direction should be specified.
1011 ! </description>
1012 ! <valid value=".FALSE." note="No cyclic condition at z-boundary."/>
1013 ! <valid value=".TRUE." note="Cyclic condition with pressure drop at
1014 ! z-boundary."/>
1015  cyclic_z_pd = .false.
1016 
1017 
1018 
1019 ! <description>
1020 ! Fluid pressure drop across ZLENGTH when a cyclic boundary condition
1021 ! with pressure drop is imposed in the z-direction.
1022 ! </description>
1023  delp_z = undefined
1024 
1025 
1026 
1027 ! <description>
1028 ! Imposes a mean shear on the flow field as a linear function of the
1029 ! x coordinate. This feature should only be used when CYCLIC_X is
1030 ! .TRUE. and the keyword V_SH is set.
1031 ! </description>
1032 ! <dependent keyword="CYCLIC_X" value=".TRUE."/>
1033 ! <dependent keyword="V_SH" value="DEFINED"/>
1034  shear = .false.
1035 
1036 
1037 
1038 
1039 ! <description>
1040 ! Specifies the mean y velocity component at the eastern boundary
1041 ! of the domain (V_SH), and the mean Y velocity (-V_SH) at the
1042 ! western boundary of the domain.
1043 ! </description>
1044  v_sh = 0.0d0
1045 
1046 
1047 
1048 
1049 ! <description>
1050 ! If a value is specified (in units of g/cm^2.s), the domain-averaged gas
1051 ! flux is held constant at that value in simulations over a periodic
1052 ! domain. A pair of boundaries specified as periodic with fixed
1053 ! pressure drop is then treated as periodic with fixed mass flux.
1054 ! Even for this case a pressure drop must also be specified, which
1055 ! is used as the initial guess in the simulations.
1056 ! </description>
1057  flux_g = undefined
1058 
1059 
1060 
1061 ! <description>
1062 ! Applies the 2.5D model for cylindrical column by combining 2D assumption
1063 ! and axi-symmetric assumption.
1064 ! Li et al. (2015). A 2.5D computational method to simulate
1065 ! cylindrical fluidized beds, Chemical Engineering Science,
1066 ! 123:236-246.
1067 ! </description>
1068  cylindrical_2d = .false.
1069 
1070 
1071 
1072 ! <description>
1073 ! Parameter to control the plate half width and the wedge radius
1074 ! in the 2.5D cylindrical model. This value should be less than
1075 ! half the grid cells in the radial direction (IMAX/2). [1]
1076 ! </description>
1077 ! <dependent keyword="CYLINDRICAL_2D" value=".TRUE."/>
1078  i_cyl_num = 1
1079 
1080 
1081 
1082 ! <description>
1083 ! Parameter to smooth the transition from cylindrical to 2D in
1084 ! the 2.5D cylindrical model. [2]
1085 ! </description>
1086 ! <valid value="2" note="Two cell smoothing transition."/>
1087 ! <valid value="1" note="One cell smoothing transition."/>
1088 ! <valid value="0" note="No smoothing."/>
1089 ! <dependent keyword="CYLINDRICAL_2D" value=".TRUE."/>
1090  i_cyl_transition = 2
1091 
1092 
1093 !#####################################################################!
1094 ! Gas Phase !
1095 !#####################################################################!
1096 
1097 
1098 ! <description>
1099 ! Specified constant gas density [g/cm^3 in CGS]. An equation of
1100 ! state -the ideal gas law by default- is used to calculate the gas
1101 ! density if this parameter is undefined. The value may be set to
1102 ! zero to make the drag zero and to simulate granular flow in a
1103 ! vacuum. For this case, users may turn off solving for gas momentum
1104 ! equations to accelerate convergence.
1105 ! </description>
1106  ro_g0 = undefined
1107 
1108 
1109 
1110 ! <description>
1111 ! Specified constant gas viscosity [g/(cm.s) in CGS].
1112 ! </description>
1113  mu_g0 = undefined
1114 
1115 
1116 
1117 ! <description>
1118 ! Specified constant gas conductivity [cal/(s.cm.K) in CGS].
1119 ! </description>
1120  k_g0 = undefined
1121 
1122 
1123 
1124 ! <description>
1125 ! Specified constant gas specific heat [cal/(g.s.K) in CGS].
1126 ! </description>
1127  c_pg0 = undefined
1128 
1129 
1130 
1131 ! <description>
1132 ! Specified constant gas diffusivity [(cm^2/s) in CGS].
1133 ! </description>
1134  dif_g0 = undefined
1135 
1136 
1137 
1138 ! <description>
1139 ! Average molecular weight of gas [(g/mol) in CGS]. Used in
1140 ! calculating the gas density for non-reacting flows when the gas
1141 ! composition is not defined.
1142 ! </description>
1143  mw_avg = undefined
1144 
1145 
1146 
1147 ! <description>
1148 ! Molecular weight of gas species [(g/mol) in GCS].
1149 ! </description>
1150 ! <arg index="1" id="Species" min="1" max="DIM_N_G"/>
1151  mw_g(:dim_n_g) = undefined
1152 
1153 
1154 
1155 ! <description>Number of species comprising the gas phase.</description>
1157 
1158 
1159 
1160 ! <description>
1161 ! Name of gas phase species as it appears in the materials database.
1162 ! </description>
1163 ! <arg index="1" id="Species" min="1" max="DIM_N_G"/>
1165 
1166 
1167 
1168 ! <description>
1169 ! User defined name for gas phase species. Aliases are used in
1170 ! specifying chemical equations and must be unique.
1171 ! </description>
1172 ! <arg index="1" id="Species" min="1" max="DIM_N_G"/>
1174 
1175 
1176 
1177 
1178 !#####################################################################!
1179 ! Solids Phase !
1180 !#####################################################################!
1181 
1182 
1183 ! <description>
1184 ! Defines the model used for the solids phase. For TFM/DEM
1185 ! hybrid simulations, first define all TFM solids, then
1186 ! define the DEM solids phases.
1187 ! </description>
1188 ! <arg index="1" id="Phase" min="1" max="DIM_M"/>
1189 ! <valid value='TFM' note='Two-fluid Model (continuum)' />
1190 ! <valid value='DEM' note='Discrete Element Model' />
1191 ! <valid value='PIC' note='Multiphase-Particle in Cell' />
1192  solids_model(:dim_m) = 'TFM'
1193 
1194 
1195 
1196 ! tfm="true" dem="true" pic="true">
1197 ! <description>Number of solids phases.</description>
1198  mmax = 1
1199 
1200 
1201 
1202 ! tfm="true" dem="true" pic="true">
1203 ! <description>
1204 ! Initial particle diameters [cm in CGS].
1205 ! </description>
1206 ! <arg index="1" id="Phase" min="1" max="DIM_M"/>
1207  d_p0(:dim_m) = undefined
1208 
1209 
1210 
1211 ! tfm="true" dem="true" pic="true">
1212 ! <description>
1213 ! Specified constant solids density [g/cm^3 in CGS]. Reacting flows
1214 ! may use variable solids density by leaving this parameter
1215 ! undefined and specifying X_S0 and RO_XS0 as well as the index
1216 ! of the inert species.
1217 ! </description>
1218 ! <arg index="1" id="Phase" min="1" max="DIM_M"/>
1219  ro_s0(:dim_m) = undefined
1220 
1221 
1222 
1223 ! <description>
1224 ! Baseline species mass fraction. Specifically, the mass fraction
1225 ! of an unreacted sample (e.g., proximate analysis).
1226 ! </description>
1227 ! <arg index="1" id="Phase" min="1" max="DIM_M"/>
1228 ! <arg index="2" id="Species" min="1" max="DIM_N_s"/>
1229 ! <dependent keyword="SPECIES_EQ" value=".TRUE."/>
1230 ! <dependent keyword="RO_Xs0" value="DEFINED"/>
1231 ! <dependent keyword="INERT_SPECIES" value="DEFINED"/>
1232 ! <conflict keyword="RO_s0" value="DEFINED"/>
1234 
1235 
1236 
1237 ! <description>
1238 ! Specified constant solids species density [g/cm^3 in CGS].
1239 ! </description>
1240 ! <arg index="1" id="Phase" min="1" max="DIM_M"/>
1241 ! <arg index="2" id="Species" min="1" max="DIM_N_s"/>
1242 ! <dependent keyword="SPECIES_EQ" value=".TRUE."/>
1243 ! <dependent keyword="X_s0" value="DEFINED"/>
1244 ! <dependent keyword="INERT_SPECIES" value="DEFINED"/>
1245 ! <conflict keyword="RO_s0" value="DEFINED"/>
1247 
1248 
1249 
1250 ! <description>
1251 ! Index of inert solids phase species. This species should not be a
1252 ! product or reactant of any chemical reaction.
1253 ! </description>
1254 ! <arg index="1" id="Phase" min="1" max="DIM_M"/>
1255 ! <arg index="2" id="Species" min="1" max="DIM_N_s"/>
1256 ! <dependent keyword="SPECIES_EQ" value=".TRUE."/>
1257 ! <dependent keyword="X_s0" value="DEFINED"/>
1258 ! <dependent keyword="RO_Xs0" value="DEFINED"/>
1259 ! <conflict keyword="RO_s0" value="DEFINED"/>
1261 
1262 
1263 
1264 ! <description>
1265 ! Mass fraction of inert solids phase species in the dilute region.
1266 ! In dilute region (see DIL_FACTOR_VSD), the solids density is computed based
1267 ! on this inert species mass fraction, rather than the current inert species mass fraction.
1268 ! This may help convergence when the Variable Solids Density model is invoked.
1269 ! </description>
1270 ! <arg index="1" id="Phase" min="1" max="DIM_M"/>
1271 ! <dependent keyword="SPECIES_EQ" value=".TRUE."/>
1272 ! <dependent keyword="X_s0" value="DEFINED"/>
1273 ! <dependent keyword="RO_Xs0" value="DEFINED"/>
1274 ! <conflict keyword="RO_s0" value="DEFINED"/>
1276 
1277 
1278 
1279 ! <description>
1280 ! Factor to define the dilute region where the solids density is set using DIL_INERT_X_VSD.
1281 ! Cells where the solids volume fraction is between DIL_EP_S and DIL_EP_S x DIL_FACTOR_VSD
1282 ! will automatically set the solids density using DIL_INERT_X_VSD instead of the current
1283 ! inerts species mass fraction. Set this factor to zero to always use the current inert
1284 ! species mass fraction.
1285 ! </description>
1286 ! <arg index="1" id="Phase" min="1" max="DIM_M"/>
1287 ! <dependent keyword="SPECIES_EQ" value=".TRUE."/>
1288 ! <dependent keyword="X_s0" value="DEFINED"/>
1289 ! <dependent keyword="RO_Xs0" value="DEFINED"/>
1290 ! <conflict keyword="RO_s0" value="DEFINED"/>
1291  dil_factor_vsd = 10.0d0
1292 
1293 
1294 
1295 ! <description>
1296 ! Specified constant solids conductivity [cal/(s.cm.K) in CGS].
1297 ! </description>
1298 ! <arg index="1" id="Phase" min="1" max="DIM_M"/>
1299  k_s0(:dim_m) = undefined
1300 
1301 
1302 
1303 ! <description>
1304 ! Specified constant solids specific heat [cal/(g.s.K) in CGS].
1305 ! </description>
1306 ! <arg index="1" id="Phase" min="1" max="DIM_M"/>
1307  c_ps0(:dim_m) = undefined
1308 
1309 
1310 
1311 
1312 ! <description>
1313 ! Molecular weight of solids phase species [(g/mol) in CGS].
1314 ! </description>
1315 ! <arg index="1" id="Phase" min="1" max="DIM_M"/>
1316 ! <arg index="2" id="Species" min="1" max="DIM_N_s"/>
1318 
1319 
1320 
1321 ! <description>
1322 ! Number of species comprising the solids phase.
1323 ! </description>
1324 ! <arg index="1" id="Phase" min="1" max="DIM_M"/>
1326 
1327 
1328 
1329 ! <description>
1330 ! Name of solids phase M, species N as it appears in the materials
1331 ! database.
1332 
1333 ! <arg index="1" id="Phase" min="1" max="DIM_M"/>
1334 ! <arg index="2" id="Species" min="1" max="DIM_N_s"/>
1336 
1337 
1338 
1339 ! <description>
1340 ! User defined name for solids phase species. Aliases are used in
1341 ! specifying chemical equations and must be unique.
1342 ! </description>
1343 ! <arg index="1" id="Phase" min="1" max="DIM_M"/>
1344 ! <arg index="2" id="Species" min="1" max="DIM_N_s"/>
1346 
1347 
1348 !#####################################################################!
1349 ! Two Fluid Model !
1350 !#####################################################################!
1351 
1352 
1353 
1354 ! <description>
1355 ! Solids phase stress model [LUN_1984]. This is only needed when
1356 ! solving the granular energy PDE (GRANULAR_ENERGY = .TRUE.).
1357 ! </description>
1358 ! <dependent keyword="GRANULAR_ENERGY" value=".TRUE."/>
1359 ! <valid value="AHMADI"
1360 ! note="Cao and Ahmadi (1995). Int. J. Multiphase Flow 21(6), 1203."/>
1361 ! <valid value="GD_99"
1362 ! note="Garzo and Dufty (1999). Phys. Rev. E 59(5), 5895."/>
1363 ! <valid value="GHD"
1364 ! note="Garzo, Hrenya and Dufty (2007). Phys. Rev. E 76(3), 31304"/>
1365 ! <valid value="GTSH"
1366 ! note="Garzo, Tenneti, Subramaniam, Hrenya (2012). J.Fluid Mech. 712, 129."/>
1367 ! <valid value="IA_NONEP"
1368 ! note="Iddir & Arastoopour (2005). AIChE J. 51(6), 1620"/>
1369 ! <valid value="LUN_1984"
1370 ! note="Lun et al (1984). J. Fluid Mech., 140, 223."/>
1371 ! <valid value="SIMONIN"
1372 ! note="Simonin (1996). VKI Lecture Series, 1996-2"/>
1373  kt_type = "LUN_1984"
1374 
1375 
1376 ! Retired keyword for specifying Ahmadi KT Theory.
1377 ! Use: KT_TYPE = "AHMADI"
1378  ahmadi = .false.
1379 
1380 ! Retired keyword for specifying Simonin KT Theory.
1381 ! Use: KT_TYPE = "SIMONIN"
1382  simonin = .false.
1383 
1384 
1385 ! <description>
1386 ! Solids stress model selection.
1387 ! </description>
1388 ! <valid value=".FALSE." note="Do not use the Princeton solids stress model."/>
1389 ! <valid value=".TRUE." note="Use the Princeton solids stress model"/>
1390 ! <dependent keyword="GRANULAR_ENERGY" value=".TRUE."/>
1391 ! <dependent keyword="PHI" value="DEFINED"/>
1392 ! <dependent keyword="PHI_W" value="DEFINED"/>
1393  friction = .false.
1394 
1395 
1396 
1397 ! <description>
1398 ! For a term appearing in the frictional stress model
1399 ! invoked with FRICTION keyword.
1400 ! </description>
1401 ! <valid value="0" note="Use S:S in the frictional stress model."/>
1402 ! <valid value="1" note="Use an alternate form suggested by Savage."/>
1403 ! <valid value="2" note="An appropriate combination of above."/>
1404 ! <dependent keyword="friction" value=".TRUE."/>
1405  savage = 1
1406 
1407 
1408 
1409 ! <description>
1410 ! Schaeffer frictional stress tensor formulation. </description>
1411 ! <dependent keyword="PHI" value="DEFINED"/>
1412 ! <valid value=".TRUE." note="Use the Schaeffer model."/>
1413 ! <valid value=".FALSE." note="Do not use the Schaeffer model."/>
1414  schaeffer = .true.
1415 
1416 
1417 
1418 ! <description>
1419 ! Blend the Schaeffer stresses with the stresses resulting from
1420 ! algebraic kinetic theory around the value of EP_STAR.
1421 ! </description>
1422  blending_stress = .false.
1423 
1424 
1425 
1426 ! <description>
1427 ! Hyperbolic tangent function for blending frictional stress models.
1428 ! </description>
1429 ! <dependent keyword="BLENDING_STRESS" value=".TRUE."/>
1430 ! <conflict keyword="SIGM_BLEND" value=".TRUE."/>
1431  tanh_blend = .true.
1432 
1433 
1434 
1435 ! <description>
1436 ! A scaled and truncated sigmoidal function for blending
1437 ! frictional stress models.
1438 ! </description>
1439 ! <dependent keyword="BLENDING_STRESS" value=".TRUE."/>
1440 ! <conflict keyword="TANH_BLEND" value=".TRUE."/>
1441  sigm_blend = .false.
1442 
1443 
1444 
1445 ! <description>
1446 ! Correlation to compute maximum packing for polydisperse systems.
1447 ! </description>
1448 ! <valid value=".TRUE."
1449 ! note="Use the Yu and Standish correlation."/>
1450 ! <valid value=".FALSE."
1451 ! note="Do not use the Yu and Standish correlation."/>
1452  yu_standish = .false.
1453 
1454 
1455 
1456 ! <description>
1457 ! Correlation to compute maximum packing for binary (only)
1458 ! mixtures of powders.
1459 ! </description>
1460 ! <valid value=".TRUE."
1461 ! note="Use the Fedors and Landel correlation."/>
1462 ! <valid value=".FALSE."
1463 ! note="Do not use the Fedors and Landel correlation."/>
1464  fedors_landel = .false.
1465 
1466 
1467 
1468 ! <description>
1469 ! Radial distribution function at contact for polydisperse systems.
1470 ! Do not specify any RDF for monodisperse systems because Carnahan-
1471 ! Starling is the model only available.
1472 !
1473 ! Carnahan, N.F. and Starling K.E., (1969).
1474 ! The Journal of Chemical Physics, Vol. 51(2):635-636.
1475 ! </description>
1476 !
1477 ! <valid value="LEBOWITZ" note="Lebowitz, J.L. (1964)
1478 ! The Physical Review, A133, 895-899"/>
1479 !
1480 ! <valid value="MODIFIED_LEBOWITZ" note="
1481 ! Iddir, H. Y., Modeling of the multiphase mixture of particles
1482 ! using the kinetic theory approach. Doctoral Dissertation,
1483 ! Illinois Institute of Technology, Chicago, Illinois, 2004,
1484 ! (chapter 2, equations 2-49 through 2-52.)"/>
1485 !
1486 ! <valid value="MANSOORI" note="
1487 ! Mansoori, GA, Carnahan N.F., Starling, K.E. Leland, T.W. (1971).
1488 ! The Journal of Chemical Physics, Vol. 54:1523-1525."/>
1489 !
1490 ! <valid value="MODIFIED_MANSOORI" note="van Wachem, B.G.M., Schouten, J.C.,
1491 ! van den Bleek, C.M., Krishna, R. and Sinclair, J. L. (2001)
1492 ! AIChE Journal 47:1035–1051."/>
1493  rdf_type = 'LEBOWITZ'
1494 
1495 
1496 
1497 ! <description>
1498 ! Flag to include the added (or virtual) mass force. This force
1499 ! acts to increase the inertia of the dispersed phase, which
1500 ! tends to stabilize simulations of bubbly gas-liquid flows.
1501 ! </description>
1502 ! <dependent keyword="M_AM" value="DEFINED"/>
1503  added_mass = .false.
1504 
1505 
1506 
1507 ! <description>
1508 ! The disperse phase number to which the added mass is applied.
1509 ! </description>
1510  m_am = undefined_i
1511 
1512 
1513 
1514 ! <description>
1515 ! Coefficient of restitution for particle-particle collisions.
1516 ! </description>
1517 ! <range min="0.0" max="1.0" />
1518  c_e = undefined
1519 
1520 
1521 
1522 ! <description>
1523 ! Coefficient of restitution for particle-particle collisions specific
1524 ! to GHD theory implementation.
1525 ! </description>
1526 ! <arg index="1" id="Phase" min="0" max="DIM_M"/>
1527 ! <arg index="2" id="Phase" min="0" max="DIM_M"/>
1528  r_p(:dim_m, :dim_m) = undefined
1529 
1530 
1531 
1532 ! <description>
1533 ! Coefficient of restitution for particle-wall collisions when using
1534 ! Johnson and Jackson partial slip BC (BC_JJ_PS).</description>
1535 ! <range min="0.0" max="1.0" />
1536  e_w = 1.d0
1537 
1538 
1539 
1540 ! <description>
1541 ! Specularity coefficient associated with particle-wall collisions
1542 ! when using Johnson and Jackson partial slip BC (BC_JJ_PS). If
1543 ! Jenkins small frictional BC are invoked (JENKINS) then phip is
1544 ! not used.
1545 ! </description>
1546 ! <range min="0.0" max="1.0" />
1547  phip = 0.6d0
1548 
1549 
1550 
1551 ! <description>
1552 ! Specify the value of specularity coefficient when the normalized
1553 ! slip velocity goes to zero when BC_JJ_M is .TRUE.. This variable
1554 ! is calculated internally in the code. Do not modify unless an
1555 ! accurate number is known.
1556 ! </description>
1557 ! <dependent keyword="BC_JJ_M" value=".TRUE."/>
1558  phip0 = undefined
1559 
1560 
1561 
1562 ! <description>
1563 ! Coefficient of friction between the particles of two solids phases.
1564 ! </description>
1565  c_f = undefined
1566 
1567 
1568 
1569 ! <description>
1570 ! Angle of internal friction (in degrees). Set this value
1571 ! to zero to turn off plastic regime stress calculations.
1572 ! </description>
1573  phi = undefined
1574 
1575 
1576 
1577 ! <description>
1578 ! Angle of internal friction (in degrees) at walls. Set this
1579 ! value to non-zero (PHI_W = 11.31 means TAN_PHI_W = MU = 0.2)
1580 ! when using Johnson and Jackson partial slip BC (BC_JJ_PS) with
1581 ! Friction model or Jenkins small frictional boundary condition.
1582 ! </description>
1583  phi_w = undefined
1584 
1585 
1586 
1587 ! <description>
1588 ! Minimum solids fraction above which friction sets in. [0.5] (when
1589 ! FRICTION = .TRUE.)
1590 ! </description>
1591 ! <dependent keyword="FRICTION" value=".TRUE."/>
1592  eps_f_min = 0.5d0
1593 
1594 
1595 
1596 ! <description>
1597 ! Maximum solids volume fraction at packing for polydisperse
1598 ! systems (more than one solids phase used). The value of
1599 ! EP_STAR may change during the computation if solids phases
1600 ! with different particle diameters are specified and
1601 ! Yu_Standish or Fedors_Landel correlations are used.
1602 ! </description>
1603 ! <arg index="1" id="Phase" min="0" max="DIM_M"/>
1604 ! <range min="0" max="1-EP_STAR" />
1606 
1607 
1608 
1609 ! <description>
1610 ! Used in calculating the initial slope of segregation: see
1611 ! Gera et al. (2004) - recommended value 0.3. Increasing this
1612 ! coefficient results in decrease in segregation of particles
1613 ! in binary mixtures.
1614 ! </description>
1616 
1617 
1618 
1619 
1620 ! <description>Excluded volume in Boyle-Massoudi stress.</description>
1621 ! <valid value="0.0" note="b-m stress is turned off."/>
1622  v_ex = zero
1623 
1624 
1625 
1626 ! <description>
1627 ! Specified constant viscosity. If any value is specified then:
1628 ! 1) kinetic theory calculations (granular_energy) are off, which
1629 ! means zero granular pressure contribution (P_S = 0),
1630 ! 2) frictional/plastic calculations are off, which means zero
1631 ! frictional viscosity contributions, however, a plastic pressure
1632 ! term is still invoked (P_STAR), and
1633 ! 3) LAMBDA_S = -2/3 MU_S0.
1634 ! </description>
1635 ! <conflict keyword="GRANULAR_ENERGY" value=".TRUE."/>
1636 ! <arg index="1" id="Phase" min="1" max="DIM_M"/>
1637  mu_s0(:dim_m) = undefined
1638 
1639 
1640 
1641 ! <description>
1642 ! Specified constant solids diffusivity [(cm^2)/s in CGS].
1643 ! </description>
1644 ! <arg index="1" id="Phase" min="1" max="DIM_M"/>
1645  dif_s0(:dim_m) = undefined
1646 
1647 
1648 
1649 ! <description>
1650 ! Packed bed void fraction. Used to calculate plastic stresses (for
1651 ! contribution to viscosity) and when to implement plastic pressure,
1652 ! P_STAR. Specifically, if EP_G < EP_STAR, then plastic pressure is
1653 ! employed in the momentum equations.
1654 ! </description>
1655 ! <range min="0.0" max="1.0" />
1656  ep_star = undefined
1657 
1658 
1659 
1660 ! <description>
1661 ! Flag to enable/disable a phase from forming a packed bed.
1662 ! Effectively removes plastic pressure term from the solids phase
1663 ! momentum equation.
1664 ! </description>
1665 ! <arg index="1" id="Phase" min="1" max="DIM_M"/>
1666 ! <valid value=".TRUE." note="The phase forms a packed bed with void
1667 ! fraction EP_STAR."/>
1668 ! <valid value=".FALSE." note="The phase can exceed close pack conditions
1669 ! so that it maybe behave like a liquid."/>
1670  close_packed(:dim_m) = .true.
1671 
1672 
1673 
1674 !#####################################################################!
1675 ! Initial Conditions Section !
1676 !#####################################################################!
1677 
1678 
1679  DO lc = 1, dimension_ic
1680 
1681 
1682 ! <description>X coordinate of the west face.</description>
1683 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1684  ic_x_w(lc) = undefined
1685 
1686 
1687 
1688 ! <description>X coordinate of the east face.</description>
1689 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1690  ic_x_e(lc) = undefined
1691 
1692 
1693 
1694 ! <description>Y coordinate of the south face.</description>
1695 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1696  ic_y_s(lc) = undefined
1697 
1698 
1699 
1700 ! <description>Y coordinate of the north face.</description>
1701 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1702  ic_y_n(lc) = undefined
1703 
1704 
1705 
1706 ! <description>Z coordinate of the bottom face.</description>
1707 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1708  ic_z_b(lc) = undefined
1709 
1710 
1711 
1712 ! <description>Z coordinate of the top face.</description>
1713 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1714  ic_z_t(lc) = undefined
1715 
1716 
1717 
1718 ! <description>I index of the west-most wall.</description>
1719 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1720  ic_i_w(lc) = undefined_i
1721 
1722 
1723 
1724 ! <description>I index of the east-most wall.</description>
1725 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1726  ic_i_e(lc) = undefined_i
1727 
1728 
1729 
1730 ! <description>J index of the south-most wall.</description>
1731 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1732  ic_j_s(lc) = undefined_i
1733 
1734 
1735 
1736 ! <description>J index of the north-most wall.</description>
1737 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1738  ic_j_n(lc) = undefined_i
1739 
1740 
1741 
1742 ! <description>K index of the bottom-most wall.</description>
1743 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1744  ic_k_b(lc) = undefined_i
1745 
1746 
1747 
1748 ! <description>K index of the top-most wall.</description>
1749 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1750  ic_k_t(lc) = undefined_i
1751 
1752 
1753 
1754 ! <description>
1755 ! Type of initial condition. Mainly used in restart runs to overwrite
1756 ! values read from the .RES file by specifying it as _PATCH_. The
1757 ! user needs to be careful when using the _PATCH_ option, since the
1758 ! values from the .RES file are overwritten and no error checking is
1759 ! done for the patched values.
1760 ! </description>
1761 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1762  ic_type(lc) = undefined_c
1763 
1764 
1765 
1766 ! <description>Initial void fraction in the IC region.</description>
1767 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1768  ic_ep_g(lc) = undefined
1769 
1770 
1771 
1772 ! <description>
1773 ! Initial gas pressure in the IC region. If this quantity is not
1774 ! specified, MFIX will set up a hydrostatic pressure profile,
1775 ! which varies only in the y-direction.
1776 ! </description>
1777 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1778  ic_p_g(lc) = undefined
1779 
1780 
1781 
1782 ! <description>
1783 ! Initial solids pressure in the IC region. Usually, this value is
1784 ! specified as zero.
1785 ! </description>
1786 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1787  ic_p_star(lc) = undefined
1788 
1789 
1790 
1791 ! <description>Turbulence length scale in the IC region.</description>
1792 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1793  ic_l_scale(lc) = undefined
1794 
1795 
1796 
1797 ! <description>
1798 ! Initial bulk density (rop_s = ro_s x ep_s) of solids phase-m in the
1799 ! IC region. Users need to specify this IC only for polydisperse flow
1800 ! (MMAX > 1). Users must make sure that summation of ( IC_ROP_s(ic,m)
1801 ! / RO_s(m) ) over all solids phases is equal to ( 1.0 - IC_EP_g(ic)).
1802 ! </description>
1803 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1804 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
1805  ic_rop_s(lc,:dim_m) = undefined
1806 
1807 
1808 
1809 ! <description>
1810 ! Initial solids volume fraction of solids phase-m in the IC region.
1811 ! This may be specified in place of IC_ROP_s.
1812 ! </description>
1813 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1814 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
1815  ic_ep_s(lc,:dim_m) = undefined
1816 
1817 
1818 
1819 ! <description>Initial gas phase temperature in the IC region.</description>
1820 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1821  ic_t_g(lc) = undefined
1822 
1823 
1824 
1825 ! <description>Initial solids phase-m temperature in the IC region.</description>
1826 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1827 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
1828  ic_t_s(lc,:dim_m) = undefined
1829 
1830 
1831 
1832 ! <description>Initial solids phase-m granular temperature in the IC region.</description>
1833 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1834 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
1835  ic_theta_m(lc,:dim_m) = undefined
1836 
1837 
1838 
1839 ! <description>
1840 ! Gas phase radiation coefficient in the IC region. Modify file
1841 ! rdtn2.inc to change the source term.
1842 ! </description>
1843 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1844 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
1845  ic_gama_rg(lc) = zero
1846 
1847 
1848 
1849 ! <description>Gas phase radiation temperature in the IC region.</description>
1850 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1851 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
1852  ic_t_rg(lc) = undefined
1853 
1854 
1855 
1856 ! <description>
1857 ! Solids phase-m radiation coefficient in the IC region. Modify file
1858 ! energy_mod.f to change the source term.
1859 ! </description>
1860 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1861 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
1862  ic_gama_rs(lc,:dim_m) = zero
1863 
1864 
1865 
1866 ! <description>Solids phase-m radiation temperature in the IC region.</description>
1867 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1868 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
1869  ic_t_rs(lc,:dim_m) = undefined
1870 
1871 
1872 
1873 ! <description>Initial x-component of gas velocity in the IC region.</description>
1874 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1875  ic_u_g(lc) = undefined
1876 
1877 
1878 
1879 ! <description>Initial x-component of solids-phase velocity in the IC region.</description>
1880 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1881 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
1882  ic_u_s(lc,:dim_m) = undefined
1883 
1884 
1885 
1886 ! <description>Initial y-component of gas velocity in the IC region.</description>
1887 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1888  ic_v_g(lc) = undefined
1889 
1890 
1891 
1892 ! <description>Initial y-component of solids-phase velocity in the IC region.</description>
1893 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1894 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
1895  ic_v_s(lc,:dim_m) = undefined
1896 
1897 
1898 
1899 ! <description>Initial z-component of gas velocity in the IC region.</description>
1900 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1901  ic_w_g(lc) = undefined
1902 
1903 
1904 
1905 ! <description>Initial z-component of solids-phase velocity in the IC region.</description>
1906 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1907 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
1908  ic_w_s(lc,:dim_m) = undefined
1909 
1910 
1911 
1912 ! <description>Initial mass fraction of gas species.</description>
1913 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1914 ! <arg index="2" id="Species" min="1" max="DIM_N_G"/>
1915  ic_x_g(lc,:dim_n_g) = undefined
1916 
1917 
1918 
1919 ! <description>Initial mass fraction of solids species.</description>
1920 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1921 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
1922 ! <arg index="3" id="Species" min="1" max="DIM_N_S"/>
1923  ic_x_s(lc,:dim_m,:dim_n_s) = undefined
1924 
1925 
1926 
1927 ! <description>Initial value of Scalar n.</description>
1928 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1929 ! <arg index="2" id="Scalar Eq." min="1" max="DIM_SCALAR"/>
1931 
1932 
1933 
1934 ! <description>Initial value of K in K-Epsilon.</description>
1935 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1936  ic_k_turb_g(lc) = undefined
1937 
1938 
1939 
1940 ! <description>Initial value of Epsilon in K-Epsilon.</description>
1941 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1942  ic_e_turb_g(lc) = undefined
1943 
1944 
1945 
1946 ! <description>Flag for inflating initial lattice distribution
1947 ! to the entire IC region. </description>
1948 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1949  ic_des_fit_to_region(lc) = .false.
1950 
1951 
1952 
1953 
1954 ! <description>Flag to specify the initial constant number
1955 ! of particles per cell for the PIC method initialization.
1956 !Statistical weight of parcels will be calculated by the code.</description>
1957 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1958 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
1959 ! <dependent keyword="SOLIDS_MODEL" value="PIC"/>
1960 ! <conflict keyword="IC_PIC_CONST_STATWT" value="DEFINED"/>
1961  ic_pic_const_npc(lc, :dim_m) = 0
1962 
1963 
1964 
1965 
1966 ! <description>Flag to specify the initial constant statistical
1967 ! weight for computational particles/parcels. Actual number of
1968 ! parcels will be automatically computed. </description>
1969 ! <arg index="1" id="IC" min="1" max="DIMENSION_IC"/>
1970 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
1971 ! <dependent keyword="SOLIDS_MODEL" value="PIC"/>
1972 ! <conflict keyword="IC_PIC_CONST_NPC" value="DEFINED"/>
1974 
1975  ENDDO
1976 
1977 
1978 
1979 
1980 !#####################################################################!
1981 ! Boundary Conditions !
1982 !#####################################################################!
1983  DO lc = 1, dimension_bc
1984 
1985 
1986 
1987 ! <description>X coordinate of the west face or edge.</description>
1988 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
1989  bc_x_w(lc) = undefined
1990 
1991 
1992 
1993 ! <description>X coordinate of the east face or edge.</description>
1994 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
1995  bc_x_e(lc) = undefined
1996 
1997 
1998 
1999 ! <description>Y coordinate of the south face or edge.</description>
2000 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2001  bc_y_s(lc) = undefined
2002 
2003 
2004 
2005 ! <description>Y coordinate of the north face or edge.</description>
2006 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2007  bc_y_n(lc) = undefined
2008 
2009 
2010 
2011 ! <description>Z coordinate of the bottom face or edge.</description>
2012 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2013  bc_z_b(lc) = undefined
2014 
2015 
2016 
2017 ! <description>Z coordinate of the top face or edge.</description>
2018 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2019  bc_z_t(lc) = undefined
2020 
2021 
2022 
2023 ! <description>I index of the west-most cell.</description>
2024 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2025  bc_i_w(lc) = undefined_i
2026 
2027 
2028 
2029 ! <description>I index of the east-most cell.</description>
2030 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2031  bc_i_e(lc) = undefined_i
2032 
2033 
2034 
2035 ! <description>J index of the south-most cell.</description>
2036 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2037  bc_j_s(lc) = undefined_i
2038 
2039 
2040 
2041 ! <description>J index of the north-most cell.</description>
2042 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2043  bc_j_n(lc) = undefined_i
2044 
2045 
2046 
2047 ! <description>K index of the bottom-most cell.</description>
2048 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2049  bc_k_b(lc) = undefined_i
2050 
2051 
2052 
2053 ! <description>K index of the top-most cell.</description>
2054 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2055  bc_k_t(lc) = undefined_i
2056 
2057 
2058 
2059 ! <description>Type of boundary.</description>
2060 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2061 !
2062 ! <valid value='DUMMY'
2063 ! note='The specified boundary condition is ignored. This is
2064 ! useful for turning off some boundary conditions without having
2065 ! to delete them from the file.' />
2066 !
2067 ! <valid value='MASS_INFLOW' alias='MI'
2068 ! note='Mass inflow rates for gas and solids phases are
2069 ! specified at the boundary.'/>
2070 !
2071 ! <valid value='MASS_OUTFLOW' alias='MO'
2072 ! note='The specified values of gas and solids mass outflow
2073 ! rates at the boundary are maintained, approximately. This
2074 ! condition should be used sparingly for minor outflows, when
2075 ! the bulk of the outflow is occurring through other constant
2076 ! pressure outflow boundaries.' />
2077 !
2078 ! <valid value='P_INFLOW' alias='PI'
2079 ! note='Inflow from a boundary at a specified constant
2080 ! pressure. To specify as the west, south, or bottom end of
2081 ! the computational region, add a layer of wall cells to the
2082 ! west, south, or bottom of the PI cells. Users need to specify
2083 ! all scalar quantities and velocity components. The specified
2084 ! values of fluid and solids velocities are only used initially
2085 ! as MFIX computes these values at this inlet boundary.' />
2086 !
2087 ! <valid value='P_OUTFLOW' alias='PO'
2088 ! note='Outflow to a boundary at a specified constant pressure.
2089 ! To specify as the west, south, or bottom end of the computational
2090 ! region, add a layer of wall cells to the west, south, or bottom of
2091 ! the PO cells.' />
2092 !
2093 ! <valid value='FREE_SLIP_WALL' alias='FSW'
2094 ! note='Velocity gradients at the wall vanish. If BC_JJ_PS is
2095 ! equal to 1, the Johnson-Jackson boundary condition is used for
2096 ! solids. A FSW is equivalent to using a PSW with hw=0.' />
2097 !
2098 ! <valid value='NO_SLIP_WALL' alias='NSW'
2099 ! note='All components of the velocity vanish at the wall. If
2100 ! BC_JJ_PS is equal to 1, the Johnson-Jackson boundary condition is
2101 ! used for solids. A NSW is equivalent to using a PSW with vw=0
2102 ! and hw undefined.' />
2103 !
2104 ! <valid value='PAR_SLIP_WALL' alias='PSW'
2105 ! note='Partial slip at the wall implemented as
2106 ! dv/dn + hw (v - vw) = 0, where n is the normal pointing from the
2107 ! fluid into the wall. The coefficients hw and vw should be
2108 ! specified. For free slip set hw = 0. For no slip leave hw
2109 ! undefined (hw=+inf) and set vw = 0. To set hw = +inf, leave it
2110 ! unspecified. If BC_JJ_PS is equal to 1, the Johnson-Jackson
2111 ! boundary condition is used for solids.' />
2112  bc_type(lc) = undefined_c
2113 
2114 
2115 
2116 ! <description>Gas phase hw for partial slip boundary.</description>
2117 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2118  bc_hw_g(lc) = undefined
2119 
2120 
2121 
2122 ! <description>Solids phase hw for partial slip boundary.</description>
2123 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2124 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2125  bc_hw_s(lc,:dim_m) = undefined
2126 
2127 
2128 
2129 ! <description>Gas phase Uw for partial slip boundary.</description>
2130 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2131  bc_uw_g(lc) = undefined
2132 
2133 
2134 
2135 ! <description>Solids phase Uw for partial slip boundary.</description>
2136 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2137 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2138  bc_uw_s(lc,:dim_m) = undefined
2139 
2140 
2141 
2142 ! <description>Gas phase Vw for partial slip boundary.</description>
2143 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2144  bc_vw_g(lc) = undefined
2145 
2146 
2147 
2148 ! <description>Solids phase Vw for partial slip boundary.</description>
2149 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2150 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2151  bc_vw_s(lc,:dim_m) = undefined
2152 
2153 
2154 
2155 ! <description>Gas phase Ww for partial slip boundary.</description>
2156 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2157  bc_ww_g(lc) = undefined
2158 
2159 
2160 
2161 ! <description>Solids phase Ww for partial slip boundary.</description>
2162 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2163 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2164  bc_ww_s(lc,:dim_m) = undefined
2165 
2166 
2167 
2168 ! <description>
2169 ! Johnson and Jackson partial slip BC.
2170 ! </description>
2171 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2172 ! <valid value='0'
2173 ! note='Do not use Johnson and Jackson partial slip bc. Default
2174 ! if granular energy transport equation is not solved.'/>
2175 ! <valid value='1'
2176 ! note='Use Johnson and Jackson partial slip bc. Default if
2177 ! granular energy transport equation is solved.'/>
2178 ! <dependent keyword="GRANULAR_ENERGY" value=".TRUE."/>
2179  bc_jj_ps(lc) = undefined_i
2180 
2181 
2182 
2183 ! <description>Use a modified version of Johnson and Jackson
2184 ! partial slip BC (BC_JJ_PS BC) with a variable specularity
2185 ! coefficient.
2186 ! </description>
2187 ! <dependent keyword="E_w" value="DEFINED"/>
2188 ! <dependent keyword="PHI_w" value="DEFINED"/>
2189 ! <conflict keyword="JENKINS" value=".TRUE."/>
2190  bc_jj_m = .false.
2191 
2192 
2193 
2194 ! <description>
2195 ! This flag effects how the momentum and granular energy boundary
2196 ! conditions are implemented when using BC_JJ_PS BC.
2197 ! </description>
2198 ! <dependent keyword="PHI_w" value="DEFINED"/>
2199 ! <dependent keyword="E_w" value="DEFINED"/>
2200 ! <conflict keyword="BC_JJ_M" value=".TRUE."/>
2201 ! <valid value=".FALSE." note="Use standard boundary conditions."/>
2202 ! <valid value=".TRUE."
2203 ! note="Use Jenkins small frictional boundary condition."/>
2204  jenkins = .false.
2205 
2206 
2207 
2208 ! <description>
2209 ! Specified wall value, THETAw_M, in diffusion boundary condition:
2210 ! d(Theta_M)/dn + Hw (THETA_M - THETAw_M) = C, where n is the fluid-to-wall normal.
2211 ! </description>
2212 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2213 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2214  bc_thetaw_m(lc,:dim_m) = undefined
2215 
2216 
2217 
2218 ! <description>
2219 ! Transfer coefficient, Hw, in diffusion boundary condition:
2220 ! d(Theta_M)/dn + Hw (THETA_M - THETAw_M) = C, where n is the fluid-to-wall normal.
2221 ! </description>
2222 ! <description>Hw for granular energy bc.</description>
2223 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2224 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2226 
2227 
2228 
2229 ! <description>
2230 ! Specified constant flux, C, in diffusion boundary condition:
2231 ! d(Theta_M)/dn + Hw (THETA_M - THETAw_M) = C, where n is the fluid-to-wall normal.
2232 ! </description>
2233 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2234 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2236 
2237 
2238 
2239 ! <description>
2240 ! Gas phase heat transfer coefficient, Hw, in diffusion boundary condition:
2241 ! d(T_g)/dn + Hw (T_g - Tw_g) = C, where n is the fluid-to-wall normal.
2242 ! </description>
2243 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2244  bc_hw_t_g(lc) = undefined
2245 
2246 
2247 
2248 ! <description>
2249 ! Specified gas phase wall temperature, Tw_g, in diffusion boundary condition:
2250 ! d(T_g)/dn + Hw (T_g - Tw_g) = C, where n is the fluid-to-wall normal.
2251 ! </description>
2252 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2253  bc_tw_g(lc) = undefined
2254 
2255 
2256 
2257 ! <description>
2258 ! Specified constant gas phase heat flux, C, in diffusion boundary condition:
2259 ! d(T_g)/dn + Hw (T_g - Tw_g) = C, where n is the fluid-to-wall normal.
2260 ! </description>
2261 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2262  bc_c_t_g(lc) = undefined
2263 
2264 
2265 
2266 ! <description>
2267 ! Solids phase heat transfer coefficient, Hw, in diffusion boundary condition:
2268 ! d(T_s)/dn + Hw (T_s - Tw_s) = C, where n is the fluid-to-wall normal.
2269 ! </description>
2270 ! <description>Solids phase hw for heat transfer.</description>
2271 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2272 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2273  bc_hw_t_s(lc,:dim_m) = undefined
2274 
2275 
2276 
2277 ! <description>
2278 ! Specified solids phase wall temperature, Tw_s, in diffusion boundary condition:
2279 ! d(T_s)/dn + Hw (T_s - Tw_s) = C, where n is the fluid-to-wall normal.
2280 ! </description>
2281 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2282 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2283  bc_tw_s(lc,:dim_m) = undefined
2284 
2285 
2286 
2287 ! <description>
2288 ! Specified constant solids phase heat flux, C, in diffusion boundary condition:
2289 ! d(T_s)/dn + Hw (T_s - Tw_s) = C, where n is the fluid-to-wall normal.
2290 ! </description>
2291 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2292 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2293  bc_c_t_s(lc,:dim_m) = undefined
2294 
2295 
2296 
2297 ! <description>
2298 ! Gas phase species mass transfer coefficient, Hw, in diffusion boundary condition:
2299 ! d(X_g)/dn + Hw (X_g - Xw_g) = C, where n is the fluid-to-wall normal.
2300 ! </description>
2301 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2302 ! <arg index="2" id="Species" min="1" max="DIM_N_G"/>
2303  bc_hw_x_g(lc,:dim_n_g) = undefined
2304 
2305 
2306 
2307 ! <description>
2308 ! Specified wall gas species mass fraction, Xw, in diffusion boundary condition:
2309 ! d(X_g)/dn + Hw (X_g - Xw_g) = C, where n is the fluid-to-wall normal.
2310 ! </description>
2311 ! <description>Gas phase Xw for mass transfer.</description>
2312 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2313 ! <arg index="2" id="Species" min="1" max="DIM_N_G"/>
2314  bc_xw_g(lc,:dim_n_g) = undefined
2315 
2316 
2317 
2318 ! <description>
2319 ! Specified constant gas species mass flux, C, in diffusion boundary condition:
2320 ! d(X_g)/dn + Hw (X_g - Xw_g) = C, where n is the fluid-to-wall normal.
2321 ! </description>
2322 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2323 ! <arg index="2" id="Species" min="1" max="DIM_N_G"/>
2324  bc_c_x_g(lc,:dim_n_g) = undefined
2325 
2326 
2327 
2328 ! <description>
2329 ! Solid phase species mass transfer coefficient, Hw, in diffusion boundary condition:
2330 ! d(X_s)/dn + Hw (X_s - Xw_s) = C, where n is the fluid-to-wall normal.
2331 ! </description>
2332 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2333 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2334 ! <arg index="3" id="Species" min="1" max="DIM_N_S"/>
2336 
2337 
2338 
2339 ! <description>
2340 ! Specified solids species mass fraction at the wall, Xw, in diffusion boundary condition:
2341 ! d(X_g)/dn + Hw (X_g - Xw_g) = C, where n is the fluid-to-wall normal.
2342 ! </description>
2343 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2344 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2345 ! <arg index="3" id="Species" min="1" max="DIM_N_S"/>
2346  bc_xw_s(lc,:dim_m,:dim_n_s) = undefined
2347 
2348 
2349 
2350 ! <description>
2351 ! Specified constant solids species mass flux, C, in diffusion boundary condition:
2352 ! d(X_s)/dn + Hw (X_s - Xw_s) = C, where n is the fluid-to-wall normal.
2353 ! </description>
2354 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2355 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2356 ! <arg index="3" id="Species" min="1" max="DIM_N_S"/>
2358 
2359 
2360 
2361 ! <description>
2362 ! Scalar transfer coefficient, Hw, in diffusion boundary condition:
2363 ! d(Scalar)/dn + Hw (Scalar - ScalarW) = C, where n is the fluid-to-wall normal.
2364 ! </description>
2365 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2366 ! <arg index="2" id="Scalar Eq." min="1" max="DIM_SCALAR"/>
2368 
2369 
2370 
2371 ! <description>
2372 ! Specified scalar value at the wall, ScalarW, in diffusion boundary condition:
2373 ! d(Scalar)/dn + Hw (Scalar - ScalarW) = C, where n is the fluid-to-wall normal.
2374 ! </description>
2375 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2376 ! <arg index="2" id="Scalar Eq." min="1" max="DIM_SCALAR"/>
2378 
2379 
2380 
2381 ! <description>
2382 ! Specified constant scalar flux, C, in diffusion boundary condition:
2383 ! d(Scalar)/dn + Hw (Scalar - ScalarW) = C, where n is the fluid-to-wall normal.
2384 ! </description>
2385 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2386 ! <arg index="2" id="Scalar Eq." min="1" max="DIM_SCALAR"/>
2388 
2389 
2390 
2391 ! <description>Void fraction at the BC plane.</description>
2392 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2393  bc_ep_g(lc) = undefined
2394 
2395 
2396 
2397 ! <description>Gas pressure at the BC plane.</description>
2398 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2399  bc_p_g(lc) = undefined
2400 
2401 
2402 
2403 ! <description>Bulk density of solids phase at the BC plane.</description>
2404 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2405 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2406  bc_rop_s(lc,:dim_m) = undefined
2407 
2408 
2409 
2410 ! <description>Solids volume fraction at the BC plane.</description>
2411 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2412 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2413  bc_ep_s(lc,:dim_m) = undefined
2414 
2415 
2416 
2417 ! <description>Gas phase temperature at the BC plane.</description>
2418 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2419  bc_t_g(lc) = undefined
2420 
2421 
2422 
2423 ! <description>Solids phase-m temperature at the BC plane.</description>
2424 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2425 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2426  bc_t_s(lc,:dim_m) = undefined
2427 
2428 
2429 
2430 ! <description>Solids phase-m granular temperature at the BC plane.</description>
2431 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2432 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2433  bc_theta_m(lc,:dim_m) = undefined
2434 
2435 
2436 
2437 ! <description>Mass fraction of gas species at the BC plane.</description>
2438 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2439 ! <arg index="2" id="Species" min="1" max="DIM_N_G"/>
2440  bc_x_g(lc,:dim_n_g) = undefined
2441 
2442 
2443 
2444 ! <description>Mass fraction of solids species at the BC plane.</description>
2445 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2446 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2447 ! <arg index="3" id="Species" min="1" max="DIM_N_S"/>
2448  bc_x_s(lc,:dim_m,:dim_n_s) = undefined
2449 
2450 
2451 
2452 ! <description>X-component of gas velocity at the BC plane.</description>
2453 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2454  bc_u_g(lc) = undefined
2455 
2456 
2457 
2458 ! <description>X-component of solids-phase velocity at the BC plane.</description>
2459 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2460 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2461  bc_u_s(lc,:dim_m) = undefined
2462 
2463 
2464 
2465 ! <description>Y-component of gas velocity at the BC plane.</description>
2466 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2467  bc_v_g(lc) = undefined
2468 
2469 
2470 
2471 ! <description>Y-component of solids-phase velocity at the BC plane.</description>
2472 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2473 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2474  bc_v_s(lc,:dim_m) = undefined
2475 
2476 
2477 
2478 ! <description>Z-component of gas velocity at the BC plane.</description>
2479 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2480  bc_w_g(lc) = undefined
2481 
2482 
2483 
2484 ! <description>Z-component of solids-phase velocity at the BC plane.</description>
2485 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2486 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2487  bc_w_s(lc,:dim_m) = undefined
2488 
2489 
2490 
2491 ! <description>Gas volumetric flow rate through the boundary.</description>
2492 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2493  bc_volflow_g(lc) = undefined
2494 
2495 
2496 
2497 ! <description>Solids volumetric flow rate through the boundary.</description>
2498 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2499 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2501 
2502 
2503 
2504 ! <description>Gas mass flow rate through the boundary.</description>
2505 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2506  bc_massflow_g(lc) = undefined
2507 
2508 
2509 
2510 ! <description>Solids mass flow rate through the boundary.</description>
2511 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2512 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2514 
2515 
2516 
2517 ! <description>The interval at the beginning when the normal
2518 ! velocity at the boundary is equal to BC_Jet_g0. When restarting,
2519 ! run this value and BC_Jet_g0 should be specified such that the
2520 ! transient jet continues correctly. MFIX does not store the jet
2521 ! conditions. For MASS_OUTFLOW boundary conditions, BC_DT_0 is
2522 ! the time period to average and print the outflow rates. The
2523 ! adjustment of velocities to get a specified mass or volumetric
2524 ! flow rate is based on the average outflow rate.
2525 ! </description>
2526 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2527  bc_dt_0(lc) = undefined
2528 
2529 
2530 
2531 ! <description>Value of normal velocity during the initial interval BC_DT_0.</description>
2532 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2533  bc_jet_g0(lc) = undefined
2534 
2535 
2536 
2537 ! <description>The interval when normal velocity is equal to BC_Jet_gh.</description>
2538 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2539  bc_dt_h(lc) = undefined
2540 
2541 
2542 
2543 ! <description>Value of normal velocity during the interval BC_DT_h.</description>
2544 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2545  bc_jet_gh(lc) = undefined
2546 
2547 
2548 
2549 ! <description>The interval when normal velocity is equal to BC_JET_gL.</description>
2550 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2551  bc_dt_l(lc) = undefined
2552 
2553 
2554 
2555 ! <description>Value of normal velocity during the interval BC_DT_L.</description>
2556 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2557  bc_jet_gl(lc) = undefined
2558 
2559 
2560 
2561 ! <description>Boundary value for user-defined scalar equation.</description>
2562 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2563 ! <arg index="2" id="Scalar Eq." min="1" max="DIM_SCALAR"/>
2565 
2566 
2567 
2568 ! <description>Boundary value of K for K-Epsilon Equation.</description>
2569 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2570  bc_k_turb_g(lc) = undefined
2571 
2572 
2573 
2574 ! <description>Boundary value of Epsilon for K-Epsilon Equation.</description>
2575 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2576  bc_e_turb_g(lc) = undefined
2577 
2578 
2579 
2580 ! <description>Magnitude of gas velocity in a specified boundary region.</description>
2581 ! <dependent keyword="CARTESIAN_GRID" value=".TRUE."/>
2582 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2583  bc_velmag_g(lc) = undefined
2584 
2585 
2586 
2587 ! <description>Magnitude of gas velocity in a specified boundary region.</description>
2588 ! <dependent keyword="CARTESIAN_GRID" value=".TRUE."/>
2589 ! <arg index="1" id="BC" min="1" max="DIMENSION_BC"/>
2590 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2591  bc_velmag_s(lc,:dim_m) = undefined
2592 
2593 
2594 
2595 ! <description>Flag to specify the constant number
2596 ! of computational particles per cell for the PIC solids inflow BC.
2597 !Statistical weight of parcels will be calculated by the code.</description>
2598 ! <arg index="1" id="BC" min="1" max="DIMENSION_IC"/>
2599 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2600 ! <conflict keyword="BC_PIC_CONST_STATWT" value="DEFINED"/>
2601 ! <dependent keyword="SOLIDS_MODEL" value="PIC"/>
2602  bc_pic_mi_const_npc(lc, :dim_m) = 0
2603 
2604 
2605 
2606 
2607 ! <description>Flag to specify the constant statistical
2608 ! weight for inflowing computational particles/parcels. Actual number of
2609 ! parcels will be automatically computed. </description>
2610 ! <arg index="1" id="BC" min="1" max="DIMENSION_IC"/>
2611 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2612 ! <conflict keyword="IC_PIC_CONST_NPC" value="DEFINED"/>
2614 
2615 
2616 
2617 ! <description>Flag to make the PO BC invisible to discrete solids.
2618 ! Set this flag to.FALSE.to remove this BC for discrete solids. </description>
2619 ! <arg index="1" id="BC" min="1" max="DIMENSION_IC"/>
2620  bc_po_apply_to_des(lc) = .true.
2621 
2622 
2623 
2624  bc_rop_g(lc) = undefined
2625  ENDDO
2626 
2627 
2628 
2629 
2630 !#####################################################################!
2631 ! Internal Surfaces !
2632 !#####################################################################!
2633  DO lc = 1, dimension_is
2634 
2635 
2636 
2637 ! <description>X coordinate of the west face or edge.</description>
2638 ! <arg index="1" id="IS" min="1" max="DIMENSION_IS"/>
2639  is_x_w(lc) = undefined
2640 
2641 
2642 
2643 ! <description>X coordinate of the east face or edge.</description>
2644 ! <arg index="1" id="IS" min="1" max="DIMENSION_IS"/>
2645  is_x_e(lc) = undefined
2646 
2647 
2648 
2649 ! <description>Y coordinate of the south face or edge</description>
2650 ! <arg index="1" id="IS" min="1" max="DIMENSION_IS"/>
2651  is_y_s(lc) = undefined
2652 
2653 
2654 
2655 ! <description>Y coordinate of the north face or edge</description>
2656 ! <arg index="1" id="IS" min="1" max="DIMENSION_IS"/>
2657  is_y_n(lc) = undefined
2658 
2659 
2660 
2661 ! <description>Z coordinate of the bottom face or edge</description>
2662 ! <arg index="1" id="IS" min="1" max="DIMENSION_IS"/>
2663  is_z_b(lc) = undefined
2664 
2665 
2666 
2667 ! <description>Z coordinate of the top face or edge</description>
2668 ! <arg index="1" id="IS" min="1" max="DIMENSION_IS"/>
2669  is_z_t(lc) = undefined
2670 
2671 
2672 
2673 ! <description>I index of the west-most cell.</description>
2674 ! <arg index="1" id="IS" min="1" max="DIMENSION_IS"/>
2675  is_i_w(lc) = undefined_i
2676 
2677 
2678 
2679 ! <description>I index of the east-most cell</description>
2680 ! <arg index="1" id="IS" min="1" max="DIMENSION_IS"/>
2681  is_i_e(lc) = undefined_i
2682 
2683 
2684 
2685 ! <description>J index of the south-most cell</description>
2686 ! <arg index="1" id="IS" min="1" max="DIMENSION_IS"/>
2687  is_j_s(lc) = undefined_i
2688 
2689 
2690 
2691 ! <description>J index of the north-most cell</description>
2692 ! <arg index="1" id="IS" min="1" max="DIMENSION_IS"/>
2693  is_j_n(lc) = undefined_i
2694 
2695 
2696 
2697 ! <description>K index of the bottom-most cell</description>
2698 ! <arg index="1" id="IS" min="1" max="DIMENSION_IS"/>
2699  is_k_b(lc) = undefined_i
2700 
2701 
2702 
2703 ! <description>K index of the top-most cell</description>
2704 ! <arg index="1" id="IS" min="1" max="DIMENSION_IS"/>
2705  is_k_t(lc) = undefined_i
2706 
2707 
2708 
2709 ! <description>Type of internal surface</description>
2710 ! <arg index="1" id="IS" min="1" max="DIMENSION_IS"/>
2711 ! <valid value="IMPERMEABLE"
2712 ! note="No gas or solids flow through the surface." alias="IP"/>
2713 ! <valid value="SEMIPERMEABLE" alias='SP'
2714 ! note="Gas flows through the surface with an additional resistance.
2715 ! Solids velocity through the surface is set to zero or to a user-
2716 ! specified fixed value (i.e., solids momentum equation for this
2717 ! direction is not solved)." />
2718  is_type(lc) = undefined_c
2719 
2720 
2721 
2722 ! <description>
2723 ! Parameters defining the internal surface. These values need to be
2724 ! specified for semipermeable surfaces only. The thickness used for
2725 ! pressure drop computation is that of the momentum cell (DX_e,
2726 ! DY_n, or DZ_t). To turn off the resistance, use a large value
2727 ! for permeability.
2728 ! o IDX=1: Permeability [1.0E32]
2729 ! o IDX=2: Inertial resistance coefficient [0.0]
2730 ! </description>
2731 ! <arg index="1" id="IS" min="1" max="DIMENSION_IS"/>
2732 ! <arg index="2" id="IDX" min="1" max="2"/>
2733  is_pc(lc,1) = undefined
2734  is_pc(lc,2) = zero
2735 
2736 
2737 
2738 ! <description>Value of fixed solids velocity through semipermeable surfaces.</description>
2739 ! <arg index="1" id="IS" min="1" max="DIMENSION_IS"/>
2740 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2741  is_vel_s(lc,:dim_m) = zero
2742 
2743  ENDDO
2744 
2745 
2746 !#####################################################################!
2747 ! Point Source Mass Inlets !
2748 !#####################################################################!
2749  DO lc = 1, dimension_ps
2750 
2751 
2752 ! <description>X coordinate of the west face or edge.</description>
2753 ! <arg index="1" id="PS" min="1" max="DIMENSION_PS"/>
2754  ps_x_w(lc) = undefined
2755 
2756 
2757 
2758 ! <description>X coordinate of the east face or edge.</description>
2759 ! <arg index="1" id="PS" min="1" max="DIMENSION_PS"/>
2760  ps_x_e(lc) = undefined
2761 
2762 
2763 
2764 ! <description>Y coordinate of the south face or edge.</description>
2765 ! <arg index="1" id="PS" min="1" max="DIMENSION_PS"/>
2766  ps_y_s(lc) = undefined
2767 
2768 
2769 
2770 ! <description>Y coordinate of the north face or edge.</description>
2771 ! <arg index="1" id="PS" min="1" max="DIMENSION_PS"/>
2772  ps_y_n(lc) = undefined
2773 
2774 
2775 
2776 ! <description>Z coordinate of the bottom face or edge.</description>
2777 ! <arg index="1" id="PS" min="1" max="DIMENSION_PS"/>
2778  ps_z_b(lc) = undefined
2779 
2780 
2781 
2782 ! <description>Z coordinate of the top face or edge.</description>
2783 ! <arg index="1" id="PS" min="1" max="DIMENSION_PS"/>
2784  ps_z_t(lc) = undefined
2785 
2786 
2787 
2788 ! <description>I index of the west-most cell.</description>
2789 ! <arg index="1" id="PS" min="1" max="DIMENSION_PS"/>
2790  ps_i_w(lc) = undefined_i
2791 
2792 
2793 
2794 ! <description>I index of the east-most cell.</description>
2795 ! <arg index="1" id="PS" min="1" max="DIMENSION_PS"/>
2796  ps_i_e(lc) = undefined_i
2797 
2798 
2799 
2800 ! <description>J index of the south-most cell.</description>
2801 ! <arg index="1" id="PS" min="1" max="DIMENSION_PS"/>
2802  ps_j_s(lc) = undefined_i
2803 
2804 
2805 
2806 ! <description>J index of the north-most cell.</description>
2807 ! <arg index="1" id="PS" min="1" max="DIMENSION_PS"/>
2808  ps_j_n(lc) = undefined_i
2809 
2810 
2811 
2812 ! <description>K index of the bottom-most cell.</description>
2813 ! <arg index="1" id="PS" min="1" max="DIMENSION_PS"/>
2814  ps_k_b(lc) = undefined_i
2815 
2816 
2817 
2818 ! <description>K index of the top-most cell.</description>
2819 ! <arg index="1" id="PS" min="1" max="DIMENSION_PS"/>
2820  ps_k_t(lc) = undefined_i
2821 
2822 
2823 
2824 
2825 ! <description>X-component of incoming gas velocity.</description>
2826 ! <arg index="1" id="PS" min="1" max="DIMENSION_PS"/>
2827  ps_u_g(lc) = undefined
2828 
2829 
2830 
2831 ! <description>Y-component of incoming gas velocity.</description>
2832 ! <arg index="1" id="PS" min="1" max="DIMENSION_PS"/>
2833  ps_v_g(lc) = undefined
2834 
2835 
2836 
2837 ! <description>Z-component of incoming gas velocity.</description>
2838 ! <arg index="1" id="PS" min="1" max="DIMENSION_PS"/>
2839  ps_w_g(lc) = undefined
2840 
2841 
2842 
2843 ! <description>Gas mass flow rate through the point source.</description>
2844 ! <arg index="1" id="PS" min="1" max="DIMENSION_PS"/>
2845  ps_massflow_g(lc) = undefined
2846 
2847 
2848 
2849 ! <description>Temperature of incoming gas.</description>
2850 ! <arg index="1" id="PS" min="1" max="DIMENSION_PS"/>
2851  ps_t_g(lc) = undefined
2852 
2853 
2854 
2855 ! <description>Gas phase incoming species n mass fraction.</description>
2856 ! <arg index="1" id="PS" min="1" max="DIMENSION_PS"/>
2857 ! <arg index="2" id="Species" min="1" max="DIM_N_G"/>
2858  ps_x_g(lc,:dim_n_g) = undefined
2859 
2860 
2861 
2862 ! <description>X-component of incoming solids velocity.</description>
2863 ! <arg index="1" id="PS" min="1" max="DIMENSION_PS"/>
2864 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2865  ps_u_s(lc,:dim_m) = undefined
2866 
2867 
2868 
2869 ! <description>Y-component of incoming solids velocity.</description>
2870 ! <arg index="1" id="PS" min="1" max="DIMENSION_PS"/>
2871 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2872  ps_v_s(lc,:dim_m) = undefined
2873 
2874 
2875 
2876 ! <description>Z-component of incoming solids velocity.</description>
2877 ! <arg index="1" id="PS" min="1" max="DIMENSION_PS"/>
2878 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2879  ps_w_s(lc,:dim_m) = undefined
2880 
2881 
2882 
2883 ! <description>Solids mass flow rate through the point source.</description>
2884 ! <arg index="1" id="PS" min="1" max="DIMENSION_PS"/>
2885 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2887 
2888 
2889 
2890 ! <description>Temperature of incoming solids.</description>
2891 ! <arg index="1" id="PS" min="1" max="DIMENSION_PS"/>
2892 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2893  ps_t_s(lc,:dim_m) = undefined
2894 
2895 
2896 
2897 ! <description>Solids phase incoming species n mass fraction.</description>
2898 ! <arg index="1" id="PS" min="1" max="DIMENSION_PS"/>
2899 ! <arg index="2" id="Phase" min="1" max="DIM_M"/>
2900 ! <arg index="3" id="Species" min="1" max="DIM_N_S"/>
2901  ps_x_s(lc,:dim_m,:dim_n_s) = undefined
2902 
2903 
2904  ENDDO
2905 
2906 
2907 !#####################################################################!
2908 ! Output Control !
2909 !#####################################################################!
2910 
2911 
2912 ! <description>
2913 ! Interval at which restart (.res) file is updated.
2914 ! </description>
2915  res_dt = undefined
2916 
2917 
2918 
2919 ! <description>
2920 ! Interval at which a backup copy of the restart file is created.
2921 ! </description>
2923 
2924 
2925 
2926 ! <description>
2927 ! The number of backup restart files to retain.
2928 ! </description>
2930 
2931 
2932 
2933 ! <description>
2934 ! Interval at which .SPX files are updated.
2935 ! o SP1: void fraction (EP_G)
2936 ! o SP2: Gas pressure (P_G) and Solids pressure (P_star)
2937 ! o SP3: Gas velocity (U_G, V_G, W_G)
2938 ! o SP4: Solids velocity (U_S, V_S, W_S)
2939 ! o SP5: Solids bulk density (ROP_s)
2940 ! o SP6: Gas and solids temperature (T_G, T_S)
2941 ! o SP7: Gas and solids mass fractions (X_G, X_S)
2942 ! o SP8: Granular temperature (THETA_M)
2943 ! o SP9: User defined scalars. (SCALAR)
2944 ! o SPA: Reaction Rates (ReactionRates)
2945 ! o SPB: Turbulence quantities (K_TURB_G, E_TURB_G)
2946 ! </description>
2947 ! <arg index="1" id="SP Value" min="1" max="N_SPX"/>
2948  spx_dt(:n_spx) = undefined
2949 
2950 
2951 
2952 ! <description>
2953 ! The number of user defined chemical reactions stored
2954 ! in the *.SPA file.
2955 ! </description>
2956  nrr = 0
2957 
2958 
2959 
2960 ! <description> Interval at which standard output (.OUT) file is updated.
2961 ! Only run configuration information is written if left undefined. Otherwise
2962 ! all field variables for the entire domain are written in ASCII
2963 ! format to the .OUT file at OUT_DT intervals.
2964 ! </description>
2965  out_dt = undefined
2966 
2967 
2968 
2969 ! <description>Number of time steps between .LOG file updates.</description>
2970  nlog = 25
2971 
2972 
2973 
2974 ! <description> Display the residuals on the screen and provide
2975 ! messages about convergence on the screen and in the .LOG file.
2976 ! </description>
2977  full_log = .false.
2978 
2979 
2980 
2981 ! <description>Specifies the residuals to display. </description>
2982 ! <arg index="1" id="Residual Index" max="8" min="1"/>
2983 ! <valid value="P0" note="Gas pressure"/>
2984 ! <valid value="PM" note="Solids phase M pressure"/>
2985 ! <valid value="R0" note="Gas density"/>
2986 ! <valid value="RM" note="Solids phase M density"/>
2987 ! <valid value="U0" note="Gas phase U-velocity"/>
2988 ! <valid value="V0" note="Gas phase V-velocity"/>
2989 ! <valid value="W0" note="Gas phase W-velocity"/>
2990 ! <valid value="UM" note="Solids phase M U-velocity"/>
2991 ! <valid value="VM" note="Solids phase M V-velocity"/>
2992 ! <valid value="WM" note="Solids phase M W-velocity"/>
2993 ! <valid value="T0" note="Gas temperature"/>
2994 ! <valid value="TM" note="Solids phase M temperature"/>
2995 ! <valid value="X0NN" note="Gas phase species NN mass fraction"/>
2996 ! <valid value="XMNN" note="Solids phase M species NN mass fraction"/>
2997 ! <valid value="K0" note="K-Epsilon model residuals"/>
2999 
3000 
3001 
3002 ! <description>Display residuals by equation. </description>
3003  group_resid = .false.
3004 
3005 
3006 
3007 
3008 ! <description>
3009 ! Provide detailed logging of negative density errors.
3010 ! </description>
3011 ! <valid value=".FALSE." note="Do not log negative density errors."/>
3012 ! <valid value=".TRUE." note="Log negative density errors."/>
3013  report_neg_density = .false.
3014 
3015 
3016 
3017 ! <description>
3018 ! Provide detailed logging of zero or negative specific heat errors.
3019 ! </description>
3020 ! <valid value=".FALSE." note="Do not log zero or negative specific heat errors."/>
3021 ! <valid value=".TRUE." note="Log zero or negative specific heat errors."/>
3022  report_neg_specificheat = .false.
3023 
3024 
3025 
3026 ! <description>
3027 ! Frequency to perform an overall species mass balance. Leaving
3028 ! undefined suppresses the mass balance calculations which can
3029 ! slightly extend run time.
3030 ! </description>
3032 
3033 
3034 
3035 ! <description>
3036 ! Output the variable specularity coefficient when BC_JJ_M is
3037 ! .TRUE.. The specularity coefficient will be stored in ReactionRates
3038 ! array for post-processing by post-mfix. User needs to set NRR to 1
3039 ! for this purpose. Be careful with this setting when reacting flow
3040 ! is simulated.
3041 ! </description>
3042  phip_out_jj=.false.
3043 
3044 
3045 
3046 ! <description>
3047 ! Use distributed IO :: Each MPI process generates RES/SPx files.
3048 ! </description>
3049  bdist_io = .false.
3050 
3051 
3052 
3053 ! <description>
3054 ! Restart a serial IO run (only one RES file was created) with
3055 ! distributed IO.
3056 ! </description>
3057 ! <dependent keyword="RUN_TYPE" value="RESTART_2"/>
3058 ! <dependent keyword="bDist_IO" value=".TRUE."/>
3059  bstart_with_one_res = .false.
3060 
3061 
3062 
3063 ! <description>
3064 ! Flag to write variable in NetCDF output file. NetCDF support is not
3065 ! included in MFIX by default. The executable must be compiled and
3066 ! linked with an appropriate NetCDF library to use this functionality.
3067 !
3068 ! Variable Index List:
3069 ! 1: void fraction (EP_G)
3070 ! 2: Gas pressure (P_G)
3071 ! 3: Solids pressure (P_star)
3072 ! 4: Gas velocity (U_G, V_G, W_G)
3073 ! 5: Solids velocity (U_S, V_S, W_S)
3074 ! 6: Solids bulk density (ROP_s)
3075 ! 7: Gas temperature (T_G)
3076 ! 8: Gas and solids temperature (T_S)
3077 ! 9: Gas mass fractions (X_G)
3078 ! 10: Solids mass fractions (X_S)
3079 ! 11: Granular temperature (THETA_M)
3080 ! 12: User defined scalars. (SCALAR)
3081 ! 13: Reaction Rates (ReactionRates)
3082 ! 14: Turbulence quantities (K_TURB_G, E_TURB_G)
3083 ! </description>
3084 ! <arg index="1" id="NetCDF Variable Reference" max="20" min="1"/>
3085 ! <valid value=".TRUE." note="Write variable in NetCDF output."/>
3086 ! <valid value=".FALSE." note="Do not include variable in NetCDF output."/>
3087  bwrite_netcdf(:20) = .false.
3088 
3089 
3090 
3091 !#####################################################################!
3092 ! UDF Control !
3093 !#####################################################################!
3094 
3095 
3096 ! <description>
3097 ! Flag to enable user-defined subroutines: USR0, USR1, USR2, USR3,
3098 ! USR0_DES, USR1_DES, USR2_DES, USR3_DES, USR4_DES.
3099 ! </description>
3100 ! <valid value=".TRUE." note="Call user-defined subroutines."/>
3101 ! <valid value=".FALSE." note="Do NOT call user-defined subroutines."/>
3102  call_usr = .false.
3103 
3104 
3105 
3106 ! <description>
3107 ! Flag to enable user_defined subroutine, usr_source, for
3108 ! calculating source terms in the indicated equation.
3109 ! </description>
3110 ! <arg index="1" id="Equation ID Number" min="1" max="DIM_EQS"/>
3111 ! <valid value=".TRUE." note="Call user-defined source."/>
3112 ! <valid value=".FALSE." note="MFIX default: No additional source."/>
3113  call_usr_source(:) = .false.
3114 
3115 
3116 
3117 ! <description>
3118 ! Flag to use the User Defined Function, USR_PROP_ROg,
3119 ! in model/usr_prop.f for calculating the gas phase
3120 ! density, RO_g.
3121 ! </description>
3122 ! <valid value=".TRUE." note="Call user-defined function."/>
3123 ! <valid value=".FALSE." note="Use MFIX default calculation."/>
3124  usr_rog = .false.
3125 
3126 
3127 
3128 ! <description>
3129 ! Flag to use the User Defined Function, USR_PROP_CPg,
3130 ! in model/usr_prop.f for calculating the gas phase
3131 ! constant pressure specific heat, C_pg.
3132 ! </description>
3133 ! <valid value=".TRUE." note="Call user-defined function."/>
3134 ! <valid value=".FALSE." note="Use MFIX default calculation."/>
3135  usr_cpg = .false.
3136 
3137 
3138 
3139 ! <description>
3140 ! Flag to use the User Defined Function, USR_PROP_Kg,
3141 ! in model/usr_prop.f for calculating the gas phase
3142 ! conductivity, K_g.
3143 ! </description>
3144 ! <valid value=".TRUE." note="Call user-defined function."/>
3145 ! <valid value=".FALSE." note="Use MFIX default calculation."/>
3146  usr_kg = .false.
3147 
3148 
3149 
3150 ! <description>
3151 ! Flag to use the User Defined Function, USR_PROP_Difg,
3152 ! in model/usr_prop.f for calculating the gas phase
3153 ! diffusivity, Dif_g.
3154 ! </description>
3155 ! <valid value=".TRUE." note="Call user-defined function."/>
3156 ! <valid value=".FALSE." note="Use MFIX default calculation."/>
3157  usr_difg = .false.
3158 
3159 
3160 
3161 ! <description>
3162 ! Flag to use the User Defined Function, USR_PROP_Mug,
3163 ! in model/usr_prop.f for calculating the gas phase
3164 ! viscosity, Mu_g.
3165 ! </description>
3166 ! <valid value=".TRUE." note="Call user-defined function."/>
3167 ! <valid value=".FALSE." note="Use MFIX default calculation."/>
3168  usr_mug = .false.
3169 
3170 
3171 
3172 ! <description>
3173 ! Flag to use the User Defined Function, USR_PROP_ROs,
3174 ! in model/usr_prop.f for calculating the solids phase
3175 ! density, RO_s.
3176 ! </description>
3177 ! <valid value=".TRUE." note="Call user-defined function."/>
3178 ! <valid value=".FALSE." note="Use MFIX default calculation."/>
3179 ! <arg index="1" id="Phase" min="1" max="DIM_M"/>
3180  usr_ros(:dim_m) = .false.
3181 
3182 
3183 
3184 ! <description>
3185 ! Flag to use the User Defined Function, USR_PROP_CPs,
3186 ! in model/usr_prop.f for calculating the solids phase
3187 ! constant pressure specific heat, C_ps.
3188 ! </description>
3189 ! <valid value=".TRUE." note="Call user-defined function."/>
3190 ! <valid value=".FALSE." note="Use MFIX default calculation."/>
3191 ! <arg index="1" id="Phase" min="1" max="DIM_M"/>
3192  usr_cps(:dim_m) = .false.
3193 
3194 
3195 
3196 ! <description>
3197 ! Flag to use the User Defined Function, USR_PROP_Ks,
3198 ! in model/usr_prop.f for calculating the solids phase
3199 ! conductivity, K_s.
3200 ! </description>
3201 ! <valid value=".TRUE." note="Call user-defined function."/>
3202 ! <valid value=".FALSE." note="Use MFIX default calculation."/>
3203 ! <arg index="1" id="Phase" min="1" max="DIM_M"/>
3204  usr_ks(:dim_m) = .false.
3205 
3206 
3207 ! <description>
3208 ! Flag to use the User Defined Function, USR_PROP_Difs,
3209 ! in model/usr_prop.f for calculating the solids phase
3210 ! diffusivity, Dif_s.
3211 ! </description>
3212 ! <valid value=".TRUE." note="Call user-defined function."/>
3213 ! <valid value=".FALSE." note="Use MFIX default calculation."/>
3214 ! <arg index="1" id="Phase" min="1" max="DIM_M"/>
3215  usr_difs(:dim_m) = .false.
3216 
3217 
3218 ! <description>
3219 ! Flag to use the User Defined Function, USR_PROP_Mus,
3220 ! in model/usr_prop.f for calculating the solids phase
3221 ! viscosity, Mu_s; second viscosity, lambda_s; and pressure,
3222 ! P_s.
3223 ! </description>
3224 ! <valid value=".TRUE." note="Call user-defined function."/>
3225 ! <valid value=".FALSE." note="Use MFIX default calculation."/>
3226 ! <arg index="1" id="Phase" min="1" max="DIM_M"/>
3227  usr_mus(:dim_m) = .false.
3228 
3229 
3230 ! <description>
3231 ! Flag to use the User Defined Function, USR_PROP_Gama,
3232 ! in model/usr_prop.f for calculating the gas-solids phase
3233 ! heat transfer coefficient, Gama_gs.
3234 ! </description>
3235 ! <valid value=".TRUE." note="Call user-defined function."/>
3236 ! <valid value=".FALSE." note="Use MFIX default calculation."/>
3237 ! <arg index="1" id="Phase" min="1" max="DIM_M"/>
3238  usr_gama(:dim_m) = .false.
3239 
3240 
3241 ! <description>
3242 ! Flag to use the User Defined Function, USR_PROP_Fgs, in
3243 ! model/usr_prop.f for calculating the gas-solids phase drag
3244 ! coefficient due to relative velocity differences, F_gs.
3245 ! Currently unavailable.
3246 ! </description>
3247 ! <valid value=".TRUE." note="Call user-defined function."/>
3248 ! <valid value=".FALSE." note="Use MFIX default calculation."/>
3249 ! <arg index="1" id="Phase" min="1" max="DIM_M"/>
3250  usr_fgs(:dim_m) = .false.
3251 
3252 
3253 ! <description>
3254 ! Flag to use the User Defined Function, USR_PROP_Fss, in
3255 ! model/usr_prop.f for calculating the solids-solids phase
3256 ! drag coefficient due to relative velocity differences, F_ss.
3257 ! Currently unavailable.
3258 ! </description>
3259 ! <valid value=".TRUE." note="Call user-defined function."/>
3260 ! <valid value=".FALSE." note="Use MFIX default calculation."/>
3261 ! <arg index="1" id="Phase" min="1" max="DIM_LM"/>
3262  usr_fss( :((dim_m*(dim_m-1)/2)+1) ) = .false.
3263 
3264 
3265 ! <description>User defined constants.</description>
3266  c(:dimension_c) = undefined
3267 
3268 
3269 
3270 ! <description>Name of user-defined constant. (20 character max)</description>
3271  c_name(:dimension_c) = '....................'
3272 
3273 
3274  DO lc=1, dimension_usr
3275 
3276 ! <description>
3277 ! Intervals at which subroutine write_usr1 is called.
3278 ! </description>
3279 ! <arg index="1" id="USR" max="DIMENSION_USR" min="1"/>
3280  usr_dt(lc) = undefined
3281 
3282 
3283 
3284 ! <description>Udf Hook: x coordinate of the west face or edge.</description>
3285 ! <arg index="1" id="USR" max="DIMENSION_USR" min="1"/>
3286  usr_x_w(lc) = undefined
3287 
3288 
3289 
3290 ! <description>Udf Hook: x coordinate of the east face or edge.</description>
3291 ! <arg index="1" id="USR" max="DIMENSION_USR" min="1"/>
3292  usr_x_e(lc) = undefined
3293 
3294 
3295 
3296 ! <description>Udf Hook: y coordinate of the south face or edge.</description>
3297 ! <arg index="1" id="USR" max="DIMENSION_USR" min="1"/>
3298  usr_y_s(lc) = undefined
3299 
3300 
3301 
3302 ! <description>Udf Hook: y coordinate of the north face or edge.</description>
3303 ! <arg index="1" id="USR" max="DIMENSION_USR" min="1"/>
3304  usr_y_n(lc) = undefined
3305 
3306 
3307 
3308 ! <description>Udf Hook: z coordinate of the bottom face or edge.</description>
3309 ! <arg index="1" id="USR" max="DIMENSION_USR" min="1"/>
3310  usr_z_b(lc) = undefined
3311 
3312 
3313 
3314 ! <description>Udf Hook: z coordinate of the top face or edge.</description>
3315 ! <arg index="1" id="USR" max="DIMENSION_USR" min="1"/>
3316  usr_z_t(lc) = undefined
3317 
3318 
3319 
3320 ! <description>Udf Hook: i index of the west-most cell.</description>
3321 ! <arg index="1" id="USR" max="DIMENSION_USR" min="1"/>
3322  usr_i_w(lc) = undefined_i
3323 
3324 
3325 
3326 ! <description>Udf Hook: i index of the east-most cell.</description>
3327 ! <arg index="1" id="USR" max="DIMENSION_USR" min="1"/>
3328  usr_i_e(lc) = undefined_i
3329 
3330 
3331 
3332 ! <description>Udf Hook: j index of the south-most cell.</description>
3333 ! <arg index="1" id="USR" max="DIMENSION_USR" min="1"/>
3334  usr_j_s(lc) = undefined_i
3335 
3336 
3337 
3338 ! <description>Udf Hook: j index of the north-most cell.</description>
3339 ! <arg index="1" id="USR" max="DIMENSION_USR" min="1"/>
3340  usr_j_n(lc) = undefined_i
3341 
3342 
3343 
3344 ! <description>Udf Hook: k index of the bottom-most cell.</description>
3345 ! <arg index="1" id="USR" max="DIMENSION_USR" min="1"/>
3346  usr_k_b(lc) = undefined_i
3347 
3348 
3349 
3350 ! <description>Udf Hook: k index of the top-most cell.</description>
3351 ! <arg index="1" id="USR" max="DIMENSION_USR" min="1"/>
3352  usr_k_t(lc) = undefined_i
3353 
3354 
3355 
3356 ! <description>Udf Hook: Type of user-defined output: Binary of ASCII.</description>
3357 ! <arg index="1" id="USR" max="DIMENSION_USR" min="1"/>
3358  usr_type(lc) = undefined_c
3359 
3360 
3361 
3362 ! <description>Udf Hook:
3363 ! Variables to be written in the user-defined output files.
3364 ! </description>
3365 ! <arg index="1" id="USR" max="DIMENSION_USR" min="1"/>
3366  usr_var(lc) = undefined_c
3367 
3368 
3369 
3370 ! <description>Udf Hook:
3371 ! Format for writing user-defined (ASCII) output file.
3372 ! </description>
3373 ! <arg index="1" id="USR" max="DIMENSION_USR" min="1"/>
3374  usr_format(lc) = undefined_c
3375 
3376 
3377 
3378 ! <description>Udf Hook: File extension for the user-defined output.</description>
3379 ! <arg index="1" id="USR" max="DIMENSION_USR" min="1"/>
3380  usr_ext(lc) = undefined_c
3381 
3382  ENDDO
3383 
3384 
3385 !#####################################################################!
3386 ! Chemical Reactions !
3387 !#####################################################################!
3388 
3389 
3390 
3391 ! <description>Flag to use stiff chemistry solver (Direct Integration).</description>
3392 ! <conflict keyword="USE_RRATES" value=".TRUE."/>
3393  stiff_chemistry = .false.
3394 
3395 
3396 
3397 ! <description>
3398 ! Maximum number of internal steps ODEPACK may use to integrate
3399 ! over the time interval. Leaving this value unspecified permits
3400 ! an unlimited number of steps. The stiff solver reports the
3401 ! number of cells that exceed the number of steps as 'incomplete'.
3402 ! </description>
3403 ! <dependent keyword="STIFF_CHEMISTRY" value=".TRUE."/>
3404 ! <conflict keyword="USE_RRATES" value=".TRUE."/>
3406 
3407 
3408 
3409 ! <description>Flag to use legacy chemical reaction UDFs.</description>
3410  use_rrates = .false.
3411 
3412 
3413 
3414 ! <description>
3415 ! Names of gas and solids phase species as it appears in the
3416 ! materials database. The first NMAX(0) are the names of gas
3417 ! species. The next NMAX(1) are the names of solids phase-1
3418 ! species, etc.
3419 ! </description>
3420 ! <dependent keyword="USE_RRATES" value=".TRUE."/>
3422 
3423 
3424 
3425 ! <description>
3426 ! Number of species in phase m. Note that the gas phase is indicated
3427 ! as m=0.
3428 ! </description>
3429 ! <dependent keyword="USE_RRATES" value=".TRUE."/>
3430  nmax = undefined_i
3431 
3432 
3433 
3434 !#####################################################################!
3435 ! Parallelization Control !
3436 !#####################################################################!
3437 
3438 
3439 
3440 ! <description>Number of grid blocks in x-direction.</description>
3442 
3443 
3444 
3445 ! <description>Number of grid blocks in y-direction.</description>
3447 
3448 
3449 
3450 ! <description>Number of grid blocks in z-direction.</description>
3452 
3453 
3454 
3455 ! <description>Print out additional statistics for parallel runs</description>
3456  solver_statistics = .false.
3457 
3458 
3459 
3460 ! <description>Group residuals to reduce global collectives.</description>
3461  debug_resid = .true.
3462 
3463 
3464 
3465 ! <description>All ranks write error messages.</description>
3466  enable_dmp_log = .false.
3467 
3468 
3469 
3470 ! <description>Print the index layout for debugging.</description>
3471  dbgprn_layout = .false.
3472 
3473 
3474 
3475 !#####################################################################!
3476 ! Batch Queue Environment !
3477 !#####################################################################!
3478 
3479 
3480 
3481 ! <description>
3482 ! Enables controlled termination feature when running under batch
3483 ! queue system to force MFIX to cleanly terminate before the end
3484 ! of wall clock allocated in the batch session.
3485 ! </description>
3486  chk_batchq_end = .false.
3487 
3488 
3489 
3490 ! <description>Total wall-clock duration of the job, in seconds.</description>
3491  batch_wallclock = 9000.0 ! set to 2.5 hrs for jaguarcnl w/ nproc<=512
3492 
3493 
3494 
3495 ! <description>
3496 ! Buffer time specified to allow MFIX to write out the files and
3497 ! cleanly terminate before queue wall clock time limit is reached
3498 ! such that (BATCH_WALLCLOCK-TERM_BUFFER) is less than then batch
3499 ! queue wall clock time limit, in seconds.
3500 ! </description>
3501  term_buffer = 180.0 ! set to 3 minutes prior to end of job
3502 
3503 
3504 
3505 
3506 !#####################################################################!
3507 ! Direct Quadrature Method of Moments (DQMOM) !
3508 !#####################################################################!
3509 
3510 
3511 
3512 ! <description>Variable to decide if the population balance equations are solved.</description>
3513  call_dqmom = .false.
3514 
3515 
3516 
3517 ! <description>Success-factor for aggregation.</description>
3518  aggregation_eff=0.d0
3519 
3520 
3521 
3522 ! <description>Success-factor for breakage.</description>
3523  breakage_eff=0.d0
3524 
3525 
3526 
3527 
3528 
3529 
3530 
3531 
3532 
3533 ! ---------------------------------- questionable namelist entries below
3534 
3535 
3536 
3537 
3538 
3539 
3540 
3541 
3542 
3543 ! <description>Variable which triggers an automatic restart.</description>
3544  automatic_restart = .false.
3545 
3546 
3547 
3548 ! <description>AUTO_RESTART counter.</description>
3549  iter_restart = 1
3550 
3551 
3552 
3553 
3554 ! NO_OF_RXNS is not a keyword. However, it is initialized here so that
3555 ! if there are no reactions, this value is assigned.
3557 
3558 
3559  u_g0 = undefined
3560  v_g0 = undefined
3561  w_g0 = undefined
3562  u_s0(:dim_m) = undefined
3563  v_s0(:dim_m) = undefined
3564  w_s0(:dim_m) = undefined
3565 
3566 
3567  phip_out_iter=0
3568 
3569 
3570 
3571 
3572 
3573  CALL des_init_namelist
3574 
3575  CALL qmomk_init_namelist
3576 
3577  CALL usr_init_namelist
3578 
3580 
3581  RETURN
3582  END SUBROUTINE init_namelist
double precision, dimension(dimension_bc, dim_m) bc_ww_s
Definition: bc_mod.f:328
double precision l_scale0
Definition: constant_mod.f:177
integer, dimension(dimension_bc) bc_k_b
Definition: bc_mod.f:70
double precision, dimension(dimension_ic) ic_p_star
Definition: ic_mod.f:68
integer, dimension(dimension_ps) ps_i_w
Definition: ps_mod.f:40
double precision out_dt
Definition: output_mod.f:23
character(len=16) coordinates
Definition: geometry_mod.f:17
integer, parameter dimension_c
Definition: param_mod.f:57
double precision, dimension(dimension_bc) bc_y_n
Definition: bc_mod.f:42
logical, dimension(0:dim_m) momentum_y_eq
Definition: run_mod.f:77
double precision, dimension(dimension_ic) ic_e_turb_g
Definition: ic_mod.f:132
logical, dimension(dim_m) usr_ros
Definition: usr_prop_mod.f:9
double precision c_e
Definition: constant_mod.f:105
integer, parameter dim_n_g
Definition: param_mod.f:69
double precision, dimension(dim_m) c_ps0
Definition: physprop_mod.f:83
integer, parameter dimension_ic
Definition: param_mod.f:59
integer, dimension(dimension_usr) usr_k_b
Definition: output_mod.f:87
double precision e_w
Definition: constant_mod.f:85
subroutine qmomk_init_namelist
double precision, dimension(dimension_ps) ps_v_g
Definition: ps_mod.f:52
double precision norm_s
Definition: toleranc_mod.f:78
double precision, dimension(dimension_ic) ic_l_scale
Definition: ic_mod.f:71
double precision, dimension(dim_eqs) ur_fac
Definition: ur_facs_mod.f:6
logical dbgprn_layout
Definition: output_mod.f:35
double precision ur_f_gs
Definition: ur_facs_mod.f:17
character(len=60) description
Definition: run_mod.f:27
double precision, dimension(dimension_bc, dim_scalar) bc_scalarw
Definition: bc_mod.f:396
double precision, dimension(dimension_bc) bc_dt_0
Definition: bc_mod.f:221
double precision, dimension(dimension_bc) bc_volflow_g
Definition: bc_mod.f:195
character(len=18), dimension(dim_m, dim_n_s) species_s
Definition: rxns_mod.f:51
double precision, dimension(dimension_bc) bc_uw_g
Definition: bc_mod.f:313
double precision, dimension(dimension_ps) ps_t_g
Definition: ps_mod.f:62
integer, dimension(dimension_ic, dim_m) ic_pic_const_npc
Definition: ic_mod.f:142
double precision, dimension(dimension_ic, dim_m) ic_rop_s
Definition: ic_mod.f:74
double precision, dimension(dimension_ps, dim_m) ps_v_s
Definition: ps_mod.f:70
double precision, dimension(dimension_bc, dim_m) bc_uw_s
Definition: bc_mod.f:322
double precision, dimension(dim_m) d_p0
Definition: physprop_mod.f:25
character(len=16), dimension(dimension_is) is_type
Definition: is_mod.f:70
integer, parameter dim_i
Definition: param_mod.f:77
double precision, dimension(dimension_bc, dim_m, dim_n_s) bc_hw_x_s
Definition: bc_mod.f:365
integer, parameter dimension_is
Definition: param_mod.f:63
integer stiff_chem_max_steps
double precision, dimension(dimension_bc) bc_t_g
Definition: bc_mod.f:97
logical bdist_io
Definition: cdist_mod.f:4
double precision, dimension(dimension_ic) ic_t_g
Definition: ic_mod.f:80
double precision, dimension(dimension_bc, dim_scalar) bc_c_scalar
Definition: bc_mod.f:392
integer, dimension(dimension_ic) ic_j_s
Definition: ic_mod.f:47
double precision dt_fac
Definition: run_mod.f:226
double precision, dimension(dimension_ic, dim_m) ic_theta_m
Definition: ic_mod.f:86
integer icheck_bicgs
Definition: leqsol_mod.f:35
logical shear
Definition: run_mod.f:175
double precision c_pg0
Definition: physprop_mod.f:74
double precision, parameter one
Definition: param1_mod.f:29
integer, dimension(dimension_usr) usr_j_n
Definition: output_mod.f:85
double precision, dimension(dimension_bc) bc_dt_l
Definition: bc_mod.f:236
double precision, dimension(dimension_bc, dim_n_g) bc_c_x_g
Definition: bc_mod.f:374
double precision, dimension(dimension_ic, dim_scalar) ic_scalar
Definition: ic_mod.f:128
double precision gravity_z
Definition: constant_mod.f:149
double precision, dimension(dimension_is) is_x_e
Definition: is_mod.f:25
logical ishii
Definition: run_mod.f:85
double precision phi
Definition: constant_mod.f:117
double precision, dimension(dimension_bc) bc_hw_t_g
Definition: bc_mod.f:332
double precision lam_hys
Definition: run_mod.f:140
logical sigm_blend
Definition: run_mod.f:163
subroutine usr_init_namelist
integer, dimension(dimension_bc) bc_i_w
Definition: bc_mod.f:54
logical added_mass
Definition: run_mod.f:91
integer, dimension(dimension_is) is_i_w
Definition: is_mod.f:45
logical usr_rog
Definition: usr_prop_mod.f:7
double precision, dimension(dim_m) dif_s0
Definition: physprop_mod.f:113
double precision delp_z
Definition: bc_mod.f:278
logical, dimension(0:dim_m) momentum_x_eq
Definition: run_mod.f:74
integer, dimension(dimension_bc) bc_j_n
Definition: bc_mod.f:66
Definition: rxns_mod.f:1
character(len=60) run_name
Definition: run_mod.f:24
logical, dimension(0:dim_m) species_eq
Definition: run_mod.f:115
double precision, dimension(dimension_bc, dim_m) bc_w_s
Definition: bc_mod.f:129
logical enable_dmp_log
Definition: output_mod.f:33
logical subgrid_wall
Definition: run_mod.f:131
double precision segregation_slope_coefficient
Definition: constant_mod.f:67
double precision gravity_y
Definition: constant_mod.f:149
double precision p_scale
Definition: scales_mod.f:13
integer, dimension(dimension_ic) ic_j_n
Definition: ic_mod.f:50
character(len=60), dimension(dimension_usr) usr_format
Definition: output_mod.f:95
logical friction
Definition: run_mod.f:149
double precision, dimension(dimension_bc, dim_m, dim_n_s) bc_x_s
Definition: bc_mod.f:254
double precision delp_x
Definition: bc_mod.f:272
double precision, dimension(dimension_bc, dim_m) bc_tw_s
Definition: bc_mod.f:341
double precision, dimension(dimension_usr) usr_x_e
Definition: output_mod.f:69
integer, parameter dim_scalar
Definition: param_mod.f:85
double precision mu_g0
Definition: physprop_mod.f:62
integer, parameter dim_m
Definition: param_mod.f:67
double precision tol_resid_t
Definition: toleranc_mod.f:57
double precision tol_resid_scalar
Definition: toleranc_mod.f:63
logical, dimension(0:dim_m) momentum_z_eq
Definition: run_mod.f:80
double precision, dimension(0:dim_j) dy
Definition: geometry_mod.f:70
double precision, dimension(dimension_bc) bc_jet_g0
Definition: bc_mod.f:227
double precision dt
Definition: run_mod.f:51
double precision, dimension(dimension_bc) bc_jet_gh
Definition: bc_mod.f:233
logical group_resid
Definition: residual_mod.f:58
double precision v_ex
Definition: constant_mod.f:135
integer, dimension(dimension_ps) ps_j_n
Definition: ps_mod.f:43
logical automatic_restart
Definition: run_mod.f:36
logical usr_mug
Definition: usr_prop_mod.f:13
integer, parameter dimension_bc
Definition: param_mod.f:61
double precision, dimension(dimension_ic) ic_z_b
Definition: ic_mod.f:35
logical cyclic_z
Definition: geometry_mod.f:153
double precision, dimension(dim_m, dim_n_s) x_s0
Definition: physprop_mod.f:32
double precision, dimension(dimension_bc) bc_x_e
Definition: bc_mod.f:34
double precision, dimension(dimension_usr) usr_y_s
Definition: output_mod.f:71
double precision, dimension(dimension_ic) ic_x_w
Definition: ic_mod.f:23
integer, parameter n_spx
Definition: param1_mod.f:5
character(len=3), dimension(dim_m) solids_model
Definition: run_mod.f:253
logical detect_stall
Definition: run_mod.f:240
double precision, dimension(dimension_usr) usr_z_b
Definition: output_mod.f:75
logical full_log
Definition: output_mod.f:31
character(len=4), dimension(dim_eqs) leq_sweep
Definition: leqsol_mod.f:20
subroutine init_namelist
Definition: init_namelist.f:23
double precision mu_gmax
Definition: constant_mod.f:180
double precision, dimension(dimension_ps) ps_y_n
Definition: ps_mod.f:35
double precision, parameter undefined
Definition: param1_mod.f:18
character(len=16), dimension(dimension_ic) ic_type
Definition: ic_mod.f:59
double precision, dimension(dim_m, dim_n_s) ro_xs0
Definition: physprop_mod.f:35
double precision, dimension(dimension_ic, dim_m) ic_gama_rs
Definition: ic_mod.f:122
double precision, dimension(0:dim_k) dz
Definition: geometry_mod.f:72
double precision tol_resid_k_epsilon
Definition: toleranc_mod.f:66
double precision, dimension(dimension_ps) ps_z_b
Definition: ps_mod.f:36
double precision, dimension(dimension_ps) ps_massflow_g
Definition: ps_mod.f:48
logical, dimension(dim_m) close_packed
Definition: physprop_mod.f:56
logical cn_on
Definition: run_mod.f:109
character(len=32), dimension(dim_n_g) species_alias_g
Definition: rxns_mod.f:48
double precision, dimension(dim_m) ep_s_max
Definition: constant_mod.f:38
Definition: is_mod.f:11
double precision, dimension(dim_n_g) mw_g
Definition: physprop_mod.f:124
integer nlog
Definition: output_mod.f:29
logical do_transpose
Definition: leqsol_mod.f:32
double precision, dimension(dimension_ps) ps_w_g
Definition: ps_mod.f:53
double precision, dimension(dimension_bc) bc_v_g
Definition: bc_mod.f:117
double precision, dimension(dimension_bc, dim_m) bc_velmag_s
Definition: bc_mod.f:140
double precision, dimension(n_spx) spx_dt
Definition: output_mod.f:21
double precision, dimension(dimension_ps, dim_m) ps_t_s
Definition: ps_mod.f:80
logical cyclic_z_pd
Definition: geometry_mod.f:159
double precision res_dt
Definition: output_mod.f:15
integer, dimension(dimension_bc, dim_m) bc_pic_mi_const_npc
Definition: bc_mod.f:412
double precision, dimension(dimension_ps) ps_x_e
Definition: ps_mod.f:33
integer, parameter dimension_usr
Definition: param_mod.f:83
double precision term_buffer
Definition: run_mod.f:202
logical bstart_with_one_res
Definition: cdist_mod.f:5
integer phip_out_iter
Definition: run_mod.f:172
double precision report_mass_balance_dt
Definition: output_mod.f:27
integer imax
Definition: geometry_mod.f:47
double precision, dimension(dimension_usr) usr_x_w
Definition: output_mod.f:67
double precision c_f
Definition: constant_mod.f:114
double precision, dimension(dimension_ps) ps_x_w
Definition: ps_mod.f:32
double precision, dimension(dimension_bc) bc_y_s
Definition: bc_mod.f:38
double precision, dimension(dimension_ic) ic_u_g
Definition: ic_mod.f:89
double precision phi_w
Definition: constant_mod.f:120
logical jackson
Definition: run_mod.f:83
logical, dimension(dim_m) usr_difs
Definition: usr_prop_mod.f:18
double precision, dimension(dimension_is) is_x_w
Definition: is_mod.f:21
logical chk_batchq_end
Definition: run_mod.f:190
Definition: ic_mod.f:9
double precision, dimension(dimension_bc, dim_m) bc_volflow_s
Definition: bc_mod.f:198
integer, dimension(dimension_ps) ps_k_b
Definition: ps_mod.f:44
double precision, dimension(dimension_ic) ic_z_t
Definition: ic_mod.f:38
double precision, dimension(dimension_ps, dim_m) ps_u_s
Definition: ps_mod.f:69
double precision, dimension(dimension_ic) ic_k_turb_g
Definition: ic_mod.f:131
double precision dt_max
Definition: run_mod.f:220
logical jenkins
Definition: run_mod.f:166
integer i_cyl_num
Definition: geometry_mod.f:176
double precision, dimension(dimension_bc, dim_m) bc_thetaw_m
Definition: bc_mod.f:355
double precision, dimension(dimension_ic, dim_m) ic_w_s
Definition: ic_mod.f:104
double precision, dimension(dimension_bc, dim_m) bc_c_theta_m
Definition: bc_mod.f:358
logical use_rrates
Definition: rxns_mod.f:21
integer, dimension(dimension_ic) ic_i_w
Definition: ic_mod.f:41
double precision, dimension(dimension_usr) usr_y_n
Definition: output_mod.f:73
integer, dimension(dimension_bc) bc_k_t
Definition: bc_mod.f:74
integer mmax
Definition: physprop_mod.f:19
integer, dimension(dim_eqs) leq_it
Definition: leqsol_mod.f:11
logical usr_difg
Definition: usr_prop_mod.f:15
double precision aggregation_eff
Definition: constant_mod.f:142
logical cyclic_y_pd
Definition: geometry_mod.f:157
double precision, dimension(dimension_bc, dim_m) bc_t_s
Definition: bc_mod.f:101
double precision ro_g0
Definition: physprop_mod.f:59
integer, parameter dim_j
Definition: param_mod.f:79
double precision, dimension(dimension_bc, dim_m, dim_n_s) bc_c_x_s
Definition: bc_mod.f:377
logical bc_jj_m
Definition: run_mod.f:168
subroutine des_init_namelist
logical usr_cpg
Definition: usr_prop_mod.f:8
logical, dimension(20) bwrite_netcdf
Definition: cdist_mod.f:10
integer, dimension(dimension_ic) ic_i_e
Definition: ic_mod.f:44
logical simonin
Definition: run_mod.f:143
double precision, dimension(dimension_ic) ic_v_g
Definition: ic_mod.f:95
integer res_backups
Definition: output_mod.f:19
integer, dimension(dimension_ic) ic_k_b
Definition: ic_mod.f:53
character(len=16), dimension(dimension_usr) usr_ext
Definition: output_mod.f:97
integer, dimension(dimension_bc) bc_j_s
Definition: bc_mod.f:62
integer, dimension(dim_m) inert_species
Definition: physprop_mod.f:39
integer, dimension(dimension_is) is_k_b
Definition: is_mod.f:61
integer m_am
Definition: run_mod.f:94
double precision w_g0
Definition: bc_mod.f:292
character(len=20), dimension(dimension_c) c_name
Definition: constant_mod.f:170
Definition: cdist_mod.f:2
logical chi_scheme
Definition: run_mod.f:71
character(len=6), dimension(dimension_usr) usr_type
Definition: output_mod.f:91
logical cyclic_y
Definition: geometry_mod.f:151
double precision tstop
Definition: run_mod.f:48
double precision, dimension(dimension_is, dim_m) is_vel_s
Definition: is_mod.f:88
character(len=16) run_type
Definition: run_mod.f:33
double precision tol_resid_th
Definition: toleranc_mod.f:69
double precision breakage_eff
Definition: constant_mod.f:143
double precision, dimension(dim_m) v_s0
Definition: bc_mod.f:298
double precision, dimension(dimension_bc) bc_tw_g
Definition: bc_mod.f:338
logical persistent_mode
Definition: run_mod.f:124
integer, dimension(dimension_usr) usr_k_t
Definition: output_mod.f:89
double precision, dimension(dimension_bc, dim_scalar) bc_scalar
Definition: bc_mod.f:384
double precision, dimension(dimension_bc, dim_m, dim_n_s) bc_xw_s
Definition: bc_mod.f:371
double precision, dimension(dimension_usr) usr_z_t
Definition: output_mod.f:77
double precision, dimension(dim_m) k_s0
Definition: physprop_mod.f:95
double precision, dimension(dimension_is) is_z_b
Definition: is_mod.f:37
double precision eps_f_min
Definition: constant_mod.f:100
integer no_of_rxns
Definition: rxns_mod.f:41
double precision, dimension(dimension_ic) ic_y_n
Definition: ic_mod.f:32
double precision, dimension(dimension_bc, dim_m) bc_hw_s
Definition: bc_mod.f:310
double precision filter_size_ratio
Definition: run_mod.f:133
double precision, dimension(dimension_bc) bc_hw_g
Definition: bc_mod.f:307
double precision, dimension(dim_m) dil_inert_x_vsd
Definition: physprop_mod.f:43
double precision phip
Definition: constant_mod.f:79
logical schaeffer
Definition: run_mod.f:157
double precision, dimension(dimension_is, 2) is_pc
Definition: is_mod.f:85
double precision, dimension(dimension_ic, dim_m, dim_n_s) ic_x_s
Definition: ic_mod.f:113
double precision, dimension(dimension_bc) bc_p_g
Definition: bc_mod.f:80
double precision, dimension(dimension_ic) ic_w_g
Definition: ic_mod.f:101
double precision, dimension(0:dim_i) dx
Definition: geometry_mod.f:68
double precision, dimension(dimension_ic) ic_gama_rg
Definition: ic_mod.f:116
double precision tol_diverge
Definition: toleranc_mod.f:72
logical is_serial
Definition: parallel_mod.f:11
double precision, dimension(dimension_ps) ps_y_s
Definition: ps_mod.f:34
integer, dimension(dimension_ps) ps_k_t
Definition: ps_mod.f:45
double precision, dimension(dim_eqs) leq_tol
Definition: leqsol_mod.f:23
double precision xlength
Definition: geometry_mod.f:33
integer savage
Definition: run_mod.f:154
logical call_dqmom
Definition: run_mod.f:127
Definition: run_mod.f:13
double precision k_g0
Definition: physprop_mod.f:89
integer nrr
Definition: rxns_mod.f:10
double precision, dimension(dimension_bc) bc_dt_h
Definition: bc_mod.f:230
logical cyclic_x
Definition: geometry_mod.f:149
double precision, dimension(dimension_bc) bc_velmag_g
Definition: bc_mod.f:136
logical, dimension((dim_m *(dim_m-1)/2)+1) usr_fss
Definition: usr_prop_mod.f:22
double precision, dimension(dimension_ps, dim_n_g) ps_x_g
Definition: ps_mod.f:59
logical yu_standish
Definition: run_mod.f:180
integer, dimension(dimension_ic) ic_k_t
Definition: ic_mod.f:56
double precision, dimension(dimension_bc, dim_n_g) bc_xw_g
Definition: bc_mod.f:368
character(len=16), dimension(dimension_bc) bc_type
Definition: bc_mod.f:145
Definition: param_mod.f:2
double precision, dimension(dimension_usr) usr_dt
Definition: output_mod.f:25
integer kmax
Definition: geometry_mod.f:51
integer, parameter dimension_ps
Definition: param_mod.f:65
logical def_cor
Definition: run_mod.f:103
double precision, dimension(dimension_ic, dim_m) ic_v_s
Definition: ic_mod.f:98
character(len=16) units
Definition: run_mod.f:30
double precision batch_wallclock
Definition: run_mod.f:195
double precision ep_star
Definition: constant_mod.f:29
logical no_k
Definition: geometry_mod.f:28
double precision, dimension(dimension_ic, dim_m) ic_pic_const_statwt
Definition: ic_mod.f:147
double precision, dimension(dimension_bc, dim_m) bc_v_s
Definition: bc_mod.f:121
integer nmax_g
Definition: physprop_mod.f:120
double precision, dimension(dimension_bc) bc_massflow_g
Definition: bc_mod.f:201
double precision, dimension(dimension_bc) bc_c_t_g
Definition: bc_mod.f:344
logical blending_stress
Definition: run_mod.f:161
integer, dimension(0:dim_m) nmax
Definition: physprop_mod.f:119
logical ahmadi
Definition: run_mod.f:146
double precision, dimension(dimension_bc) bc_z_b
Definition: bc_mod.f:46
integer, dimension(dimension_usr) usr_i_e
Definition: output_mod.f:81
double precision u_g0
Definition: bc_mod.f:286
integer, dimension(dimension_is) is_j_s
Definition: is_mod.f:53
double precision, dimension(dimension_bc, dim_m) bc_massflow_s
Definition: bc_mod.f:204
double precision, dimension(dimension_ic) ic_p_g
Definition: ic_mod.f:65
logical k_epsilon
Definition: run_mod.f:97
double precision, dimension(dimension_bc, dim_m) bc_pic_mi_const_statwt
Definition: bc_mod.f:417
logical cyclic_x_pd
Definition: geometry_mod.f:155
double precision, dimension(dimension_bc) bc_rop_g
Definition: bc_mod.f:88
double precision, dimension(dimension_bc) bc_u_g
Definition: bc_mod.f:109
logical use_doloop
Definition: parallel_mod.f:10
double precision gravity
Definition: constant_mod.f:149
character(len=4), dimension(max_resid_index) resid_string
Definition: residual_mod.f:62
double precision mw_avg
Definition: physprop_mod.f:71
double precision, dimension(dimension_bc) bc_vw_g
Definition: bc_mod.f:316
integer nodesj
Definition: compar_mod.f:37
logical energy_eq
Definition: run_mod.f:100
logical fedors_landel
Definition: run_mod.f:183
double precision tol_resid
Definition: toleranc_mod.f:54
double precision, dimension(dimension_bc, dim_m) bc_c_t_s
Definition: bc_mod.f:347
double precision, dimension(dimension_ic) ic_x_e
Definition: ic_mod.f:26
double precision, dimension(dimension_is) is_z_t
Definition: is_mod.f:41
double precision drag_d1
Definition: constant_mod.f:139
double precision, dimension(dim_m, dim_n_s) mw_s
Definition: physprop_mod.f:127
integer, parameter undefined_i
Definition: param1_mod.f:19
double precision, dimension(dimension_ps, dim_m) ps_massflow_s
Definition: ps_mod.f:66
logical, dimension(dim_m) usr_ks
Definition: usr_prop_mod.f:17
double precision tol_resid_x
Definition: toleranc_mod.f:60
double precision, dimension(dimension_bc, dim_m) bc_u_s
Definition: bc_mod.f:113
Definition: iterate.f:2
double precision p_ref
Definition: scales_mod.f:10
logical phip_out_jj
Definition: run_mod.f:170
double precision, dimension(dimension_bc) bc_e_turb_g
Definition: bc_mod.f:404
integer nodesk
Definition: compar_mod.f:37
integer, parameter dim_n_s
Definition: param_mod.f:71
integer nscalar
Definition: scalars_mod.f:7
double precision, dimension(dimension_ic, dim_m) ic_u_s
Definition: ic_mod.f:92
double precision, dimension(dim_m) u_s0
Definition: bc_mod.f:295
double precision, dimension(dimension_ps) ps_z_t
Definition: ps_mod.f:37
double precision xmin
Definition: geometry_mod.f:75
logical, dimension(dim_m) usr_mus
Definition: usr_prop_mod.f:16
double precision, dimension(dimension_bc, dim_m) bc_hw_theta_m
Definition: bc_mod.f:352
logical, dimension(dimension_ic) ic_des_fit_to_region
Definition: ic_mod.f:137
double precision delp_y
Definition: bc_mod.f:275
double precision, dimension(dimension_ps, dim_m) ps_w_s
Definition: ps_mod.f:71
integer jmax
Definition: geometry_mod.f:49
double precision, dimension(dim_m) w_s0
Definition: bc_mod.f:301
double precision, dimension(dimension_bc, dim_m) bc_theta_m
Definition: bc_mod.f:105
double precision, dimension(dimension_bc, dim_n_g) bc_x_g
Definition: bc_mod.f:251
double precision flux_g
Definition: bc_mod.f:283
integer max_nit
Definition: iterate.f:15
double precision, dimension(dimension_bc) bc_ep_g
Definition: bc_mod.f:77
integer, dimension(dim_eqs) discretize
Definition: run_mod.f:67
double precision res_backup_dt
Definition: output_mod.f:17
double precision, dimension(dimension_is) is_y_s
Definition: is_mod.f:29
double precision, dimension(dimension_ic, dim_n_g) ic_x_g
Definition: ic_mod.f:110
double precision, dimension(dimension_bc) bc_z_t
Definition: bc_mod.f:50
double precision, dimension(dimension_bc) bc_k_turb_g
Definition: bc_mod.f:403
double precision, dimension(dimension_c) c
Definition: constant_mod.f:167
integer nodesi
Definition: compar_mod.f:37
logical, dimension(dimension_bc) bc_po_apply_to_des
Definition: bc_mod.f:192
double precision, dimension(dimension_ps, dim_m, dim_n_s) ps_x_s
Definition: ps_mod.f:77
double precision dt_min
Definition: run_mod.f:223
double precision, dimension(dimension_ic) ic_ep_g
Definition: ic_mod.f:62
double precision c_fac
Definition: run_mod.f:237
Definition: ps_mod.f:22
double precision, dimension(dimension_is) is_y_n
Definition: is_mod.f:33
integer, dimension(dim_eqs) leq_method
Definition: leqsol_mod.f:14
logical model_b
Definition: run_mod.f:88
logical tanh_blend
Definition: run_mod.f:162
double precision, dimension(dim_m) ro_s0
Definition: physprop_mod.f:28
integer, dimension(dimension_bc) bc_jj_ps
Definition: bc_mod.f:212
double precision, dimension(dim_m) mu_s0
Definition: physprop_mod.f:53
integer, parameter dim_n_all
Definition: param_mod.f:75
double precision, dimension(dimension_bc) bc_jet_gl
Definition: bc_mod.f:239
double precision ylength
Definition: geometry_mod.f:35
double precision gravity_x
Definition: constant_mod.f:149
character(len=18), dimension(dim_n_g) species_g
Definition: rxns_mod.f:47
double precision, dimension(dim_m, dim_m) r_p
Definition: constant_mod.f:111
integer, dimension(dimension_is) is_j_n
Definition: is_mod.f:57
logical, dimension(dim_m) usr_fgs
Definition: usr_prop_mod.f:21
logical, dimension(dim_eqs) call_usr_source
Definition: usr_src_mod.f:7
integer, dimension(dimension_usr) usr_i_w
Definition: output_mod.f:79
logical report_neg_density
Definition: output_mod.f:37
integer, dimension(1:dim_scalar) phase4scalar
Definition: scalars_mod.f:10
double precision max_inlet_vel_fac
Definition: toleranc_mod.f:43
logical auto_restart
Definition: run_mod.f:205
double precision phip0
Definition: constant_mod.f:81
integer, parameter dim_k
Definition: param_mod.f:81
double precision, dimension(dimension_ps) ps_u_g
Definition: ps_mod.f:51
integer, dimension(dimension_ps) ps_j_s
Definition: ps_mod.f:42
double precision time
Definition: run_mod.f:45
character(len=18), dimension(dim_n_all) species_name
Definition: rxns_mod.f:44
integer i_cyl_transition
Definition: geometry_mod.f:179
character(len=32), dimension(dim_m, dim_n_s) species_alias_s
Definition: rxns_mod.f:52
double precision dif_g0
Definition: physprop_mod.f:107
integer, dimension(dimension_is) is_i_e
Definition: is_mod.f:49
double precision drag_c1
Definition: constant_mod.f:139
logical granular_energy
Definition: run_mod.f:112
double precision, dimension(dimension_bc) bc_w_g
Definition: bc_mod.f:125
character(len=60), dimension(dimension_usr) usr_var
Definition: output_mod.f:93
double precision, dimension(dimension_ic) ic_y_s
Definition: ic_mod.f:29
logical cylindrical_2d
Definition: geometry_mod.f:173
logical usr_kg
Definition: usr_prop_mod.f:14
double precision, dimension(dimension_bc, dim_m) bc_vw_s
Definition: bc_mod.f:325
integer, dimension(dim_m) nmax_s
Definition: physprop_mod.f:121
double precision, dimension(dimension_bc) bc_ww_g
Definition: bc_mod.f:319
double precision, dimension(dimension_ic) ic_t_rg
Definition: ic_mod.f:119
double precision v_g0
Definition: bc_mod.f:289
logical stiff_chemistry
integer, dimension(dimension_ps) ps_i_e
Definition: ps_mod.f:41
double precision, dimension(dimension_bc, dim_m) bc_hw_t_s
Definition: bc_mod.f:335
double precision, dimension(dimension_bc, dim_m) bc_ep_s
Definition: bc_mod.f:93
logical solver_statistics
Definition: leqsol_mod.f:41
integer, dimension(dimension_usr) usr_j_s
Definition: output_mod.f:83
logical fpfoi
Definition: run_mod.f:106
double precision, dimension(dimension_ic, dim_m) ic_t_s
Definition: ic_mod.f:83
double precision norm_g
Definition: toleranc_mod.f:75
double precision, dimension(dimension_ic, dim_m) ic_ep_s
Definition: ic_mod.f:77
integer iter_restart
Definition: run_mod.f:39
double precision, dimension(dimension_bc, dim_scalar) bc_hw_scalar
Definition: bc_mod.f:388
logical opt_parallel
Definition: leqsol_mod.f:38
integer, dimension(dimension_bc) bc_i_e
Definition: bc_mod.f:58
double precision, dimension(dimension_bc, dim_n_g) bc_hw_x_g
Definition: bc_mod.f:362
double precision, parameter zero
Definition: param1_mod.f:27
double precision zlength
Definition: geometry_mod.f:37
logical, dimension(dim_m) usr_cps
Definition: usr_prop_mod.f:10
double precision, dimension(dimension_bc, dim_m) bc_rop_s
Definition: bc_mod.f:92
Definition: bc_mod.f:23
double precision v_sh
Definition: run_mod.f:177
double precision, dimension(dimension_bc) bc_x_w
Definition: bc_mod.f:30
character, parameter undefined_c
Definition: param1_mod.f:20
logical call_usr
Definition: run_mod.f:121
logical debug_resid
Definition: run_mod.f:244
double precision ur_kth_sml
Definition: ur_facs_mod.f:21
integer, dimension(dimension_is) is_k_t
Definition: is_mod.f:65
character(len=4), dimension(dim_eqs) leq_pc
Definition: leqsol_mod.f:26
double precision dil_factor_vsd
Definition: physprop_mod.f:47
logical report_neg_specificheat
Definition: output_mod.f:39
logical, dimension(dim_m) usr_gama
Definition: usr_prop_mod.f:24
double precision, dimension(dimension_ic, dim_m) ic_t_rs
Definition: ic_mod.f:125