PLUME-MoM-TSM  1.0
VolcanicPlumeModel
plume.f90
Go to the documentation of this file.
1 !********************************************************************************
3 !
10 !********************************************************************************
12  !
13 
14  USE variables, ONLY : wp
15 
16  IMPLICIT NONE
17  !
18  REAL(wp) :: s
19  REAL(wp) :: x
20  REAL(wp) :: y
21  REAL(wp) :: z
22  REAL(wp) :: r
23  REAL(wp) :: u
24  REAL(wp) :: v
25  REAL(wp) :: w
26  REAL(wp) :: mag_u
27  REAL(wp) :: phi
28  REAL(wp) :: rp
29  REAL(wp) :: alpha_inp
30  REAL(wp) :: beta_inp
31  REAL(wp) :: prob_factor
32  LOGICAL :: particles_loss
33 
34  !
35  REAL(wp) :: vent_height
36  REAL(wp) :: w0
37  REAL(wp) :: r0
38  REAL(wp) :: log10_mfr
39  !
40  SAVE
41 
42 CONTAINS
43 
44  !******************************************************************************
46  !
53  !******************************************************************************
54 
55  SUBROUTINE initialize_plume
56 
57  IMPLICIT NONE
58 
59  x = 0.0_wp
60  y = 0.0_wp
61  z = vent_height
62  s = 0.0_wp
63  r = r0
64  u = 1.0e-5_wp
65  v = 1.0e-5_wp
66  w = w0
67 
68  mag_u = sqrt(u*u+v*v+w*w)
69  phi = atan(w/u)
70 
71 
72 
73  RETURN
74 
75  END SUBROUTINE initialize_plume
76 
77 END MODULE plume_module
78 
real(wp) u
plume x-horizontal velocity
Definition: plume.f90:23
real(wp) w0
initial vertical velocity of the plume
Definition: plume.f90:36
real(wp) v
plume y-horizontal velocity
Definition: plume.f90:24
real(wp) x
plume location (downwind)
Definition: plume.f90:19
real(wp) beta_inp
entrainment coefficient (normal direction)
Definition: plume.f90:30
real(wp) alpha_inp
entrainment coefficient (parallel direction)
Definition: plume.f90:29
real(wp) prob_factor
particle loss factor
Definition: plume.f90:31
real(wp) y
plume location (crosswind)
Definition: plume.f90:20
real(wp) r0
initial radius of the plume
Definition: plume.f90:37
subroutine initialize_plume
Plume variables initialization.
Definition: plume.f90:56
real(wp) rp
radiation coefficient (kg/m**2/deg. k**3/s)
Definition: plume.f90:28
real(wp) s
length along plume centerline
Definition: plume.f90:18
Plume module.
Definition: plume.f90:11
real(wp) phi
angle between the plume trajectory and ground
Definition: plume.f90:27
logical particles_loss
logical defining if we loose particles
Definition: plume.f90:32
real(wp) mag_u
velocity magnitude along the centerline
Definition: plume.f90:26
real(wp) vent_height
height of the base of the plume
Definition: plume.f90:35
real(wp) z
plume vertical coordinate
Definition: plume.f90:21
integer, parameter wp
working precision
Definition: variables.f90:21
real(wp) r
plume radius
Definition: plume.f90:22
real(wp) log10_mfr
Definition: plume.f90:38
Global variables.
Definition: variables.f90:10
real(wp) w
plume vertical velocity
Definition: plume.f90:25