48 character(len=*),
intent(in) :: ocean_type
52 if(
io_l )
write(
io_fid_log,*)
'++++++ Module[CONST] / Categ[OCEAN SFC] / Origin[SCALElib]' 102 hydrometeor_lhv => atmos_hydrometeor_lhv
104 qsat => atmos_saturation_pres2qsat_all
108 real(RP),
intent(out) :: sst_t(
ia,
ja)
109 real(RP),
intent(out) :: zmflx(
ia,
ja)
110 real(RP),
intent(out) :: xmflx(
ia,
ja)
111 real(RP),
intent(out) :: ymflx(
ia,
ja)
112 real(RP),
intent(out) :: shflx(
ia,
ja)
113 real(RP),
intent(out) :: lhflx(
ia,
ja)
114 real(RP),
intent(out) :: whflx(
ia,
ja)
115 real(RP),
intent(out) :: u10 (
ia,
ja)
116 real(RP),
intent(out) :: v10 (
ia,
ja)
117 real(RP),
intent(out) :: t2 (
ia,
ja)
118 real(RP),
intent(out) :: q2 (
ia,
ja)
120 real(RP),
intent(in) :: tmpa(
ia,
ja)
121 real(RP),
intent(in) :: prsa(
ia,
ja)
122 real(RP),
intent(in) :: wa (
ia,
ja)
123 real(RP),
intent(in) :: ua (
ia,
ja)
124 real(RP),
intent(in) :: va (
ia,
ja)
125 real(RP),
intent(in) :: rhoa(
ia,
ja)
126 real(RP),
intent(in) :: qva (
ia,
ja)
127 real(RP),
intent(in) :: z1 (
ia,
ja)
128 real(RP),
intent(in) :: pbl (
ia,
ja)
129 real(RP),
intent(in) :: prss(
ia,
ja)
130 real(RP),
intent(in) :: lwd (
ia,
ja)
131 real(RP),
intent(in) :: swd (
ia,
ja)
133 real(RP),
intent(in) :: tw (
ia,
ja)
134 real(RP),
intent(in) :: sst (
ia,
ja)
135 real(RP),
intent(in) :: alb_lw(
ia,
ja)
136 real(RP),
intent(in) :: alb_sw(
ia,
ja)
137 real(RP),
intent(in) :: z0m (
ia,
ja)
138 real(RP),
intent(in) :: z0h (
ia,
ja)
139 real(RP),
intent(in) :: z0e (
ia,
ja)
140 real(DP),
intent(in) :: dt
149 real(RP) :: lhv(
ia,
ja)
160 call hydrometeor_lhv( lhv(:,:), tmpa(:,:) )
202 zmflx(i,j) = -rhoa(i,j) * ustar**2 / uabs * wa(i,j)
203 xmflx(i,j) = -rhoa(i,j) * ustar**2 / uabs * ua(i,j)
204 ymflx(i,j) = -rhoa(i,j) * ustar**2 / uabs * va(i,j)
206 shflx(i,j) = - rhoa(i,j) * ustar * tstar &
207 * cpdry * ( prss(i,j) / pre00 )**( rdry/cpdry )
208 lhflx(i,j) = - rhoa(i,j) * ustar * qstar * lhv(i,j)
211 whflx(i,j) = ( 1.0_rp - alb_sw(i,j) ) * swd(i,j) * (-1.0_rp) &
212 - ( 1.0_rp - alb_lw(i,j) ) * ( lwd(i,j) - stb * sst(i,j)**4 ) &
213 + shflx(i,j) + lhflx(i,j)
222 u10(i,j) = ua(i,j) * log( 10.0_rp / z0m(i,j) ) / log( z1(i,j) / z0m(i,j) )
223 v10(i,j) = va(i,j) * log( 10.0_rp / z0m(i,j) ) / log( z1(i,j) / z0m(i,j) )
224 t2(i,j) = sst(i,j) + ( tmpa(i,j) - sst(i,j) ) * ( log( 2.0_rp / z0m(i,j) ) * log( 2.0_rp / z0h(i,j) ) ) &
225 / ( log( z1(i,j) / z0m(i,j) ) * log( z1(i,j) / z0h(i,j) ) )
226 q2(i,j) = qvsat + ( qva(i,j) - qvsat ) * ( log( 2.0_rp / z0m(i,j) ) * log( 2.0_rp / z0e(i,j) ) ) &
227 / ( log( z1(i,j) / z0m(i,j) ) * log( z1(i,j) / z0e(i,j) ) )
integer, public is
start point of inner domain: x, local
integer, public je
end point of inner domain: y, local
real(rp), public const_cpdry
specific heat (dry air,constant pressure) [J/kg/K]
module ATMOSPHERE / Saturation adjustment
subroutine, public prc_mpistop
Abort MPI.
real(rp), parameter, public const_stb
Stefan-Boltzman constant [W/m2/K4].
logical, public io_l
output log or not? (this process)
real(rp), public const_rdry
specific gas constant (dry air) [J/kg/K]
module OCEAN / Surface flux with constant ocean model
subroutine, public ocean_sfc_const_setup(OCEAN_TYPE)
Setup.
integer, public ia
of whole cells: x, local, with HALO
real(rp), public const_pre00
pressure reference [Pa]
procedure(bc), pointer, public bulkflux
real(rp), dimension(:,:), allocatable, public landuse_fact_ocean
ocean factor
integer, public js
start point of inner domain: y, local
integer, public ie
end point of inner domain: x, local
subroutine, public ocean_sfc_const(SST_t, ZMFLX, XMFLX, YMFLX, SHFLX, LHFLX, WHFLX, U10, V10, T2, Q2, TMPA, PRSA, WA, UA, VA, RHOA, QVA, Z1, PBL, PRSS, LWD, SWD, TW, SST, ALB_LW, ALB_SW, Z0M, Z0H, Z0E, dt)
integer, public io_fid_log
Log file ID.
integer, public ja
of whole cells: y, local, with HALO