Hello
In CAM7, there is a new process regarding gravity wave drag. When we use FV3 to build the case, an error message appears stating that FRONTGF can't be undefined.
Therefore, we modified the code in dyn_comp.F90 of FV3 as follows:
subroutine dyn_register()
use physics_buffer, only: pbuf_add_field, dtype_r8
use ppgrid, only: pcols, pver
! These fields are computed by the dycore and passed to the physics via the
! physics buffer.
if (use_gw_front .or. use_gw_front_igw) then
call pbuf_add_field("FRONTGF", "global", dtype_r8, (/pcols,pver/), &
frontgf_idx)
call pbuf_add_field("FRONTGA", "global", dtype_r8, (/pcols,pver/), &
frontga_idx)
end if
end subroutine dyn_register
With this modification, the build completes successfully.
We are curious about whether the gravity wave drag process is turned on when we register FRONTGF and FRONTGA?
Thanks
In CAM7, there is a new process regarding gravity wave drag. When we use FV3 to build the case, an error message appears stating that FRONTGF can't be undefined.
Therefore, we modified the code in dyn_comp.F90 of FV3 as follows:
subroutine dyn_register()
use physics_buffer, only: pbuf_add_field, dtype_r8
use ppgrid, only: pcols, pver
! These fields are computed by the dycore and passed to the physics via the
! physics buffer.
if (use_gw_front .or. use_gw_front_igw) then
call pbuf_add_field("FRONTGF", "global", dtype_r8, (/pcols,pver/), &
frontgf_idx)
call pbuf_add_field("FRONTGA", "global", dtype_r8, (/pcols,pver/), &
frontga_idx)
end if
end subroutine dyn_register
With this modification, the build completes successfully.
We are curious about whether the gravity wave drag process is turned on when we register FRONTGF and FRONTGA?
Thanks