1) Is there any proof that simulations that mix Rigid Body phisix and fluids (say SPH) can provide modeling for real world?
2) How does a frame of such mix work?
Say we have a woden swing inside a box with 2 difrent liquids (oil and water) and a soft body - ball. Start condition looks like:
How could we simulate such situation forward? With what tools?
How I currently see it in my had (please tall me if I am wrong)
- we have all bodies and fluids at state (
*
) - Modern engines such as Bullet support soft bodies and rigid bodies - so we can load (
*
) and make a frame in RB\SB phisix engine. - Take all vertices and compare there positions with previous frame. getting out some form of a vector force field.
- Represent our rb/sb at tate (
*
) in fluid engine as particles with impulses from our force field - load (
*
) with RB and SB as particles with density corresponding to material they are made and impulses corresponding to previosly calculated vector feild - make a frame in fluid engine
- update rb/sb positions with respect to particles movment - get new state (
**
)
And this is at least in theory may be computable in near real time with current fluids 3 + bullet 3 on gpu for simple cases... Yet I woner how much this makes system not real?