Why is my fluid simulation render flickering?

Hello,

I have noticed that foams, spray and bubles make my fluid flickering but the fluid itselfs without foams, spray, bubble renders normally, it’s like if spray was generating random pattern each frames.
If someone has a little idea how to fix this

I am not sure if it’s just the video compression, but It looks like there is stretching on the frames where the particles disappear. This looks like it could be a motion blur related problem. Is motion blur activated and what happens if you turn it off?

Also, is this rendered in Eevee? Because Eevee’s motion blur doesn’t really work with fluids or their particles.

Dman, yes I have enabled motion blur in eevee + I ticked the one in mesh fluid simulation, I will try if it works, thanks

Sadly motion blur for fluids only really works correctly in Cycles.

Also, I must add something. If you want your fluid to have motion blur on the main mesh and not just the particles, you have to go to the cache settings and change the cache format to uni cache, because the default openvdb doesn’t support motion blur. You also need to go to the fluid’s mesh settings and check “use speed vectors” You will need to redo the bake after checking these options.

Thanks a lot, I didn’t know all of those, it never has been mentioned in youtube tutorials, i guess this is why it is better to pay for courses sometimes.

No problem! Blender’s fluid is not very well documented or understood by most users and sadly not as feature complete as it should be.