File size: 1,259 Bytes
22d58cf | 1 2 3 4 5 6 7 8 9 10 | Load the Rayleigh-Taylor instability velocity field dataset from "rti-velocity_streamsurface/data/rti-velocity_streamsurface.vti" (VTI format, 128x128x128 grid).
Generate a stream surface seeded from a circular ring at y=64 (the mixing interface), centered at x=64, z=64 with radius 30, using 40 seed points distributed around the circle.
Trace the stream surface in both directions along the velocity field. Color the stream surface by the vy (vertical velocity) component using the 'Cool to Warm (Extended)' diverging colormap centered at zero.
Set surface opacity to 0.85 for slight transparency. Add a color bar labeled 'Vertical Velocity (vy)'.
Use a black background (RGB: 0.0, 0.0, 0.0).
Set camera to view at 45 degrees elevation to show the mushroom-shaped instability structures. Render at 1024x1024 resolution.
Save the paraview state as "rti-velocity_streamsurface/results/{agent_mode}/rti-velocity_streamsurface.pvsm".
Save the visualization image as "rti-velocity_streamsurface/results/{agent_mode}/rti-velocity_streamsurface.png".
(Optional, if use python script) Save the python script as "rti-velocity_streamsurface/results/{agent_mode}/rti-velocity_streamsurface.py".
Do not save any other files, and always save the visualization image |