<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; color: rgb(0, 0, 0);">
<span style="font-size: 12pt;">Hi </span><span style="font-size: 16px;">Jody,</span></div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0);">
Somehow I didn't get this reply as well. Until now I find it by accident.</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0);">
Yes your code works great for me. I used it a lot and also modified it a bit for some cross section energy flux output. Cause your output is all depth-integrated. I've got some interesting results. I plan to submit it soon! </div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0);">
Of course, I have indicated the source of the code in the paper. Thank you again.</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0);">
Cheers,</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0);">
Sean / Shiqiang</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0);">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>发件人:</b> MITgcm-support <mitgcm-support-bounces@mitgcm.org> 代表 Jody Klymak <jklymak@uvic.ca><br>
<b>发送时间:</b> 2025年8月22日 5:19<br>
<b>收件人:</b> mitgcm-support@mitgcm.org <mitgcm-support@mitgcm.org><br>
<b>主题:</b> Re: [MITgcm-support] 回复: Question about internal tide energy flux balance</font>
<div> </div>
</div>
<div>
<div dir="ltr" style="font-family:Aptos,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi</div>
<div dir="ltr" style="font-family:Aptos,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div dir="ltr" style="font-family:Aptos,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Apologies - this ended up in my spam folder</div>
<div dir="ltr" style="font-family:Aptos,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div dir="ltr"><span style="font-family:Aptos,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)"><a href="https://github.com/jklymak/MITgcmcode/blob/master/code/energy_diagnostics_fill.F" originalsrc="https://github.com/jklymak/MITgcmcode/blob/master/code/energy_diagnostics_fill.F" data-outlook-id="92282ceb-50c9-4202-99ac-2279fc19d563" style="color:rgb(0,0,0)">https://github.com/jklymak/MITgcmcode/blob/master/code/energy_diagnostics_fill.F</a></span><span style="font-size:16px"> is
probably the better code. I </span>should<span style="font-size:16px"> remove the other code, as it is wrong.</span></div>
<div dir="ltr" style="font-size:16px"><br>
</div>
<div dir="ltr" style="font-size:16px">Sorry for the confusion - please let me know if this works for you</div>
<div dir="ltr" style="font-size:16px"><br>
</div>
<div dir="ltr" style="font-size:16px">Thanks, Jody</div>
<div dir="ltr" style="font-family:Aptos,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div id="x_mail-editor-reference-message-container">
<div dir="ltr" class="x_ms-outlook-mobile-reference-message x_skipProofing"></div>
<div class="x_ms-outlook-mobile-reference-message x_skipProofing" style="text-align:left; padding:3pt 0in 0in; border-width:1pt medium medium; border-style:solid none none; border-color:rgb(181,196,223) currentcolor currentcolor; font-family:Aptos; font-size:12pt; color:black">
<b>From: </b>MITgcm-support <mitgcm-support-bounces@mitgcm.org> on behalf of Hughes, Kenneth <kenneth.hughes@oregonstate.edu><br>
<b>Date: </b>Sunday, August 10, 2025 at 3:08 PM<br>
<b>To: </b>mitgcm-support@mitgcm.org <mitgcm-support@mitgcm.org><br>
<b>Subject: </b>Re: [MITgcm-support] 回复: Question about internal tide energy flux balance<br>
<br>
</div>
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi Sean,</div>
<div dir="ltr" class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Below are two links to old notes of mine about Jody's energy diagnostics code. They were only intended to be notes to myself (and they're 8 years old), so they might be a bit terse, but I think they could help answer some of your questions.</div>
<div dir="ltr" class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
The first link is about intermediate calculations within the fortran code. The second link is about an idealized setup that looks at the magnitudes and behaviors of the various terms.</div>
<div dir="ltr" class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
https://drive.google.com/file/d/1ixlnFmhKCy0EGrHQ7vKlldwOm_mOGVIa/view?usp=sharing</div>
<div dir="ltr" class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
https://drive.google.com/file/d/1lT56CS_Fgw_g9ecvrxtv_Tt9LNeb3QlS/view?usp=sharing</div>
<div dir="ltr" class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Ken Hughes</div>
<div id="x_appendonsend" dir="ltr"></div>
<hr style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><span style="font-family:Calibri,sans-serif; font-size:11pt; color:rgb(0,0,0)"><b>From:</b> MITgcm-support <mitgcm-support-bounces@mitgcm.org> on behalf of Shiqiang Hu (ENV - Postgraduate Researcher) <Shiqiang.Hu@uea.ac.uk><br>
<b>Sent:</b> Sunday, August 10, 2025 1:49 PM<br>
<b>To:</b> mitgcm-support@mitgcm.org <mitgcm-support@mitgcm.org><br>
<b>Subject:</b> [MITgcm-support] 回复: Question about internal tide energy flux balance</span>
<div> </div>
</div>
<p dir="ltr" class="x_ms-outlook-mobile-reference-message x_skipProofing" style="margin-top:0px; margin-bottom:0px">
<span style="color:rgb(215,63,9)">[This email originated from outside of OSU. Use caution with links and attachments.]</span></p>
<div dir="ltr" class="x_x_elementToProof" style="text-align:left; text-indent:0px; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:black">
Hi Jody,</div>
<div dir="ltr" class="x_x_elementToProof" style="text-align:left; text-indent:0px; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:black">
<br>
</div>
<div dir="ltr" class="x_x_elementToProof" style="text-align:left; text-indent:0px; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:black">
I have been reading your reference materials which is useful. Finally I was able to output the energy dignostics in latest version based on your code, but several questions have arisen:</div>
<div dir="ltr" class="x_x_elementToProof" style="text-align:left; text-indent:0px; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:black">
<br>
</div>
<div dir="ltr" class="x_x_elementToProof" style="text-align:justify; text-indent:0px; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:black">
1, For <b>baroclinic</b> <b>energy</b> equation <img id="x_x_x_image_0" width="274" height="32" style="width:274px; height:32px; max-width:753px; min-width:auto; min-height:auto; margin:0px" data-outlook-trace="F:4|T:4" src="cid:592a7939-f6bc-48b9-b311-cb17b6089067"> how
did you calculate the first three terms from dignostics outputs, while it seems the equation used in dignostics code is the
<b>total energy</b> equation? I can only find your github pages cause the link in your paper seems no longer valid. I'm confused that Fbc should be <u'p'>, but the dignostics code use the original velosity
<b>uVel</b> and <b>vVel</b> directly to get uPbc and so on.</div>
<div dir="ltr" class="x_x_elementToProof" style="text-align:justify; text-indent:0px; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:black">
<br>
</div>
<div dir="ltr" class="x_x_elementToProof" style="text-align:justify; text-indent:0px; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:black">
2, For Conversion term, the W is derived from <img id="x_x_x_image_2" width="218" height="35" style="width:218px; height:35px; max-width:753px; min-width:auto; min-height:auto; margin:0px" data-outlook-trace="F:4|T:4" src="cid:791c1654-63b9-4bb1-9f91-ec3c854ef76b">in
Kang's 2011 paper. So we don't need the W velosity from the model output? I'm not sure if they are different or my code was wrong.</div>
<div dir="ltr" class="x_x_elementToProof" style="text-align:justify; text-indent:0px; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:black">
<br>
</div>
<div dir="ltr" class="x_x_elementToProof" style="text-align:justify; text-indent:0px; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:black">
Sorry if it’s a lot to explain, but I could really use your help with this. </div>
<div dir="ltr" class="x_x_elementToProof" style="text-align:left; text-indent:0px; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:black">
<br>
</div>
<div dir="ltr" class="x_x_elementToProof" style="text-align:left; text-indent:0px; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:black">
Thanks and cheers!</div>
<div dir="ltr" class="x_x_elementToProof" style="text-align:left; text-indent:0px; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:black">
Sean</div>
<div dir="ltr" class="x_x_elementToProof" style="text-align:left; text-indent:0px; background-color:rgb(255,255,255); margin:0px; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:black">
University of East Anglia</div>
<div dir="ltr" class="x_x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div id="x_x_appendonsend" dir="ltr"></div>
<hr dir="ltr" style="display:inline-block; width:98%">
<div id="x_x_divRplyFwdMsg" dir="ltr"><span style="font-family:Calibri,sans-serif; font-size:11pt; color:rgb(0,0,0)"><b>发件人:</b> MITgcm-support <mitgcm-support-bounces@mitgcm.org> 代表 Jody Klymak <jklymak@uvic.ca><br>
<b>发送时间:</b> 2025年7月19日 1:18<br>
<b>收件人:</b> mitgcm-support@mitgcm.org <mitgcm-support@mitgcm.org><br>
<b>主题:</b> Re: [MITgcm-support] Question about internal tide energy flux balance</span>
<div> </div>
</div>
<p dir="ltr" class="x_ms-outlook-mobile-reference-message x_skipProofing" style="text-align:center; margin-top:0px; margin-bottom:0px; padding:0.5em; border-width:4px; border-style:solid; border-color:rgb(255,0,0)">
<b>Warning:</b> This email is from outside the UEA system. Do not click on links or attachments unless you expect them from the sender and know the content is safe.</p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="font-size:11pt">Hi Sean</span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="font-size:11pt"> </span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="font-size:11pt">This is probably outdated, but the writeup and the diagnostic may help you with your problem:</span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="font-size:11pt"> </span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="font-size:11pt; color:blue"><u><a href="https://ocean-physics.seos.uvic.ca/~jklymak/MITgcm/" originalsrc="https://ocean-physics.seos.uvic.ca/~jklymak/MITgcm/" originalsrc="https://ocean-physics.seos.uvic.ca/~jklymak/MITgcm/" data-outlook-id="b5cc8f49-d6d2-4924-8bf2-773299637c16" style="color:blue; margin-top:0px; margin-bottom:0px">https://ocean-physics.seos.uvic.ca/~jklymak/MITgcm/</a></u></span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="font-size:11pt"> </span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="font-size:11pt">in particular </span><span style="font-size:11pt; color:blue"><u><a href="https://ocean-physics.seos.uvic.ca/~jklymak/MITgcm/energy_diagnostics_fill.F" originalsrc="https://ocean-physics.seos.uvic.ca/~jklymak/MITgcm/energy_diagnostics_fill.F" originalsrc="https://ocean-physics.seos.uvic.ca/~jklymak/MITgcm/energy_diagnostics_fill.F" data-outlook-id="f9e89e5d-cffe-4c23-837d-bf59f91ac36a" style="color:blue; margin-top:0px; margin-bottom:0px">https://ocean-physics.seos.uvic.ca/~jklymak/MITgcm/energy_diagnostics_fill.F</a></u></span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="font-size:11pt">and</span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="font-size:11pt; color:blue"><u><a href="https://ocean-physics.seos.uvic.ca/~jklymak/MITgcm/EnergyDiagnostic.pdf" originalsrc="https://ocean-physics.seos.uvic.ca/~jklymak/MITgcm/EnergyDiagnostic.pdf" originalsrc="https://ocean-physics.seos.uvic.ca/~jklymak/MITgcm/EnergyDiagnostic.pdf" data-outlook-id="8b5482ff-c369-4c4e-9ee1-05b522093a34" style="color:blue; margin-top:0px; margin-bottom:0px">https://ocean-physics.seos.uvic.ca/~jklymak/MITgcm/EnergyDiagnostic.pdf</a></u></span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="font-size:11pt"> </span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="font-size:11pt">This was used extensively in</span> <span style="font-size:11pt; color:blue">
<u><a href="https://doi.org/10.1175/2010JPO4396.1" originalsrc="https://doi.org/10.1175/2010JPO4396.1" target="_blank" originalsrc="https://doi.org/10.1175/2010JPO4396.1" data-outlook-id="47c19913-c0fc-474f-9253-d1cd600f66bc" style="color:blue; margin-top:0px; margin-bottom:0px">10.1175/2010JPO4396.1</a></u></span><span style="font-size:11pt"> and
10.1175/JPO-D-16-0061.1</span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="font-size:11pt"> </span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="font-size:11pt">Hopefully that helps, if not, I can probably provide more guidance.</span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="font-size:11pt"> </span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="font-size:11pt">Cheers Jody</span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="font-size:11pt"> </span></p>
<div style="padding:3pt 0cm 0cm; border-width:1pt medium medium; border-style:solid none none; border-color:rgb(181,196,223) currentcolor currentcolor">
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="font-family:Calibri,sans-serif; color:black"><b>From: </b>MITgcm-support <mitgcm-support-bounces@mitgcm.org> on behalf of "Shiqiang Hu (ENV - Postgraduate Researcher)" <Shiqiang.Hu@uea.ac.uk><br>
<b>Reply-To: </b>"mitgcm-support@mitgcm.org" <mitgcm-support@mitgcm.org><br>
<b>Date: </b>Friday, July 18, 2025 at 9:58 AM<br>
<b>To: </b>"mitgcm-support@mitgcm.org" <mitgcm-support@mitgcm.org><br>
<b>Subject: </b>[MITgcm-support] Question about internal tide energy flux balance</span></p>
</div>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
</p>
<table class="x_x_x_MsoNormalTable" cellspacing="0" cellpadding="0" style="text-indent:revert; line-height:revert; white-space:revert; border-width:revert; border-style:revert; border-color:revert; background-color:revert; display:table; margin:revert; width:revert; height:revert; table-layout:revert; color:revert; box-sizing:border-box; border-collapse:collapse; border-spacing:0px">
<tbody>
<tr style="background-color:revert">
<td class="x_x_x_MsoNormalTable" style="text-indent:revert; line-height:revert; white-space:revert; border-width:revert; border-style:revert; border-color:revert; background-color:revert; padding:revert; word-break:revert; color:revert; width:revert; height:revert">
</td>
<td class="x_x_x_MsoNormalTable" style="text-indent:revert; line-height:revert; white-space:revert; border-width:revert; border-style:revert; border-color:revert; background-color:revert; padding:revert; word-break:revert; color:revert; width:revert; height:revert">
<p class="x_x_x_MsoNormal" style="text-indent:revert; line-height:revert; white-space:revert; margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="letter-spacing:revert; font-family:wf_segoe-ui_normal,serif; font-size:9pt; color:rgb(33,33,33)">You don't often get email from shiqiang.hu@uea.ac.uk.
</span><span style="letter-spacing:revert; font-family:wf_segoe-ui_normal,serif; font-size:9pt; color:blue"><u><a href="https://aka.ms/LearnAboutSenderIdentification" data-outlook-id="a4ca6056-f52c-465c-8599-0d34663f0b7f" style="color:blue; margin-top:0px; margin-bottom:0px">Learn
why this is important</a></u></span></p>
</td>
<td class="x_x_x_MsoNormalTable" style="text-indent:revert; line-height:revert; white-space:revert; border-width:revert; border-style:revert; border-color:revert; background-color:revert; padding:revert; word-break:revert; color:revert; width:revert; height:revert">
</td>
</tr>
</tbody>
</table>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="color:black">Hi MITgcm commuity,</span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="color:black"> </span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="color:black">Hope you all well.</span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="color:black"> </span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="color:black">I built an idealized 3D internal tide model based on </span>
<span style="color:blue"><u><a href="https://github.com/MITgcm/MITgcm/blob/master/verification/internal_wave" originalsrc="https://github.com/MITgcm/MITgcm/blob/master/verification/internal_wave" title="https://github.com/MITgcm/MITgcm/blob/master/verification/internal_wave" originalsrc="https://github.com/MITgcm/MITgcm/blob/master/verification/internal_wave" data-outlook-id="712a3338-e696-443e-9644-8c1fa8b68018" style="color:blue; margin-top:0px; margin-bottom:0px">internal_wave
experiment</a></u></span><span style="color:black"> to calculate the energy flux F=<u'p'>(</span><span style="color:blue"><u><a href="https://doi.org/10.1175/JTECH1784.1" originalsrc="https://doi.org/10.1175/JTECH1784.1" title="https://doi.org/10.1175/JTECH1784.1" originalsrc="https://doi.org/10.1175/JTECH1784.1" data-outlook-id="c9da49ff-d73b-4799-99f1-3b8359193fb2" style="color:blue; margin-top:0px; margin-bottom:0px">Nash et
al., 2005</a></u></span><span style="color:black">). Periodic 1-mode internal tides propagate to the right and interact with a simple topography. The model works but I got stuck at the energy flux balance part. Sometimes when I chose a small area within the
topography to calculate the net energy flux across its boundary, the result is positive, which means there are rather dissipation but genaration of enerny. So I wanna ask if someone has experience with this. </span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="color:black">Basically, I use <i>RHOAnoma</i>+<i>rhoConst</i> to get original density
<i>rho</i>, cause the paper gets density anomaly from </span><span style="color:black; background-color:white"><i>rho(z,t)-rho_mean(z),
</i>where<i> rho_mean(z) </i>is the time mean vertical density profile (I guess I could also just use the
<i>Rhoref(z) </i>as the reference profile?). The question is the C-grids, should I calculate these values on T-points or U-V points so the energy could be more balenced? Or maybe some other factors I didn't realize? </span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="color:black; background-color:white">By the way, the non-hydrostatic pressure is quite small, so I ignored it.</span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="color:black"> </span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="color:black; background-color:white">Thanks for any suggestions.</span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="color:black; background-color:white">Kind regards,</span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="color:black"> </span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="color:black; background-color:white">Sean</span></p>
<p dir="ltr" class="x_x_x_MsoNormal" style="margin:0cm; font-family:Aptos,sans-serif; font-size:12pt">
<span style="color:black">University of East Anglia</span></p>
</div>
</div>
</body>
</html>