phetsims / buoyancy

"Buoyancy" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
2 stars 2 forks source link

Wrong physics when submerging a block onto a boat #147

Open AgustinVallejo opened 2 weeks ago

AgustinVallejo commented 2 weeks ago

After talking today with @jonathanolson, @zepumph and @samreid, it seems the physics for the boat are still off... Even though we removed the option to have a little bit of liquid in the boat, there's still the possibility of having a filled boat, dragging a block into it's volume, and having wrong physics when the block enters the boat domain.

Some of the problems discussed:

  1. If the boat is in static equilibrium (i.e. buoyant force = -weight), when the block goes in and displaces internal liquid, the boat goes up... This was a long discussion and the reason for this being wrong is still not clear to me.
  2. When the boat is fully submerged, right now the displayed weight is BoatMass + MassOfLiquidInside and when the block goes in, this weight diminishes. The calculation will be changed in https://github.com/phetsims/buoyancy/issues/142 but this is still a symptom of what's apparently wrong with the model.