Megalomaniak I think it might be a form of cellular automaton. http://www.jgallant.com/2d-liquid-simulator-with-cellular-automaton-in-unity/
Megalomaniak Honestly not sure what the best route is. That's something you would have to potentially experiment with for your self. But a good first step would be to make a google search and see how others might have gone about it before. Here's the first resource I came by: https://github.com/tterrasson/liquid-simulator-godot It's a plugin built in c++
Zylann I made a similar test project to experiment this as well, using GDScript https://github.com/Zylann/fluid2d_demo