Water Droplet Wetting the Plane and Releasing the Droplet (two phases flow + embed)

47 views
Skip to first unread message

赶鸭子

unread,
Dec 2, 2025, 9:08:34 AM (6 days ago) Dec 2
to basilisk-fr
Good morning everyone!

I am new in Basilisk. Recently I am trying to solve the case as follow:
1) A water droplet wetes the plane.
2) At the releasing time, giving the plane a large velocity down, and release the droplet to see the process of the releasing.

But now, at the releasing time, when the plane starts to go down, there always occurs a error "floating point exception". I have tried different velocity, even though the velocity is samll, it will also occur.

Here are my source code and the filed graph when releasing (green for air, red for water droplet, blue for solid). I am very appreciate if you can help.

Best regards.
Jiexi 

11.png
1.c

alienor...@gmail.com

unread,
Dec 5, 2025, 7:55:05 AM (3 days ago) Dec 5
to basilisk-fr
Dear Jiexi,

I quickly looked at your code.

If I understand correctly, at time t_release, you want to move the solid with a given velocity.
Yet, what you have implemented for the moment is not this.

dirichlet(t < t_release ? 0. : -Vplate); means that, at time t_release, the fluid will enter the plate with velocity -Vplate which is not what you want.

Unfortunately, I don't know how to perform the simulation you want to do (ie moving the solid). Some might know better than me.

Good luck,

Aliénor
Reply all
Reply to author
Forward
0 new messages