31 real(RP),
public ::
const_pi = 3.14159265358979_rp
49 real(RP),
public,
parameter ::
const_stb = 5.670373e-8_rp
51 real(RP),
public,
parameter ::
const_r = 8.31436_rp
66 real(RP),
public,
parameter ::
const_cl = 4218.0_rp
67 real(RP),
public,
parameter ::
const_ci = 2106.0_rp
106 logical,
private :: initialized = .false.
116 real(RP) :: CONST_SmallPlanetFactor = 1.0_rp
118 namelist / param_const / &
129 const_smallplanetfactor
134 if ( initialized )
return 138 log_info(
"CONST_setup",*)
'Setup' 144 log_info(
"CONST_setup",*)
'Not found namelist. Default used.' 145 elseif( ierr > 0 )
then 146 log_error(
"CONST_setup",*)
'Not appropriate names in namelist PARAM_CONST. Check!' 153 elseif(
rp ==
dp )
then 156 log_error(
"CONST_setup",*)
'unsupported precision: ',
rp 185 log_info(
"CONST_setup",*)
'List of constants ' 186 log_info_cont(*)
'PI : PI = ',
const_pi 187 log_info_cont(*)
'Small number : EPS = ',
const_eps 188 log_info_cont(*)
'Small number (1-EPS) : EPS1 = ',
const_eps1 189 log_info_cont(*)
'Huge number : HUGE = ',
const_huge 190 log_info_cont(*)
'undefined number (INT2) : UNDEF2 = ',
const_undef2 191 log_info_cont(*)
'undefined number (REAL,general use) : UNDEF = ',
const_undef 192 log_info_cont(*)
'undefined number (REAL4) : UNDEF4 = ',
const_undef4 193 log_info_cont(*)
'undefined number (REAL8) : UNDEF8 = ',
const_undef8 195 log_info_cont(*)
'radius of the planet [m] : RADIUS = ',
const_radius 196 log_info_cont(*)
'angular velocity of the planet [1/s] : OHM = ',
const_ohm 197 log_info_cont(*)
'standard acceleration of gravity [m/s2] : GRAV = ',
const_grav 199 log_info_cont(*)
'Stefan-Boltzman constant [W/m2/K4] : STB = ',
const_stb 200 log_info_cont(*)
'von Karman constant : KARMAN = ',
const_karman 201 log_info_cont(*)
'universal gas constant [J/mol/K] : R = ',
const_r 203 log_info_cont(*)
'mass weight (dry air) [g/mol] : Mdry = ',
const_mdry 204 log_info_cont(*)
'specific gas constant (dry air) [J/kg/K] : Rdry = ',
const_rdry 205 log_info_cont(*)
'specific heat (dry air, const. pressure) [J/kg/K] : CPdry = ',
const_cpdry 206 log_info_cont(*)
'specific heat (dry air, const. volume) [J/kg/K] : Cvdry = ',
const_cvdry 207 log_info_cont(*)
'lapse rate of ISA [K/m] : LAPS = ',
const_laps 208 log_info_cont(*)
'dry adiabatic lapse rate [K/m] : LAPSdry = ',
const_lapsdry 210 log_info_cont(*)
'mass weight (water vapor) [g/mol] : Mvap = ',
const_mvap 211 log_info_cont(*)
'specific gas constant (water vapor) [J/kg/K] : Rvap = ',
const_rvap 212 log_info_cont(*)
'specific heat (vapor, const. pressure) [J/kg/K] : CPvap = ',
const_cpvap 213 log_info_cont(*)
'specific heat (vapor, const. volume) [J/kg/K] : CVvap = ',
const_cvvap 214 log_info_cont(*)
'specific heat (liquid water) [J/kg/K] : CL = ',
const_cl 215 log_info_cont(*)
'specific heat (ice) [J/kg/K] : CI = ',
const_ci 216 log_info_cont(*)
'Rdry / Rvap : EPSvap = ',
const_epsvap 217 log_info_cont(*)
'1 / EPSvap - 1 : EPSTvap = ',
const_epstvap 219 log_info_cont(*)
'latent heat of vaporizaion at 0C [J/kg] : LHV0 = ',
const_lhv0 220 log_info_cont(*)
'latent heat of sublimation at 0C [J/kg] : LHS0 = ',
const_lhs0 221 log_info_cont(*)
'latent heat of fusion at 0C [J/kg] : LHF0 = ',
const_lhf0 222 log_info_cont(*)
'latent heat of vaporizaion at 0K [J/kg] : LHV00 = ',
const_lhv00 223 log_info_cont(*)
'latent heat of sublimation at 0K [J/kg] : LHS00 = ',
const_lhs00 224 log_info_cont(*)
'latent heat of fusion at 0K [J/kg] : LHF00 = ',
const_lhf00 226 log_info_cont(*)
'saturate pressure of water vapor at 0C [Pa] : PSAT0 = ',
const_psat0 227 log_info_cont(*)
'density of water [kg/m3] : DWATR = ',
const_dwatr 228 log_info_cont(*)
'density of ice [kg/m3] : DICE = ',
const_dice 230 log_info_cont(*)
'speed of sound (dry air at 0C) [m/s] : SOUND = ',
const_sound 231 log_info_cont(*)
'standard pressure [Pa] : Pstd = ',
const_pstd 232 log_info_cont(*)
'pressure reference [Pa] : PRE00 = ',
const_pre00 233 log_info_cont(*)
'standard temperature (15C) [K] : Tstd = ',
const_tstd 234 log_info_cont(*)
'temperature reference (0C) [K] : TEM00 = ',
const_tem00 real(rp), public const_cvdry
specific heat (dry air,constant volume) [J/kg/K]
real(rp), parameter, public const_psat0
saturate pressure of water vapor at 0C [Pa]
real(rp), public const_cpdry
specific heat (dry air,constant pressure) [J/kg/K]
real(rp), parameter, public const_ppm
parts par million
real(rp), public const_huge
huge number
integer, public const_i_lw
long-wave radiation index
real(rp), parameter, public const_stb
Stefan-Boltzman constant [W/m2/K4].
real(rp), parameter, public const_ci
specific heat (ice) [J/kg/K]
real(rp), parameter, public const_dwatr
density of water [kg/m3]
real(rp), parameter, public const_cl
specific heat (liquid water) [J/kg/K]
real(rp), public const_radius
radius of the planet [m]
real(rp), parameter, public const_tem00
temperature reference (0C) [K]
integer, public io_fid_conf
Config file ID.
real(rp), public const_d2r
degree to radian
real(rp), public const_cvvap
specific heat (water vapor, constant volume) [J/kg/K]
real(rp), public const_laps
lapse rate of ISA [K/m]
real(rp), parameter, public const_karman
von Karman constant
real(rp), parameter, public const_tmelt
real(rp), public const_lhf0
latent heat of fusion at 0C [J/kg]
real(rp), parameter, public const_dice
density of ice [kg/m3]
real(rp), public const_rdry
specific gas constant (dry air) [J/kg/K]
real(rp), public const_undef
real(sp), parameter, public const_undef4
undefined value (REAL4)
real(rp), parameter, public const_lhs0
latent heat of sublimation at 0C [J/kg]
real(rp), public const_ohm
angular velocity of the planet [1/s]
real(rp), public const_mvap
mass weight (water vapor) [g/mol]
real(rp), public const_lapsdry
dry adiabatic lapse rate [K/m]
real(rp), parameter, public const_lhv0
latent heat of vaporizaion at 0C [J/kg]
real(rp), public const_pre00
pressure reference [Pa]
subroutine, public const_setup
Setup.
real(rp), parameter, public const_r
universal gas constant [J/mol/K]
real(rp), public const_lhf00
latent heat of fusion at 0K [J/kg]
real(rp), public const_grav
standard acceleration of gravity [m/s2]
integer, parameter, public const_undef2
undefined value (INT2)
real(rp), public const_lhs00
latent heat of sublimation at 0K [J/kg]
real(rp), public const_lhv00
latent heat of vaporizaion at 0K [J/kg]
real(rp), public const_epsvap
Rdry / Rvap.
real(rp), public const_epstvap
1 / epsilon - 1
real(rp), parameter, public const_rvap
specific gas constant (water vapor) [J/kg/K]
subroutine, public prc_abort
Abort Process.
real(rp), public const_sound
speed of sound (dry air at 0C) [m/s]
real(rp), parameter, public const_emelt
real(dp), parameter, public const_undef8
undefined value (REAL8)
real(rp), public const_eps
small number
integer, public const_i_sw
short-wave radiation index
real(rp), public const_tstd
standard temperature (15C) [K]
real(rp), public const_pi
pi
integer, parameter, public sp
real(rp), parameter, public const_cpvap
specific heat (water vapor, constant pressure) [J/kg/K]
character(len=h_short), public const_thermodyn_type
internal energy type
real(rp), public const_mdry
mass weight (dry air) [g/mol]
integer, parameter, public rp
integer, parameter, public dp
real(rp), public const_pstd
standard pressure [Pa]
real(rp), public const_eps1
small number