CAMP 1.0.0
Chemistry Across Multiple Phases
|
Physical constants. More...
Public Attributes | |
real(kind=dp) | pi = 3.14159265358979323846d0 |
Pi. | |
real(kind=dp) | boltzmann = 1.3806505d-23 |
Boltzmann constant (J K^{-1}). | |
real(kind=dp) | avagadro = 6.02214179d23 |
Avogadro's number (mole^{-1}). | |
real(kind=dp) | univ_gas_const = 8.314472d0 |
Universal gas constant (J mole^{-1} K^{-1}). | |
real(kind=dp) | std_grav = 9.80665d0 |
Acceleration due to gravity (m s^{-2}). | |
real(kind=dp) | accom_coeff = 1d0 |
Accomodation coefficient (have also used 0.045). | |
real(kind=dp) | water_eq_vap_press = 611d0 |
Equilibrium water vapor pressure at 273 K (Pa). | |
real(kind=dp) | water_freeze_temp = 273.15d0 |
Freezing point of water (K). | |
real(kind=dp) | water_surf_eng = 0.073d0 |
Surface energy of water (J m^{-2}). | |
real(kind=dp) | water_latent_heat = 2.272d6 |
Latent heat of water (J kg^{-1}). | |
real(kind=dp) | air_spec_heat = 1005d0 |
Specific heat of air (J kg^{-1} K^{-1}). | |
real(kind=dp) | water_molec_weight = 18d-3 |
Molecular weight of water (kg mole^{-1}). | |
real(kind=dp) | water_density = 1d3 |
Density of water (kg m^{-3}). | |
real(kind=dp) | air_molec_weight = 2.89644d-2 |
Molecular weight of air (kg mole^{-1}). | |
real(kind=dp) | air_std_press = 101325d0 |
Atmospheric standard sea level pressure (Pa). | |
real(kind=dp) | air_dyn_visc = 1.78d-5 |
Dynamic viscosity of air (kg m^{-1} s^{-1}). | |
Physical constants.
These are all absolute constants. Environment parameters that in principle could change should go in scenario.f90.
To access a constant in a subroutine you should use camp_constants
and then the constant value is accessed with const%pi
or similar. Note that the type is called const_t
(with a trailing _t) but the single saved variable to access them is just called const
.
Definition at line 33 of file constants.F90.
real(kind=dp) camp_constants::const_t::accom_coeff = 1d0 |
Accomodation coefficient (have also used 0.045).
Definition at line 45 of file constants.F90.
real(kind=dp) camp_constants::const_t::air_dyn_visc = 1.78d-5 |
Dynamic viscosity of air (kg m^{-1} s^{-1}).
Definition at line 67 of file constants.F90.
real(kind=dp) camp_constants::const_t::air_molec_weight = 2.89644d-2 |
Molecular weight of air (kg mole^{-1}).
Definition at line 63 of file constants.F90.
real(kind=dp) camp_constants::const_t::air_spec_heat = 1005d0 |
Specific heat of air (J kg^{-1} K^{-1}).
Definition at line 56 of file constants.F90.
real(kind=dp) camp_constants::const_t::air_std_press = 101325d0 |
Atmospheric standard sea level pressure (Pa).
Definition at line 65 of file constants.F90.
real(kind=dp) camp_constants::const_t::avagadro = 6.02214179d23 |
Avogadro's number (mole^{-1}).
Definition at line 39 of file constants.F90.
real(kind=dp) camp_constants::const_t::boltzmann = 1.3806505d-23 |
Boltzmann constant (J K^{-1}).
Definition at line 37 of file constants.F90.
real(kind=dp) camp_constants::const_t::pi = 3.14159265358979323846d0 |
Pi.
Definition at line 35 of file constants.F90.
real(kind=dp) camp_constants::const_t::std_grav = 9.80665d0 |
Acceleration due to gravity (m s^{-2}).
Definition at line 43 of file constants.F90.
real(kind=dp) camp_constants::const_t::univ_gas_const = 8.314472d0 |
Universal gas constant (J mole^{-1} K^{-1}).
Definition at line 41 of file constants.F90.
real(kind=dp) camp_constants::const_t::water_density = 1d3 |
Density of water (kg m^{-3}).
Definition at line 60 of file constants.F90.
real(kind=dp) camp_constants::const_t::water_eq_vap_press = 611d0 |
Equilibrium water vapor pressure at 273 K (Pa).
Definition at line 48 of file constants.F90.
real(kind=dp) camp_constants::const_t::water_freeze_temp = 273.15d0 |
Freezing point of water (K).
Definition at line 50 of file constants.F90.
real(kind=dp) camp_constants::const_t::water_latent_heat = 2.272d6 |
Latent heat of water (J kg^{-1}).
Definition at line 54 of file constants.F90.
real(kind=dp) camp_constants::const_t::water_molec_weight = 18d-3 |
Molecular weight of water (kg mole^{-1}).
Definition at line 58 of file constants.F90.
real(kind=dp) camp_constants::const_t::water_surf_eng = 0.073d0 |
Surface energy of water (J m^{-2}).
Definition at line 52 of file constants.F90.