I’m trying to visualize streamlines (gas phase) from my MFIX-TFM simulations using ParaView. I’ve tried a few steps already but still haven’t managed to get the streamlines to show up. I want to know if this is even possible.
If it can be done, could someone give me a quick overview of how to set it up?
Thanks a lot for the tip! I tried it out and realized I need to use vector data—like “velocity vector”—instead of scalar components (e.g., velocity_x, velocity_y) when saving the output. That makes sense now.
To save disk space, I usually only save the individual velocity components rather than both components and the full vector. My question is: if I only store the components, is there a way to reconstruct the velocity vector in ParaView during post-processing, so I can still generate streamlines without having to re-run the simulation with vector output enabled?
You can convert velocity components into a vector with the calculator filter. You can type in the name of the variables or choose them from the “Scalars” drop down menu. Use iHat, jHat, kHat as the unit vectors. You will only save a little bit of space in 2D though.