PartMC 2.1.3
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.

Definition at line 26 of file constants.F90.


Member Data Documentation

Accomodation coefficient (have also used 0.045).

Definition at line 36 of file constants.F90.

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

Definition at line 58 of file constants.F90.

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

Definition at line 54 of file constants.F90.

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

Definition at line 47 of file constants.F90.

Atmospheric standard sea level pressure (Pa).

Definition at line 56 of file constants.F90.

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

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

Definition at line 32 of file constants.F90.

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

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

Definition at line 30 of file constants.F90.

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

Pi.

Definition at line 28 of file constants.F90.

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

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

Definition at line 34 of file constants.F90.

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

Definition at line 51 of file constants.F90.

Equilibrium water vapor pressure at 273 K (Pa).

Definition at line 39 of file constants.F90.

Freezing point of water (K).

Definition at line 41 of file constants.F90.

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

Definition at line 45 of file constants.F90.

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

Definition at line 49 of file constants.F90.

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

Definition at line 43 of file constants.F90.


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