Go to the documentation of this file.
109 logical,
private :: initialized = .false.
119 real(
rp) :: const_smallplanetfactor = 1.0_rp
121 namelist / param_const / &
132 const_smallplanetfactor
137 if ( initialized )
return
141 log_info(
"CONST_setup",*)
'Setup'
147 log_info(
"CONST_setup",*)
'Not found namelist. Default used.'
148 elseif( ierr > 0 )
then
149 log_error(
"CONST_setup",*)
'Not appropriate names in namelist PARAM_CONST. Check!'
156 elseif(
rp ==
dp )
then
159 log_error(
"CONST_setup",*)
'unsupported precision: ',
rp
188 log_info(
"CONST_setup",*)
'List of constants '
189 log_info_cont(*)
'PI : PI = ',
const_pi
190 log_info_cont(*)
'Small number : EPS = ',
const_eps
191 log_info_cont(*)
'Small number (1-EPS) : EPS1 = ',
const_eps1
192 log_info_cont(*)
'Huge number : HUGE = ',
const_huge
193 log_info_cont(*)
'undefined number (INT2) : UNDEF2 = ',
const_undef2
194 log_info_cont(*)
'undefined number (REAL,general use) : UNDEF = ',
const_undef
195 log_info_cont(*)
'undefined number (REAL4) : UNDEF4 = ',
const_undef4
196 log_info_cont(*)
'undefined number (REAL8) : UNDEF8 = ',
const_undef8
198 log_info_cont(*)
'radius of the planet [m] : RADIUS = ',
const_radius
199 log_info_cont(*)
'angular velocity of the planet [1/s] : OHM = ',
const_ohm
200 log_info_cont(*)
'standard acceleration of gravity [m/s2] : GRAV = ',
const_grav
202 log_info_cont(*)
'Stefan-Boltzman constant [W/m2/K4] : STB = ',
const_stb
203 log_info_cont(*)
'von Karman constant : KARMAN = ',
const_karman
204 log_info_cont(*)
'universal gas constant [J/mol/K] : R = ',
const_r
206 log_info_cont(*)
'mass weight (dry air) [g/mol] : Mdry = ',
const_mdry
207 log_info_cont(*)
'specific gas constant (dry air) [J/kg/K] : Rdry = ',
const_rdry
208 log_info_cont(*)
'specific heat (dry air, const. pressure) [J/kg/K] : CPdry = ',
const_cpdry
209 log_info_cont(*)
'specific heat (dry air, const. volume) [J/kg/K] : Cvdry = ',
const_cvdry
210 log_info_cont(*)
'lapse rate of ISA [K/m] : LAPS = ',
const_laps
211 log_info_cont(*)
'dry adiabatic lapse rate [K/m] : LAPSdry = ',
const_lapsdry
213 log_info_cont(*)
'mass weight (water vapor) [g/mol] : Mvap = ',
const_mvap
214 log_info_cont(*)
'specific gas constant (water vapor) [J/kg/K] : Rvap = ',
const_rvap
215 log_info_cont(*)
'specific heat (vapor, const. pressure) [J/kg/K] : CPvap = ',
const_cpvap
216 log_info_cont(*)
'specific heat (vapor, const. volume) [J/kg/K] : CVvap = ',
const_cvvap
217 log_info_cont(*)
'specific heat (liquid water) [J/kg/K] : CL = ',
const_cl
218 log_info_cont(*)
'specific heat (ice) [J/kg/K] : CI = ',
const_ci
219 log_info_cont(*)
'Rdry / Rvap : EPSvap = ',
const_epsvap
220 log_info_cont(*)
'1 / EPSvap - 1 : EPSTvap = ',
const_epstvap
222 log_info_cont(*)
'latent heat of vaporizaion at 0C [J/kg] : LHV0 = ',
const_lhv0
223 log_info_cont(*)
'latent heat of sublimation at 0C [J/kg] : LHS0 = ',
const_lhs0
224 log_info_cont(*)
'latent heat of fusion at 0C [J/kg] : LHF0 = ',
const_lhf0
225 log_info_cont(*)
'latent heat of vaporizaion at 0K [J/kg] : LHV00 = ',
const_lhv00
226 log_info_cont(*)
'latent heat of sublimation at 0K [J/kg] : LHS00 = ',
const_lhs00
227 log_info_cont(*)
'latent heat of fusion at 0K [J/kg] : LHF00 = ',
const_lhf00
229 log_info_cont(*)
'saturate pressure of water vapor at 0C [Pa] : PSAT0 = ',
const_psat0
230 log_info_cont(*)
'density of water [kg/m3] : DWATR = ',
const_dwatr
231 log_info_cont(*)
'density of ice [kg/m3] : DICE = ',
const_dice
233 log_info_cont(*)
'speed of sound (dry air at 0C) [m/s] : SOUND = ',
const_sound
234 log_info_cont(*)
'standard pressure [Pa] : Pstd = ',
const_pstd
235 log_info_cont(*)
'pressure reference [Pa] : PRE00 = ',
const_pre00
236 log_info_cont(*)
'standard temperature (15C) [K] : Tstd = ',
const_tstd
237 log_info_cont(*)
'temperature reference (0C) [K] : TEM00 = ',
const_tem00
real(rp), public const_grav
standard acceleration of gravity [m/s2]
real(rp), public const_lapsdry
dry adiabatic lapse rate [K/m]
integer, parameter, public sp
real(rp), parameter, public const_lhv0
latent heat of vaporizaion at 0C [J/kg]
subroutine, public prc_abort
Abort Process.
real(rp), public const_epstvap
1 / epsilon - 1
real(rp), public const_sound
speed of sound (dry air at 0C) [m/s]
real(rp), parameter, public const_r
universal gas constant [J/mol/K]
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_epsvap
Rdry / Rvap.
real(rp), public const_lhv00
latent heat of vaporizaion at 0K [J/kg]
real(rp), parameter, public const_epsvac
parts par million
real(dp), parameter, public const_undef8
undefined value (REAL8)
real(rp), parameter, public const_rvap
specific gas constant (water vapor) [J/kg/K]
real(rp), parameter, public const_emelt
real(rp), public const_eps
small number
real(rp), public const_tstd
standard temperature (15C) [K]
character(len=h_short), public const_thermodyn_type
internal energy type
integer, public const_i_sw
short-wave radiation index
real(rp), parameter, public const_cpvap
specific heat (water vapor, constant pressure) [J/kg/K]
real(rp), public const_pi
pi
integer, parameter, public rp
real(rp), public const_pstd
standard pressure [Pa]
real(rp), public const_mdry
mass weight (dry air) [g/mol]
real(rp), public const_cvdry
specific heat (dry air,constant volume) [J/kg/K]
real(rp), public const_eps1
small number
real(rp), parameter, public const_ppm
parts par million
real(rp), public const_cpdry
specific heat (dry air,constant pressure) [J/kg/K]
real(rp), public const_huge
huge number
integer, parameter, public dp
real(rp), parameter, public const_psat0
saturate pressure of water vapor at 0C [Pa]
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_tem00
temperature reference (0C) [K]
real(rp), parameter, public const_cl
specific heat (liquid water) [J/kg/K]
real(rp), public const_cvvap
specific heat (water vapor, constant volume) [J/kg/K]
real(rp), public const_radius
radius of the planet [m]
real(rp), parameter, public const_tmelt
real(rp), parameter, public const_karman
von Karman constant
real(rp), public const_epsair
parts par million
real(rp), public const_lhf0
latent heat of fusion at 0C [J/kg]
real(rp), public const_rdry
specific gas constant (dry air) [J/kg/K]
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_d2r
degree to radian
real(rp), public const_laps
lapse rate of ISA [K/m]
real(rp), public const_mvap
mass weight (water vapor) [g/mol]
real(rp), parameter, public const_dice
density of ice [kg/m3]
real(rp), public const_undef
real(rp), public const_ohm
angular velocity of the planet [1/s]
real(rp), public const_pre00
pressure reference [Pa]
integer, public io_fid_conf
Config file ID.
subroutine, public const_setup
Setup.
real(rp), public const_lhf00
latent heat of fusion at 0K [J/kg]