KuangshiAi
add 16 vector field cases from Kaiyuan Tang
367c2bc
raw
history blame
909 Bytes
Load the Rayleigh-Taylor instability velocity field from "rti-velocity_divergence/data/rti-velocity_divergence.vti" (VTI format, 128x128x128).
Compute the divergence of the velocity field using the Gradient filter with 'Compute Divergence' enabled.
Extract a slice at z=64 and color it by divergence using the 'Cool to Warm' diverging colormap (centered at 0).
Add a color bar labeled 'Velocity Divergence'.
White background. Top-down camera view along negative z-axis. Render at 1024x1024.
Save the paraview state as "rti-velocity_divergence/results/{agent_mode}/rti-velocity_divergence.pvsm".
Save the visualization image as "rti-velocity_divergence/results/{agent_mode}/rti-velocity_divergence.png".
(Optional, if use python script) Save the python script as "rti-velocity_divergence/results/{agent_mode}/rti-velocity_divergence.py".
Do not save any other files, and always save the visualization image