Skip to content

Commit

Permalink
Inialize uvel, vvel at every substep (CICE-Consortium#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
dabail10 committed Nov 29, 2021
1 parent 9e6e8f3 commit c2c0c4a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cicecore/cicedynB/dynamics/ice_dyn_evp.F90
Original file line number Diff line number Diff line change
Expand Up @@ -646,6 +646,13 @@ subroutine evp (dt)

do ksub = 1,ndte ! subcycling

! shift velocity components from CD grid locations (N, E) to B grid location (U) for stress_U

if (grid_system == 'CD') then
call grid_average_X2Y('E2US',uvelE,uvel)
call grid_average_X2Y('N2US',vvelN,vvel)
endif

!-----------------------------------------------------------------
! stress tensor equation, total surface stress
!-----------------------------------------------------------------
Expand Down

0 comments on commit c2c0c4a

Please sign in to comment.