PartMC  2.4.0
Public Attributes | List of all members
pmc_constants::const_t Type Reference

Physical constants. More...

Public Attributes

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

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 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

◆ accom_coeff

real(kind=dp) pmc_constants::const_t::accom_coeff = 1d0

Accomodation coefficient (have also used 0.045).

Definition at line 38 of file constants.F90.

◆ air_dyn_visc

real(kind=dp) pmc_constants::const_t::air_dyn_visc = 1.78d-5

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

Definition at line 60 of file constants.F90.

◆ air_molec_weight

real(kind=dp) pmc_constants::const_t::air_molec_weight = 2.89644d-2

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

Definition at line 56 of file constants.F90.

◆ air_spec_heat

real(kind=dp) pmc_constants::const_t::air_spec_heat = 1005d0

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

Definition at line 49 of file constants.F90.

◆ air_std_press

real(kind=dp) pmc_constants::const_t::air_std_press = 101325d0

Atmospheric standard sea level pressure (Pa).

Definition at line 58 of file constants.F90.

◆ avagadro

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

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

Definition at line 32 of file constants.F90.

◆ boltzmann

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

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

Definition at line 30 of file constants.F90.

◆ pi

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

Pi.

Definition at line 28 of file constants.F90.

◆ std_grav

real(kind=dp) pmc_constants::const_t::std_grav = 9.80665d0

Acceleration due to gravity (m s^{-2}).

Definition at line 36 of file constants.F90.

◆ univ_gas_const

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.

◆ water_density

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

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

Definition at line 53 of file constants.F90.

◆ water_eq_vap_press

real(kind=dp) pmc_constants::const_t::water_eq_vap_press = 611d0

Equilibrium water vapor pressure at 273 K (Pa).

Definition at line 41 of file constants.F90.

◆ water_freeze_temp

real(kind=dp) pmc_constants::const_t::water_freeze_temp = 273.15d0

Freezing point of water (K).

Definition at line 43 of file constants.F90.

◆ water_latent_heat

real(kind=dp) pmc_constants::const_t::water_latent_heat = 2.272d6

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

Definition at line 47 of file constants.F90.

◆ water_molec_weight

real(kind=dp) pmc_constants::const_t::water_molec_weight = 18d-3

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

Definition at line 51 of file constants.F90.

◆ water_surf_eng

real(kind=dp) pmc_constants::const_t::water_surf_eng = 0.073d0

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

Definition at line 45 of file constants.F90.


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