tyFlow Forum
convert velocity to float - Printable Version

+- tyFlow Forum (https://forum.tyflow.com)
+-- Forum: tyFlow Discussion (https://forum.tyflow.com/forum-1.html)
+--- Forum: General Discussion (https://forum.tyflow.com/forum-2.html)
+--- Thread: convert velocity to float (/thread-4596.html)



convert velocity to float - houou - 12-10-2024

I'm unable to figure this out.
I have a phoenixFD simulation.
I want to voxelize it and color it using the speed magnitude.

But phoenixFD and Tyflow seems to load velocity (vector) instead so I can't color nicely... 

Is there a way to convert the vector to a magnitude float in tyflow? or... prehaps needs to be done in phoenix?

thank you.


solved it myslef.


Use a fluid propierties, load the phoenix velocity in channel "phvel"
Use a custop Propierties in GET mode to transfer Channel "phvel" to the "velocity" custom vector data.
in the mapping operator use "velocity magnitude"