SCALE-RM
Functions/Subroutines | Variables
scale_atmos_phy_mp_dry Module Reference

module ATMOSPHERE / Physics Cloud Microphysics More...

Functions/Subroutines

subroutine, public atmos_phy_mp_dry_setup (MP_TYPE)
 Setup. More...
 
subroutine, public atmos_phy_mp_dry (DENS, MOMZ, MOMX, MOMY, RHOT, QTRC, CCN, EVAPORATE, SFLX_rain, SFLX_snow)
 Cloud Microphysics. More...
 
subroutine, public atmos_phy_mp_dry_cloudfraction (cldfrac, QTRC, mask_criterion)
 Calculate Cloud Fraction. More...
 
subroutine, public atmos_phy_mp_dry_effectiveradius (Re, QTRC0, DENS0, TEMP0)
 Calculate Effective Radius. More...
 
subroutine, public atmos_phy_mp_dry_mixingratio (Qe, QTRC0)
 Calculate mixing ratio of each category. More...
 

Variables

real(rp), dimension(mp_qa), target, public atmos_phy_mp_dens
 

Detailed Description

module ATMOSPHERE / Physics Cloud Microphysics

Description
Dummy Cloud Microphysics for dry atmosphere
Author
Team SCALE
History
  • 2012-10-18 (S.Nishizawa) [new]
  • 2015-09-08 (Y.Sato) [add] Add evaporated cloud number concentration

Function/Subroutine Documentation

◆ atmos_phy_mp_dry_setup()

subroutine, public scale_atmos_phy_mp_dry::atmos_phy_mp_dry_setup ( character(len=*), intent(in)  MP_TYPE)

Setup.

Definition at line 59 of file scale_atmos_phy_mp_dry.F90.

References atmos_phy_mp_dens, scale_stdio::io_fid_log, scale_stdio::io_l, and scale_process::prc_mpistop().

Referenced by scale_atmos_phy_mp::atmos_phy_mp_setup().

59  use scale_process, only: &
61  implicit none
62 
63  character(len=*), intent(in) :: mp_type
64  !---------------------------------------------------------------------------
65 
66  if( io_l ) write(io_fid_log,*)
67  if( io_l ) write(io_fid_log,*) '++++++ Module[Cloud Microphysics] / Categ[ATMOS PHYSICS] / Origin[SCALElib]'
68  if( io_l ) write(io_fid_log,*) '*** dummy process (dry Atmosphere)'
69 
70  if ( mp_type /= 'DRY' ) then
71  write(*,*) 'xxx ATMOS_PHY_MP_TYPE is not DRY. Check!'
72  call prc_mpistop
73  endif
74 
75  atmos_phy_mp_dens(:) = 0.0_rp
76 
77  return
subroutine, public prc_mpistop
Abort MPI.
real(rp), dimension(mp_qa), target, public atmos_phy_mp_dens
module PROCESS
Here is the call graph for this function:
Here is the caller graph for this function:

◆ atmos_phy_mp_dry()

subroutine, public scale_atmos_phy_mp_dry::atmos_phy_mp_dry ( real(rp), dimension(ka,ia,ja), intent(inout)  DENS,
real(rp), dimension(ka,ia,ja), intent(inout)  MOMZ,
real(rp), dimension(ka,ia,ja), intent(inout)  MOMX,
real(rp), dimension(ka,ia,ja), intent(inout)  MOMY,
real(rp), dimension(ka,ia,ja), intent(inout)  RHOT,
real(rp), dimension(ka,ia,ja,qad), intent(inout)  QTRC,
real(rp), dimension(ka,ia,ja), intent(in)  CCN,
real(rp), dimension(ka,ia,ja), intent(out)  EVAPORATE,
real(rp), dimension(ia,ja), intent(out)  SFLX_rain,
real(rp), dimension(ia,ja), intent(out)  SFLX_snow 
)

Cloud Microphysics.

Definition at line 93 of file scale_atmos_phy_mp_dry.F90.

References scale_stdio::io_fid_log, scale_stdio::io_l, and scale_tracer::qa.

Referenced by scale_atmos_phy_mp::atmos_phy_mp_setup().

94  use scale_tracer, only: &
95  qad => qa
96  implicit none
97 
98  real(RP), intent(inout) :: dens(ka,ia,ja)
99  real(RP), intent(inout) :: momz(ka,ia,ja)
100  real(RP), intent(inout) :: momx(ka,ia,ja)
101  real(RP), intent(inout) :: momy(ka,ia,ja)
102  real(RP), intent(inout) :: rhot(ka,ia,ja)
103  real(RP), intent(inout) :: qtrc(ka,ia,ja,qad)
104  real(RP), intent(in) :: ccn(ka,ia,ja)
105  real(RP), intent(out) :: evaporate(ka,ia,ja)
106  real(RP), intent(out) :: sflx_rain(ia,ja)
107  real(RP), intent(out) :: sflx_snow(ia,ja)
108  !---------------------------------------------------------------------------
109 
110  if( io_l ) write(io_fid_log,*) '*** Physics step: Cloud microphysics(dummy)'
111 
112  evaporate(:,:,:) = 0.0_rp
113  sflx_rain(:,:) = 0.0_rp
114  sflx_snow(:,:) = 0.0_rp
115 
116  return
integer, public qa
module grid index
module TRACER
integer, public ia
of x whole cells (local, with HALO)
integer, public ka
of z whole cells (local, with HALO)
integer, public ja
of y whole cells (local, with HALO)
Here is the caller graph for this function:

◆ atmos_phy_mp_dry_cloudfraction()

subroutine, public scale_atmos_phy_mp_dry::atmos_phy_mp_dry_cloudfraction ( real(rp), dimension(ka,ia,ja), intent(out)  cldfrac,
real(rp), dimension (ka,ia,ja,qad), intent(in)  QTRC,
real(rp), intent(in)  mask_criterion 
)

Calculate Cloud Fraction.

Definition at line 125 of file scale_atmos_phy_mp_dry.F90.

References scale_tracer::qa.

Referenced by scale_atmos_phy_mp::atmos_phy_mp_setup().

125  use scale_grid_index
126  use scale_tracer, only: &
127  qad => qa
128  implicit none
129 
130  real(RP), intent(out) :: cldfrac(ka,ia,ja)
131  real(RP), intent(in) :: qtrc (ka,ia,ja,qad)
132  real(RP), intent(in) :: mask_criterion ! not used
133  !---------------------------------------------------------------------------
134 
135  cldfrac(:,:,:) = 0.0_rp ! dummy
136 
137  return
integer, public qa
module grid index
module TRACER
integer, public ia
of x whole cells (local, with HALO)
integer, public ka
of z whole cells (local, with HALO)
integer, public ja
of y whole cells (local, with HALO)
Here is the caller graph for this function:

◆ atmos_phy_mp_dry_effectiveradius()

subroutine, public scale_atmos_phy_mp_dry::atmos_phy_mp_dry_effectiveradius ( real(rp), dimension (ka,ia,ja,mp_qad), intent(out)  Re,
real(rp), dimension(ka,ia,ja,qad), intent(in)  QTRC0,
real(rp), dimension(ka,ia,ja), intent(in)  DENS0,
real(rp), dimension(ka,ia,ja), intent(in)  TEMP0 
)

Calculate Effective Radius.

Definition at line 147 of file scale_atmos_phy_mp_dry.F90.

References scale_tracer::mp_qa, and scale_tracer::qa.

Referenced by scale_atmos_phy_mp::atmos_phy_mp_setup().

147  use scale_grid_index
148  use scale_tracer, only: &
149  qad => qa, &
150  mp_qad => mp_qa
151  implicit none
152 
153  real(RP), intent(out) :: re (ka,ia,ja,mp_qad) ! effective radius [cm]
154  real(RP), intent(in) :: qtrc0(ka,ia,ja,qad) ! tracer mass concentration [kg/kg]
155  real(RP), intent(in) :: dens0(ka,ia,ja) ! density [kg/m3]
156  real(RP), intent(in) :: temp0(ka,ia,ja) ! temperature [K]
157 
158  real(RP), parameter :: um2cm = 100.0_rp
159  !---------------------------------------------------------------------------
160 
161  re(:,:,:,:) = 8.e-6_rp * um2cm ! dummy
162 
163  return
integer, public qa
module grid index
module TRACER
integer, public ia
of x whole cells (local, with HALO)
integer, public mp_qa
integer, public ka
of z whole cells (local, with HALO)
integer, public ja
of y whole cells (local, with HALO)
Here is the caller graph for this function:

◆ atmos_phy_mp_dry_mixingratio()

subroutine, public scale_atmos_phy_mp_dry::atmos_phy_mp_dry_mixingratio ( real(rp), dimension (ka,ia,ja,mp_qad), intent(out)  Qe,
real(rp), dimension(ka,ia,ja,qad), intent(in)  QTRC0 
)

Calculate mixing ratio of each category.

Definition at line 170 of file scale_atmos_phy_mp_dry.F90.

References scale_tracer::mp_qa, and scale_tracer::qa.

Referenced by scale_atmos_phy_mp::atmos_phy_mp_setup().

170  use scale_grid_index
171  use scale_tracer, only: &
172  qad => qa, &
173  mp_qad => mp_qa
174  implicit none
175 
176  real(RP), intent(out) :: qe (ka,ia,ja,mp_qad) ! mixing ratio of each cateory [kg/kg]
177  real(RP), intent(in) :: qtrc0(ka,ia,ja,qad) ! tracer mass concentration [kg/kg]
178 
179  integer :: ihydro
180  !---------------------------------------------------------------------------
181 
182  do ihydro = 1, mp_qa
183  qe(:,:,:,ihydro) = 8.e-6_rp ! dummy
184  enddo
185 
186  return
187 
integer, public qa
module grid index
module TRACER
integer, public ia
of x whole cells (local, with HALO)
integer, public mp_qa
integer, public ka
of z whole cells (local, with HALO)
integer, public ja
of y whole cells (local, with HALO)
Here is the caller graph for this function:

Variable Documentation

◆ atmos_phy_mp_dens

real(rp), dimension(mp_qa), target, public scale_atmos_phy_mp_dry::atmos_phy_mp_dens

Definition at line 44 of file scale_atmos_phy_mp_dry.F90.

Referenced by atmos_phy_mp_dry_setup().

44  real(RP), public, target :: atmos_phy_mp_dens(mp_qa) ! hydrometeor density [kg/m3]=[g/L]
integer, public mp_qa
real(rp), dimension(mp_qa), target, public atmos_phy_mp_dens