Hi Antoine,Since you have included “two-phase.h” (search "rho" in “two-phase-generic.h” for more information), the rho[] on each face has already been altered according to the f[] of adjacent cell. Therefore the drag is not a constant.
Besides there is still mistake in your event acceleration: the acceleration is as you mentioned $g(1 - rho_0/rho) = g(1 - (rho_d*alpha + (1 - alpha)*rho_f) /rho )$ instead of the form you write.
To make it clear, I upload a case in my sandbox which successfully works for bubble rising in periodic BC. Hope this helps.
Best,
Haochen
Amin Soltani amin.so...@gmail.com 于2024年5月22日周三 19:40写道:
--
You received this message because you are subscribed to a topic in the Google Groups "basilisk-fr" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/basilisk-fr/D8DCNedfgq8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to basilisk-fr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/basilisk-fr/a83ef30d-f91d-4fb1-abfa-f9307372f46en%40googlegroups.com.