08-06-2019, 10:47 AM
(10-02-2018, 07:05 PM)josemendez Wrote: Hi!I consider getting the Obi Fluid asset for 2d simulations. This thread answered many of my questions. To elaborate further: Can air be simulated (volum, pressure) together with water such that a barometer can be simulated? When an air volum is under variable outside air pressure, will it change its volume?
Air pressure is simulated in a simplified way. Fluid curvature is calculated at its boundaries and then a force proportional to the air density is applied in the direction of the surface's normal. In engineering-grade simulators air is usually simulated as a second, lower-density fluid phase but this is pretty much impossible to achieve in real time due to the sheer volume of fluid you'd have to simulate (though it allows for air bubble formation). You can see a list of available fluid parameters here, the one you're looking for is named "atmospheric pressure".
http://obi.virtualmethodstudio.com/tutor...rials.html
The "atmospheric drag" parameter would be also relevant as it determines the relative density of the surrounding air.
If you fill a U pipe with fluid, it would initially level out both sides of the "U". If you cap one end and keep pouring fluid trough the open end, it would eventually overflow (since it must conserve its volume). Air bubble formation is not currently supported as it would require to simulate air as a second fluid phase (as described in the above paragraph).
We've sold the asset at a discounted price before, but when to discount it is out of our control. The Asset Store notifies us when they're about to make a sale, and asks us if we want to temporarily reduce the price a certain percentage. ObiFluid will likely be included in the next sale, but unfortunately I cannot tell you when this will happen as it is not up to us.