Skip to content

Applying wind stresses at OBC boundaries #54

Description

@dougiesquire

@ashjbarnes has noticed strange behaviour occurring at the boundaries of all our NUOPC-coupled regional configurations. The video below shows the issue in a regional Tasmanian domain (left panel).

I think I've tracked the issue down to the application of surface wind stresses as a boundary condition at OBC boundary points in the MOM_vert_friction::vertvisc routine. The right panel in the video below (showing daily speed) is with zero stress boundary condition at OBC boundaries:

  if (CS%direct_stress) then
-   do j=G%jsc,G%jec ; do I=Isq,Ieq ; if (G%mask2dCu(I,j) > 0.) then
+   do j=G%jsc,G%jec ; do I=Isq,Ieq
      surface_stress(I,j) = 0.0
+     if (G%OBCmaskCu(I,j) > 0.) then
      zDS = 0.0
      stress = dt_Rho0 * forces%taux(I,j)
      do k=1,nz
        h_a = 0.5 * (h(i,j,k) + h(i+1,j,k)) + h_neglect
        hfr = 1.0 ; if ((zDS+h_a) > Hmix) hfr = (Hmix - zDS) / h_a
        u(I,j,k) = u(I,j,k) + I_Hmix * hfr * stress
        if (associated(ADp%du_dt_str)) ADp%du_dt_str(i,J,k) = (I_Hmix * hfr * stress) * Idt
        zDS = zDS + h_a ; if (zDS >= Hmix) exit
      enddo
    endif ; enddo ; enddo
  else
    do j=G%jsc,G%jec ; do I=Isq,Ieq
-     surface_stress(I,j) = dt_Rho0 * (G%mask2dCu(I,j)*forces%taux(I,j))
+     surface_stress(I,j) = dt_Rho0 * (G%OBCmaskCu(I,j)*forces%taux(I,j))
    enddo ; enddo
  endif

(and similarly for the v-component)

compare_iss.mp4

I'm not 100% confident that this is the best/right fix and I'm hoping to get conformation, or otherwise, from a MOM6 guru before implementing. E.g. possibly there are circumstances where the surface stresses should be applied at OBC boundaries? @Hallberg-NOAA maybe you can advise?

Also, there are a couple of other places in MOM6 src where the wind stresses are used:

We don't use these in any of our configurations at the moment, but do these also require special consideration at OBC boundaries?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions