Tracer/VOF advection issue in axisymmetry

35 views
Skip to first unread message

Giannis Bagkeris

unread,
Oct 8, 2025, 8:32:02 AM (5 days ago) Oct 8
to basilisk-fr
Dear all,

I am working on capillary-driven flows in channels and pipes. When extending from channels to pipes using axi.h, I have noticed an unexpected behaviour: the interface becomes nearly pinned on the axis of symmetry.

After excluding potential culprits (basically contact-embed.h, which appears to work correctly with axi.h), I have narrowed the issue down to the advection of a VOF (or tracer) field when using axi.h.

To test advection in a similar but known flow, I have ran two minimal examples: channel flow and pipe flow with a flat initial tracer profile within the domain. The examples are pretty much based on http://basilisk.fr/src/examples/karman.c and http://basilisk.fr/sandbox/lopez/poiseuille-embed.c.

In both cases the (fully-developed) velocity matches the analytical solution. For the channel, the tracer is advected as expected, following the velocity profile. For the pipe, however, the tracer near the axis of symmetry moves much more slowly than the local velocity would suggest, even though the velocity itself is correct.

It seems the issue may be related to the face metric factors and how tracer fluxes are computed in axisymmetry, but I don't know how to fix it.

Please note that I got the same behaviour
  • with VOF, no surface tension, and the two phases having the same density and viscosity
  • without embed (in a square domain)
which suggest that the issue is purely related to axi.h and tracer/VOF advection. Has anyone encountered anything similar?

Cheers,
Ioannis



ux for channel flow
channel_ux.png

ux for pipe flow
axi_ux.png

--------------------------------------------
Tracer evolution for channel flow
t=0
channel_t0.png

t=1
channel_t1.png

t=2
channel_t2.png

t=3
channel_t3.png

t=10
channel_t10.png

-------------------------------------------------------------------
Tracer evolution for pipe flow
t=0
axi_t0.png

t=1
axi_t1.png

t=2
axi_t2.png

t=3
axi_t3.png

t=10
axi_t10.png
trac_adv_chan.c
trac_adv_axi.c
Reply all
Reply to author
Forward
0 new messages