File size: 960 Bytes
367c2bc | 1 2 3 4 5 6 7 8 9 10 11 | Load the Rayleigh-Taylor instability velocity field dataset from "rti-velocity_glyph/data/rti-velocity_glyph.vti" (VTI format, 128x128x128 grid).
Create a slice at y=64 through the volume.
Place arrow glyphs on the slice, oriented by the velocity vector. Use uniform arrow size (no magnitude scaling, scale factor 3.0).
Color the arrows by velocity magnitude using the 'Viridis (matplotlib)' colormap. Use a sampling stride of 3.
Add a color bar labeled 'Velocity Magnitude'.
Use a black background.
Set the camera to view along the negative y-axis. Render at 1024x1024.
Save the paraview state as "rti-velocity_glyph/results/{agent_mode}/rti-velocity_glyph.pvsm".
Save the visualization image as "rti-velocity_glyph/results/{agent_mode}/rti-velocity_glyph.png".
(Optional, if use python script) Save the python script as "rti-velocity_glyph/results/{agent_mode}/rti-velocity_glyph.py".
Do not save any other files, and always save the visualization image. |