SCALE-RM
Functions/Subroutines | Variables
scale_const Module Reference

module CONSTANT More...

Functions/Subroutines

subroutine, public const_setup
 Setup. More...
 

Variables

real(rp), public const_pi = 3.14159265358979_RP
 pi More...
 
real(rp), public const_d2r
 degree to radian More...
 
real(rp), public const_eps = 1.E-16_RP
 small number More...
 
real(rp), public const_eps1 = 0.99999999999999_RP
 small number More...
 
real(rp), public const_huge = 1.E+30_RP
 huge number More...
 
integer, parameter, public const_undef2 = -32768
 undefined value (INT2) More...
 
real(sp), parameter, public const_undef4 = -9.9999E30
 undefined value (REAL4) More...
 
real(dp), parameter, public const_undef8 = -9.9999D30
 undefined value (REAL8) More...
 
real(rp), public const_undef
 
real(rp), public const_radius = 6.37122E+6_RP
 radius of the planet [m] More...
 
real(rp), public const_ohm = 7.2920E-5_RP
 angular velocity of the planet [1/s] More...
 
real(rp), public const_grav = 9.80665_RP
 standard acceleration of gravity [m/s2] More...
 
real(rp), parameter, public const_stb = 5.670373E-8_RP
 Stefan-Boltzman constant [W/m2/K4]. More...
 
real(rp), parameter, public const_karman = 0.4_RP
 von Karman constant More...
 
real(rp), parameter, public const_r = 8.31436_RP
 universal gas constant [J/mol/K] More...
 
real(rp), public const_mdry = 28.966_RP
 mass weight (dry air) [g/mol] More...
 
real(rp), public const_rdry = 287.04_RP
 specific gas constant (dry air) [J/kg/K] More...
 
real(rp), public const_cpdry = 1004.64_RP
 specific heat (dry air,constant pressure) [J/kg/K] More...
 
real(rp), public const_cvdry
 specific heat (dry air,constant volume) [J/kg/K] More...
 
real(rp), public const_laps = 6.5E-3_RP
 lapse rate of ISA [K/m] More...
 
real(rp), public const_lapsdry
 dry adiabatic lapse rate [K/m] More...
 
real(rp), public const_mvap = 18.016_RP
 mass weight (water vapor) [g/mol] More...
 
real(rp), parameter, public const_rvap = 461.50_RP
 specific gas constant (water vapor) [J/kg/K] More...
 
real(rp), parameter, public const_cpvap = 1846.00_RP
 specific heat (water vapor, constant pressure) [J/kg/K] More...
 
real(rp), public const_cvvap
 specific heat (water vapor, constant volume) [J/kg/K] More...
 
real(rp), parameter, public const_cl = 4218.0_RP
 specific heat (liquid water) [J/kg/K] More...
 
real(rp), parameter, public const_ci = 2106.0_RP
 specific heat (ice) [J/kg/K] More...
 
real(rp), public const_epsvap
 Rdry / Rvap. More...
 
real(rp), public const_epstvap
 1 / epsilon - 1 More...
 
real(rp), parameter, public const_emelt = 3.4E5_RP
 
real(rp), parameter, public const_tmelt = 273.15_RP
 
real(rp), parameter, public const_lhv0 = 2.501E+6_RP
 latent heat of vaporizaion at 0C [J/kg] More...
 
real(rp), public const_lhv00
 latent heat of vaporizaion at 0K [J/kg] More...
 
real(rp), parameter, public const_lhs0 = 2.834E+6_RP
 latent heat of sublimation at 0C [J/kg] More...
 
real(rp), public const_lhs00
 latent heat of sublimation at 0K [J/kg] More...
 
real(rp), public const_lhf0
 latent heat of fusion at 0C [J/kg] More...
 
real(rp), public const_lhf00
 latent heat of fusion at 0K [J/kg] More...
 
real(rp), parameter, public const_psat0 = 610.78_RP
 saturate pressure of water vapor at 0C [Pa] More...
 
real(rp), parameter, public const_dwatr = 1000.0_RP
 density of water [kg/m3] More...
 
real(rp), parameter, public const_dice = 916.8_RP
 density of ice [kg/m3] More...
 
real(rp), public const_sound
 speed of sound (dry air at 0C) [m/s] More...
 
real(rp), public const_pstd = 101325.0_RP
 standard pressure [Pa] More...
 
real(rp), public const_pre00 = 100000.0_RP
 pressure reference [Pa] More...
 
real(rp), public const_tstd = 288.15_RP
 standard temperature (15C) [K] More...
 
real(rp), parameter, public const_tem00 = 273.15_RP
 temperature reference (0C) [K] More...
 
real(rp), parameter, public const_ppm = 1.E-6_RP
 parts par million More...
 
integer, public const_i_lw = 1
 long-wave radiation index More...
 
integer, public const_i_sw = 2
 short-wave radiation index More...
 
character(len=h_short), public const_thermodyn_type = 'EXACT'
 internal energy type More...
 

Detailed Description

module CONSTANT

Description
Physical constants module
Author
Team SCALE
NAMELIST
  • PARAM_CONST
    nametypedefault valuecomment
    CONST_RADIUS real(RP) 6.37122E+6_RP radius of the planet [m]
    CONST_OHM real(RP) 7.2920E-5_RP angular velocity of the planet [1/s]
    CONST_GRAV real(RP) 9.80665_RP standard acceleration of gravity [m/s2]
    CONST_RDRY real(RP) 287.04_RP specific gas constant (dry air) [J/kg/K]
    CONST_CPDRY real(RP) 1004.64_RP specific heat (dry air,constant pressure) [J/kg/K]
    CONST_LAPS real(RP) 6.5E-3_RP lapse rate of ISA [K/m]
    CONST_PSTD real(RP) 101325.0_RP standard pressure [Pa]
    CONST_PRE00 real(RP) 100000.0_RP pressure reference [Pa]
    CONST_TSTD real(RP) 288.15_RP standard temperature (15C) [K]
    CONST_THERMODYN_TYPE character(len=H_SHORT) 'EXACT' internal energy type
    CONST_SMALLPLANETFACTOR real(RP) 1.0_RP factor for small planet

History Output
No history output

Function/Subroutine Documentation

◆ const_setup()

subroutine, public scale_const::const_setup ( )

Setup.

Definition at line 112 of file scale_const.F90.

References const_ci, const_cl, const_cpdry, const_cpvap, const_cvdry, const_cvvap, const_d2r, const_dice, const_dwatr, const_eps, const_eps1, const_epstvap, const_epsvap, const_grav, const_huge, const_karman, const_laps, const_lapsdry, const_lhf0, const_lhf00, const_lhs0, const_lhs00, const_lhv0, const_lhv00, const_mdry, const_mvap, const_ohm, const_pi, const_pre00, const_psat0, const_pstd, const_r, const_radius, const_rdry, const_rvap, const_sound, const_stb, const_tem00, const_thermodyn_type, const_tstd, const_undef, const_undef2, const_undef4, const_undef8, scale_precision::dp, scale_io::io_fid_conf, scale_prc::prc_abort(), scale_precision::rp, and scale_precision::sp.

Referenced by scale_atmos_hydrometeor::atmos_hydrometeor_setup(), mod_rm_driver::rm_driver(), mod_rm_prep::rm_prep(), and scale::scale_init().

112  use scale_prc, only: &
113  prc_abort
114  implicit none
115 
116  real(RP) :: const_smallplanetfactor = 1.0_rp
117 
118  namelist / param_const / &
119  const_radius, &
120  const_ohm, &
121  const_grav, &
122  const_rdry, &
123  const_cpdry, &
124  const_laps, &
125  const_pstd, &
126  const_pre00, &
127  const_tstd, &
128  const_thermodyn_type, &
129  const_smallplanetfactor
130 
131  integer :: ierr
132  !---------------------------------------------------------------------------
133 
134  if ( initialized ) return
135  initialized = .true.
136 
137  log_newline
138  log_info("CONST_setup",*) 'Setup'
139 
140  !--- read namelist
141  rewind(io_fid_conf)
142  read(io_fid_conf,nml=param_const,iostat=ierr)
143  if( ierr < 0 ) then !--- missing
144  log_info("CONST_setup",*) 'Not found namelist. Default used.'
145  elseif( ierr > 0 ) then !--- fatal error
146  log_error("CONST_setup",*) 'Not appropriate names in namelist PARAM_CONST. Check!'
147  call prc_abort
148  endif
149  log_nml(param_const)
150 
151  if ( rp == sp ) then
152  const_undef = real(const_undef4,kind=rp)
153  elseif( rp == dp ) then
154  const_undef = real(const_undef8,kind=rp)
155  else
156  log_error("CONST_setup",*) 'unsupported precision: ', rp
157  call prc_abort
158  endif
159 
160  const_pi = 4.0_rp * atan( 1.0_rp )
161  const_d2r = const_pi / 180.0_rp
162  const_eps = epsilon(0.0_rp)
163  const_eps1 = 1.0_rp - epsilon(0.0_rp)
164  const_huge = huge(0.0_rp)
165 
166  const_radius = const_radius / const_smallplanetfactor
167  const_ohm = const_ohm * const_smallplanetfactor
168 
169  const_cvdry = const_cpdry - const_rdry
170  const_lapsdry = const_grav / const_cpdry
171 
172  const_cvvap = const_cpvap - const_rvap
173  const_epsvap = const_rdry / const_rvap
174  const_epstvap = 1.0_rp / const_epsvap - 1.0_rp
175 
176  const_lhf0 = const_lhs0 - const_lhv0
177 
178  const_lhv00 = const_lhv0 - ( const_cpvap - const_cl ) * const_tem00
179  const_lhs00 = const_lhs0 - ( const_cpvap - const_ci ) * const_tem00
180  const_lhf00 = const_lhf0 - ( const_cl - const_ci ) * const_tem00
181 
182  const_sound = sqrt( const_cpdry * const_rdry / ( const_cpdry - const_rdry ) * const_tem00 )
183 
184  log_newline
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
194 
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
198 
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
202 
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
209 
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
218 
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
225  log_info_cont(*) 'Thermodynamics calculation type : ', trim(const_thermodyn_type)
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
229 
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
235 
236  return
integer, public io_fid_conf
Config file ID.
Definition: scale_io.F90:55
real(rp), public const_d2r
degree to radian
Definition: scale_const.F90:32
module PROCESS
Definition: scale_prc.F90:11
subroutine, public prc_abort
Abort Process.
Definition: scale_prc.F90:338
integer, parameter, public sp
integer, parameter, public rp
integer, parameter, public dp
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ const_pi

real(rp), public scale_const::const_pi = 3.14159265358979_RP

pi

Definition at line 31 of file scale_const.F90.

Referenced by mod_atmos_bnd_driver::atmos_boundary_driver_set(), scale_atmos_dyn_common::atmos_dyn_wdamp_setup(), scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_update_z(), scale_atmos_phy_ae_kajino13::atmos_phy_ae_kajino13_mkinit(), scale_atmos_phy_mp_kessler::atmos_phy_mp_kessler_adjustment(), scale_atmos_phy_mp_sn14::atmos_phy_mp_sn14_qhyd2qtrc(), scale_atmos_phy_mp_suzuki10::atmos_phy_mp_suzuki10_qhyd2qtrc(), scale_atmos_phy_mp_suzuki10::atmos_phy_mp_suzuki10_setup(), scale_atmos_phy_mp_tomita08::atmos_phy_mp_tomita08_adjustment(), scale_atmos_phy_mp_tomita08::atmos_phy_mp_tomita08_effective_radius(), scale_atmos_phy_mp_tomita08::atmos_phy_mp_tomita08_setup(), scale_atmos_phy_rd_mstrnx::atmos_phy_rd_mstrnx_flux(), scale_atmos_phy_sf_const::atmos_phy_sf_const_flux(), scale_atmos_solarins::atmos_solarins_ecliptic_longitude(), scale_atmos_solarins::atmos_solarins_orbit(), scale_bulkflux::bulkflux_setup(), mod_cnv2d::cnv2d(), const_setup(), mod_mkinit::faero(), scale_file_tiledata::file_tiledata_get_data_int1(), scale_file_tiledata::file_tiledata_get_data_real(), scale_file_tiledata::file_tiledata_get_domain_info(), scale_file_tiledata::file_tiledata_get_tile_info(), scale_bulkflux::fmm_unstable(), scale_mapprojection::mapprojection_setup(), mod_mktopo::mktopo(), scale_random::random_normal(), scale_urban_dyn_kusaka01::urban_dyn_kusaka01(), scale_vector::vectr_triangle(), and mod_realinput_wrfarw::wrf_arwpost_calc_uvmet().

31  real(RP), public :: const_pi = 3.14159265358979_rp

◆ const_d2r

real(rp), public scale_const::const_d2r

degree to radian

Definition at line 32 of file scale_const.F90.

Referenced by scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_update_z(), scale_atmos_phy_rd_profile::atmos_phy_rd_profile_setup(), scale_atmos_sfc_ch_rn222::atmos_sfc_ch_rn222_setup(), scale_atmos_solarins::atmos_solarins_orbit(), scale_atmos_solarins::atmos_solarins_setup(), mod_cnv2d::cnv2d(), mod_cnv2d::cnv2d_setup(), mod_cnvlanduse::cnvlanduse(), mod_cnvtopo::cnvtopo(), mod_cnvtopo::cnvtopo_setup(), scale_comm_cartesc_nest::comm_cartesc_nest_setup(), const_setup(), mod_copytopo::copytopo(), scale_file_cartesc::file_cartesc_set_coordinates_atmos(), scale_file_history_cartesc::file_history_cartesc_truncate_3d(), scale_file_tiledata::file_tiledata_get_data_int1(), scale_file_tiledata::file_tiledata_get_data_real(), scale_file_tiledata::file_tiledata_read_catalog_file(), scale_interp::interp_domain_compatibility(), scale_mapprojection::mapprojection_setup(), mod_realinput_grads::parentatmosinputgrads(), mod_realinput_nicam::parentatmosinputnicam(), mod_realinput_wrfarw::parentatmosinputwrfarw(), mod_realinput_nicam::parentatmosopennicam(), mod_realinput_scale::parentatmosopenscale(), mod_realinput_grads::parentlandinputgrads(), mod_realinput_nicam::parentlandinputnicam(), mod_realinput_scale::parentlandinputscale(), mod_realinput_wrfarw::parentlandinputwrfarw(), mod_realinput_grads::parentoceaninputgrads(), mod_realinput_nicam::parentoceaninputnicam(), mod_realinput_wrfarw::parentoceaninputwrfarw(), mod_realinput_nicam::parentoceanopennicam(), mod_realinput_scale::parentoceanopenscale(), scale_atmos_phy_rd_mm5sw::swpara(), mod_urban_driver::urban_driver_calc_tendency(), and mod_realinput_wrfarw::wrf_arwpost_calc_uvmet().

32  real(RP), public :: const_d2r
real(rp), public const_d2r
degree to radian
Definition: scale_const.F90:32

◆ const_eps

real(rp), public scale_const::const_eps = 1.E-16_RP

small number

Definition at line 33 of file scale_const.F90.

Referenced by mod_atmos_bnd_driver::atmos_boundary_driver_set(), scale_atmos_dyn_common::atmos_dyn_fct(), scale_atmos_dyn_fvm_flux_ud3koren1993::atmos_dyn_fvm_fluxy_xvz_ud3koren1993(), scale_atmos_dyn_fvm_flux_cd2::atmos_dyn_fvm_fluxz_xyz_cd2(), scale_atmos_dyn_fvm_flux_cd4::atmos_dyn_fvm_fluxz_xyz_cd4(), scale_atmos_dyn_fvm_flux_cd6::atmos_dyn_fvm_fluxz_xyz_cd6(), scale_atmos_dyn_fvm_flux_ud1::atmos_dyn_fvm_fluxz_xyz_ud1(), scale_atmos_dyn_fvm_flux_ud3::atmos_dyn_fvm_fluxz_xyz_ud3(), scale_atmos_dyn_fvm_flux_ud3koren1993::atmos_dyn_fvm_fluxz_xyz_ud3koren1993(), scale_atmos_dyn_fvm_flux_ud5::atmos_dyn_fvm_fluxz_xyz_ud5(), scale_atmos_dyn_tstep_large_fvm_heve::atmos_dyn_tstep_large_fvm_heve(), scale_atmos_dyn_tstep_short_fvm_heve::atmos_dyn_tstep_short_fvm_heve(), scale_atmos_dyn_common::atmos_dyn_wdamp_setup(), scale_atmos_hydrostatic::atmos_hydrostatic_setup(), mod_atmos_phy_mp_driver::atmos_phy_mp_driver_setup(), scale_atmos_phy_mp_kessler::atmos_phy_mp_kessler_adjustment(), scale_atmos_phy_mp_suzuki10::atmos_phy_mp_suzuki10_effective_radius(), scale_atmos_phy_mp_suzuki10::atmos_phy_mp_suzuki10_qhyd2qtrc(), scale_atmos_phy_mp_tomita08::atmos_phy_mp_tomita08_adjustment(), scale_atmos_phy_rd_mstrnx::atmos_phy_rd_mstrnx_flux(), mod_atmos_phy_sf_driver::atmos_phy_sf_driver_calc_tendency(), scale_atmos_phy_tb_smg::atmos_phy_tb_smg(), scale_atmos_refstate::atmos_refstate_smoothing(), scale_atmos_saturation::atmos_saturation_moist_conversion_pres_liq_0d(), scale_atmos_solarins::atmos_solarins_insolation_0d(), scale_atmos_solarins::atmos_solarins_insolation_2d(), scale_atmos_phy_mp_sn14::aut_acc_slc_brk_kij(), scale_bulkflux::bulkflux_setup(), mod_cnv2d::cnv2d(), mod_cnvlanduse::cnvlanduse(), mod_cnvtopo::cnvtopo(), const_setup(), mod_copytopo::copytopo(), scale_file_cartesc::file_cartesc_setup(), scale_file_cartesc::file_cartesc_write_var_4d(), scale_file_history::file_history_in_0d(), scale_file_history::file_history_in_1d(), scale_file_history::file_history_in_2d(), scale_file_history::file_history_in_3d(), scale_file_history::file_history_reg(), scale_bulkflux::fmm_unstable(), scale_interp::interp_interp2d(), scale_interp::interp_interp3d(), scale_interp::interp_search_horiz_struct(), mod_realinput::land_interporation(), mod_realinput::make_mask(), scale_ocean_phy_tc::ocean_phy_tc_seaice(), mod_realinput_grads::parentatmosinputgrads(), mod_realinput_nicam::parentatmosinputnicam(), mod_realinput_grads::parentlandinputgrads(), mod_realinput_nicam::parentlandinputnicam(), mod_realinput_grads::parentoceaninputgrads(), mod_realinput_nicam::parentoceaninputnicam(), mod_realinput::realinput_surface(), mod_realinput::replace_misval_const(), mod_realinput::replace_misval_map(), scale_atmos_dyn_tstep_short_fvm_hevi::solve_direct(), mod_mkinit::tke_setup(), scale_urban_dyn_kusaka01::urban_dyn_kusaka01(), scale_vector::vectr_anticlockwise(), scale_vector::vectr_intersec(), scale_vector::vectr_triangle(), and scale_vector::vectr_xyz2latlon().

33  real(RP), public :: const_eps = 1.e-16_rp

◆ const_eps1

real(rp), public scale_const::const_eps1 = 0.99999999999999_RP

small number

Definition at line 34 of file scale_const.F90.

Referenced by scale_atmos_phy_rd_mstrnx::atmos_phy_rd_mstrnx_flux(), and const_setup().

34  real(RP), public :: const_eps1 = 0.99999999999999_rp

◆ const_huge

real(rp), public scale_const::const_huge = 1.E+30_RP

◆ const_undef2

integer, parameter, public scale_const::const_undef2 = -32768

undefined value (INT2)

Definition at line 38 of file scale_const.F90.

Referenced by scale_atmos_dyn_common::atmos_dyn_fct(), mod_cnvlanduse::cnvlanduse(), const_setup(), and scale_file_tiledata::file_tiledata_get_data_int1().

38  integer, public, parameter :: const_undef2 = -32768

◆ const_undef4

real(sp), parameter, public scale_const::const_undef4 = -9.9999E30

undefined value (REAL4)

Definition at line 39 of file scale_const.F90.

Referenced by const_setup().

39  real(SP), public, parameter :: const_undef4 = -9.9999e30

◆ const_undef8

real(dp), parameter, public scale_const::const_undef8 = -9.9999D30

undefined value (REAL8)

Definition at line 40 of file scale_const.F90.

Referenced by mod_admin_time::admin_time_setup(), const_setup(), mod_mkinit::mkinit(), and mod_mkinit::rect_setup().

40  real(DP), public, parameter :: const_undef8 = -9.9999d30

◆ const_undef

real(rp), public scale_const::const_undef

Definition at line 41 of file scale_const.F90.

Referenced by mod_atmos_vars::allocate_1d(), mod_atmos_vars::allocate_2d(), mod_atmos_vars::allocate_3d(), mod_atmos_bnd_driver::atmos_boundary_driver_setup(), scale_atmos_dyn_common::atmos_dyn_fct(), scale_atmos_dyn::atmos_dyn_setup(), scale_atmos_dyn_tinteg_large_euler::atmos_dyn_tinteg_large_euler_setup(), scale_atmos_dyn_tinteg_short_rk3::atmos_dyn_tinteg_short_rk3_setup(), scale_atmos_dyn_tinteg_short_rk4::atmos_dyn_tinteg_short_rk4_setup(), scale_atmos_dyn_tstep_large_fvm_heve::atmos_dyn_tstep_large_fvm_heve_setup(), mod_atmos_dyn_vars::atmos_dyn_vars_setup(), mod_atmos_phy_ae_vars::atmos_phy_ae_vars_setup(), mod_atmos_phy_bl_vars::atmos_phy_bl_vars_setup(), mod_atmos_phy_ch_vars::atmos_phy_ch_vars_setup(), mod_atmos_phy_cp_vars::atmos_phy_cp_vars_setup(), scale_atmos_phy_mp_sn14::atmos_phy_mp_sn14_terminal_velocity(), scale_atmos_phy_mp_tomita08::atmos_phy_mp_tomita08_adjustment(), mod_atmos_phy_mp_vars::atmos_phy_mp_vars_setup(), scale_atmos_phy_rd_offline::atmos_phy_rd_offline_setup(), mod_atmos_phy_rd_vars::atmos_phy_rd_vars_setup(), mod_atmos_phy_sf_vars::atmos_phy_sf_vars_setup(), mod_atmos_phy_tb_vars::atmos_phy_tb_vars_setup(), scale_atmos_refstate::atmos_refstate_calc3d(), scale_atmos_refstate::atmos_refstate_setup(), scale_atmos_saturation::atmos_saturation_dqs_dtem_dpre_ice_3d(), mod_atmos_vars::atmos_vars_setup(), scale_debug::check(), mod_cnv2d::cnv2d(), mod_cnvtopo::cnvtopo(), scale_comm_cartesc::comm_horizontal_mean_3d(), scale_comm_cartesc::comm_vars8_init(), const_setup(), mod_cpl_vars::cpl_vars_setup(), scale_file_cartesc::file_cartesc_def_axes(), scale_file_cartesc::file_cartesc_write_axes(), scale_file_external_input::file_external_input_setup(), scale_file_history_cartesc::file_history_cartesc_truncate_3d(), scale_file_history::file_history_in_0d(), scale_file_history::file_history_in_1d(), scale_file_history::file_history_in_2d(), scale_file_history::file_history_in_3d(), scale_file_history::file_history_reg(), scale_file_tiledata::file_tiledata_get_data_real(), mod_atmos_phy_sf_driver::history_output(), scale_interp::interp_div_block(), scale_interp::interp_factor2d(), scale_interp::interp_insert_2d(), scale_interp::interp_interp2d(), scale_interp::interp_search_horiz_struct(), scale_interp_vert::interp_vert_xi2p(), scale_interp_vert::interp_vert_xi2z(), scale_interp_vert::interp_vert_xih2p(), scale_interp_vert::interp_vert_xih2zh(), scale_interp_vert::interp_vert_z2xi(), scale_interp_vert::interp_vert_zh2xih(), scale_land_dyn_bucket::land_dyn_bucket_setup(), mod_realinput::land_interporation(), mod_land_vars::land_vars_setup(), mod_realinput::make_mask(), scale_mapprojection::mapprojection_setup(), scale_ocean_dyn_offline::ocean_dyn_offline_setup(), scale_ocean_dyn_slab::ocean_dyn_slab_setup(), scale_ocean_phy_ice_simple::ocean_phy_ice_setup(), mod_ocean_vars::ocean_vars_setup(), mod_realinput_grads::parentatmosinputgrads(), mod_realinput_grads::parentlandinputgrads(), mod_realinput_nicam::parentlandinputnicam(), mod_realinput_scale::parentlandinputscale(), mod_realinput_wrfarw::parentlandinputwrfarw(), mod_realinput_grads::parentoceaninputgrads(), mod_realinput_nicam::parentoceaninputnicam(), mod_realinput_wrfarw::parentoceaninputwrfarw(), mod_realinput_nicam::parentoceanopennicam(), mod_realinput::realinput_surface(), mod_realinput::replace_misval_map(), scale_statistics::statistics_horizontal_max_2d(), scale_statistics::statistics_horizontal_max_3d(), scale_statistics::statistics_horizontal_mean_2d(), scale_statistics::statistics_horizontal_mean_3d(), scale_statistics::statistics_horizontal_min_2d(), scale_statistics::statistics_horizontal_min_3d(), scale_statistics::statistics_total_2d(), scale_statistics::statistics_total_3d(), and mod_urban_vars::urban_vars_setup().

41  real(RP), public :: const_undef

◆ const_radius

real(rp), public scale_const::const_radius = 6.37122E+6_RP

◆ const_ohm

real(rp), public scale_const::const_ohm = 7.2920E-5_RP

angular velocity of the planet [1/s]

Definition at line 45 of file scale_const.F90.

Referenced by scale_atmos_dyn::atmos_dyn_setup(), scale_atmos_dyn_tstep_large_fvm_heve::atmos_dyn_tstep_large_fvm_heve_setup(), const_setup(), and mod_mkinit::read_sounding().

45  real(RP), public :: const_ohm = 7.2920e-5_rp

◆ const_grav

real(rp), public scale_const::const_grav = 9.80665_RP

standard acceleration of gravity [m/s2]

Definition at line 46 of file scale_const.F90.

Referenced by scale_atmos_adiabat::atmos_adiabat_cape_1d(), scale_atmos_bottom::atmos_bottom_estimate(), scale_atmos_diagnostic::atmos_diagnostic_get_n2(), scale_atmos_diagnostic::atmos_diagnostic_get_phyd(), scale_atmos_dyn_tstep_short_fvm_heve::atmos_dyn_tstep_short_fvm_heve(), scale_atmos_dyn_tstep_short_fvm_hivi::atmos_dyn_tstep_short_fvm_hivi(), scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_update_z(), scale_atmos_phy_cp_kf::atmos_phy_cp_kf_tendency(), scale_atmos_phy_mp_common::atmos_phy_mp_precipitation_semilag(), scale_atmos_phy_mp_common::atmos_phy_mp_precipitation_upwind(), scale_atmos_phy_mp_tomita08::atmos_phy_mp_tomita08_setup(), scale_atmos_phy_rd_mstrnx::atmos_phy_rd_mstrnx_flux(), scale_atmos_phy_rd_profile::atmos_phy_rd_profile_read(), mod_atmos_phy_sf_driver::atmos_phy_sf_driver_calc_tendency(), scale_atmos_phy_tb_d1980::atmos_phy_tb_d1980(), scale_atmos_phy_tb_dns::atmos_phy_tb_dns(), scale_atmos_phy_tb_smg::atmos_phy_tb_smg(), mod_atmos_vars::atmos_vars_get_diagnostic_3d(), mod_atmos_vars::atmos_vars_monitor(), mod_atmos_vars::atmos_vars_restart_open(), mod_atmos_vars::atmos_vars_total(), scale_bulkflux::bulkflux_setup(), const_setup(), scale_ocean_phy_roughness_miller92::ocean_phy_roughness_miller92(), scale_ocean_phy_roughness_moon07::ocean_phy_roughness_moon07(), mod_realinput_grads::parentatmosinputgrads(), mod_realinput_scale::parentatmosinputscale(), mod_realinput_wrfarw::parentatmosinputwrfarw(), mod_mkinit::read_sounding(), scale_atmos_dyn_tstep_short_fvm_hevi::solve_direct(), and scale_atmos_phy_rd_mm5sw::swrad().

46  real(RP), public :: const_grav = 9.80665_rp

◆ const_stb

real(rp), parameter, public scale_const::const_stb = 5.670373E-8_RP

Stefan-Boltzman constant [W/m2/K4].

Definition at line 49 of file scale_const.F90.

Referenced by const_setup(), scale_cpl_phy_sfc_fixed_temp::cpl_phy_sfc_fixed_temp(), scale_cpl_phy_sfc_skin::cpl_phy_sfc_skin(), and scale_land_phy_snow_diagnos::land_phy_snow_diags().

49  real(RP), public, parameter :: const_stb = 5.670373e-8_rp

◆ const_karman

real(rp), parameter, public scale_const::const_karman = 0.4_RP

◆ const_r

real(rp), parameter, public scale_const::const_r = 8.31436_RP

universal gas constant [J/mol/K]

Definition at line 51 of file scale_const.F90.

Referenced by const_setup().

51  real(RP), public, parameter :: const_r = 8.31436_rp

◆ const_mdry

real(rp), public scale_const::const_mdry = 28.966_RP

mass weight (dry air) [g/mol]

Definition at line 54 of file scale_const.F90.

Referenced by scale_atmos_phy_rd_mstrnx::atmos_phy_rd_mstrnx_flux(), scale_atmos_phy_rd_profile::atmos_phy_rd_profile_setup_zgrid(), and const_setup().

54  real(RP), public :: const_mdry = 28.966_rp

◆ const_rdry

real(rp), public scale_const::const_rdry = 287.04_RP

◆ const_cpdry

real(rp), public scale_const::const_cpdry = 1004.64_RP

◆ const_cvdry

real(rp), public scale_const::const_cvdry

◆ const_laps

real(rp), public scale_const::const_laps = 6.5E-3_RP

◆ const_lapsdry

real(rp), public scale_const::const_lapsdry

dry adiabatic lapse rate [K/m]

Definition at line 59 of file scale_const.F90.

Referenced by const_setup().

59  real(RP), public :: const_lapsdry

◆ const_mvap

real(rp), public scale_const::const_mvap = 18.016_RP

mass weight (water vapor) [g/mol]

Definition at line 62 of file scale_const.F90.

Referenced by scale_atmos_phy_rd_mstrnx::atmos_phy_rd_mstrnx_flux(), scale_atmos_phy_rd_profile::atmos_phy_rd_profile_setup_zgrid(), and const_setup().

62  real(RP), public :: const_mvap = 18.016_rp

◆ const_rvap

real(rp), parameter, public scale_const::const_rvap = 461.50_RP

◆ const_cpvap

real(rp), parameter, public scale_const::const_cpvap = 1846.00_RP

specific heat (water vapor, constant pressure) [J/kg/K]

Definition at line 64 of file scale_const.F90.

Referenced by scale_atmos_hydrometeor::atmos_hydrometeor_setup(), scale_atmos_saturation::atmos_saturation_setup(), const_setup(), and mod_mkinit::read_sounding().

64  real(RP), public, parameter :: const_cpvap = 1846.00_rp

◆ const_cvvap

real(rp), public scale_const::const_cvvap

specific heat (water vapor, constant volume) [J/kg/K]

Definition at line 65 of file scale_const.F90.

Referenced by scale_atmos_hydrometeor::atmos_hydrometeor_setup(), scale_atmos_saturation::atmos_saturation_setup(), const_setup(), and mod_mkinit::read_sounding().

65  real(RP), public :: const_cvvap

◆ const_cl

real(rp), parameter, public scale_const::const_cl = 4218.0_RP

◆ const_ci

real(rp), parameter, public scale_const::const_ci = 2106.0_RP

◆ const_epsvap

real(rp), public scale_const::const_epsvap

◆ const_epstvap

real(rp), public scale_const::const_epstvap

1 / epsilon - 1

Definition at line 70 of file scale_const.F90.

Referenced by scale_bulkflux::bulkflux_setup(), const_setup(), and mod_realinput_grads::parentatmosinputgrads().

70  real(RP), public :: const_epstvap

◆ const_emelt

real(rp), parameter, public scale_const::const_emelt = 3.4E5_RP

◆ const_tmelt

real(rp), parameter, public scale_const::const_tmelt = 273.15_RP

Definition at line 73 of file scale_const.F90.

Referenced by scale_atmos_phy_mp_suzuki10::atmos_phy_mp_suzuki10_qhyd2qtrc().

73  real(RP), public, parameter :: const_tmelt = 273.15_rp

◆ const_lhv0

real(rp), parameter, public scale_const::const_lhv0 = 2.501E+6_RP

◆ const_lhv00

real(rp), public scale_const::const_lhv00

latent heat of vaporizaion at 0K [J/kg]

Definition at line 76 of file scale_const.F90.

Referenced by scale_atmos_hydrometeor::atmos_hydrometeor_setup(), scale_atmos_saturation::atmos_saturation_setup(), and const_setup().

76  real(RP), public :: const_lhv00

◆ const_lhs0

real(rp), parameter, public scale_const::const_lhs0 = 2.834E+6_RP

◆ const_lhs00

real(rp), public scale_const::const_lhs00

latent heat of sublimation at 0K [J/kg]

Definition at line 78 of file scale_const.F90.

Referenced by scale_atmos_hydrometeor::atmos_hydrometeor_setup(), scale_atmos_saturation::atmos_saturation_setup(), and const_setup().

78  real(RP), public :: const_lhs00

◆ const_lhf0

real(rp), public scale_const::const_lhf0

◆ const_lhf00

real(rp), public scale_const::const_lhf00

latent heat of fusion at 0K [J/kg]

Definition at line 80 of file scale_const.F90.

Referenced by scale_atmos_hydrometeor::atmos_hydrometeor_setup(), and const_setup().

80  real(RP), public :: const_lhf00

◆ const_psat0

real(rp), parameter, public scale_const::const_psat0 = 610.78_RP

saturate pressure of water vapor at 0C [Pa]

Definition at line 81 of file scale_const.F90.

Referenced by scale_atmos_hydrometeor::atmos_hydrometeor_entr_2d(), scale_atmos_hydrometeor::atmos_hydrometeor_lhf_1d(), scale_atmos_phy_mp_suzuki10::atmos_phy_mp_suzuki10_qhyd2qtrc(), and const_setup().

81  real(RP), public, parameter :: const_psat0 = 610.78_rp

◆ const_dwatr

real(rp), parameter, public scale_const::const_dwatr = 1000.0_RP

◆ const_dice

real(rp), parameter, public scale_const::const_dice = 916.8_RP

◆ const_sound

real(rp), public scale_const::const_sound

speed of sound (dry air at 0C) [m/s]

Definition at line 85 of file scale_const.F90.

Referenced by const_setup().

85  real(RP), public :: const_sound

◆ const_pstd

real(rp), public scale_const::const_pstd = 101325.0_RP

standard pressure [Pa]

Definition at line 87 of file scale_const.F90.

Referenced by scale_atmos_phy_rd_mstrnx::atmos_phy_rd_mstrnx_flux(), scale_atmos_refstate::atmos_refstate_write(), and const_setup().

87  real(RP), public :: const_pstd = 101325.0_rp

◆ const_pre00

real(rp), public scale_const::const_pre00 = 100000.0_RP

◆ const_tstd

real(rp), public scale_const::const_tstd = 288.15_RP

standard temperature (15C) [K]

Definition at line 89 of file scale_const.F90.

Referenced by const_setup().

89  real(RP), public :: const_tstd = 288.15_rp

◆ const_tem00

real(rp), parameter, public scale_const::const_tem00 = 273.15_RP

temperature reference (0C) [K]

Definition at line 90 of file scale_const.F90.

Referenced by scale_atmos_hydrometeor::atmos_hydrometeor_entr_2d(), scale_atmos_hydrometeor::atmos_hydrometeor_lhf_1d(), scale_atmos_hydrometeor::atmos_hydrometeor_lhs_1d(), scale_atmos_hydrometeor::atmos_hydrometeor_lhv_0d(), scale_atmos_hydrometeor::atmos_hydrometeor_lhv_1d(), scale_atmos_phy_cp_kf::atmos_phy_cp_kf_tendency(), scale_atmos_phy_mp_suzuki10::atmos_phy_mp_suzuki10_qhyd2qtrc(), scale_atmos_phy_mp_suzuki10::atmos_phy_mp_suzuki10_tendency(), scale_atmos_phy_mp_tomita08::atmos_phy_mp_tomita08_adjustment(), scale_atmos_phy_mp_tomita08::atmos_phy_mp_tomita08_effective_radius(), scale_atmos_phy_mp_tomita08::atmos_phy_mp_tomita08_terminal_velocity(), scale_atmos_phy_rd_mstrnx::atmos_phy_rd_mstrnx_flux(), scale_land_phy_snow_ky90::cal_param(), scale_land_phy_snow_ky90::cal_r1r2(), scale_land_phy_snow_ky90::calculationmo(), scale_land_phy_snow_ky90::calculationnomo(), scale_land_phy_snow_ky90::check_applicability(), scale_land_phy_snow_ky90::check_res(), const_setup(), scale_land_phy_snow_ky90::groundflux(), scale_land_dyn_bucket::land_dyn_bucket(), scale_land_phy_snow_ky90::land_phy_snow_ky90(), mod_realinput_grads::parentlandinputgrads(), mod_realinput_nicam::parentlandinputnicam(), mod_realinput_grads::parentoceaninputgrads(), mod_realinput_nicam::parentoceaninputnicam(), scale_land_phy_snow_ky90::recalculatez(), scale_land_phy_snow_ky90::snow_ky90_main(), and scale_land_phy_snow_ky90::snowdepth().

90  real(RP), public, parameter :: const_tem00 = 273.15_rp

◆ const_ppm

real(rp), parameter, public scale_const::const_ppm = 1.E-6_RP

parts par million

Definition at line 91 of file scale_const.F90.

Referenced by scale_atmos_phy_rd_mstrnx::atmos_phy_rd_mstrnx_flux(), and scale_atmos_phy_rd_profile::atmos_phy_rd_profile_setup_zgrid().

91  real(RP), public, parameter :: const_ppm = 1.e-6_rp

◆ const_i_lw

integer, public scale_const::const_i_lw = 1

long-wave radiation index

Definition at line 93 of file scale_const.F90.

Referenced by mod_realinput::land_interporation(), scale_land_phy_snow_ky90::land_phy_snow_ky90(), and mod_realinput::realinput_surface().

93  integer, public :: const_i_lw = 1

◆ const_i_sw

integer, public scale_const::const_i_sw = 2

short-wave radiation index

Definition at line 94 of file scale_const.F90.

Referenced by mod_realinput::land_interporation(), scale_land_phy_snow_ky90::land_phy_snow_ky90(), and mod_realinput::realinput_surface().

94  integer, public :: const_i_sw = 2

◆ const_thermodyn_type

character(len=h_short), public scale_const::const_thermodyn_type = 'EXACT'

internal energy type

Definition at line 96 of file scale_const.F90.

Referenced by scale_atmos_hydrometeor::atmos_hydrometeor_setup(), scale_atmos_saturation::atmos_saturation_setup(), and const_setup().

96  character(len=H_SHORT), public :: const_thermodyn_type = 'EXACT'