Advanced control over liquid simulation

102 views
Skip to first unread message

L. Marsh

unread,
Feb 24, 2019, 12:20:08 PM2/24/19
to mantaflow Forum
Hello,

I am currently trying to use mantaflow for a school project (university level), which should eventually help simulate chemical reactions in a liquid phase.
For now, I have to show how to control the behavior of the fluid using physical parameters, and to check the simulations' compliance with analytical solutions.

Right now, I am trying to do so on the ghostFluid/levelSet liquids.

Is there a way to control the propagation speed of a small burst of pressure/ a small displacement (aka the speed of sound) in this liquid?
If so, with which parameters?

If not, is there another simulation method (already implemented here or otherwise) that you would recommend?

Thank you in advance.

Nils Thuerey

unread,
Feb 27, 2019, 7:09:23 AM2/27/19
to mantaflow Forum
Hi, right now mantaflow focuses on incompressible simulations, so effectively that gives you an infinite speed of sound. Density fluctuations are unfortunately not supported out of the box. It should be relatively easy, though, to allocate additional fields to compute things like chemical reactions with a custom kernel.

Cheers, Nils 

L. Marsh

unread,
Mar 7, 2019, 7:14:09 AM3/7/19
to mantaflow Forum
Hello,
Thank you for your answer.

I moved to other analytical results to check, such as the speed of a liquid around a spinning electrode.
I think it will be more than enough.

I'm sorry for the delayed response.
Have a nice day!
Cheers, Liam.
Reply all
Reply to author
Forward
0 new messages