You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Requesting the Lscale variable be added as an intent(out) argument to advance_clubb_core, and its api (called from clubb_intr.F90 in CAM). The purpose is for modifying the khzm diffusion coefficient computed in clubb with additional kinetic energy terms stemming from the CLUBB+MF CPT. In CAM, khzm is used outside of clubb to transport aerosols.
I also had trouble accessing the c_K variable used for computing khzm. In advance_clubb_core:
!----------------------------------------------------------------
! Eddy diffusivity coefficient
!----------------------------------------------------------------
! c_K is 0.548 usually (Duynkerke and Driedonks 1987)
! CLUBB uses a smaller value to better fit empirical data.
! Calculate CLUBB's eddy diffusivity as
! CLUBB's length scale times a velocity scale.
c_K = clubb_params(ic_K)
!$acc parallel loop gang vector collapse(2) default(present)
do k = 1, nz
do i = 1, ngrdcol
Kh_zt(i,k) = c_K * Lscale(i,k) * sqrt_em_zt(i,k)
end do
end do
If this could also be made available in the clubb_intr.F90 interface that would be preferable to what I'm currently doing (duplicating and hard coding this value).
The text was updated successfully, but these errors were encountered:
Requesting the Lscale variable be added as an intent(out) argument to advance_clubb_core, and its api (called from clubb_intr.F90 in CAM). The purpose is for modifying the khzm diffusion coefficient computed in clubb with additional kinetic energy terms stemming from the CLUBB+MF CPT. In CAM, khzm is used outside of clubb to transport aerosols.
OK, this sounds doable.
I also had trouble accessing the c_K variable used for computing khzm. In advance_clubb_core:
If this could also be made available in the clubb_intr.F90 interface that would be preferable to what I'm currently doing (duplicating and hard coding this value).
Lscale was introduced as an output variable in the argument list of advance_clubb_core_api in this commit. @adamrher, please let me know if you need any further updates.
Requesting the Lscale variable be added as an intent(out) argument to advance_clubb_core, and its api (called from clubb_intr.F90 in CAM). The purpose is for modifying the khzm diffusion coefficient computed in clubb with additional kinetic energy terms stemming from the CLUBB+MF CPT. In CAM, khzm is used outside of clubb to transport aerosols.
I also had trouble accessing the
c_K
variable used for computing khzm. In advance_clubb_core:If this could also be made available in the clubb_intr.F90 interface that would be preferable to what I'm currently doing (duplicating and hard coding this value).
The text was updated successfully, but these errors were encountered: