Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Anisotropic viscosity: CS%KH_aniso = 2 k_a #1368

Open
NoraLoose opened this issue Apr 6, 2021 · 0 comments
Open

Anisotropic viscosity: CS%KH_aniso = 2 k_a #1368

NoraLoose opened this issue Apr 6, 2021 · 0 comments
Assignees

Comments

@NoraLoose
Copy link
Contributor

There is an inconsistency between

  • how anisotropic viscosity is implemented in MOM_hor_visc and
  • what is described in the documentation.

The two would be consistent if CS%KH_aniso is interpreted as 2 k_a. For instance, substituting this line
https://github.com/NOAA-GFDL/MOM6/blob/b92d763ec91d57d3868162d5d9a24827d2e53674/src/parameterizations/lateral/MOM_hor_visc.F90#L947
by

Kh(i,j) = Kh(i,j) + 2 k_a * (1. - CS%n1n2_h(i,j)**2) 

would be consistent with the documentation and with Smith & McWilliams, 2003. We also need CS%KH_aniso = 2 k_a here, here, and here.

In summary, the code is not wrong, but the user should specify CS%KH_aniso = 2 k_a (rather than CS%KH_aniso = k_a, where the latter is maybe what one would expect after reading the docs).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants