MFIX  2016-1
transport_prop.f
Go to the documentation of this file.
1 !vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvC
2 ! C
3 ! SUBROUTINE: TRANSPORT_PROP C
4 ! Purpose: Calculate the indicated transport properties that vary C
5 ! with time if directed to do so by the corresponding flag C
6 ! C
7 ! Author: M. Syamlal Date: 17-JUL-92 C
8 ! Reviewer: P. Nicoletti Date: 11-DEC-92 C
9 ! C
10 ! Revision Number: 1 C
11 ! Purpose: Mods for MFIX 2.0 (old name CALC_PHYSPROP) C
12 ! Author: M. Syamlal Date: 23-APR-96 C
13 ! Reviewer: Date: dd-mmm-yy C
14 ! C
15 ! Literature/Document References: C
16 ! C
17 ! Variables referenced: None C
18 ! Variables modified: None C
19 ! Local variables: None C
20 ! C
21 !^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^C
22  SUBROUTINE transport_prop()
23 
24 ! Global Variables:
25 !----------------------------------------------------------------------
26 ! Number of solids phases.
27  use physprop, only: mmax
28 ! Flags for calculating viscosity.
29  use coeff, only: visc
30 ! Flags for calculating conductivity.
31  use coeff, only: cond
32 ! Flags for calculating diffusivity.
33  use coeff, only: diff
34 ! Flags for calculating particle-particle energy dissipation.
35  use coeff, only: gran_diss
36 ! Kinetic theory model.
37  use run, only: kt_type_enum
38  use run, only: ia_2005, gd_1999, gtsh_2012
42 
43  implicit none
44 
45 ! Local variables
46 !-----------------------------------------------------------------------
47 ! Loop counter
48  INTEGER :: M ! Solids phase
49 
50 
51  IF (visc(0)) CALL calc_mu_g() ! Fluid viscosity
52  IF (cond(0)) CALL calc_k_g() ! Fluid conductivity
53  IF (diff(0)) CALL calc_dif_g() ! Fluid diffusivity
54 
55  DO m = 1, mmax
56 ! Particle-Particle Energy Dissipation
57 ! for gtsh theory this call needs to be done before calc_mu_s so that
58 ! the cooling rate is available for mu_s
59  IF (gran_diss(m)) THEN
60  SELECT CASE (kt_type_enum)
61  CASE (ia_2005)
62  CALL calc_ia_energy_dissipation_ss(m)
63  CASE(gd_1999)
64  CALL calc_gd_99_energy_dissipation_ss(m)
65  CASE(gtsh_2012)
67  END SELECT
68  ENDIF
69 ! these were moved after gran_diss since some quantities above are
70 ! needed in the subsequent gtsh calculations performed via calc_mu_s
71  IF (cond(m)) CALL calc_k_s (m) ! Solids conductivity
72  IF (visc(m)) CALL calc_mu_s (m) ! Solids viscosity
73  IF (diff(m)) CALL calc_dif_s (m) ! Solids diffusivity
74  ENDDO
75 
76  RETURN
77  END SUBROUTINE transport_prop
subroutine calc_mu_g()
Definition: calc_mu_g.f:13
subroutine transport_prop()
subroutine calc_k_s(M)
Definition: calc_k_s.f:13
subroutine calc_dif_g()
Definition: calc_dif_g.f:13
subroutine calc_gtsh_energy_dissipation_ss(M)
subroutine calc_mu_s(M)
Definition: calc_mu_s.f:12
logical, dimension(:), allocatable cond
Definition: coeff_mod.f:21
logical, dimension(:), allocatable diff
Definition: coeff_mod.f:22
subroutine calc_gd_99_energy_dissipation_ss(M)
logical, dimension(:), allocatable gran_diss
Definition: coeff_mod.f:23
integer mmax
Definition: physprop_mod.f:19
Definition: run_mod.f:13
subroutine calc_k_g()
Definition: calc_k_g.f:13
Definition: coeff_mod.f:9
logical, dimension(:), allocatable visc
Definition: coeff_mod.f:20
subroutine calc_ia_energy_dissipation_ss(M)
subroutine calc_dif_s(M)
Definition: calc_dif_s.f:13