Currently in MOM6 plug, stress_mag
, one of the components of ocean boundary forcing, is allocated but filled with zeros. The logic in MOM6 is that if a field is allocated, it will use its value, hence zeros are used. This apparently is not correct if certain mixing schemes use friction velocity for their purpose. @adarmenov first pointed out the output of ustar
is zero everywhere, precisely due to this.
The fix is easy: do not allocate it such that MOM6 will compute it using wind stress (TAUX and TAUY).