Question #230621 on Yade changed:
https://answers.launchpad.net/yade/+question/230621

Bruno Chareyre posted a new comment:
Why not this:

if h < water_height:
   b.state.mass =  4*pi/3*rad**3*rho_s -  pi/3*dh*dh*(3*rad - dh)*rho #so that 
apparent weight will be solid weight - buoyancy

-- 
You received this question notification because you are a member of
yade-users, which is an answer contact for Yade.

_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to