<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 id="divtagdefaultwrapper" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" dir="ltr">
<p><span>Dear Prof. Federrath,</span></p>
<p><span><br>
</span></p>
<p>Thanks a lot. It would be great if we can chat to discuss some details of the forcing. I will send you a mail about the time.<br>
</p>
<p><br>
</p>
<p>Best regards,</p>
<p>Shadab<br>
</p>
<p><br>
</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<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> Christoph Federrath <christoph.federrath@gmail.com><br>
<b>Sent:</b> Wednesday, May 15, 2024 10:41 AM<br>
<b>To:</b> Alam Shadab TU Ilmenau<br>
<b>Cc:</b> flash-users@flash.rochester.edu<br>
<b>Subject:</b> Re: [FLASH-USERS] Question regarding velocity update in Stir.F90</font>
<div> </div>
</div>
<div>
<div><br>
</div>
<div>Dear Shadab,</div>
<div><br>
</div>
<div>Yes, the TurbGen is what’s basically in StirFromFile in the public FLASH version (although a somewhat earlier version without auto amplitude adjustment for instance). The TurbGen repos (GitHub or BitBucket) contain a FLASH plugin that can be used to upgrade
the public version code any time you wish.</div>
<div><br>
</div>
<div>A constant (averaged over time) energy injection rate is achieved by setting the appropriate combination of “velocity” (target turbulent velocity dispersion) and “ampl_factor” (amplitude adjustment factor) in TurbGen.par (the parameter file that is read
by FLASH, which controls all settings of the turbulence driving). We can chat offline to discuss the detail — please let me know any time.</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Christoph</div>
<br id="lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>On 14 May 2024, at 8:36 PM, Alam Shadab TU Ilmenau <shadab.alam@tu-ilmenau.de> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-size:12pt; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div style="margin-top:0px; margin-bottom:0px">Dear Prof. Federrath,</div>
<div style="margin-top:0px; margin-bottom:0px"><span>Thank you very much for providing<span class="Apple-converted-space"> </span><span>the reason for subtracting the bulk momentum</span>. At present, I have opted to maintain this term activated in my simulations.
If it prove effective, excellent. However, if any issues arise, I will not hesitate to seek your help.</span></div>
<div style="margin-top:0px; margin-bottom:0px"><span><br>
</span></div>
<div style="margin-top:0px; margin-bottom:0px"><span>I also thank you for sharing the link for your TurbGen code. I am sure it will be helpful. If I am not wrong, I believe it is the same code in 'StirFromFile' directory of Flash code.<br>
</span></div>
<div style="margin-top:0px; margin-bottom:0px"><span><br>
</span></div>
<div style="margin-top:0px; margin-bottom:0px"><span><span>In my simulations, ensuring a fixed and known energy supply rate is crucial. Could you provide insight into whether achieving this is feasible and, if so, what parameters would need to be controlled?<span class="Apple-converted-space"> </span></span><span>Any
guidance on this matter would be highly appreciated.</span><br>
</span></div>
<div style="margin-top:0px; margin-bottom:0px"><span><br>
</span></div>
<div style="margin-top:0px; margin-bottom:0px"><span><br>
</span></div>
<div style="margin-top:0px; margin-bottom:0px"><span>Best regards,</span></div>
<div style="margin-top:0px; margin-bottom:0px"><span>Shadab<br>
</span></div>
<div style="margin-top:0px; margin-bottom:0px"><span><br>
</span></div>
</div>
<hr tabindex="-1" style="display:inline-block; width:1784.578125px">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b><span class="Apple-converted-space"> </span>Christoph Federrath <christoph.federrath@gmail.com><br>
<b>Sent:</b><span class="Apple-converted-space"> </span>Tuesday, May 14, 2024 4:50:32 AM<br>
<b>To:</b><span class="Apple-converted-space"> </span>Alam Shadab TU Ilmenau<br>
<b>Cc:</b><span class="Apple-converted-space"> </span>flash-users@flash.rochester.edu<br>
<b>Subject:</b><span class="Apple-converted-space"> </span>Re: [FLASH-USERS] Question regarding velocity update in Stir.F90</font>
<div> </div>
</div>
<div>
<div><br>
</div>
<div>Dear Shadab,</div>
<div><br>
</div>
<div>I implemented this. The reason for subtracting the bulk momentum is that we normally use continuous turbulence driving in periodic box simulations, such that the gas remains in the zero-momentum rest frame. It is usually a tiny correction, so switching
this off mostly likely wouldn’t matter, but I chose to do it to make the momentum perfectly zero in x, y, z. If you have a different application in mind that would require you to keep the momentum, I’d be happy to chat further or make this a user parameter,
for instance. Btw: the most recent TurbGen code is available here (which includes some extra features, such as automatic amplitude adjustment, etc.):</div>
<div>
<div style="display:block">
<div class="apple-rich-link" style="display:inline-block"><a class="lp-rich-link" rel="nofollow" href="https://www.mso.anu.edu.au/~chfeder/codes/turbgen/turbgen.html" dir="ltr" width="300" style="border-radius:10px; display:block; width:300px; overflow:hidden; text-decoration:none" id="LPlnk308173" previewremoved="true">
<table class="lp-rich-link-emailBaseTable" cellpadding="0" cellspacing="0" border="0" width="300" style="table-layout:fixed; border-collapse:collapse; width:300px; background-color:rgb(229,230,233)">
<tbody>
<tr>
<td>
<table bgcolor="#E5E6E9" cellpadding="0" cellspacing="0" width="300" class="lp-rich-link-captionBar" style="table-layout:fixed">
<tbody>
<tr>
<td class="lp-rich-link-captionBar-textStackItem" style="padding:8px 0px">
<div class="lp-rich-link-captionBar-textStack" style="max-width:100%; margin:0px 16px; overflow:hidden">
<div class="lp-rich-link-captionBar-textStack-topCaption-leading" style="font-weight:500; font-size:12px; overflow:hidden; text-overflow:ellipsis; text-align:left">
<a rel="nofollow" href="https://www.mso.anu.edu.au/~chfeder/codes/turbgen/turbgen.html" style="text-decoration:none"><font color="#272727">Federrath - Codes</font></a></div>
<div class="lp-rich-link-captionBar-textStack-bottomCaption-leading" style="font-weight:400; font-size:11px; overflow:hidden; text-overflow:ellipsis; text-align:left">
<a rel="nofollow" href="https://www.mso.anu.edu.au/~chfeder/codes/turbgen/turbgen.html" style="text-decoration:none"><font color="#808080">mso.anu.edu.au</font></a></div>
</div>
</td>
<td class="lp-rich-link-captionBar-rightIconItem" width="36" style="padding:6px 12px 6px 0px">
<a rel="nofollow" href="https://www.mso.anu.edu.au/~chfeder/codes/turbgen/turbgen.html"></a></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</a></div>
</div>
</div>
<div><br>
</div>
<div>Best regards,</div>
<div>Christoph</div>
<div><br>
</div>
<div><span style="font-size:11px"><i>—</i></span></div>
<div>
<div style="background-color:rgb(255,255,255); margin:0px; line-break:after-white-space">
<font color="#696567" style="font-size:11px"><b><i><span style="margin:0px"><span style="margin:0px"><span style="margin:0px">Professor </span></span></span>Christoph Federrath</i></b></font></div>
<div style="background-color:rgb(255,255,255); margin:0px; line-break:after-white-space">
<span style="margin:0px; font-size:11px"><i><font color="#696567">Research School of Astronomy & Astrophysics</font></i></span></div>
<div style="background-color:rgb(255,255,255); margin:0px; line-break:after-white-space">
<font color="#696567"><span style="margin:0px"><i><span style="font-size:11px; margin:0px">Australian National University, Canberra, ACT, Australia</span><br>
<span style="margin:0px; font-size:11px"><i>Tel: </i></span></i></span><a href="tel:+61-2-6125-0217" style="font-size:11px"><i>+61-2-6125-0217</i></a></font></div>
</div>
<div>
<div style="line-break:after-white-space">
<div><span style="font-size:11px"><i><font color="#696567">Web: <a href="https://www.mso.anu.edu.au/~chfeder">https://www.mso.anu.edu.au/~chfeder</a></font></i></span></div>
</div>
</div>
<div><br>
<blockquote type="cite">
<div>On 13 May 2024, at 10:08 PM, Alam Shadab TU Ilmenau <shadab.alam@tu-ilmenau.de> wrote:</div>
<br class="Apple-interchange-newline">
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-size:12pt; font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div style="margin-top:0px; margin-bottom:0px">Hi,</div>
<div style="margin-top:0px; margin-bottom:0px"><br>
</div>
<p style="margin-top:0px; margin-bottom:0px"></p>
<span>I have a query about why the 'momentum/mass' is subtracted during the velocity update in the forcing unit. Here's the snippet from Stir.F90 for reference.</span>
<div style="margin-top:0px; margin-bottom:0px"><br>
</div>
<div style="margin-top:0px; margin-bottom:0px"><span id="cid:b6991838-bdab-48cb-aa19-8d0e87f6c5c6"><Screenshot from 2024-05-13 13-51-41.png></span><br>
</div>
<div style="margin-top:0px; margin-bottom:0px">Could anyone please clarify this?<br>
</div>
<div style="margin-top:0px; margin-bottom:0px"><br>
</div>
<div style="margin-top:0px; margin-bottom:0px">Best regards,</div>
<div style="margin-top:0px; margin-bottom:0px">Shadab<br>
</div>
</div>
<span style="font-family:Helvetica; font-size:12px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline!important">_______________________________________________</span><br style="font-family:Helvetica; font-size:12px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<span style="font-family:Helvetica; font-size:12px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline!important">flash-users
mailing list</span><br style="font-family:Helvetica; font-size:12px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<a href="mailto:flash-users@flash.rochester.edu" style="font-family:Helvetica; font-size:12px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">flash-users@flash.rochester.edu</a><br style="font-family:Helvetica; font-size:12px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<br style="font-family:Helvetica; font-size:12px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<span style="font-family:Helvetica; font-size:12px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; float:none; display:inline!important">For
list info, including unsubscribe:</span><br style="font-family:Helvetica; font-size:12px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none">
<a href="https://flash.rochester.edu/mailman/listinfo/flash-users" style="font-family:Helvetica; font-size:12px; font-style:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px">https://flash.rochester.edu/mailman/listinfo/flash-users</a></div>
</blockquote>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</body>
</html>