-
Notifications
You must be signed in to change notification settings - Fork 52
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
Might have found small bug in the vertical tracer gradient used in the horizontal redi diffusivity #544
Comments
just spoke with Sergey about, so its definitely a bug and needs to be changed. Not sure how large is its implication, most likely not to big. |
I think i just might have found another issue regarding Redi diffusivity ... Lines 960 to 1000 in 2695a5d
... also here when computing zbar_n and z_n we must use the old hnode not the new one, since its the explicte part of Redi ?! |
Hi @patrickscholz, is it known whether or not the bug leads to problems so severe that one should upgrade the FESOM2 source code asap? If it is severe, is there already an accepted fix? Thanks a lot for reporting this!!! |
@christian-stepanek, I havent tested yet the full severity of that issue since i had other things to do before the holidays. I just stumbelt over these things while working on another problem. Maybe i manage to make some test runs in the next weeks! The problem here is also that this will change our fesom testcases for binary identiy. When we merge this these need to be done new |
Thanks a lot @patrickscholz, I will keep my eyes open re any updates on this issue. |
I think to compute the vertical tracer gradient we need here hnode and not hnode_new. hnode_new at this point already contains the new vertical grid (in case of zstar) but i think the horizontal redi diffusivity is still done on the old vertical grid. Since we also use helem (old vertical grid ) to compute the horizontal diffusive fluxes.
Am i right? In this case it would change our default testcase!
This problem only account for the zstar and zlevel case
fesom2/src/oce_tracer_mod.F90
Lines 118 to 130 in 2695a5d
The text was updated successfully, but these errors were encountered: