Hey everyone,
I’m trying to make viscosity effector plugin where viscosity of fluid would depend on distance from the effector (like heat source). As far as I know, viscosity is treated as float value set for whole domain. In my case, an additional grid would be necessary to affect velocity of fluid.
API documentation states there is a velocity_grid
property in domain settings, however it’s read only.
So I’ve been wondering is there a way to set velocities for individual grid cells? And if that wouldn’t work with native classes, is there a way to extend mantaflow code and use it in blender?
Thanks in advance!