Go to the documentation of this file.
32 real(
rp),
public,
parameter ::
const_pi = 4.0_rp * atan( 1.0_rp )
122 logical,
private :: initialized = .false.
132 real(
rp) :: const_smallplanetfactor
134 namelist / param_const / &
145 const_smallplanetfactor
150 if ( initialized )
return
154 log_info(
"CONST_setup",*)
'Setup'
168 const_smallplanetfactor = 1.0_rp
174 log_info(
"CONST_setup",*)
'Not found namelist. Default used.'
175 elseif( ierr > 0 )
then
176 log_error(
"CONST_setup",*)
'Not appropriate names in namelist PARAM_CONST. Check!'
183 elseif(
rp ==
dp )
then
186 log_error(
"CONST_setup",*)
'unsupported precision: ',
rp
215 log_info(
"CONST_setup",*)
'List of constants '
216 log_info_cont(*)
'PI : PI = ',
const_pi
217 log_info_cont(*)
'Small number : EPS = ',
const_eps
218 log_info_cont(*)
'Small number (1-EPS) : EPS1 = ',
const_eps1
219 log_info_cont(*)
'Huge number : HUGE = ',
const_huge
220 log_info_cont(*)
'undefined number (INT2) : UNDEF2 = ',
const_undef2
221 log_info_cont(*)
'undefined number (REAL,general use) : UNDEF = ',
const_undef
222 log_info_cont(*)
'undefined number (REAL4) : UNDEF4 = ',
const_undef4
223 log_info_cont(*)
'undefined number (REAL8) : UNDEF8 = ',
const_undef8
225 log_info_cont(*)
'radius of the planet [m] : RADIUS = ',
const_radius
226 log_info_cont(*)
'angular velocity of the planet [1/s] : OHM = ',
const_ohm
227 log_info_cont(*)
'standard acceleration of gravity [m/s2] : GRAV = ',
const_grav
229 log_info_cont(*)
'Stefan-Boltzman constant [W/m2/K4] : STB = ',
const_stb
230 log_info_cont(*)
'von Karman constant : KARMAN = ',
const_karman
231 log_info_cont(*)
'universal gas constant [J/mol/K] : R = ',
const_r
233 log_info_cont(*)
'mass weight (dry air) [g/mol] : Mdry = ',
const_mdry
234 log_info_cont(*)
'specific gas constant (dry air) [J/kg/K] : Rdry = ',
const_rdry
235 log_info_cont(*)
'specific heat (dry air, const. pressure) [J/kg/K] : CPdry = ',
const_cpdry
236 log_info_cont(*)
'specific heat (dry air, const. volume) [J/kg/K] : Cvdry = ',
const_cvdry
237 log_info_cont(*)
'lapse rate of ISA [K/m] : LAPS = ',
const_laps
238 log_info_cont(*)
'dry adiabatic lapse rate [K/m] : LAPSdry = ',
const_lapsdry
240 log_info_cont(*)
'mass weight (water vapor) [g/mol] : Mvap = ',
const_mvap
241 log_info_cont(*)
'specific gas constant (water vapor) [J/kg/K] : Rvap = ',
const_rvap
242 log_info_cont(*)
'specific heat (vapor, const. pressure) [J/kg/K] : CPvap = ',
const_cpvap
243 log_info_cont(*)
'specific heat (vapor, const. volume) [J/kg/K] : CVvap = ',
const_cvvap
244 log_info_cont(*)
'specific heat (liquid water) [J/kg/K] : CL = ',
const_cl
245 log_info_cont(*)
'specific heat (ice) [J/kg/K] : CI = ',
const_ci
246 log_info_cont(*)
'Rdry / Rvap : EPSvap = ',
const_epsvap
247 log_info_cont(*)
'1 / EPSvap - 1 : EPSTvap = ',
const_epstvap
249 log_info_cont(*)
'latent heat of vaporizaion at 0C [J/kg] : LHV0 = ',
const_lhv0
250 log_info_cont(*)
'latent heat of sublimation at 0C [J/kg] : LHS0 = ',
const_lhs0
251 log_info_cont(*)
'latent heat of fusion at 0C [J/kg] : LHF0 = ',
const_lhf0
252 log_info_cont(*)
'latent heat of vaporizaion at 0K [J/kg] : LHV00 = ',
const_lhv00
253 log_info_cont(*)
'latent heat of sublimation at 0K [J/kg] : LHS00 = ',
const_lhs00
254 log_info_cont(*)
'latent heat of fusion at 0K [J/kg] : LHF00 = ',
const_lhf00
256 log_info_cont(*)
'saturate pressure of water vapor at 0C [Pa] : PSAT0 = ',
const_psat0
257 log_info_cont(*)
'density of water [kg/m3] : DWATR = ',
const_dwatr
258 log_info_cont(*)
'density of ice [kg/m3] : DICE = ',
const_dice
260 log_info_cont(*)
'speed of sound (dry air at 0C) [m/s] : SOUND = ',
const_sound
261 log_info_cont(*)
'standard pressure [Pa] : Pstd = ',
const_pstd
262 log_info_cont(*)
'pressure reference [Pa] : PRE00 = ',
const_pre00
263 log_info_cont(*)
'standard temperature (15C) [K] : Tstd = ',
const_tstd
264 log_info_cont(*)
'temperature reference (0C) [K] : TEM00 = ',
const_tem00
286 initialized = .false.
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]
subroutine, public const_finalize
Finalize.
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]
real(rp), parameter, public const_pi
pi
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), public const_r2d
radian to degree
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]