I am trying to make a material for a fluid simulation in blender 2.8.2 that will change the colour of the fluid as the fluids velocity increases. I have tried a few things:

Both attempts were unsuccessful. Currently, it seems as if it is not possible to find the velocity as there is no way to detect how much time has passed.
I am aware that there is a question almost identical to this one (is there any way to get to velocity of a fluid and use it in the cycle material editor) that has already been asked but it has no answers so I thought it would be ok asking again.

