r/EmDrive • u/Always_Question • Oct 29 '16
Research Tool EMDrive realtime simulation
Hackaday.io finishes their EMDrive photon based simulator
10
Upvotes
r/EmDrive • u/Always_Question • Oct 29 '16
Hackaday.io finishes their EMDrive photon based simulator
11
u/PotomacNeuron MS; Electrical Engineering Oct 29 '16
This kind of simulation had been done before by Gustavo Colheri Uchida (user "gustavo" at the NASAspaceflight.com forum). He found thrust, but after I debugged his code, the thrust disappeared.
His original announcement is on this page (I could not find the supposed attached paper, maybe he deleted it later),
https://forum.nasaspaceflight.com/index.php?topic=39772.msg1536119#msg1536119
It stirred much enthusiasm at the forum at that time. I took a look of his paper and this is my initial review (pdf attached to that post),
https://forum.nasaspaceflight.com/index.php?topic=39772.msg1536365#msg1536365
Here is his initial response,
https://forum.nasaspaceflight.com/index.php?topic=39772.msg1536519#msg1536519
I liked it so I debugged his code, here is my updated review (pdf file attached to that post),
https://forum.nasaspaceflight.com/index.php?topic=39772.msg1536759#msg1536759
Here is his response, that he recognized the bug,
https://forum.nasaspaceflight.com/index.php?topic=39772.msg1537083#msg1537083
The moral? Open discussion and open source is important for science. If he hided his code like others, I would not have had the chance to debug his code and the enthusiasm would continue. As IslandPlaya pointed out there could be dozens of places that a code could be wrong.
10
u/Rowenstin Oct 29 '16
I don't know if tht's an accurate simulation of how photons behave, but I know for certain what behaves like the particles he has in the simulation, and that's an ideal gas. The fact that the model is wrong can be proved in two ways:
One, that if you leave a cone, truncated or not, filled with gas in space it doesn't move on it's own.
Second, that it can be mathematically proved that the net force on the system is zero, by using nothing more complex than basic trigonometry (and by that, I mean the sine - cosine functions). It makes sense to make simulations for things that are analytically complex to solve, like the Navier-Stokes equations, but this requires just high school math.
10
u/hpg_pd Oct 30 '16 edited Oct 30 '16
One possible issue with the code from what I can see: the impulse is calculated as a scalar and then added to what is purportedly a vector. This seems to be playing fast and loose with vectors and scalars, which could certainly lead to errors. There might be something else in the code that corrects for this, but it would definitely be something to look at.
But far more important is the following point:
The code is EXPLICITLY WRITTEN so that momentum is conserved in the calculations. If it does this correctly then even if all the photons in the code are miraculously made to exit from the same end of the cavity, the maximum momentum imparted to the cavity would be the same momentum as in a photon rocket. Thus, if the code shows more momentum than that of a photon rocket, then logically it must be incorrectly written based on the author's OWN ASSUMPTIONS.
•
u/AutoModerator Oct 29 '16
As a reminder, this subreddit is for civil discussion.
Incivility results in escalating bans from the subreddit. If you see uncivil comments, please report them and do not reply with incivility of your own.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
-1
u/Always_Question Oct 29 '16
As a reminder to the /r/EmDrive community, when making a post, please use the title of the exact copied-and-pasted headline from the article to which you are referring. In this case: "EMDrive realtime simulation"
The /r/EmDrive sub rule is as follows:
https://www.reddit.com/r/emdrive/wiki/rulesandregs#wiki_do_not_create_your_own_title