PLUME-MoM-TSM  1.0
VolcanicPlumeModel
Functions/Subroutines | Variables
mixture_module Module Reference

Gas/particles mixture module. More...

Functions/Subroutines

subroutine initialize_mixture
 Mixture properties initialization. More...
 
subroutine eval_temp (enth, pa, cpsolid)
 Mixture temperature. More...
 
subroutine eval_temp_wv_lw (enth, pres, cpsolid)
 Mixture temperature with vapour and liquid water. More...
 
subroutine eval_temp_wv_lw_ice (enth, pres, cpsolid)
 
subroutine eval_temp_wv_ice (enth, pres, cpsolid)
 
subroutine eval_temp_no_water (enth, pres, cpsolid)
 

Variables

real(wp) gas_mass_fraction
 gas mass fraction in the mixture More...
 
real(wp) gas_volume_fraction
 gas vlume fraction in the mixture More...
 
real(wp) rho_gas
 gas phase density More...
 
real(wp) rgasmix
 universal constant for the mixture More...
 
real(wp) rho_mix
 mixture density More...
 
logical initial_neutral_density
 logical defining if the plume has neutral density at the base More...
 
real(wp) t_mix
 mixture temperature More...
 
real(wp) exit_status
 exit_status More...
 
real(wp) water_volume_fraction
 water volume fraction in the mixture More...
 
real(wp) solid_tot_volume_fraction
 solid volume fraction in the mixture More...
 
real(wp) t_mix0
 initial temperature More...
 
real(wp) water_volume_fraction0
 initial water volume fraction More...
 
real(wp) water_mass_fraction0
 initial water mass fraction More...
 
real(wp) solid_tot_mass_fraction
 solid mass fraction in the mixture More...
 
real(wp) mass_flow_rate
 
integer n_gas
 volcanic gas species number More...
 
real(wp), dimension(:), allocatable rhovolcgas
 volcanic gases densities More...
 
real(wp), dimension(:), allocatable rvolcgas
 gas constants for volcanic gases More...
 
real(wp), dimension(:), allocatable cpvolcgas
 specific heat capacity for volcanic gases More...
 
real(wp), dimension(:), allocatable volcgas_mol_wt
 molecular weight of additional volcanic gases More...
 
real(wp), dimension(:), allocatable volcgas_mass_fraction0
 initial mass fractions of volcanic gases More...
 
real(wp), dimension(:), allocatable volcgas_mass_fraction
 mass fractions of volcanic gases More...
 
real(wp) rhovolcgas_mix
 volcanic gases mixture density More...
 
real(wp) rvolcgas_mix
 gas constant of volcanic gases mixture ( J/(kg K) ) More...
 
real(wp) cpvolcgas_mix
 specific heat of volcanic gases mixture More...
 
real(wp) atm_mass_fraction
 mass fraction of the entrained air in the mixture More...
 
real(wp) volcgas_mix_mass_fraction
 mass fraction of the volcanic gas in the mixture More...
 
real(wp) dry_air_mass_fraction
 mass fraction of dry air in the mixture More...
 
real(wp) water_mass_fraction
 mass fraction of water in the mixture More...
 
real(wp) liquid_water_mass_fraction
 mass fraction of liquid water in the mixture More...
 
real(wp) liquid_water_volume_fraction
 mass fraction of liquid water in the mixture More...
 
real(wp) water_vapor_mass_fraction
 mass fraction of water vapor in the mixture More...
 
real(wp) water_vapor_volume_fraction
 mass fraction of water vapor in the mixture More...
 
real(wp) ice_mass_fraction
 mass fraction of ice in the mixture More...
 
real(wp) ice_volume_fraction
 mass fraction of ice in the mixture More...
 
real(wp) volcgas_mix_mol_fract
 
real(wp) volcgas_mix_mol_wt
 
real(wp) mixture_enthalpy
 
real(wp) rho_lw
 Density of liquid water in the mixture. More...
 
real(wp) rho_ice
 Density of ice in the mixture. More...
 
real(wp) added_water_temp
 
real(wp) added_water_mass_fraction
 

Detailed Description

Gas/particles mixture module.

This module contains all the variables and the procedures related to the gas-particles mixture.

Date
28/10/2013
Author
Mattia de' Michieli Vitturi

Function/Subroutine Documentation

subroutine mixture_module::eval_temp ( real(wp), intent(in)  enth,
real(wp), intent(in)  pa,
real(wp), intent(in)  cpsolid 
)

Mixture temperature.

This function evaluates the mixture temperature from the mixture enthalpy. In addition, the partitioning of water in vapour, liquid and ice is computed according to equilibrium conditions.

Parameters
[in]enthmixture enthalpy
[in]paatmospheric pressure
[in]cpsolidsolid particles specific heat
Date
21/05/2018
Authors
Federica Pardini, Mattia de' Michieli Vitturi
Parameters
[in]enthmixture enthalpy
[in]papressure in Pa

Definition at line 560 of file mixture.f90.

Here is the call graph for this function:

Here is the caller graph for this function:

subroutine mixture_module::eval_temp_no_water ( real(wp), intent(in)  enth,
real(wp), intent(in)  pres,
real(wp), intent(in)  cpsolid 
)
Parameters
[in]enthmixture enthalpy
[in]prespressure in Pa

Definition at line 1577 of file mixture.f90.

Here is the caller graph for this function:

subroutine mixture_module::eval_temp_wv_ice ( real(wp), intent(in)  enth,
real(wp), intent(in)  pres,
real(wp), intent(in)  cpsolid 
)
Parameters
[in]enthmixture enthalpy
[in]prespressure in Pa

water vapor molar fraction

dry air molar fraction

saturation pressure of vapour over liquid (hPa)

saturation pressure of vapour over ice (hPa)

Definition at line 1223 of file mixture.f90.

Here is the caller graph for this function:

subroutine mixture_module::eval_temp_wv_lw ( real(wp), intent(in)  enth,
real(wp), intent(in)  pres,
real(wp), intent(in)  cpsolid 
)

Mixture temperature with vapour and liquid water.

This function evaluates the mixture temperature from the mixture enthalpy, when water is present only as vapour and liquid (no ice). In addition, the partitioning of water in vapour and liquid is computed according to equilibrium conditions.

Parameters
[in]enthmixture enthalpy
[in]paatmospheric pressure
[in]cpsolidsolid particles specific heat
Date
21/05/2018
Authors
Federica Pardini, Mattia de' Michieli Vitturi
Parameters
[in]enthmixture enthalpy
[in]prespressure in Pa

water vapor molar fraction

dry air molar fraction

saturation pressure of vapour over liquid (hPa)

saturation pressure of vapour over ice (hPa)

Definition at line 644 of file mixture.f90.

Here is the caller graph for this function:

subroutine mixture_module::eval_temp_wv_lw_ice ( real(wp), intent(in)  enth,
real(wp), intent(in)  pres,
real(wp), intent(in)  cpsolid 
)
Parameters
[in]enthmixture enthalpy
[in]prespressure in Pa

water vapor molar fraction

dry air molar fraction

saturation pressure of vapour over liquid (hPa)

saturation pressure of vapour over ice (hPa)

Definition at line 972 of file mixture.f90.

Here is the caller graph for this function:

subroutine mixture_module::initialize_mixture ( )

Mixture properties initialization.

This subroutine initialize the properties of the gas-particles mixture.

Date
22/10/2013
Author
Mattia de' Michieli Vitturi

Definition at line 154 of file mixture.f90.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

real(wp) mixture_module::added_water_mass_fraction

Definition at line 137 of file mixture.f90.

real(wp) mixture_module::added_water_temp

Definition at line 135 of file mixture.f90.

real(wp) mixture_module::atm_mass_fraction

mass fraction of the entrained air in the mixture

Definition at line 94 of file mixture.f90.

real(wp), dimension(:), allocatable mixture_module::cpvolcgas

specific heat capacity for volcanic gases

Definition at line 73 of file mixture.f90.

real(wp) mixture_module::cpvolcgas_mix

specific heat of volcanic gases mixture

Definition at line 91 of file mixture.f90.

real(wp) mixture_module::dry_air_mass_fraction

mass fraction of dry air in the mixture

Definition at line 100 of file mixture.f90.

real(wp) mixture_module::exit_status

exit_status

Definition at line 40 of file mixture.f90.

real(wp) mixture_module::gas_mass_fraction

gas mass fraction in the mixture

Definition at line 19 of file mixture.f90.

real(wp) mixture_module::gas_volume_fraction

gas vlume fraction in the mixture

Definition at line 22 of file mixture.f90.

real(wp) mixture_module::ice_mass_fraction

mass fraction of ice in the mixture

Definition at line 118 of file mixture.f90.

real(wp) mixture_module::ice_volume_fraction

mass fraction of ice in the mixture

Definition at line 121 of file mixture.f90.

logical mixture_module::initial_neutral_density

logical defining if the plume has neutral density at the base

Definition at line 34 of file mixture.f90.

real(wp) mixture_module::liquid_water_mass_fraction

mass fraction of liquid water in the mixture

Definition at line 106 of file mixture.f90.

real(wp) mixture_module::liquid_water_volume_fraction

mass fraction of liquid water in the mixture

Definition at line 109 of file mixture.f90.

real(wp) mixture_module::mass_flow_rate

Definition at line 61 of file mixture.f90.

real(wp) mixture_module::mixture_enthalpy

Definition at line 127 of file mixture.f90.

integer mixture_module::n_gas

volcanic gas species number

Definition at line 64 of file mixture.f90.

real(wp) mixture_module::rgasmix

universal constant for the mixture

Definition at line 28 of file mixture.f90.

real(wp) mixture_module::rho_gas

gas phase density

Definition at line 25 of file mixture.f90.

real(wp) mixture_module::rho_ice

Density of ice in the mixture.

Definition at line 133 of file mixture.f90.

real(wp) mixture_module::rho_lw

Density of liquid water in the mixture.

Definition at line 130 of file mixture.f90.

real(wp) mixture_module::rho_mix

mixture density

Definition at line 31 of file mixture.f90.

real(wp), dimension(:), allocatable mixture_module::rhovolcgas

volcanic gases densities

Definition at line 67 of file mixture.f90.

real(wp) mixture_module::rhovolcgas_mix

volcanic gases mixture density

Definition at line 85 of file mixture.f90.

real(wp), dimension(:), allocatable mixture_module::rvolcgas

gas constants for volcanic gases

Definition at line 70 of file mixture.f90.

real(wp) mixture_module::rvolcgas_mix

gas constant of volcanic gases mixture ( J/(kg K) )

Definition at line 88 of file mixture.f90.

real(wp) mixture_module::solid_tot_mass_fraction

solid mass fraction in the mixture

Definition at line 58 of file mixture.f90.

real(wp) mixture_module::solid_tot_volume_fraction

solid volume fraction in the mixture

Definition at line 46 of file mixture.f90.

real(wp) mixture_module::t_mix

mixture temperature

Definition at line 37 of file mixture.f90.

real(wp) mixture_module::t_mix0

initial temperature

Definition at line 49 of file mixture.f90.

real(wp), dimension(:), allocatable mixture_module::volcgas_mass_fraction

mass fractions of volcanic gases

Definition at line 82 of file mixture.f90.

real(wp), dimension(:), allocatable mixture_module::volcgas_mass_fraction0

initial mass fractions of volcanic gases

Definition at line 79 of file mixture.f90.

real(wp) mixture_module::volcgas_mix_mass_fraction

mass fraction of the volcanic gas in the mixture

Definition at line 97 of file mixture.f90.

real(wp) mixture_module::volcgas_mix_mol_fract

Definition at line 123 of file mixture.f90.

real(wp) mixture_module::volcgas_mix_mol_wt

Definition at line 125 of file mixture.f90.

real(wp), dimension(:), allocatable mixture_module::volcgas_mol_wt

molecular weight of additional volcanic gases

Definition at line 76 of file mixture.f90.

real(wp) mixture_module::water_mass_fraction

mass fraction of water in the mixture

Definition at line 103 of file mixture.f90.

real(wp) mixture_module::water_mass_fraction0

initial water mass fraction

Definition at line 55 of file mixture.f90.

real(wp) mixture_module::water_vapor_mass_fraction

mass fraction of water vapor in the mixture

Definition at line 112 of file mixture.f90.

real(wp) mixture_module::water_vapor_volume_fraction

mass fraction of water vapor in the mixture

Definition at line 115 of file mixture.f90.

real(wp) mixture_module::water_volume_fraction

water volume fraction in the mixture

Definition at line 43 of file mixture.f90.

real(wp) mixture_module::water_volume_fraction0

initial water volume fraction

Definition at line 52 of file mixture.f90.