<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
<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: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hello FLASH users,</div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I ran the problem magnetoHD/NohCylindrical (Magnetized Noh Z-pinch) that is provided with the code (version 4.7.1) and I got a weird result, a bit different from Figure 34.50 in the PDF guide. In this result, one can see some oscillations that are created at
the top and bottom of the computational interval.</div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
When I run the same problem with FLASH code version 4.6.2, I get the same result as is presented in the guide (<span style="letter-spacing: normal; font-size: 16px; font-weight: 400; background-color: rgb(255, 255, 255);">Figure 34.50), without these oscillations.</span></div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-size: 16px; font-weight: 400; background-color: rgb(255, 255, 255);">When run with version 4.7, the result is the same as with version 4.7.1 (with oscillations).</span></div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
>From this, I conclude that there is some kind of bug in the new versions of the code. But I have no idea what it could be...</div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
When I increase the resolution, the frequency of the oscillations also increases.</div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I did not notice this in other simulations, probably when using mag. diffusion, these oscillations are negligible?</div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Here is a detailed description of the performed simulations:</div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I performed simulations using different meshes and different values of conserveAngField (no specific reason, just noticed it also does something..).</div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I have attached the results figures with corresponding names.</div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Simulations use provided .par files (some with described modifications).</div>
<div class="elementToProof" style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;"><br>
version FLASH4.6.2:</span></div>
<div style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;">1] data_</span><span style="letter-spacing: normal; font-size: 16px; font-weight: 400; background-color: rgb(255, 255, 255);">4.6.2</span><span style="letter-spacing: normal; font-weight: 400;">_amr</span></div>
<div style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;">./setup -auto magnetoHD/NohCylindrical -2d +cylindrical +hdf5typeio +usm</span></div>
<div style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;">mpirun -np 4 ./flash4</span></div>
<div style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;">flash.par unchanged</span></div>
<div style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;"><br>
2] data_4.6.2_ug</span></div>
<div style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;">./setup -auto magnetoHD/NohCylindrical -2d +cylindrical +hdf5typeio +usm +ug -nxb=128 -nyb=128</span></div>
<div style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;">mpirun -np 4 ./flash4</span></div>
<div style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;">flash.par unchanged</span></div>
<div style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;"><br>
3] data_4.6.2_ug_2</span></div>
<div style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;">./setup -auto magnetoHD/NohCylindrical -2d +cylindrical +hdf5typeio +usm +ug -nxb=128 -nyb=128</span></div>
<div style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;">mpirun -np 4 ./flash4</span></div>
<div class="elementToProof" style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;">flash.par changed: added line "conserveAndField=.true."</span></div>
<div class="elementToProof" style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;"><br>
version FLASH4.7.1:</span></div>
<div class="elementToProof" style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;">1] data_</span><span style="letter-spacing: normal; font-size: 16px; font-weight: 400; background-color: rgb(255, 255, 255);">4.7.1</span><span style="letter-spacing: normal; font-weight: 400;">_amr</span></div>
<div style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;">./setup -auto magnetoHD/NohCylindrical -2d +cylindrical +hdf5typeio +usm</span></div>
<div style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;">mpirun -np 4 ./flash4</span></div>
<div class="elementToProof" style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;">flash.par changed: added line "useMagneticResistivity=.false." (in the new version, the default was changed to .true.)</span></div>
<div style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;"><br>
2] data_4.7.1_ug</span></div>
<div style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;">./setup -auto magnetoHD/NohCylindrical -2d +cylindrical +hdf5typeio +usm +ug -nxb=128 -nyb=128</span></div>
<div style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;">mpirun -np 4 ./flash4</span></div>
<div class="elementToProof" style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;">flash.par </span><span style="letter-spacing: normal; font-size: 16px; font-weight: 400; background-color: rgb(255, 255, 255);">changed: added line "useMagneticResistivity=.false." </span></div>
<div style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;"><br>
3] data_4.7.1_ug_2</span></div>
<div style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;">./setup -auto magnetoHD/NohCylindrical -2d +cylindrical +hdf5typeio +usm +ug -nxb=128 -nyb=128</span></div>
<div style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;">mpirun -np 4 ./flash4</span></div>
<div class="elementToProof" style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;">flash.par changed: added lines</span><span style="letter-spacing: normal; font-size: 16px; font-weight: 400; background-color: rgb(255, 255, 255);"> "useMagneticResistivity=.false.",</span><span style="letter-spacing: normal; font-weight: 400;"> "conserveAndField=.true."</span></div>
<div class="elementToProof" style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;"><br>
</span></div>
<div class="elementToProof" style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;">Do you have any tips, on what it could be?</span></div>
<div class="elementToProof" style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;"><br>
</span></div>
<div class="elementToProof" style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;">Regards,</span></div>
<div class="elementToProof" style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;">Jiøí Löffelmann</span></div>
<div class="elementToProof" style="text-align: left; margin: 0px; font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="letter-spacing: normal; font-weight: 400;"><br>
</span></div>
</body>
</html>