You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In pkg/ggl90/ggl90_calc.F, recip_hFacI (inverse cell thickness of w-cells) is used a few times to scale variables and coefficients, but only when useIDEMIX=.TRUE.. Two places, where I think this is wrong are:
because verticalShear is also used to compute the Ri-number, where sigmaR has been computed without taking hFacs into account (grad_sigma.F). So in my view it would be consistent to not scale verticalShear with recip_hFacI**2
and
The implicit solver code was initially more or less a copy of impldiff.F, so I think that the GGL90 code is consistent with how we do things in general (i.e. only use recip_drF*recip_hFacC but not recip_hFacI with recip_drC).
As a consequence verticalShear can be too large near the bottom leading to too much forcing, and similarly for the coefficients a3d and c3d. Any opinions are welcome.
The text was updated successfully, but these errors were encountered:
Yes, but in #714, we took a different stance and agreed that using recip_hFacI in the coefficients a3d and c3d is correct and now we do it for all cases and in #714 we did not address the first part with the verticalShear, and I am not longer certain, that the current code is wrong.
In pkg/ggl90/ggl90_calc.F,
recip_hFacI
(inverse cell thickness of w-cells) is used a few times to scale variables and coefficients, but only whenuseIDEMIX=.TRUE.
. Two places, where I think this is wrong are:MITgcm/pkg/ggl90/ggl90_calc.F
Lines 696 to 697 in 1575dc0
because
verticalShear
is also used to compute the Ri-number, wheresigmaR
has been computed without takinghFac
s into account (grad_sigma.F). So in my view it would be consistent to not scaleverticalShear
withrecip_hFacI**2
and
MITgcm/pkg/ggl90/ggl90_calc.F
Lines 831 to 842 in 1575dc0
The implicit solver code was initially more or less a copy of
impldiff.F
, so I think that the GGL90 code is consistent with how we do things in general (i.e. only userecip_drF*recip_hFacC
but notrecip_hFacI
withrecip_drC
).As a consequence
verticalShear
can be too large near the bottom leading to too much forcing, and similarly for the coefficientsa3d
andc3d
. Any opinions are welcome.The text was updated successfully, but these errors were encountered: