<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 style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Thank you very much for your answer, really appreciate it <span id="🙂">🙂</span><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>From:</b> Adam Reyes <adam.reyes@rochester.edu><br>
<b>Sent:</b> Tuesday, July 4, 2023 6:50 PM<br>
<b>To:</b> Alvaro Sanchez <alvaro.sanchez@greentownsbyfusion.com><br>
<b>Cc:</b> flash-users@flash.rochester.edu <flash-users@flash.rochester.edu><br>
<b>Subject:</b> Re: [FLASH-USERS] Implement adiabatic approximation in the MHD eq of energy</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hi Alvaro,
<div><br>
</div>
<div>You may want to check out the polytrope unit under "physics/sourceTerms/Polytrope/PolytropeMain".</div>
<div><br>
</div>
<div>This is used for example in the simulation "Simulation/SimulationMain/StirFromFile". I don't think this would work with the 3 temperature solvers in the code, so you would want to be sure not to include any of the 3T solvers/units. It should be as easy
as adding a line like</div>
<div><br>
</div>
<div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left-width:1px; border-left-style:solid; border-left-color:rgb(204,204,204); padding-left:1ex">
REQUIRES physics/sourceTerms/Polytrope/PolytropeMain<br>
</blockquote>
<div> to your Config file. </div>
<br clear="all">
<div>
<div dir="ltr" class="x_gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div dir="ltr" style="color:rgb(0,0,0); font-family:Helvetica; font-size:12px">*************************************************************************</div>
<div dir="ltr" style="color:rgb(0,0,0); font-family:Helvetica; font-size:12px">Adam Reyes
<div><img src="https://flash.rochester.edu/site/common/images/email_signature/FLASH.jpg"><br>
</div>
<div>Code Group Leader, Flash Center for Computational Science <span> </span><br>
</div>
<div>Research Scientist, Dept. of Physics and Astronomy</div>
<div>University of Rochester</div>
<div>River Campus: Bausch and Lomb Hall, 369 <span> </span><br>
</div>
<div>500 Wilson Blvd. PO Box 270171, Rochester, NY 14627</div>
<div dir="ltr">Email<span> </span><a href="mailto:adam.reyes@rochester.edu" target="_blank">adam.reyes@rochester.edu</a></div>
<div>Web<span> </span><a href="https://flash.rochester.edu/" target="_blank">https://flash.rochester.edu</a><br>
</div>
<div> (he / him / his)</div>
<div><img src="https://flash.rochester.edu/site/common/images/email_signature/FLASH-pride-sml.png"><br>
</div>
*************************************************************************</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Tue, Jul 4, 2023 at 11:03 AM Alvaro Sanchez <<a href="mailto:alvaro.sanchez@greentownsbyfusion.com">alvaro.sanchez@greentownsbyfusion.com</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left-width:1px; border-left-style:solid; border-left-color:rgb(204,204,204); padding-left:1ex">
<div class="x_msg3472208111228289256">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hello dear community of FLASH,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
How difficult would it be to implement the adiabatic approximation in the equation of energy appearing in the ideal-MHD theory into the Z-pinch template instead of the equation 14-21 from the user's guide (in the MHD equations)?</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Which of the modules used in there must be set to false and what to set true if this is possible?
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Thank you very much in advance, appreciate any help <br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Nice code :)</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Alvaro<br>
</div>
</div>
_______________________________________________<br>
flash-users mailing list<br>
<a href="mailto:flash-users@flash.rochester.edu" target="_blank">flash-users@flash.rochester.edu</a><br>
<br>
For list info, including unsubscribe:<br>
<a href="https://flash.rochester.edu/mailman/listinfo/flash-users" rel="noreferrer" target="_blank">https://flash.rochester.edu/mailman/listinfo/flash-users</a><br>
</div>
</blockquote>
</div>
</div>
</body>
</html>