Closed zepumph closed 7 months ago
Most of this is implemented, but some questions arose along the way @DianaTavares :
From discussion with @DianaTavares @AgustinVallejo @samreid @zepumph today, we will investigate:
Alright. Everything has been implemented and we are quite happy with it. @DianaTavares please take things for a test drive. We decided not to interrupt the input ever, and instead only "spill out" the water when the boat is 90% out of the pool. This is working really well, and we can't find any other bugs.
We need to fix the forces:
when the boat is in the fluid, the buoyancy force is only generated by the fluid displaced by its shell (in this case 10.88N, that it is 1.11 X 1 x 9.8, -> 1.11 because it is the fluid displaced only for the boat, 1 because in this case it is water and 1kg/L is its density, and 9.8 for the gravity value) The weight is only mass x g; in this case, the mass is 3, so the weight needs to be 29.4. In that case, the sum of forces is zero (because the boat is in equilibrium): forces up (contact 18.51, + buoyancy 10.88) = to forces down (weight 29.4 N)
I believe that a discussion with @jonathanolson will be the best path forward here. I'm worried about side effects if we try to hard code that there is "no" water in the boat basin.
I think this is ready...
@zepumph please double check the above code. Let's make sure this goes accordingly to what JO suggested.
@DianaTavares please review that this is what you were requesting.
I look amazing!! Love it! Not sure if there is more stuff related to code in this issue, other way, you can close it.
REVIEW:
Feel free to close.
I have to accept that I forgot for a moment of the fluid with a bigger density than the boat material. After analyzing your picture (and playing a little bit with the simulation), I think that we need more information for the students: 1) the volume inside the boat is 8.88...L, which explains that the boat's weight changes from 29,4 N to 287.25 N, as displayed in the picture. But calculating that is not going to be trivial for most students.
Then I go back to what you suggested some time ago, we need to tell them what the volume is inside the boat, and in that situation, I don't recommend a strange number as 8.888... L. Is possible to have something like 8.5? or at least 8.8? but the mass is 3 kg when the volume is 10? (to maintain the initial state).
2) the other number the user needs to make sense of is the buoyancy force (also 287.25 N). I am not sure what the information gives to the students to make sense of that number. The other screens have been showing students that they only need to make the operation: (density of the fluid)(gravity)(FLUID DISPLACED). The Fluid displaced is 9.9L in this case, not idea how the simulation can show them that value, or give them more information (from the pool) to deduce that value. From the 101.01 L I couldn't. The true is that I don't know where that 101.01L came from.
I added those new questions to a new issue #149
From design meeting and https://github.com/phetsims/buoyancy/issues/131
Also brought from #143 :