Liquids

Posts that don't fit into other categories.
assofohdz
Posts: 25
Joined: Mon Apr 17, 2017 10:46 am

Liquids

Postby assofohdz » Tue May 02, 2017 9:57 am

Hi

Is there any way to do liquids with Dyn4j ? If not, is there any plans to implement it ?

Kind regards,
Asser

William
Site Admin
Posts: 351
Joined: Sat Feb 06, 2010 10:23 pm

Re: Liquids

Postby William » Tue May 02, 2017 6:28 pm

There's nothing in dyn4j for fluids right now.

You could achieve something pretty simple by implementing buoyancy across a line, but this wouldn't work if you needed fluids that flow (like SPH).

Historically speaking, I've been down this path a few times and it always ended in something that I just didn't feel comfortable supporting. Simulations would be stable only under very specific conditions and settings. In addition to this, using a time step any smaller than 60 hz just wasn't enough to keep the simulation accurate. Most users, if not all, want to run 60 or below (I was able to get a decent simulation at 120 hz).

That said, there's plenty of papers and libraries out there that give good results, but beware, the devil is in the details. I may pick this back up one day. It's been a while since I looked at it last, so maybe there's some better solutions now, but I'm not planning on it unless there's a pretty high demand for it from users.

William


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests