<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Pengyang,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thank you for your answer !</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I have tried using linear advection schemes but unfortunately this didn't help. When using these schemes, the oscillations remain, and the total energy starts decreasing slowly with time.</div>
<div>
<div id="appendonsend"></div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Best regards,
<div>Zaher</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> MITgcm-support <mitgcm-support-bounces@mitgcm.org> on behalf of SONG Pengyang <peterspy@outlook.com><br>
<b>Sent:</b> Monday, June 14, 2021 8:05 PM<br>
<b>To:</b> mitgcm-support@mitgcm.org <mitgcm-support@mitgcm.org><br>
<b>Subject:</b> Re: [MITgcm-support] MITgcm-support Digest, Vol 216, Issue 4 [Conservation of total energy for Internal Wave Simulation (Adham El Zaher)]</font>
<div> </div>
</div>
<div lang="ZH-CN" style="word-wrap:break-word">
<div class="x_WordSection1">
<p class="x_MsoNormal" style="margin: 0cm; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">Hi Zaher,</span></p>
<p class="x_MsoNormal" style="margin: 0cm; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">I guess this is caused by the nonlinear advection.</span></p>
<p class="x_MsoNormal" style="margin: 0cm; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">Have you tried other advection schemes? For example, advection code equals to 2 or 4, which is linear for both \tau and \vec{v}.</span></p>
<p class="x_MsoNormal" style="margin: 0cm; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">See table 2.2 of <a href="https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmitgcm.readthedocs.io%2Fen%2Flatest%2Falgorithm%2Fadv-schemes.html&data=04%7C01%7C%7C42d00df00bdd42e5d30508d92f56b9ca%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637592871798828243%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=WB62ocjMmFwpVSPIVCp788B28NFP3poOYCthFJhmDzY%3D&reserved=0" originalsrc="https://mitgcm.readthedocs.io/en/latest/algorithm/adv-schemes.html" shash="WveacikiQ5UFYzDHoUfs0tamEWCJgvFOPstgH392RD16aWGvgYh2fv5LwrVbLgc1Op33Qvtijz6layA1RrSLxXQ2gSbE0/ljlMBZDrg5VQHWXx7BXJDdF+l1L/1MDbUk5/7UC35MdXpuUuSAQ7bD7EG8rW7yq4bZdNheidgljXA=">
<span style="color:#954F72">2.17.1. Linear advection schemes — MITgcm checkpoint67y-20-gb7589390f documentation</span></a></span></p>
<p class="x_MsoNormal" style="margin: 0cm; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">Kind regards,</span></p>
<p class="x_MsoNormal" style="margin: 0cm; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US">Pengyang</span></p>
<p class="x_MsoNormal" style="margin: 0cm; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US" style="font-family:"Times New Roman",serif; color:black">----------------------------------------------------------------</span></p>
<p class="x_MsoNormal" style="margin: 0cm; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US" style="font-family:"Times New Roman",serif; color:black">SONG Pengyang</span><span style="color:black">(宋朋洋)</span><span lang="EN-US" style="font-family:"Times New Roman",serif; color:black"></span></p>
<p class="x_MsoNormal" style="margin: 0cm; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US" style="font-family:"Times New Roman",serif; color:black">PhD candidate in Paleoclimate Dynamics</span></p>
<p class="x_MsoNormal" style="margin: 0cm; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US" style="font-family:"Times New Roman",serif; color:black">Department of Climate Sciences</span></p>
<p class="x_MsoNormal" style="margin: 0cm; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US" style="font-family:"Times New Roman",serif; color:black">Alfred Wegener Institute,</span></p>
<p class="x_MsoNormal" style="margin: 0cm; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US" style="font-family:"Times New Roman",serif; color:black">Helmholtz Centre for Polar and Marine Research</span></p>
<p class="x_MsoNormal" style="margin: 0cm; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US" style="font-family:"Times New Roman",serif; color:black">Address: Bussestr. 24, 27570 Bremerhaven, Germany</span></p>
<p class="x_MsoNormal" style="margin: 0cm; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US" style="font-family:"Times New Roman",serif; color:black">Tel: (+49) 471 4831 1811</span></p>
<p class="x_MsoNormal" style="margin: 0cm; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US" style="font-family:"Times New Roman",serif; color:black">Mobile: (+49) 17667211481 (DE)</span></p>
<p class="x_MsoNormal" style="margin: 0cm; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US" style="font-family:"Times New Roman",serif; color:black"> (+86) 15762264643 (CN)</span></p>
<p class="x_MsoNormal" style="margin: 0cm; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US"> </span></p>
<div style="border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0cm 0cm 0cm">
<p class="x_MsoNormal" style="margin: 0cm; text-align: justify; font-size: 10.5pt; font-family: DengXian;border:none; padding:0cm">
<b>发件人<span lang="EN-US">: </span></b><span lang="EN-US"><a href="mailto:mitgcm-support-request@mitgcm.org">mitgcm-support-request@mitgcm.org</a><br>
</span><b>发送时间<span lang="EN-US">: </span></b><span lang="EN-US">2021</span>年<span lang="EN-US">6</span>月<span lang="EN-US">14</span>日<span lang="EN-US"> 18:00<br>
</span><b>收件人<span lang="EN-US">: </span></b><span lang="EN-US"><a href="mailto:mitgcm-support@mitgcm.org">mitgcm-support@mitgcm.org</a><br>
</span><b>主题<span lang="EN-US">: </span></b><span lang="EN-US">MITgcm-support Digest, Vol 216, Issue 4</span></p>
</div>
<p class="x_MsoNormal" style="margin: 0cm; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US" style="font-size:12.0pt; font-family:SimSun"> </span></p>
<p class="x_MsoNormal" style="margin: 0cm; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US" style="font-size:11.0pt">Send MITgcm-support mailing list submissions to<br>
mitgcm-support@mitgcm.org<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmailman.mitgcm.org%2Fmailman%2Flistinfo%2Fmitgcm-support&data=04%7C01%7C%7C42d00df00bdd42e5d30508d92f56b9ca%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637592871798828243%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=YId%2BPrylJerUNt%2F7pQ22V%2FInJOzTd4IHMJdmqZnBdXk%3D&reserved=0" originalsrc="http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support" shash="ZTocqVC0g8YxmVxa3c+RqLie18prb89vqS+IOr1jdjwo71TeT9yfMEfO4ODyIXAGUNCgXLVoRwhFntzOrLR0CUdUHZ42Zi0VYi2JcAd6SQZloemISa8VHGMnVU4q5MCmkbmL0PBA3oV0bzsGv/Qjs6RIia0ZNY+rqGpOtaSLsYA=">
http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</a><br>
or, via email, send a message with subject or body 'help' to<br>
mitgcm-support-request@mitgcm.org<br>
<br>
You can reach the person managing the list at<br>
mitgcm-support-owner@mitgcm.org<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of MITgcm-support digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Conservation of total energy for Internal Wave Simulation<br>
(Adham El Zaher)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 13 Jun 2021 23:11:29 +0000<br>
From: Adham El Zaher <adham_zaher@live.com><br>
To: "mitgcm-support@mitgcm.org" <mitgcm-support@mitgcm.org><br>
Subject: [MITgcm-support] Conservation of total energy for Internal<br>
Wave Simulation<br>
Message-ID:<br>
<DB6PR10MB1733AE5A54A62E117D695643F9329@DB6PR10MB1733.EURPRD10.PROD.OUTLOOK.COM><br>
<br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi everyone!<br>
<br>
I am working on an internal wave simulation in a rectangular domain with no dissipation or diffusivity and with a periodic boundary condition on both ends in the x-direction, a free-slip wall at the bottom.<br>
<br>
Theoretically, the total energy of the system is conserved and does not change with the time, but instead of that, numerically, I always get undamped oscillations (at the same frequency as this of the single wave specified in the gendata file), so there is
time dependency in the numerical simulations.<br>
<br>
I have tried several time-stepping (implicit time-stepping scheme, Crank-Nicolson scheme) and advection schemes ( 3rd order upwind scheme, 7th order one-step method) to get rid of these oscillations but unfortunately none of them worked.<br>
<br>
Does anyone have any idea on how to solve this problem or the reason of the presence of these oscillations, please?<br>
<br>
Thanks in advance for all your help.<br>
<br>
Best regards,<br>
Zaher<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmailman.mitgcm.org%2Fpipermail%2Fmitgcm-support%2Fattachments%2F20210613%2Ff6639077%2Fattachment-0001.html&data=04%7C01%7C%7C42d00df00bdd42e5d30508d92f56b9ca%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637592871798838238%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=3UtBNrFdmD0xpVQ9oW7tTZ6JdwgxJY0RSrbirz6VBnc%3D&reserved=0" originalsrc="http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20210613/f6639077/attachment-0001.html" shash="bLGJNsT2/ciit0H3tyF6YOQFhzjaQsFGSgIOU8GQGk5qTuw3/XPVkDJFSxYIlen6G2AU1zPVpq76+K6MAsVIGz43x4ZUAH0ms4y9y9wgss1moaiY2QTI8oJrZon31JBNwqSy/OyfNwtdJUkVgqzxu+fGiJWWSxKs/w+rKaWDJlc=">http://mailman.mitgcm.org/pipermail/mitgcm-support/attachments/20210613/f6639077/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
MITgcm-support mailing list<br>
MITgcm-support@mitgcm.org<br>
<a href="https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmailman.mitgcm.org%2Fmailman%2Flistinfo%2Fmitgcm-support&data=04%7C01%7C%7C42d00df00bdd42e5d30508d92f56b9ca%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637592871798848234%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=yz4ool83MPV3jvMd6n1W%2FlK6XhdZNTXSiPviCkOdghk%3D&reserved=0" originalsrc="http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support" shash="J/GUmoc/OG8HCNMrB2/sHx5JKwUZ8Ai9glHAxgi1wmFiodWfsmmyE8NaIwGbhTNu9LFb7xc+a2quGmB9It1PxYXKQz871syyiaWADZCHWvzP23LgGoIvEQVqzh7UuN3/Mo5eI5oDVHi33PuZ0n6cCGcF13tm7yzmzgfrS2v+iEs=">http://mailman.mitgcm.org/mailman/listinfo/mitgcm-support</a><br>
<br>
<br>
------------------------------<br>
<br>
End of MITgcm-support Digest, Vol 216, Issue 4<br>
**********************************************</span></p>
<p class="x_MsoNormal" style="margin: 0cm; text-align: justify; font-size: 10.5pt; font-family: DengXian;">
<span lang="EN-US" style="font-size:12.0pt; font-family:SimSun"> </span></p>
</div>
</div>
</div>
</body>
</html>