For the “carafe” image I ran a fluid simulation inside blender. It was pretty straightforward and worked flawlessly.