[FLASH-USERS] Bug in the split solver viscous energy fluxes since FLASH2.x

James Beattie u6252670 at anu.edu.au
Mon Nov 28 21:45:43 EST 2022


Dear FLASH developers,

I am quite confident that there is a bug in the three-dimensional viscous energy fluxes for the 8 wave split solver in the public FLASH version, which we have tracked back to the original implementation in FLASH2.2.

For example, in the x sweep, the z contributions to the flux are:

[cid:3AD6848A-621A-469C-A794-136D10F8DA24]

which correspond to the fluxes:

[cid:8A59777D-BFF6-4464-920C-09015AE37D88]

Where \overline{v_z \partial_z v_z} is the average along the sweep.

In the second term, there is a minus (highlighted in red) where there should be a plus, which computes the difference rather than the average flux on the cell face.

The same can be said about the z energy flux contributions to the y and z sweeps — both have terms that are differences rather than averages — resulting in incorrect viscous fluxes for the split methods.

The public unsplit method has both the correct averaging and viscous energy flux terms, for comparison.

Thanks,
James Beattie (he/him)
PhD student | Deakin, Dean’s (theoretical physics) & Fulbright scholar
University of California, Santa Cruz | Department of Astronomy and Astrophysics
Australian National University | Research School of Astronomy and Astrophysics
GScholar<https://scholar.google.com/citations?user=ZIgumjQAAAAJ&hl=en> | ResearchGate<https://www.researchgate.net/profile/James-Beattie-4> | CV<https://www.mso.anu.edu.au/~beattijr/cv/AcademicCV_Beattie2022.pdf> | Website<https://www.mso.anu.edu.au/~beattijr/>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20221129/d4705ca8/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2022-11-28 at 6.17.38 pm.png
Type: image/png
Size: 99143 bytes
Desc: Screen Shot 2022-11-28 at 6.17.38 pm.png
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20221129/d4705ca8/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2022-11-28 at 6.20.06 pm.png
Type: image/png
Size: 134731 bytes
Desc: Screen Shot 2022-11-28 at 6.20.06 pm.png
URL: <http://flash.rochester.edu/pipermail/flash-users/attachments/20221129/d4705ca8/attachment-0001.png>


More information about the flash-users mailing list