<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<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; font-size: 11pt; color: rgb(0, 0, 0);">
Hi Paria,</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
I found the same thing: the default xr_boundary_type = "nocurrent" whereas if you change it to xr_boundary_type = "circuit" you'll get large values of Bz = B_phi as expected (though Eddie might want to confirm this is the only change that needs to be done
to the default flash.par to reproduce his simulation).</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
Adam</div>
<div id="appendonsend" style="color: inherit;"></div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);">
<br>
</div>
<hr style="display: inline-block; width: 98%;">
<div dir="ltr" id="divRplyFwdMsg" style="color: inherit;"><span style="font-family: Calibri, sans-serif; font-size: 11pt; color: rgb(0, 0, 0);"><b>From:</b> flash-users <flash-users-bounces@flash.rochester.edu> on behalf of Paria Makaremi-Esfarjani <paria.makaremiesfarjani@mail.mcgill.ca><br>
<b>Sent:</b> Friday, May 23, 2025 10:38 AM<br>
<b>To:</b> flash-users <flash-users@flash.rochester.edu><br>
<b>Subject:</b> [FLASH-USERS] ZPinch test case--Zero magnetic energy</span>
<div> </div>
</div>
<div style="direction: ltr;">[External email - use caution]</div>
<div style="direction: ltr;"><br>
</div>
<div style="direction: ltr;">Hello,</div>
<div style="direction: ltr;"><br>
</div>
<div style="direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I am trying to run the ZPinch test case simulation with the FLASH code on a new device. I followed exactly the same steps mentioned in the manual to test the 1D case for the ZPinch; however, I keep getting zero magnetic energy, which is not correct. Could anyone
please help me understand what I might be doing wrong? When I run the same test with the older version of FLASH on my other device, I get non-zero values for the magnetic energy solution. I have attached flash.par, ZPinch_1D.dat, and ZPinch_1D.log files.<br>
Thank you for your help.</div>
<div style="direction: ltr;"><br>
</div>
<div style="direction: ltr;"><br>
</div>
<div style="direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Regards,</div>
<div style="direction: ltr; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Paria</div>
</body>
</html>