55 atmos_phy_bl_mynn_tracer_setup, &
56 atmos_phy_bl_mynn_ntracer, &
57 atmos_phy_bl_mynn_name, &
58 atmos_phy_bl_mynn_desc, &
59 atmos_phy_bl_mynn_units
69 log_info(
"ATMOS_PHY_BL_driver_tracer_setup",*)
'Setup' 74 call atmos_phy_bl_mynn_tracer_setup
77 atmos_phy_bl_mynn_ntracer, &
78 atmos_phy_bl_mynn_name, &
79 atmos_phy_bl_mynn_desc, &
80 atmos_phy_bl_mynn_units )
81 qe =
qs + atmos_phy_bl_mynn_ntracer - 1
83 log_error(
"ATMOS_PHY_BL_driver_tracer_setup",*)
'ATMOS_PHY_BL_TYPE is invalid: ', trim(
atmos_phy_bl_type)
101 atmos_phy_bl_mynn_setup
109 log_info(
"ATMOS_PHY_BL_driver_setup",*)
'Setup' 114 call atmos_phy_bl_mynn_setup( &
119 log_info(
"ATMOS_PHY_BL_driver_setup",*)
'this component is never called.' 136 atmos_phy_bl_mynn_tendency, &
137 atmos_phy_bl_mynn_tendency_tracer
162 atmos_vars_get_diagnostic
178 logical,
intent(in) :: update_flag
185 real(RP) :: POTL(
ka,
ia,
ja)
186 real(RP) :: POTV(
ka,
ia,
ja)
188 integer :: k, i, j, iq
191 if ( update_flag )
then 193 rhoq_t_bl(:,:,:,:) = 0.0_rp
197 call atmos_vars_get_diagnostic(
"N2", n2 )
198 call atmos_vars_get_diagnostic(
"POTL", potl )
199 call atmos_vars_get_diagnostic(
"POTV", potv )
203 qw(k,i,j) =
qv(k,i,j) +
qc(k,i,j) +
qi(k,i,j)
207 call atmos_phy_bl_mynn_tendency( &
209 dens(:,:,:),
u(:,:,:),
v(:,:,:), &
212 qdry(:,:,:),
qv(:,:,:), qw(:,:,:), &
213 potl(:,:,:), potv(:,:,:), &
214 sflx_mu(:,:), sflx_mv(:,:), sflx_sh(:,:), sflx_qv(:,:), &
216 cz(:,:,:), fz(:,:,:), dt_bl, &
217 rhou_t_bl(:,:,:), rhov_t_bl(:,:,:), &
218 rhot_t_bl(:,:,:), rhoq_t_bl(:,:,:,
qs:
qe), &
219 nu(:,:,:), kh(:,:,:) )
222 call atmos_phy_bl_mynn_tendency_tracer( &
225 sflx_q(:,:,iq), kh(:,:,:), &
226 cz(:,:,:), fz(:,:,:), &
228 rhoq_t_bl(:,:,:,iq) )
232 call file_history_in( nu(:,:,:),
'Nu_BL',
'eddy viscosity',
'm2/s', fill_halo=.true. )
233 call file_history_in( kh(:,:,:),
'Kh_BL',
'eddy diffusion',
'm2/s', fill_halo=.true. )
235 call file_history_in( rhou_t_bl(:,:,:),
'RHOU_t_BL',
'MOMX tendency (BL)',
'kg/m2/s2', fill_halo=.true. )
236 call file_history_in( rhov_t_bl(:,:,:),
'RHOV_t_BL',
'MOMY tendency (BL)',
'kg/m2/s2', fill_halo=.true. )
237 call file_history_in( rhot_t_bl(:,:,:),
'RHOT_t_BL',
'RHOT tendency (BL)',
'K.kg/m3/s', fill_halo=.true. )
241 call file_history_in( rhoq_t_bl(:,:,:,iq), trim(
tracer_name(iq))//
'_t_BL', &
242 'RHO*'//trim(
tracer_name(iq))//
' tendency (BL)',
'kg/m3/s', fill_halo=.true. )
247 rhou_t_bl(:,:,:),
'RHOU_t_BL', &
251 rhov_t_bl(:,:,:),
'RHOV_t_BL', &
255 rhot_t_bl(:,:,:),
'RHOT_t_BL', &
259 nu(:,:,:),
'Nu_BL', &
263 kh(:,:,:),
'Kh_BL', &
270 rhoq_t_bl(:,:,:,iq), trim(
tracer_name(iq))//
'_t_BL', &
283 rhou_t(k,i,j) = rhou_t(k,i,j) + rhou_t_bl(k,i,j)
284 rhov_t(k,i,j) = rhov_t(k,i,j) + rhov_t_bl(k,i,j)
285 rhot_t(k,i,j) = rhot_t(k,i,j) + rhot_t_bl(k,i,j)
296 rhoq_t(k,i,j,iq) = rhoq_t(k,i,j,iq) + rhoq_t_bl(k,i,j,iq)
real(rp), dimension(:), allocatable, public atmos_grid_cartesc_cdy
y-length of control volume [m]
real(rp), dimension(:), allocatable, public atmos_grid_cartesc_cdx
x-length of control volume [m]
real(rp), dimension(:,:,:), pointer, public qc
subroutine, public atmos_phy_bl_driver_tracer_setup
Config.
subroutine, public atmos_phy_bl_driver_calc_tendency(update_flag)
calculate tendency
real(rp), dimension(:,:,:), allocatable, target, public qdry
integer, public ia
of whole cells: x, local, with HALO
real(dp), public time_dtsec_atmos_phy_bl
time interval of physics(pbl ) [sec]
module ATMOSPHERIC Variables
real(rp), dimension(:,:,:,:), pointer, public qtrc_av
real(rp), dimension(:,:,:), allocatable, public atmos_phy_bl_rhov_t
module atmosphere / physics / PBL
real(rp), dimension(:,:,:), allocatable, public rhot_tp
real(rp), dimension(:,:,:), allocatable, public atmos_grid_cartesc_real_vol
control volume (zxy) [m3]
real(rp), public atmos_grid_cartesc_real_totvol
total volume (zxy, local) [m3]
logical, dimension(qa_max), public tracer_advc
real(rp), dimension(:,:,:), allocatable, public atmos_grid_cartesc_real_fz
geopotential height [m] (wxy)
integer, public ja
of whole cells: y, local, with HALO
real(rp), dimension(:,:,:), allocatable, target, public dens
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_mv
real(rp), dimension(:,:,:), allocatable, public rhov_tp
character(len=h_short), dimension(qa_max), public tracer_name
logical, public statistics_checktotal
calc&report variable totals to logfile?
real(rp), dimension(:,:,:), pointer, public qi
real(rp), dimension(:,:,:), allocatable, public atmos_phy_bl_rhou_t
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_l_mo
integer, public is
start point of inner domain: x, local
module ATMOSPHERIC Surface Variables
integer, public ie
end point of inner domain: x, local
character(len=h_short), public atmos_phy_bl_type
module atmosphere / grid / cartesC index
integer, public ke
end point of inner domain: z, local
real(rp), dimension(:,:,:,:), allocatable, public rhoq_tp
integer, public je
end point of inner domain: y, local
real(rp), dimension(:), allocatable, public atmos_grid_cartesc_cdz
z-length of control volume [m]
real(rp), dimension(:,:,:,:), allocatable, public atmos_phy_bl_rhoq_t
module atmosphere / physics / PBL
real(rp), dimension(:,:,:), allocatable, target, public atmos_phy_sf_sflx_qtrc
module atmosphere / grid / cartesC
integer, public ks
start point of inner domain: z, local
real(rp), dimension(:,:,:), allocatable, target, public pott
real(rp), dimension(:,:,:), pointer, public dens_av
subroutine, public prc_abort
Abort Process.
real(rp), dimension(:,:,:), allocatable, pointer, target, public qv
real(rp), dimension(:,:), pointer, public atmos_phy_sf_sflx_qv
integer, public js
start point of inner domain: y, local
real(rp), dimension(:,:,:), allocatable, target, public v
real(rp), dimension(:,:,:), allocatable, target, public exner
real(rp), dimension(:,:,:), allocatable, target, public u
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_sh
real(rp), dimension(:,:,:), allocatable, public atmos_grid_cartesc_real_cz
geopotential height [m] (zxy)
module Atmosphere GRID CartesC Real(real space)
real(rp), dimension(:,:,:), allocatable, public rhou_tp
integer, public ka
of whole cells: z, local, with HALO
real(rp), dimension(:,:,:), allocatable, public atmos_phy_bl_rhot_t
logical, public atmos_sw_phy_bl
subroutine, public tracer_regist(QS, NQ, NAME, DESC, UNIT, CV, CP, R, ADVC, MASS)
Regist tracer.
subroutine, public atmos_phy_bl_driver_setup
Setup.
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_mu
real(rp), dimension(:,:,:), allocatable, target, public pres
real(rp), dimension(:,:,:,:), allocatable, target, public qtrc