PartMC 2.1.1
Public Attributes
pmc_constants::const_t Type Reference

Physical constants. More...

List of all members.

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=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 env_data.f90.

To access a constant in a subroutine you should use pmc_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.


Member Data Documentation

Accomodation coefficient (have also used 0.045).

Dynamic viscosity of air (kg m^{-1} s^{-1}).

Molecular weight of air (kg mole^{-1}).

Specific heat of air (J kg^{-1} K^{-1}).

Atmospheric standard sea level pressure (Pa).

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

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

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

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

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

Pi.

real(kind=dp) pmc_constants::const_t::univ_gas_const = 8.314472d0

Universal gas constant (J mole^{-1} K^{-1}).

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

Equilibrium water vapor pressure at 273 K (Pa).

Freezing point of water (K).

Latent heat of water (J kg^{-1}).

Molecular weight of water (kg mole^{-1}).

Surface energy of water (J m^{-2}).


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