Processing math: 2%
CCPP Scientific Documentation
v4.0
All Classes Namespaces Files Functions Variables Modules Pages
physcons Module Reference

This module contains some of the most frequently used math and physics constants for GCM models.

Variables

Math constants
real(kind=kind_phys), parameter con_pi =4.0d0*atan(1.0d0)
 pi More...
 
real(kind=kind_phys), parameter con_sqrt2 =1.414214e+0_kind_phys
 square root of 2 More...
 
real(kind=kind_phys), parameter con_sqrt3 =1.732051e+0_kind_phys
 quare root of 3 More...
 
Geophysics/Astronomy constants
real(kind=kind_phys), parameter con_rerth =6.3712e+6_kind_phys
 radius of earth ( m) More...
 
real(kind=kind_phys), parameter con_g =9.80665e+0_kind_phys
 gravity ( m/s^{2}) More...
 
real(kind=kind_phys), parameter con_omega =7.2921e-5_kind_phys
 ang vel of earth ( s^{-1}) More...
 
real(kind=kind_phys), parameter con_p0 =1.01325e5_kind_phys
 standard atmospheric pressure ( Pa) More...
 
real(kind=kind_phys), parameter con_solr_old =1.3660e+3_kind_phys
 solar constant ( W/m^{2})-Liu(2002) More...
 
real(kind=kind_phys), parameter con_solr =1.3608e+3_kind_phys
 solar constant ( W/m^{2})-nasa-sorce Tim(2008) More...
 
real(kind=kind_dyn), parameter con_g_dyn =9.80665e+0_kind_dyn
 gravity ( m/s^{2}) More...
 
Thermodynamics constants
real(kind=kind_phys), parameter con_rgas =8.314472_kind_phys
 molar gas constant ( J/mol/K) More...
 
real(kind=kind_phys), parameter con_rd =2.8705e+2_kind_phys
 gas constant air ( J/kg/K) More...
 
real(kind=kind_phys), parameter con_rv =4.6150e+2_kind_phys
 gas constant H2O ( J/kg/K) More...
 
real(kind=kind_phys), parameter con_cp =1.0046e+3_kind_phys
 spec heat air at p ( J/kg/K) More...
 
real(kind=kind_phys), parameter con_cv =7.1760e+2_kind_phys
 spec heat air at v ( J/kg/K) More...
 
real(kind=kind_phys), parameter con_cvap =1.8460e+3_kind_phys
 spec heat H2O gas ( J/kg/K) More...
 
real(kind=kind_phys), parameter con_cliq =4.1855e+3_kind_phys
 spec heat H2O liq ( J/kg/K) More...
 
real(kind=kind_phys), parameter con_csol =2.1060e+3_kind_phys
 spec heat H2O ice ( J/kg/K) More...
 
real(kind=kind_phys), parameter con_hvap =2.5000e+6_kind_phys
 lat heat H2O cond ( J/kg) More...
 
real(kind=kind_phys), parameter con_hfus =3.3358e+5_kind_phys
 lat heat H2O fusion ( J/kg) More...
 
real(kind=kind_phys), parameter con_psat =6.1078e+2_kind_phys
 pres at H2O 3pt ( Pa) More...
 
real(kind=kind_phys), parameter con_t0c =2.7315e+2_kind_phys
 temp at 0C (K) More...
 
real(kind=kind_phys), parameter con_ttp =2.7316e+2_kind_phys
 temp at H2O 3pt (K) More...
 
real(kind=kind_phys), parameter con_tice =2.7120e+2_kind_phys
 temp freezing sea (K) More...
 
real(kind=kind_phys), parameter con_jcal =4.1855E+0_kind_phys
 joules per calorie More...
 
real(kind=kind_phys), parameter con_rhw0 =1022.0_kind_phys
 sea water reference density ( kg/m^{3}) More...
 
real(kind=kind_phys), parameter con_epsq =1.0E-12_kind_phys
 min q for computing precip type More...
 
real(kind=kind_dyn), parameter con_rd_dyn =2.8705e+2_kind_dyn
 gas constant air ( J/kg/K) More...
 
real(kind=kind_dyn), parameter con_rv_dyn =4.6150e+2_kind_dyn
 gas constant H2O ( J/kg/K) More...
 
real(kind=kind_dyn), parameter con_cp_dyn =1.0046e+3_kind_dyn
 spec heat air at p ( J/kg/K) More...
 
real(kind=kind_dyn), parameter con_hvap_dyn =2.5000e+6_kind_dyn
 lat heat H2O cond ( J/kg) More...
 
real(kind=kind_dyn), parameter con_hfus_dyn =3.3358e+5_kind_dyn
 lat heat H2O fusion ( J/kg) More...
 
Secondary constants
real(kind=kind_phys), parameter con_rocp =con_rd/con_cp
 
real(kind=kind_phys), parameter con_cpor =con_cp/con_rd
 
real(kind=kind_phys), parameter con_rog =con_rd/con_g
 
real(kind=kind_phys), parameter con_fvirt =con_rv/con_rd-1.
 
real(kind=kind_phys), parameter con_eps =con_rd/con_rv
 
real(kind=kind_phys), parameter con_epsm1 =con_rd/con_rv-1.
 
real(kind=kind_phys), parameter con_dldt =con_cvap-con_cliq
 
real(kind=kind_phys), parameter con_xpona =-con_dldt/con_rv
 
real(kind=kind_phys), parameter con_xponb =-con_dldt/con_rv+con_hvap/(con_rv*con_ttp)
 
Other Physics/Chemistry constants (source: 2002 CODATA)
real(kind=kind_phys), parameter con_c =2.99792458e+8_kind_phys
 speed of light ( m/s) More...
 
real(kind=kind_phys), parameter con_plnk =6.6260693e-34_kind_phys
 planck constant ( J/s) More...
 
real(kind=kind_phys), parameter con_boltz =1.3806505e-23_kind_phys
 boltzmann constant ( J/K) More...
 
real(kind=kind_phys), parameter con_sbc =5.670400e-8_kind_phys
 stefan-boltzmann ( W/m^{2}/K^{4}) More...
 
real(kind=kind_phys), parameter con_avgd =6.0221415e23_kind_phys
 avogadro constant ( mol^{-1}) More...
 
real(kind=kind_phys), parameter con_gasv =22413.996e-6_kind_phys
 vol of ideal gas at 273.15K, 101.325kPa ( m^{3}/mol) More...
 
real(kind=kind_phys), parameter con_amd =28.9644_kind_phys
 molecular wght of dry air ( g/mol) More...
 
real(kind=kind_phys), parameter con_amw =18.0154_kind_phys
 molecular wght of water vapor ( g/mol) More...
 
real(kind=kind_phys), parameter con_amo3 =47.9982_kind_phys
 molecular wght of o3 ( g/mol) More...
 
real(kind=kind_phys), parameter con_amco2 =44.011_kind_phys
 molecular wght of co2 ( g/mol) More...
 
real(kind=kind_phys), parameter con_amo2 =31.9999_kind_phys
 molecular wght of o2 ( g/mol) More...
 
real(kind=kind_phys), parameter con_amch4 =16.043_kind_phys
 molecular wght of ch4 ( g/mol) More...
 
real(kind=kind_phys), parameter con_amn2o =44.013_kind_phys
 molecular wght of n2o ( g/mol) More...
 
real(kind=kind_phys), parameter con_thgni =-38.15_kind_phys
 temperature the H.G.Nuc. ice starts More...
 
real(kind=kind_phys), parameter cimin =0.15
 minimum ice concentration More...
 
real(kind=kind_phys), parameter qamin = 1.e-16_kind_phys
 minimum aerosol concentration More...
 
Miscellaneous physics related constants (For WSM6; Moorthi - Jul 2014)
real(kind=kind_phys), parameter rlapse = 0.65e-2_kind_phys
 density of water (kg/m^3) More...
 
real(kind=kind_phys), parameter cb2mb = 10.0_kind_phys
 density of water (kg/m^3) More...
 
real(kind=kind_phys), parameter pa2mb = 0.01_kind_phys
 density of water (kg/m^3) More...
 
real(kind=kind_phys), parameter rhowater = 1000._kind_phys
 density of water (kg/m^3) More...
 
real(kind=kind_phys), parameter rhosnow = 100._kind_phys
 density of snow (kg/m^3) More...
 
real(kind=kind_phys), parameter rhoair = 1.28_kind_phys
 density of air near surface (kg/m^3) More...