CAMP 1.0.0
Chemistry Across Multiple Phases
Public Attributes | List of all members
camp_constants::const_t Type Reference

Physical constants. More...

Public Attributes

real(kind=dppi = 3.14159265358979323846d0
 Pi.
 
real(kind=dpboltzmann = 1.3806505d-23
 Boltzmann constant (J K^{-1}).
 
real(kind=dpavagadro = 6.02214179d23
 Avogadro's number (mole^{-1}).
 
real(kind=dpuniv_gas_const = 8.314472d0
 Universal gas constant (J mole^{-1} K^{-1}).
 
real(kind=dpstd_grav = 9.80665d0
 Acceleration due to gravity (m s^{-2}).
 
real(kind=dpaccom_coeff = 1d0
 Accomodation coefficient (have also used 0.045).
 
real(kind=dpwater_eq_vap_press = 611d0
 Equilibrium water vapor pressure at 273 K (Pa).
 
real(kind=dpwater_freeze_temp = 273.15d0
 Freezing point of water (K).
 
real(kind=dpwater_surf_eng = 0.073d0
 Surface energy of water (J m^{-2}).
 
real(kind=dpwater_latent_heat = 2.272d6
 Latent heat of water (J kg^{-1}).
 
real(kind=dpair_spec_heat = 1005d0
 Specific heat of air (J kg^{-1} K^{-1}).
 
real(kind=dpwater_molec_weight = 18d-3
 Molecular weight of water (kg mole^{-1}).
 
real(kind=dpwater_density = 1d3
 Density of water (kg m^{-3}).
 
real(kind=dpair_molec_weight = 2.89644d-2
 Molecular weight of air (kg mole^{-1}).
 
real(kind=dpair_std_press = 101325d0
 Atmospheric standard sea level pressure (Pa).
 
real(kind=dpair_dyn_visc = 1.78d-5
 Dynamic viscosity of air (kg m^{-1} s^{-1}).
 

Detailed Description

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.

Member Data Documentation

◆ accom_coeff

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.

◆ air_dyn_visc

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.

◆ air_molec_weight

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.

◆ air_spec_heat

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.

◆ air_std_press

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.

◆ avagadro

real(kind=dp) camp_constants::const_t::avagadro = 6.02214179d23

Avogadro's number (mole^{-1}).

Definition at line 39 of file constants.F90.

◆ boltzmann

real(kind=dp) camp_constants::const_t::boltzmann = 1.3806505d-23

Boltzmann constant (J K^{-1}).

Definition at line 37 of file constants.F90.

◆ pi

real(kind=dp) camp_constants::const_t::pi = 3.14159265358979323846d0

Pi.

Definition at line 35 of file constants.F90.

◆ std_grav

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.

◆ univ_gas_const

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.

◆ water_density

real(kind=dp) camp_constants::const_t::water_density = 1d3

Density of water (kg m^{-3}).

Definition at line 60 of file constants.F90.

◆ water_eq_vap_press

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.

◆ water_freeze_temp

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.

◆ water_latent_heat

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.

◆ water_molec_weight

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.

◆ water_surf_eng

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.


The documentation for this type was generated from the following file: