POV-Ray : Newsgroups : povray.object-collection : Bubble 4.0.1 : Re: Bubble 4.0.1 Server Time
30 Oct 2025 22:56:43 EDT (-0400)
  Re: Bubble 4.0.1  
From: Cousin Ricky
Date: 27 Oct 2025 18:41:00
Message: <68fff4fc$1@news.povray.org>
On 2025-10-26 13:07 (-4), Bald Eagle wrote:
> 
> It looks like he just didn't do a very good job of making the correction.

He didn't even do a good job prior to the "corrections."  His
randomization code yields columns in a box, not a cylinder.  I haven't
bothered to correct that.

> However, perhaps you should <snip>

I'm only tweaking this library because it was already there.  I'm not
going to try to overhaul this thing; to get some comprehensive
improvement, I think it would be better to start a new library from
scratch (which you already seem to be doing).

> The size of a bubble is related to the pressure exerted on it.
> Fluid pressure is dependent solely on the height of the column of liquid.

Does atmospheric pressure figure into this?  Should we pretend that
there’s an additional 14.7 psi worth of liquid on top?  Or does that
cancel out somehow?

> So you should start with a bubble of some initial size, and then adjust the
> VOLUME of the bubble in a linear fashion as it rises.
> P1V1 = P2V2

For a carbonated beverage, that's not the whole story.  The bubble
absorbs additional CO2 as it rises, which is why my default is greater
than 1/3.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.