<div style="min-height:22px;margin-bottom:8px;">Hi Martin£¬</div><div style="min-height:22px;margin-bottom:8px;">  Thank you so much for your anwser.</div><div style="min-height:22px;margin-bottom:8px;">  I will try to search the list and balance it offline.</div><div style="min-height:22px;margin-bottom:8px;"><br></div><div style="min-height:22px;margin-bottom:8px;">Best,</div><div style="min-height:22px;margin-bottom:8px;">Terry</div><div style="min-height:22px;margin-bottom:8px;"><br></div><br><div id="original-content"><br><br><div><div style="font-size:70%;padding:2px 0;">------------------ Original ------------------</div><div style="font-size:70%;background:#f0f0f0;color:#212121;padding:8px;border-radius:4px"><div><b>From:</b> Martin Losch <Martin.Losch@awi.de></div><div><b>Date:</b> ÖÜÒ»,12Ô 11,2017 22:05</div><div><b>To:</b> MITgcm Support <mitgcm-support@mitgcm.org></div><div><b>Subject:</b> Re: [MITgcm-support] Water balance problem</div></div></div><br>Hi Terry,<br><br>with non-hydrostatic dynamics, the non-linear free surface is not implemented. You only need to specify eta with a non-linear free surface.<br><br>If you don¡¯t want to use OBCSbalance (which really is only a hack that is not generally useful as you have found out yourself), then you need to balance your inflow/outflow ¡°offline¡±, i.e. before you apply it to the model. This is a little tricky, because you have to take into account the exact geometry of your boundaries (including the hfac¡¯s); also you should specify your obcs fields as double precision (exf_iprec_obcs = 64, or readBinaryPrec = 64).<br><br>There are many posts about this and related questions, please search the support list for details.<br><br>Martin<br><br><br>> On 11. Dec 2017, at 09:09, Terry Chen <505883357@qq.com> wrote:<br>> <br>> Hello everyone,<br>>   I am trying to apply this model with NON-hydrostatic mode in a coastal region, but I meet great water loss near the offshore boundary. Thus, the model cannot represent ideal Eta result now. <br>>   Since in the NON-hydrostatic mode, the elevation at the boundary cannot be prescribed, so I need some way to balance the transport now. But the OBCSbalance module in the model just balances the mass transport at each time step, which actually remove some signal of tide and wind.  <br>>   Does anyone have any idea about a better way to keep both the water balance and the signal of tide or wind? <br>>   Thanks a lot.<br>> Best,<br>> Terry<br>> ------------------<br>> <br>>  <br>>  <br>> _______________________________________________<br>> MITgcm-support mailing list<br>> MITgcm-support@mitgcm.org<br>> http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support<br><br>_______________________________________________<br>MITgcm-support mailing list<br>MITgcm-support@mitgcm.org<br>http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support<br></div>