<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Yang<div class=""><br class=""></div><div class="">You can try using:</div><div class="">C     balanceEmPmR    :: substract global mean of EmPmR at every time step<br class="">C     balanceQnet     :: substract global mean of Qnet at every time step<br class=""><br class=""></div><div class="">I have never used these flags so cannot offer any wisdom about them</div><div class=""><br class=""></div><div class="">Matt</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div><blockquote type="cite" class=""><div class="">On Apr 12, 2019, at 9:40 AM, yang zhibin <<a href="mailto:853245241@qq.com" class="">853245241@qq.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi, Matt</div><div class=""><br class=""></div><div class="">Maybe you're right. Since I am running a climatological model. And the forcing is simply got by averaging different years. And so the foring is not zero for mean.</div><div class="">By the way, do you have some ideas on this problem? Should I minus a mean value before running? But it's also not easy to do that, becaues I am not use heatflux and freshwater water directly </div><div class="">(I use bulk formula). Thanks again for your help.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Yang</div><div class=""><div class=""><br class=""></div><div class=""><br class=""></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;" class="">------------------ Original ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;" class=""><div class=""><b class="">From: </b> "Matthew Mazloff"<<a href="mailto:mmazloff@ucsd.edu" class="">mmazloff@ucsd.edu</a>>;</div><div class=""><b class="">Date: </b> Sat, Apr 13, 2019 00:21 AM</div><div class=""><b class="">To: </b> "mitgcm-support"<<a href="mailto:mitgcm-support@mitgcm.org" class="">mitgcm-support@mitgcm.org</a>>;<wbr class=""></div><div class=""></div><div class=""><b class="">Subject: </b> Re: [MITgcm-support] SSH drift with sponge-OBCS & OBCSbalance</div></div><div class=""><br class=""></div>Hi Yang<div class=""><br class=""></div><div class="">I have never seen SSH be unbalanced with </div><div class=""><div class="">OBCSbalance = true</div><div class="">How slow is the drift? Could it be associated with something else (e.g. freshwater or heat forcing)?</div><div class=""><br class=""></div><div class="">Regarding " <b class="" style="  ;; font-size: inherit; "></b><span class="" style="white-space: pre-wrap;">have the bathy gradient normal to the wall = 0 in the sponge; turn off </span><span class="" style="white-space: pre-wrap;">tangential velocity; </span><span class="" style="white-space: pre-wrap;">making the corners in the sponge layer have depth 0”</span></div><div class=""><span class="" style="white-space: pre-wrap;">These are not really for balance. These are to prevent a spurious wave guide, spurious mixing, and forced divergence at the boundary.</span></div><div class=""><span class="" style="white-space: pre-wrap;"><br class=""></span></div><div class=""><span class="" style="white-space: pre-wrap;">Matt</span></div><div class=""><span class="" style="white-space: pre-wrap;"><br class=""></span></div><div class=""><span class="" style="white-space: pre-wrap;"><br class=""></span></div><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Apr 12, 2019, at 8:49 AM, yang zhibin <<a href="mailto:853245241@qq.com" class="">853245241@qq.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi all,</div><div class=""><br class=""></div><div class="">Recently I am running a regional model with OBCS. For the purpose of volum balance, I use OBCSbalance. However, there still exist SSH drift (though slow). </div><div class="">I checked the previous maillist and found a similar question about five years ago (<a href="http://mailman.mitgcm.org/pipermail/mitgcm-support/2014-July/009288.html" class="">http://mailman.mitgcm.org/pipermail/mitgcm-support/2014-July/009288.html</a>). Thanks to the reply of previous modeler on this question.</div><div class="">In that mail, Mattew gave a complex process to solve this problem (e.g. <b style="  ;; font-size: inherit; " class=""></b><span style="white-space: pre-wrap;" class="">have the bathy gradient normal to the wall = 0 in the sponge; turn off </span><span style="white-space: pre-wrap;" class="">tangential velocity; </span><span style="white-space: pre-wrap;" class="">making the corners in the sponge layer have depth 0). I wonder if the zero </span><span style="white-space: pre-wrap;" class="">tangential velocity could affect inner or the sponge layer? In the end, </span>Mattew also suggest use RBCS  instead of OBCS. But could the volum balance without OBCSbalance?</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Yang</div>_______________________________________________<br class="">MITgcm-support mailing list<br class=""><a href="mailto:MITgcm-support@mitgcm.org" class="">MITgcm-support@mitgcm.org</a><br class=""><a href="http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support" class="">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</a><br class=""></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">MITgcm-support mailing list<br class=""><a href="mailto:MITgcm-support@mitgcm.org" class="">MITgcm-support@mitgcm.org</a><br class="">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support<br class=""></div></blockquote></div><br class=""></div></body></html>