FE-Project
Loading...
Searching...
No Matches
mod_atmos_phy_bl_vars Module Reference

module Atmosphere / Physics / Planetary Boundary Layer Turbulence More...

Data Types

type  atmosphyblvars
 Derived type to manage variables with planetary boundary layer (PBL) turbulence parameterization component in atmospheric model. More...

Functions/Subroutines

subroutine, public atmosphyblvars_getlocalmeshfields_tend (domid, mesh, bl_tends_list, bl_rhou_t, bl_rhov_t, bl_rhot_t, bl_rhoq_t, lcmesh3d)

Variables

integer, parameter, public atmos_phy_bl_rhou_t_id = 1
integer, parameter, public atmos_phy_bl_rhov_t_id = 2
integer, parameter, public atmos_phy_bl_rhot_t_id = 3
integer, parameter, public atmos_phy_bl_tends_num1 = 3
type(variableinfo), dimension(atmos_phy_bl_tends_num1), public atmos_phy_bl_tend_vinfo
integer, parameter, public atmos_phy_bl_diag_tke_id = 1
integer, parameter, public atmos_phy_bl_diag_nu_id = 2
integer, parameter, public atmos_phy_bl_diag_kh_id = 3
integer, parameter, public atmos_phy_bl_diag_num = 3

Detailed Description

module Atmosphere / Physics / Planetary Boundary Layer Turbulence

Description
Container for variables with planetary boundary layer (PBL) turbulence parameterization in atmospheric model
Author
Yuta Kawai, Team SCALE
NAMELIST
  • No namelist group
History Output
namedescriptionunitvariable
TKESGS turbulence kinetic energym2/s2TKE
NUeddy viscositym2/sNU
KHeddy diffusionm2/sKH
BL_RHOU_ttendency of x-momentum in BL processkg/m2/s2BL_RHOU_t
BL_RHOV_ttendency of y-momentum in BL processkg/m2/s2BL_RHOV_t
BL_RHOT_ttendency of rho*PT in BL processkg/m3.K/sBL_RHOT_t
BL_{TRACER_NAME}_ttendency of rho*{TRACER_NAME} in BL process;
{TRACER_NAME} depends on the physics schemes, e.g., QV, QC, QR.
TRACER_UNITTRACER_NAME

Function/Subroutine Documentation

◆ atmosphyblvars_getlocalmeshfields_tend()

subroutine, public mod_atmos_phy_bl_vars::atmosphyblvars_getlocalmeshfields_tend ( integer, intent(in) domid,
class(meshbase), intent(in) mesh,
class(modelvarmanager), intent(inout) bl_tends_list,
class(localmeshfieldbase), intent(out), pointer bl_rhou_t,
class(localmeshfieldbase), intent(out), pointer bl_rhov_t,
class(localmeshfieldbase), intent(out), pointer bl_rhot_t,
type(localmeshfieldbaselist), dimension(:), intent(out), optional bl_rhoq_t,
class(localmesh3d), intent(out), optional, pointer lcmesh3d )

Definition at line 234 of file mod_atmos_phy_bl_vars.F90.

238
239 use scale_mesh_base, only: meshbase
241 implicit none
242
243 integer, intent(in) :: domID
244 class(MeshBase), intent(in) :: mesh
245 class(ModelVarManager), intent(inout) :: bl_tends_list
246 class(LocalMeshFieldBase), pointer, intent(out) :: bl_RHOU_t
247 class(LocalMeshFieldBase), pointer, intent(out) :: bl_RHOV_t
248 class(LocalMeshFieldBase), pointer, intent(out) :: bl_RHOT_t
249 type(LocalMeshFieldBaseList), intent(out), optional :: bl_RHOQ_t(:)
250 class(LocalMesh3D), pointer, intent(out), optional :: lcmesh3D
251
252 class(MeshFieldBase), pointer :: field
253 class(LocalMeshBase), pointer :: lcmesh
254
255 integer :: iq
256 !-------------------------------------------------------
257
258 !--
259 call bl_tends_list%Get(atmos_phy_bl_rhou_t_id, field)
260 call field%GetLocalMeshField(domid, bl_rhou_t)
261
262 call bl_tends_list%Get(atmos_phy_bl_rhov_t_id, field)
263 call field%GetLocalMeshField(domid, bl_rhov_t)
264
265 call bl_tends_list%Get(atmos_phy_bl_rhot_t_id, field)
266 call field%GetLocalMeshField(domid, bl_rhot_t)
267
268 !---
269 if ( present(bl_rhoq_t) ) then
270 do iq = 1, size(bl_rhoq_t)
271 call bl_tends_list%Get(atmos_phy_bl_tends_num1 + iq, field)
272 call field%GetLocalMeshField(domid, bl_rhoq_t(iq)%ptr)
273 end do
274 end if
275
276 if (present(lcmesh3d)) then
277 call mesh%GetLocalMesh( domid, lcmesh )
278 nullify( lcmesh3d )
279
280 select type(lcmesh)
281 type is (localmesh3d)
282 if (present(lcmesh3d)) lcmesh3d => lcmesh
283 end select
284 end if
285
286 return
module FElib / Mesh / Base
module FElib / Data / base
Base type to manage a computational mesh.
Derived type representing a field (base type)

References atmos_phy_bl_diag_num, atmos_phy_bl_rhot_t_id, atmos_phy_bl_rhou_t_id, atmos_phy_bl_rhov_t_id, and atmos_phy_bl_tends_num1.

Referenced by mod_atmos_phy_bl_vars::atmosphyblvars::history().

Variable Documentation

◆ atmos_phy_bl_rhou_t_id

integer, parameter, public mod_atmos_phy_bl_vars::atmos_phy_bl_rhou_t_id = 1

Definition at line 81 of file mod_atmos_phy_bl_vars.F90.

81 integer, public, parameter :: ATMOS_PHY_BL_RHOU_t_ID = 1

Referenced by atmosphyblvars_getlocalmeshfields_tend().

◆ atmos_phy_bl_rhov_t_id

integer, parameter, public mod_atmos_phy_bl_vars::atmos_phy_bl_rhov_t_id = 2

Definition at line 82 of file mod_atmos_phy_bl_vars.F90.

82 integer, public, parameter :: ATMOS_PHY_BL_RHOV_t_ID = 2

Referenced by atmosphyblvars_getlocalmeshfields_tend().

◆ atmos_phy_bl_rhot_t_id

integer, parameter, public mod_atmos_phy_bl_vars::atmos_phy_bl_rhot_t_id = 3

Definition at line 83 of file mod_atmos_phy_bl_vars.F90.

83 integer, public, parameter :: ATMOS_PHY_BL_RHOT_t_ID = 3

Referenced by atmosphyblvars_getlocalmeshfields_tend().

◆ atmos_phy_bl_tends_num1

integer, parameter, public mod_atmos_phy_bl_vars::atmos_phy_bl_tends_num1 = 3

Definition at line 84 of file mod_atmos_phy_bl_vars.F90.

84 integer, public, parameter :: ATMOS_PHY_BL_TENDS_NUM1 = 3

Referenced by atmosphyblvars_getlocalmeshfields_tend().

◆ atmos_phy_bl_tend_vinfo

type(variableinfo), dimension(atmos_phy_bl_tends_num1), public mod_atmos_phy_bl_vars::atmos_phy_bl_tend_vinfo

Definition at line 86 of file mod_atmos_phy_bl_vars.F90.

86 type(VariableInfo), public :: ATMOS_PHY_BL_TEND_VINFO(ATMOS_PHY_BL_TENDS_NUM1)

◆ atmos_phy_bl_diag_tke_id

integer, parameter, public mod_atmos_phy_bl_vars::atmos_phy_bl_diag_tke_id = 1

Definition at line 95 of file mod_atmos_phy_bl_vars.F90.

95 integer, public, parameter :: ATMOS_PHY_BL_DIAG_TKE_ID = 1

◆ atmos_phy_bl_diag_nu_id

integer, parameter, public mod_atmos_phy_bl_vars::atmos_phy_bl_diag_nu_id = 2

Definition at line 96 of file mod_atmos_phy_bl_vars.F90.

96 integer, public, parameter :: ATMOS_PHY_BL_DIAG_NU_ID = 2

◆ atmos_phy_bl_diag_kh_id

integer, parameter, public mod_atmos_phy_bl_vars::atmos_phy_bl_diag_kh_id = 3

Definition at line 97 of file mod_atmos_phy_bl_vars.F90.

97 integer, public, parameter :: ATMOS_PHY_BL_DIAG_KH_ID = 3

◆ atmos_phy_bl_diag_num

integer, parameter, public mod_atmos_phy_bl_vars::atmos_phy_bl_diag_num = 3

Definition at line 98 of file mod_atmos_phy_bl_vars.F90.

98 integer, public, parameter :: ATMOS_PHY_BL_DIAG_NUM = 3

Referenced by atmosphyblvars_getlocalmeshfields_tend().