14 Nov
2019
14 Nov
'19
5:39 p.m.
Hello yt users, I'm trying to understand magnetic field units used in yt Since I found something that looks strange to me. As stated on the yt website, it uses cgs units just like FLASH. I'm sending the code bellow, and it does the following: 1) I use yt to trace a ortho ray 2) using that ray I get the magnetic field a gas pressure 3) from the magnetic fiedl I get the magnetic pressure 4) I add gas pressure and magnetic field pressure 5) The answer is wrong, and I don't know why The data file is here: http://use.yt/upload/a95035d4 The code is here: http://paste.yt-project.org/show/178/ Cheers,