KuangshiAi
add 6 stream surface, pathline, path surface, streakline, timeline cases from Kaiyuan Tang
22d58cf
raw
history blame
1.36 kB
Load the turbulent radiative layer velocity field time series from "trl-velocity_timeline/data/trl-velocity_timeline_{timestep}.vti", where "timestep" in {0020, 0030, 0040, 0050, 0060} (5 timesteps, VTI format, 256x128x128 grid each).
Visualize temporal evolution by generating streamlines from a line seed at each timestep.
Seed 50 points along the z-axis at x=128, y=64 (from z=20 to z=108). For each timestep, trace streamlines bidirectionally with maximum length 150.
Render as tubes with radius 0.5. Color each timestep using Spectral-like colors (blue for t=20, cyan for t=30, green for t=40, yellow for t=50, red for t=60) with increasing opacity for later times.
Add a magnitude-colored layer using the 'Spectral' colormap for reference.
Add a color bar labeled 'Velocity Magnitude'.
Use a dark background (RGB: 0.0, 0.0, 0.02). Set camera to an oblique view (azimuth 45, elevation 20) for the elongated domain. Render at 1024x1024 resolution.
Save the paraview state as "trl-velocity_timeline/results/{agent_mode}/trl-velocity_timeline.pvsm".
Save the visualization image as "trl-velocity_timeline/results/{agent_mode}/trl-velocity_timeline.png".
(Optional, if use python script) Save the python script as "trl-velocity_timeline/results/{agent_mode}/trl-velocity_timeline.py".
Do not save any other files, and always save the visualization image.