Hello, I’m trying to code the equation shown below and get a curve or possible solution as shown below as well (not all of them). This is my attempt but not sure if it is correct and how to obtain a similar plot?. Are the units right? Any help will be appreciated. Thanks
So as Gianluca points out, u and u_c have the same units (m/s), but r and r_c do not. r is in meters, but r_c based on your code is in newtons * seconds^2 / kilograms. Could there be something wrong with your definitions of Ms and mH? You have the both as (identical) masses. But the different capitalization in your source suggests they might not be the same thing?
Ms ans mH are different things. If rc, r, u and uc are assumed to be dimensionless, is there any way to get a curve like the ones shown in the previous plot? Thanks
Well that’s odd because they are the same in your code. Perhaps you can post the reference for these equations? Something to do with gas particle velocity I assume…
I see that Figure 1 is what you are trying to recreate, but the relevant equations (16 and 17) have a different form from the ones you posted earlier and, alas, I don’t have the time to try to see how your version relates to those in the article. Especially as I’m not a physicist!