Obi Official Forum
Can I scale the fluid down to 5mm? - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Fluid (https://obi.virtualmethodstudio.com/forum/forum-3.html)
+--- Thread: Can I scale the fluid down to 5mm? (/thread-3059.html)



Can I scale the fluid down to 5mm? - dennik - 12-08-2021

For the app I'm developing I need to scale the simulation down to 5mm maybe even less than that, as I have some liquid coming out of a narrow tube. Is this possible, or is obi fluid not supposed to scale that low?


RE: Can I scale the fluid down to 5mm? - josemendez - 13-08-2021

(12-08-2021, 10:53 PM)dennik Wrote: For the app I'm developing I need to scale the simulation down to 5mm maybe even less than that, as I have some liquid coming out of a narrow tube. Is this possible, or is obi fluid not supposed to scale that low?

5 mm for the entire simulation? Probably it won't work. At such low scales, floating point precision error can be an issue even for Unity's physics engine (the default contact offset between objects in Unity is 1 cm, which is already bigger than your entire simulation).

Scaling down the entire solver might work, depending on your fluid resolution and a few other parameters (surface tension and viscosity, specially).