Liquid

Hello, how can i get this liquid foam to form on the ends of my liquid? I couldn’t find any videos on youtube to be worthwhile. Also if the method includes fluid simulation or using Subd could you please give your suggestion if my pc could handle it. My pc specs are
i3-10100F
16g ram
rtx 2060 6gb

THANKS