[FLASH-USERS] ZPinch test case--Zero magnetic energy
Paria Makaremi-Esfarjani
paria.makaremiesfarjani at mail.mcgill.ca
Mon May 26 16:12:29 EDT 2025
Many thanks for your reply, Adam.
I noticed that I did not use the 'nocurrent' boundary condition in my previous Z-pinch simulations; however, I still did not get zero magnetic pressure. I'm not sure if I made a mistake back then or if this is due to changes in the newer version of the FLASH code.
I have encountered negative internal energy during the 3T update error while running a test case for a 2D Z-pinch simulation. I would appreciate any suggestions or feedback that could help. I have attached the ZPinch_2D.log and flash.par files for reference. Many thanks!
________________________________
From: Adam F Kowalski <Adam.F.Kowalski at Colorado.EDU>
Sent: Friday, May 23, 2025 1:23 PM
To: Paria Makaremi-Esfarjani <paria.makaremiesfarjani at mail.mcgill.ca>; flash-users <flash-users at flash.rochester.edu>
Subject: Re: ZPinch test case--Zero magnetic energy
Hi Paria,
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).
Adam
________________________________
From: flash-users <flash-users-bounces at flash.rochester.edu> on behalf of Paria Makaremi-Esfarjani <paria.makaremiesfarjani at mail.mcgill.ca>
Sent: Friday, May 23, 2025 10:38 AM
To: flash-users <flash-users at flash.rochester.edu>
Subject: [FLASH-USERS] ZPinch test case--Zero magnetic energy
[External email - use caution]
Hello,
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.
Thank you for your help.
Regards,
Paria
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20250526/6a4a46e7/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flash.par
Type: application/octet-stream
Size: 14528 bytes
Desc: flash.par
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20250526/6a4a46e7/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ZPinch_2D.log
Type: application/octet-stream
Size: 3467056 bytes
Desc: ZPinch_2D.log
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20250526/6a4a46e7/attachment-0003.obj>
More information about the flash-users
mailing list