<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="ltr" style="color: rgb(0, 0, 0);"><span style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">Hi
</span><span style="font-family: Aptos, sans-serif; font-size: 14.666667px; background-color: rgb(255, 255, 255);">Jody,</span></div>
<div dir="ltr" style="font-family: Aptos, sans-serif; font-size: 14.666667px; color: rgb(0, 0, 0);">
<span style="background-color: rgb(255, 255, 255);"><br>
</span></div>
<div dir="ltr" style="font-family: Aptos, sans-serif; font-size: 14.666667px; color: rgb(0, 0, 0);">
<span style="background-color: rgb(255, 255, 255);">Great! Thank you for the reference materials. I will spend some time on them and get back to you if necessary.</span></div>
<div dir="ltr" style="font-family: Aptos, sans-serif; font-size: 14.666667px; color: rgb(0, 0, 0);">
<span style="background-color: rgb(255, 255, 255);"><br>
</span></div>
<div dir="ltr" style="font-family: Aptos, sans-serif; font-size: 14.666667px; color: rgb(0, 0, 0);">
<span style="background-color: rgb(255, 255, 255);">Cheers</span></div>
<div dir="ltr" style="font-family: Aptos, sans-serif; font-size: 14.666667px; color: rgb(0, 0, 0);">
<span style="background-color: rgb(255, 255, 255);">Sean</span></div>
<div dir="ltr" style="font-family: Aptos, sans-serif; font-size: 14.666667px; color: rgb(0, 0, 0);">
<span style="background-color: rgb(255, 255, 255);"><br>
</span></div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt;">
<br>
</div>
<div id="mail-editor-reference-message-container">
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
</div>
<div class="ms-outlook-mobile-reference-message 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>发件人:</b> MITgcm-support <mitgcm-support-bounces@mitgcm.org> 代表 Jody Klymak <jklymak@uvic.ca><br>
<b>日期:</b> 星期六, 2025年7月19日 01: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<br>
<br>
</div>
<p class="ms-outlook-mobile-reference-message skipProofing" style="text-align: center; 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 class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 12pt;">
<span style="font-size: 11pt;">Hi Sean</span></p>
<p class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 12pt;">
<span style="font-size: 11pt;"> </span></p>
<p class="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 class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 12pt;">
<span style="font-size: 11pt;"> </span></p>
<p class="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/" data-outlook-id="68f2d67f-d81c-4689-9b9a-7ff93192eeda" style="color: blue; margin-top: 0px; margin-bottom: 0px;">https://ocean-physics.seos.uvic.ca/~jklymak/MITgcm/</a></u></span></p>
<p class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 12pt;">
<span style="font-size: 11pt;"> </span></p>
<p class="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" data-outlook-id="a29f4762-c938-4804-add7-d7365b82bf9c" 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 class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 12pt;">
<span style="font-size: 11pt;">and</span></p>
<p class="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" data-outlook-id="74f64054-237a-42c0-9214-b5999e680e60" style="color: blue; margin-top: 0px; margin-bottom: 0px;">https://ocean-physics.seos.uvic.ca/~jklymak/MITgcm/EnergyDiagnostic.pdf</a></u></span></p>
<p class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 12pt;">
<span style="font-size: 11pt;"> </span></p>
<p class="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" target="_blank" originalsrc="https://doi.org/10.1175/2010JPO4396.1" data-outlook-id="344107dd-3d34-48ed-9c2c-d11d85079194" 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 class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 12pt;">
<span style="font-size: 11pt;"> </span></p>
<p class="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 class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 12pt;">
<span style="font-size: 11pt;"> </span></p>
<p class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 12pt;">
<span style="font-size: 11pt;">Cheers Jody</span></p>
<p class="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 class="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 class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 12pt;">
</p>
<table class="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="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="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="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="58b17336-e00c-4195-830e-9a7b9888ed89" style="color: blue; margin-top: 0px; margin-bottom: 0px;">Learn
why this is important</a></u></span></p>
</td>
<td class="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 class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 12pt;">
<span style="color: black;">Hi MITgcm commuity,</span></p>
<p class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 12pt;">
<span style="color: black;"> </span></p>
<p class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 12pt;">
<span style="color: black;">Hope you all well.</span></p>
<p class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 12pt;">
<span style="color: black;"> </span></p>
<p class="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" 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="d5fa69ed-306a-4878-be6d-cfbac42ae551" 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" title="https://doi.org/10.1175/JTECH1784.1" originalsrc="https://doi.org/10.1175/JTECH1784.1" data-outlook-id="97477f50-db3d-4b49-8fd5-d6cd64a31674" 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 class="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 class="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 class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 12pt;">
<span style="color: black;"> </span></p>
<p class="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 class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 12pt;">
<span style="color: black; background-color: white;">Kind regards,</span></p>
<p class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 12pt;">
<span style="color: black;"> </span></p>
<p class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 12pt;">
<span style="color: black; background-color: white;">Sean</span></p>
<p class="MsoNormal" style="margin: 0cm; font-family: Aptos, sans-serif; font-size: 12pt;">
<span style="color: black;">University of East Anglia</span></p>
</div>
</body>
</html>