KuangshiAi commited on
Commit ·
22d58cf
1
Parent(s): 8293ed0
add 6 stream surface, pathline, path surface, streakline, timeline cases from Kaiyuan Tang
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
Files changed (50)
- .DS_Store
- .gitignore+3-1
- eval_cases/paraview/chatvis_bench_cases.yaml+140
- eval_cases/paraview/main_cases.yaml+183-1
- main/mhd-magfield_streamsurface/GS/mhd-magfield_streamsurface_gs.pngAdded
- main/mhd-magfield_streamsurface/GS/mhd-magfield_streamsurface_gs.pvsmAdded+3
- main/mhd-magfield_streamsurface/GS/mhd-magfield_streamsurface_gs.pyAdded+56
- main/mhd-magfield_streamsurface/data/mhd-magfield_streamsurface.vtiAdded+3
- main/mhd-magfield_streamsurface/task_description.txtAdded+10
- main/mhd-magfield_streamsurface/visualization_goals.txtAdded+6
- main/mhd-turbulence_pathsurface/GS/mhd-turbulence_pathsurface_gs.pngAdded
- main/mhd-turbulence_pathsurface/GS/mhd-turbulence_pathsurface_gs.pvsmAdded+3
- main/mhd-turbulence_pathsurface/GS/mhd-turbulence_pathsurface_gs.pyAdded+59
- main/mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_0000.vtiAdded+3
- main/mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_0010.vtiAdded+3
- main/mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_0020.vtiAdded+3
- main/mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_0030.vtiAdded+3
- main/mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_0040.vtiAdded+3
- main/mhd-turbulence_pathsurface/task_description.txtAdded+10
- main/mhd-turbulence_pathsurface/visualization_goals.txtAdded+7
- main/rti-velocity_streakline/GS/rti-velocity_streakline_gs.pngAdded
- main/rti-velocity_streakline/GS/rti-velocity_streakline_gs.pvsmAdded+3
- main/rti-velocity_streakline/GS/rti-velocity_streakline_gs.pyAdded+98
- main/rti-velocity_streakline/data/rti-velocity_streakline_0030.vtiAdded+3
- main/rti-velocity_streakline/data/rti-velocity_streakline_0040.vtiAdded+3
- main/rti-velocity_streakline/data/rti-velocity_streakline_0050.vtiAdded+3
- main/rti-velocity_streakline/data/rti-velocity_streakline_0060.vtiAdded+3
- main/rti-velocity_streakline/data/rti-velocity_streakline_0070.vtiAdded+3
- main/rti-velocity_streakline/task_description.txtAdded+12
- main/rti-velocity_streakline/visualization_goals.txtAdded+7
- main/rti-velocity_streamsurface/GS/rti-velocity_streamsurface_gs.pngAdded
- main/rti-velocity_streamsurface/GS/rti-velocity_streamsurface_gs.pvsmAdded+3
- main/rti-velocity_streamsurface/GS/rti-velocity_streamsurface_gs.pyAdded+71
- main/rti-velocity_streamsurface/data/rti-velocity_streamsurface.vtiAdded+3
- main/rti-velocity_streamsurface/task_description.txtAdded+10
- main/rti-velocity_streamsurface/visualization_goals.txtAdded+7
- main/supernova-velocity_pathline/GS/supernova-velocity_pathline_gs.pngAdded
- main/supernova-velocity_pathline/GS/supernova-velocity_pathline_gs.pvsmAdded+3
- main/supernova-velocity_pathline/GS/supernova-velocity_pathline_gs.pyAdded+99
- main/supernova-velocity_pathline/data/supernova-velocity_pathline_0000.vtiAdded+3
- main/supernova-velocity_pathline/data/supernova-velocity_pathline_0005.vtiAdded+3
- main/supernova-velocity_pathline/data/supernova-velocity_pathline_0010.vtiAdded+3
- main/supernova-velocity_pathline/data/supernova-velocity_pathline_0015.vtiAdded+3
- main/supernova-velocity_pathline/data/supernova-velocity_pathline_0020.vtiAdded+3
- main/supernova-velocity_pathline/task_description.txtAdded+11
- main/supernova-velocity_pathline/visualization_goals.txtAdded+6
- main/trl-velocity_timeline/GS/trl-velocity_timeline_gs.pngAdded
- main/trl-velocity_timeline/GS/trl-velocity_timeline_gs.pvsmAdded+3
- main/trl-velocity_timeline/GS/trl-velocity_timeline_gs.pyAdded+103
- main/trl-velocity_timeline/data/trl-velocity_timeline_0020.vtiAdded+3
2 unmodified lines34562 unmodified linesupload_huggingface.py# only for github repo, not huggingface repo# sci_volume_data/**/*.rawstatistics/2 unmodified lines3456782 unmodified linesupload_huggingface.py# only for github repo, not huggingface repo# sci_volume_data/**/*.rawstatistics/.cache/.claude/
18 unmodified lines19202122232413 unmodified lines38394041424313 unmodified lines57585960616213 unmodified lines76777879808113 unmodified lines959697989910014 unmodified lines11511611711811912014 unmodified lines13513613713813914017 unmodified lines15815916016116216314 unmodified lines17817918018118218318 unmodified lines20220320420520620715 unmodified lines22322422522622722822 unmodified lines25125225325425525616 unmodified lines27327427527627727819 unmodified lines29829930030130230313 unmodified lines31731831932032132214 unmodified lines33733833934034134217 unmodified lines36036136236336436515 unmodified lines38138238338438538617 unmodified lines40440540640740840918 unmodified lines42842943018 unmodified lines4. Legend and Readability: Is there a clear legend identifying each variable line with readable labels and proper visual organization?# 2. ml-dvr- vars:question: |13 unmodified lines4. Visual Clarity and Detail: Are the volume details clearly visible with proper lighting and shading that enhances depth perception?# 3. ml-iso- vars:question: |13 unmodified lines4. Visual Presentation: Is the isosurface clearly visible with good contrast and coloring that enhances the understanding of the data structure?# 4. ml-slice-iso- vars:question: |13 unmodified lines4. View Direction: Is the visualization displayed from the correct +x direction view that provides clear visibility of the slice and contours?# 5. points-surf-clip- vars:question: |13 unmodified lines4. Geometric Integrity: Does the clipped wireframe maintain proper connectivity and show the expected geometric features without artifacts?# 6. shrink-sphere- vars:question: |14 unmodified lines4. Visual Quality: Does the visualization clearly show the contrast between the wireframe structure and the shrunken elements with appropriate white background?# 7. stream-glyph- vars:question: |14 unmodified lines4. View Configuration: Is the visualization displayed from the correct +x view direction providing clear visibility of the flow patterns and structures?# 8. time-varying- vars:question: |17 unmodified lines4. View Direction and Layout: Is the +y direction view properly set and are both views arranged side-by-side in the correct layout configuration?# 9. chart-opacity- vars:question: |14 unmodified lines4. Chart Clarity: Does the chart provide clear visualization of the data trends with appropriate axis scaling and readable formatting?# 10. color-blocks- vars:question: |18 unmodified lines4. View Configuration: Is the dataset displayed from the -y direction with blue-gray background and visible color bar legend?# 11. color-data- vars:question: |15 unmodified lines4. Color Bar Display: Is the color bar/legend visible and properly displaying the color mapping scale and values?# 12. export-gltf- vars:question: |22 unmodified lines4. Clean Presentation: Are the color bar and orientation axes properly hidden for a clean visualization appearance?# 13. import-gltf- vars:question: |16 unmodified lines4. Layout Configuration: Is the view properly sized to 300x300 pixels with correct rendering and background palette?# 14. render-histogram- vars:question: |19 unmodified lines4. Color Map Consistency: Are both the wavelet visualization and histogram using the same Cool to Warm color map?# 15. reset-camera-direction- vars:question: |13 unmodified lines4. View Quality: Does the visualization provide a clear view of the wavelet structure from the specified camera angle?# 16. save-transparent- vars:question: |14 unmodified lines4. Visual Quality: Does the transparent cone maintain good visual quality and edge definition?# 17. subseries-of-time-series- vars:question: |17 unmodified lines4. Final Visualization: Is the multi-block dataset properly displayed showing the sliced geometry from the time series?# 18. write-ply- vars:question: |15 unmodified lines4. Visualization Quality: Does the imported cube display properly with correct surface representation and rendering?# 19. climate- vars:question: |17 unmodified lines4. View Configuration: Is the visualization displayed from -z direction with appropriate scaling and white background as specified?# 20. materials- vars:question: |18 unmodified lines3. Clipping and Color Mapping: Is the plane clipping correctly applied and Viridis colormap properly used for Phase variable?4. Camera and Layout: Is the camera positioned correctly in (-1, 0, -1) direction with appropriate fitting and legends visible?18 unmodified lines1920212223242526272829303113 unmodified lines4546474849505152535455565713 unmodified lines7172737475767778798081828313 unmodified lines97989910010110210310410510610710810913 unmodified lines12312412512612712812913013113213313413514 unmodified lines15015115215315415515615715815916016116214 unmodified lines17717817918018118218318418518618718818917 unmodified lines20720820921021121221321421521621721821914 unmodified lines23423523623723823924024124224324424524618 unmodified lines26526626726826927027127227327427527627715 unmodified lines29329429529629729829930030130230330430522 unmodified lines32832933033133233333433533633733833934016 unmodified lines35735835936036136236336436536636736836919 unmodified lines38939039139239339439539639739839940040113 unmodified lines41541641741841942042142242342442542642714 unmodified lines44244344444544644744844945045145245345417 unmodified lines47247347447547647747847948048148248348415 unmodified lines50050150250350450550650750850951051151217 unmodified lines53053153253353453553653753853954054154218 unmodified lines56156256356456556656756856957018 unmodified lines4. Legend and Readability: Is there a clear legend identifying each variable line with readable labels and proper visual organization?- type: code-similaritysubtype: codegs_file:- line-plot/GS/line-plot_gs.pyrs_file:- line-plot/results/{agent_mode}/line-plot.py# 2. ml-dvr- vars:question: |13 unmodified lines4. Visual Clarity and Detail: Are the volume details clearly visible with proper lighting and shading that enhances depth perception?- type: code-similaritysubtype: codegs_file:- ml-dvr/GS/ml-dvr_gs.pyrs_file:- ml-dvr/results/{agent_mode}/ml-dvr.py# 3. ml-iso- vars:question: |13 unmodified lines4. Visual Presentation: Is the isosurface clearly visible with good contrast and coloring that enhances the understanding of the data structure?- type: code-similaritysubtype: codegs_file:- ml-iso/GS/ml-iso_gs.pyrs_file:- ml-iso/results/{agent_mode}/ml-iso.py# 4. ml-slice-iso- vars:question: |13 unmodified lines4. View Direction: Is the visualization displayed from the correct +x direction view that provides clear visibility of the slice and contours?- type: code-similaritysubtype: codegs_file:- ml-slice-iso/GS/ml-slice-iso_gs.pyrs_file:- ml-slice-iso/results/{agent_mode}/ml-slice-iso.py# 5. points-surf-clip- vars:question: |13 unmodified lines4. Geometric Integrity: Does the clipped wireframe maintain proper connectivity and show the expected geometric features without artifacts?- type: code-similaritysubtype: codegs_file:- points-surf-clip/GS/points-surf-clip_gs.pyrs_file:- points-surf-clip/results/{agent_mode}/points-surf-clip.py# 6. shrink-sphere- vars:question: |14 unmodified lines4. Visual Quality: Does the visualization clearly show the contrast between the wireframe structure and the shrunken elements with appropriate white background?- type: code-similaritysubtype: codegs_file:- shrink-sphere/GS/shrink-sphere_gs.pyrs_file:- shrink-sphere/results/{agent_mode}/shrink-sphere.py# 7. stream-glyph- vars:question: |14 unmodified lines4. View Configuration: Is the visualization displayed from the correct +x view direction providing clear visibility of the flow patterns and structures?- type: code-similaritysubtype: codegs_file:- stream-glyph/GS/stream-glyph_gs.pyrs_file:- stream-glyph/results/{agent_mode}/stream-glyph.py# 8. time-varying- vars:question: |17 unmodified lines4. View Direction and Layout: Is the +y direction view properly set and are both views arranged side-by-side in the correct layout configuration?- type: code-similaritysubtype: codegs_file:- time-varying/GS/time-varying_gs.pyrs_file:- time-varying/results/{agent_mode}/time-varying.py# 9. chart-opacity- vars:question: |14 unmodified lines4. Chart Clarity: Does the chart provide clear visualization of the data trends with appropriate axis scaling and readable formatting?- type: code-similaritysubtype: codegs_file:- chart-opacity/GS/chart-opacity_gs.pyrs_file:- chart-opacity/results/{agent_mode}/chart-opacity.py# 10. color-blocks- vars:question: |18 unmodified lines4. View Configuration: Is the dataset displayed from the -y direction with blue-gray background and visible color bar legend?- type: code-similaritysubtype: codegs_file:- color-blocks/GS/color-blocks_gs.pyrs_file:- color-blocks/results/{agent_mode}/color-blocks.py# 11. color-data- vars:question: |15 unmodified lines4. Color Bar Display: Is the color bar/legend visible and properly displaying the color mapping scale and values?- type: code-similaritysubtype: codegs_file:- color-data/GS/color-data_gs.pyrs_file:- color-data/results/{agent_mode}/color-data.py# 12. export-gltf- vars:question: |22 unmodified lines4. Clean Presentation: Are the color bar and orientation axes properly hidden for a clean visualization appearance?- type: code-similaritysubtype: codegs_file:- export-gltf/GS/export-gltf_gs.pyrs_file:- export-gltf/results/{agent_mode}/export-gltf.py# 13. import-gltf- vars:question: |16 unmodified lines4. Layout Configuration: Is the view properly sized to 300x300 pixels with correct rendering and background palette?- type: code-similaritysubtype: codegs_file:- import-gltf/GS/import-gltf_gs.pyrs_file:- import-gltf/results/{agent_mode}/import-gltf.py# 14. render-histogram- vars:question: |19 unmodified lines4. Color Map Consistency: Are both the wavelet visualization and histogram using the same Cool to Warm color map?- type: code-similaritysubtype: codegs_file:- render-histogram/GS/render-histogram_gs.pyrs_file:- render-histogram/results/{agent_mode}/render-histogram.py# 15. reset-camera-direction- vars:question: |13 unmodified lines4. View Quality: Does the visualization provide a clear view of the wavelet structure from the specified camera angle?- type: code-similaritysubtype: codegs_file:- reset-camera-direction/GS/reset-camera-direction_gs.pyrs_file:- reset-camera-direction/results/{agent_mode}/reset-camera-direction.py# 16. save-transparent- vars:question: |14 unmodified lines4. Visual Quality: Does the transparent cone maintain good visual quality and edge definition?- type: code-similaritysubtype: codegs_file:- save-transparent/GS/save-transparent_gs.pyrs_file:- save-transparent/results/{agent_mode}/save-transparent.py# 17. subseries-of-time-series- vars:question: |17 unmodified lines4. Final Visualization: Is the multi-block dataset properly displayed showing the sliced geometry from the time series?- type: code-similaritysubtype: codegs_file:- subseries-of-time-series/GS/subseries-of-time-series_gs.pyrs_file:- subseries-of-time-series/results/{agent_mode}/subseries-of-time-series.py# 18. write-ply- vars:question: |15 unmodified lines4. Visualization Quality: Does the imported cube display properly with correct surface representation and rendering?- type: code-similaritysubtype: codegs_file:- write-ply/GS/write-ply_gs.pyrs_file:- write-ply/results/{agent_mode}/write-ply.py# 19. climate- vars:question: |17 unmodified lines4. View Configuration: Is the visualization displayed from -z direction with appropriate scaling and white background as specified?- type: code-similaritysubtype: codegs_file:- climate/GS/climate_gs.pyrs_file:- climate/results/{agent_mode}/climate.py# 20. materials- vars:question: |18 unmodified lines3. Clipping and Color Mapping: Is the plane clipping correctly applied and Viridis colormap properly used for Phase variable?4. Camera and Layout: Is the camera positioned correctly in (-1, 0, -1) direction with appropriate fitting and legends visible?- type: code-similaritysubtype: codegs_file:- materials/GS/materials_gs.pyrs_file:- materials/results/{agent_mode}/materials.py
987 unmodified lines988989990991987 unmodified lines2) All slices colored by velocity magnitude3) Turbo colormap4) Color bar labeled 'Velocity Magnitude'5) Dark background, Isometric camera showing all three slices, Output resolution 1024x1024987 unmodified lines988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173987 unmodified lines2) All slices colored by velocity magnitude3) Turbo colormap4) Color bar labeled 'Velocity Magnitude'5) Dark background, Isometric camera showing all three slices, Output resolution 1024x1024# 33. MHD Magnetic Field Stream Surface (t=20) (mhd-magfield_streamsurface)# Isothermal magnetohydrodynamic (MHD) simulations capturing compressible turbulence phenomena relevant to astrophysical systems.# MHD turbulence is an essential component of the solar wind, galaxy formation, and interstellar medium (ISM) dynamics.# The simulations model fluid dynamics governed by conservation equations for mass, momentum, and magnetic fields, exploring MHD flows across multiple regimes—subsonic and supersonic velocities, as well as sub-Alfvénic and super-Alfvénic magnetic conditions.# Three field types are captured: density (scalar), velocity (vector), and magnetic field (vector).# Data source: The Well (Polymathic AI)- vars:question: |Load the MHD magnetic field dataset from "mhd-magfield_streamsurface/data/mhd-magfield_streamsurface.vti" (VTI format, 128x128x128 grid with components bx, by, bz).Generate a stream surface seeded from a line source along the y-axis at x=64, z=64 (from y=20 to y=108), with 30 seed points.The stream surface should be traced in both forward and backward directions along the magnetic field lines.Color the stream surface by magnetic field magnitude using the 'Cool to Warm' colormap. Enable surface lighting with specular reflection for better 3D perception.Add a color bar labeled 'Magnetic Field Magnitude'.Use a dark navy background (RGB: 0.0, 0.0, 0.12). Set an isometric camera view. Render at 1024x1024 resolution.Save the paraview state as "mhd-magfield_streamsurface/results/{agent_mode}/mhd-magfield_streamsurface.pvsm".Save the visualization image as "mhd-magfield_streamsurface/results/{agent_mode}/mhd-magfield_streamsurface.png".(Optional, if use python script) Save the python script as "mhd-magfield_streamsurface/results/{agent_mode}/mhd-magfield_streamsurface.py".Do not save any other files, and always save the visualization image.assert:- type: llm-rubricsubtype: visionvalue: |1) Stream surface generation from line seed along y-axis, bidirectional integration along magnetic field2) Surface coloring by magnetic field magnitude3) Cool to Warm colormap applied correctly4) Specular lighting enabled5) Color bar with label 'Magnetic Field Magnitude'6) Dark navy background (RGB: 0.0, 0.0, 0.12), Isometric camera view, Output resolution 1024x1024# 34. Rayleigh-Taylor Instability Stream Surface (t=60) (rti-velocity_streamsurface)# Rayleigh-Taylor instability simulations examining how varying spectral characteristics and random phase components influence the development of turbulent mixing.# The simulations investigate three key physical aspects: the impact of coherence on randomized initial conditions, how initial energy spectrum shapes affect resulting flow structures, and the transition from Boussinesq to non-Boussinesq regimes where mixing becomes asymmetric.# The dataset captures the self-similar growth of the turbulent mixing zone, enabling validation of the dimensionless mixing parameter and observation of the characteristic energy cascade.# Data source: The Well (Polymathic AI)- vars:question: |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 imageassert:- type: llm-rubricsubtype: visionvalue: |1) Stream surface from circular ring seed at y=642) Circle centered at (64, 64) in xz-plane with radius 303) Bidirectional integration along velocity field4) Surface coloring by vy (vertical velocity) component, Surface opacity set to 0.855) Cool to Warm (Extended) diverging colormap6) Color bar with label 'Vertical Velocity (vy)'7) Black background, Elevated camera view (45 degrees), Output resolution 1024x1024# 35. Supernova Explosion Pathlines (Multi-timestep) (supernova-velocity_pathline)# Supernova explosion simulations capturing the physical dynamics of a stellar explosion propagating through a dense interstellar medium.# The simulations inject thermal energy of 10^51 ergs at the center of a computational domain, generating a blastwave that sweeps through ambient gas and creates supernova feedback structures—an explosion inside a compression of a monatomic ideal gas modeling conditions in the Milky Way Galaxy interstellar medium.# The simulations employ sophisticated physics including radiative cooling and heating.# Data source: The Well (Polymathic AI).- vars:question: |Load the supernova explosion velocity field time series from "supernova-velocity_pathline/data/supernova-velocity_pathline_{timestep}.vti", where "timestep" in {0000, 0005, 0010, 0015, 0020} (5 timesteps, VTI format, 128x128x128 grid each).Visualize the temporal evolution of flow patterns by generating streamlines from each timestep and overlaying them.Seed 50 particles from a spherical shell centered at (64, 64, 64) with radius 20 (near the explosion center).For each timestep, trace streamlines in the forward direction with maximum length 80.Render streamlines as tubes with radius 0.25. Color each timestep differently to show temporal progression (blue for t=0 through red for t=20).Also include a magnitude-colored version using the 'Turbo' colormap for the final timestep.Add a color bar labeled 'Velocity Magnitude'. Use a dark background (RGB: 0.02, 0.0, 0.04). Set an isometric camera view. Render at 1024x1024 resolution.Save the paraview state as "supernova-velocity_pathline/results/{agent_mode}/supernova-velocity_pathline.pvsm".Save the visualization image as "supernova-velocity_pathline/results/{agent_mode}/supernova-velocity_pathline.png".(Optional, if use python script) Save the python script as "supernova-velocity_pathline/results/{agent_mode}/supernova-velocity_pathline.py".Do not save any other files, and always save the visualization image.assert:- type: llm-rubricsubtype: visionvalue: |1) Time-varying vector field handling, Streamline generation for each timestep2) Spherical shell seed centered at (64,64,64) with radius 203) 50 seed particles, Forward streamline tracing with max length 804) Tube rendering with radius 0.25, Color-coded temporal progression (blue to red)5) Turbo colormap for magnitude coloring, Color bar with label 'Velocity Magnitude'6) Dark background (RGB: 0.02, 0.0, 0.04), Isometric camera view, Output resolution 1024x1024# 36. MHD Turbulence Path Surface (Multi-timestep) (mhd-turbulence_pathsurface)# Isothermal magnetohydrodynamic (MHD) simulations capturing compressible turbulence phenomena relevant to astrophysical systems.# MHD turbulence is an essential component of the solar wind, galaxy formation, and interstellar medium (ISM) dynamics.# The simulations model fluid dynamics governed by conservation equations for mass, momentum, and magnetic fields, exploring MHD flows across multiple regimes—subsonic and supersonic velocities, as well as sub-Alfvénic and super-Alfvénic magnetic conditions.# Three field types are captured: density (scalar), velocity (vector), and magnetic field (vector).# Data source: The Well (Polymathic AI)- vars:question: |Load the MHD turbulence velocity field time series from "mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_{timestep}.vti", where "timestep" in {0000, 0010, 0020, 0030, 0040} (5 timesteps, VTI format, 128x128x128 grid each).Visualize the temporal evolution by generating stream surfaces (ribbons) from each timestep with varying opacity.Use a line seed along the z-axis at x=64, y=64 (from z=40 to z=88) with 20 seed points.Trace streamlines bidirectionally with maximum length 150. Create ribbon surfaces from the streamlines with width 0.8.Apply progressive opacity (0.3 for t=0, increasing to 0.9 for t=40) to show temporal layering. Color all surfaces by velocity magnitude using the 'Viridis (matplotlib)' colormap.Add a color bar labeled 'Velocity Magnitude'. Use a dark gray background (RGB: 0.08, 0.08, 0.1). Set an isometric camera view. Render at 1024x1024.Save the paraview state as "mhd-turbulence_pathsurface/results/{agent_mode}/mhd-turbulence_pathsurface.pvsm".Save the visualization image as "mhd-turbulence_pathsurface/results/{agent_mode}/mhd-turbulence_pathsurface.png".(Optional, if use python script) Save the python script as "mhd-turbulence_pathsurface/results/{agent_mode}/mhd-turbulence_pathsurface.py".Do not save any other files, and always save the visualization image.assert:- type: llm-rubricsubtype: visionvalue: |1) Time-varying vector field handling, Stream surface generation for each timestep2) Line seed along z-axis at x=64, y=643) Seed from z=40 to z=88 with 20 points, Bidirectional streamline tracing4) Ribbon surface creation with width 0.85) Progressive opacity (0.3 to 0.9)6) Viridis (matplotlib) colormap, Color bar with label 'Velocity Magnitude'7) Dark gray background (RGB: 0.08, 0.08, 0.1), Isometric camera view, Output resolution 1024x1024# 37. Rayleigh-Taylor Instability Streaklines (Multi-timestep) (rti-velocity_streakline)# Rayleigh-Taylor instability simulations examining how varying spectral characteristics and random phase components influence the development of turbulent mixing.# The simulations investigate three key physical aspects: the impact of coherence on randomized initial conditions, how initial energy spectrum shapes affect resulting flow structures, and the transition from Boussinesq to non-Boussinesq regimes where mixing becomes asymmetric.# The dataset captures the self-similar growth of the turbulent mixing zone, enabling validation of the dimensionless mixing parameter and observation of the characteristic energy cascade.# Data source: The Well (Polymathic AI)- vars:question: |Load the Rayleigh-Taylor instability velocity field time series from "rti-velocity_streakline/data/rti-velocity_streakline_{timestep}.vti", where "timestep" in {0030, 0040, 0050, 0060, 0070} (5 timesteps, VTI format, 128x128x128 grid each).Visualize temporal flow evolution by generating streamlines from 4 fixed injection points at each timestep.Place injection points at y=64 (the mixing interface): at (32, 64, 64), (64, 64, 32), (96, 64, 64), and (64, 64, 96).For each timestep, trace streamlines bidirectionally with maximum length 100.Render as tubes with radius 0.4. Color each timestep differently (blue for t=30 through red for t=70) with increasing opacity for later times.Add a final layer colored by vy (vertical velocity) using the 'Cool to Warm' diverging colormap.Add a color bar labeled 'Vertical Velocity (vy)'.Use a black background. Set camera to view from an elevated angle (elevation 35 degrees). Render at 1024x1024 resolution.Save the paraview state as "rti-velocity_streakline/results/{agent_mode}/rti-velocity_streakline.pvsm".Save the visualization image as "rti-velocity_streakline/results/{agent_mode}/rti-velocity_streakline.png".(Optional, if use python script) Save the python script as "rti-velocity_streakline/results/{agent_mode}/rti-velocity_streakline.py".Do not save any other files, and always save the visualization imageassert:- type: llm-rubricsubtype: visionvalue: |1) Time-varying vector field handling, Streamline generation from 4 injection points2) Injection points at (32,64,64), (64,64,32), (96,64,64), (64,64,96)3) Bidirectional tracing with max length 1004) Tube rendering with radius 0.45) Color-coded temporal progression (blue to red), Cool to Warm diverging colormap for vy6) Color bar with label 'Vertical Velocity (vy)'7) Black background, Elevated camera view (elevation 35 degrees), Output resolution 1024x1024# 38. Turbulent Radiative Layer Timelines (Multi-timestep) (trl-velocity_timeline)# Turbulent Radiative Layer simulations of astrophysical mixing processes where cold, dense gas interfaces with hot, dilute gas moving at subsonic velocities.# The cold dense gas on the bottom and hot dilute gas on the top becomes unstable to the Kelvin-Helmholtz instability.# When turbulence causes mixing, intermediate-temperature gas forms and rapidly cools, creating a net mass transfer from the hot phase to the cold phase—a process relevant to interstellar and circumgalactic environments.# Generated using Athena++. Data source: The Well (Polymathic AI)- vars:question: |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.assert:- type: llm-rubricsubtype: visionvalue: |1) Time-varying vector field handling (256x128x128 grid), Streamline generation from line seed for each timestep2) Line seed along z-axis at x=128, y=64, 50 seed points from z=20 to z=1083) Bidirectional tracing with max length 150, Tube rendering with radius 0.54) Spectral color-coded temporal progression5) Spectral colormap for magnitude, Color bar with label 'Velocity Magnitude'6) Dark background (RGB: 0.0, 0.0, 0.02), Oblique camera view (azimuth 45, elevation 20), Output resolution 1024x1024
123version https://git-lfs.github.com/spec/v1oid sha256:dda61c881aa4a2a1e877fb9571cec4d7e7bfe8ffbcd8357a75bdf76b79ec1201size 2232801234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556import osfrom paraview.simple import *
SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))VTI_PATH = os.path.join(SCRIPT_DIR, 'MHD_magfield_0020.vti')OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png')OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm')
reader = XMLImageDataReader(FileName=[VTI_PATH])reader.UpdatePipeline()
# Stream surface using StreamTracer with Line seedstreamSurface = StreamTracer(Input=reader, SeedType='Line')streamSurface.SeedType.Point1 = [64.0, 20.0, 64.0]streamSurface.SeedType.Point2 = [64.0, 108.0, 64.0]streamSurface.SeedType.Resolution = 30streamSurface.Vectors = ['POINTS', 'vector']streamSurface.IntegrationDirection = 'BOTH'streamSurface.MaximumStreamlineLength = 300.0streamSurface.UpdatePipeline()
# Create ribbon/surface from streamlinesribbon = Ribbon(Input=streamSurface)ribbon.Scalars = ['POINTS', 'magnitude']ribbon.Width = 1.5ribbon.UpdatePipeline()
renderView = GetActiveViewOrCreate('RenderView')renderView.ViewSize = [1024, 1024]renderView.Background = [0.0, 0.0, 0.12]
ribbonDisplay = Show(ribbon, renderView)ribbonDisplay.Representation = 'Surface'ColorBy(ribbonDisplay, ('POINTS', 'magnitude'))
magLUT = GetColorTransferFunction('magnitude')magLUT.ApplyPreset('Cool to Warm', True)
# Enable lightingribbonDisplay.Specular = 0.5
ribbonDisplay.SetScalarBarVisibility(renderView, True)colorBar = GetScalarBar(magLUT, renderView)colorBar.Title = 'Magnetic Field Magnitude'colorBar.ComponentTitle = ''
# Isometric camerarenderView.CameraPosition = [200.0, 200.0, 200.0]renderView.CameraFocalPoint = [63.5, 63.5, 63.5]renderView.CameraViewUp = [0.0, 0.0, 1.0]renderView.ResetCamera()Render()
SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024])SaveState(OUTPUT_STATE)print(f"Task 17 done: {OUTPUT_IMG}")123version https://git-lfs.github.com/spec/v1oid sha256:18f82eed3fc114964e7d534469da49ba5b38c00e7fd02dc0f33dd542357e2143size 7829459412345678910Load the MHD magnetic field dataset from "mhd-magfield_streamsurface/data/mhd-magfield_streamsurface.vti" (VTI format, 128x128x128 grid with components bx, by, bz). Generate a stream surface seeded from a line source along the y-axis at x=64, z=64 (from y=20 to y=108), with 30 seed points. The stream surface should be traced in both forward and backward directions along the magnetic field lines. Color the stream surface by magnetic field magnitude using the 'Cool to Warm' colormap. Enable surface lighting with specular reflection for better 3D perception. Add a color bar labeled 'Magnetic Field Magnitude'. Use a dark navy background (RGB: 0.0, 0.0, 0.12). Set an isometric camera view. Render at 1024x1024 resolution.Save the paraview state as "mhd-magfield_streamsurface/results/{agent_mode}/mhd-magfield_streamsurface.pvsm".Save the visualization image as "mhd-magfield_streamsurface/results/{agent_mode}/mhd-magfield_streamsurface.png".(Optional, if use python script) Save the python script as "mhd-magfield_streamsurface/results/{agent_mode}/mhd-magfield_streamsurface.py".Do not save any other files, and always save the visualization image. 1234561) Stream surface generation from line seed along y-axis, bidirectional integration along magnetic field2) Surface coloring by magnetic field magnitude3) Cool to Warm colormap applied correctly4) Specular lighting enabled 5) Color bar with label 'Magnetic Field Magnitude'6) Dark navy background (RGB: 0.0, 0.0, 0.12), Isometric camera view, Output resolution 1024x1024123version https://git-lfs.github.com/spec/v1oid sha256:640a0c0edc8b7fc77e319fb3a369ae3c0756367b7b25ad43ff3b1ed1ada4de04size 7783991234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859import osimport globfrom paraview.simple import *
SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))VTI_FILES = sorted(glob.glob(os.path.join(SCRIPT_DIR, 'MHD_velocity_*.vti')))OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png')OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm')
# Path surface: show stream surfaces from multiple timesteps with transparency
renderView = GetActiveViewOrCreate('RenderView')renderView.ViewSize = [1024, 1024]renderView.Background = [0.08, 0.08, 0.1]
# Opacity progression for time (earlier = more transparent)opacities = [0.3, 0.4, 0.5, 0.7, 0.9]
for idx, vti_file in enumerate(VTI_FILES): reader = XMLImageDataReader(FileName=[vti_file]) reader.UpdatePipeline()
stream = StreamTracer(Input=reader, SeedType='Line') stream.SeedType.Point1 = [64.0, 64.0, 40.0] stream.SeedType.Point2 = [64.0, 64.0, 88.0] stream.SeedType.Resolution = 20 stream.Vectors = ['POINTS', 'vector'] stream.IntegrationDirection = 'BOTH' stream.MaximumStreamlineLength = 150.0 stream.UpdatePipeline()
ribbon = Ribbon(Input=stream) ribbon.Scalars = ['POINTS', 'magnitude'] ribbon.Width = 0.8 ribbon.UpdatePipeline()
ribbonDisplay = Show(ribbon, renderView) ribbonDisplay.Representation = 'Surface' ribbonDisplay.Opacity = opacities[idx] ColorBy(ribbonDisplay, ('POINTS', 'magnitude'))
magLUT = GetColorTransferFunction('magnitude')magLUT.ApplyPreset('Viridis (matplotlib)', True)
# Show color bar on the last oneribbonDisplay.SetScalarBarVisibility(renderView, True)colorBar = GetScalarBar(magLUT, renderView)colorBar.Title = 'Velocity Magnitude'colorBar.ComponentTitle = ''
renderView.CameraPosition = [180.0, 180.0, 180.0]renderView.CameraFocalPoint = [63.5, 63.5, 63.5]renderView.CameraViewUp = [0.0, 0.0, 1.0]renderView.ResetCamera()Render()
SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024])SaveState(OUTPUT_STATE)print(f"Task 22 done: {OUTPUT_IMG}")123version https://git-lfs.github.com/spec/v1oid sha256:bfbef0b2919cbfaaf3d462c4e1802b2d06e9d6cc617a6d2c8edcc586f7e55a67size 78294594123version https://git-lfs.github.com/spec/v1oid sha256:823282fcbb627582c8d6bac7edc7cb8f87801ba65ff92d65a1d06df7444fd54esize 78294594123version https://git-lfs.github.com/spec/v1oid sha256:080e439bab3575dd4e42e2eb6dbcc118e2f86f618448e10df78a6c067d766a00size 78294594123version https://git-lfs.github.com/spec/v1oid sha256:cea4a3655827fe96fbe3bc1677fb0424602ff179742d84326363712b050f0b8dsize 78294594123version https://git-lfs.github.com/spec/v1oid sha256:a190989db4160876c20a42e79813d9e601559974959fc85a702636ff0cbd0791size 7829459412345678910Load the MHD turbulence velocity field time series "mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_{timestep}.vti", where "timestep" in {0000, 0010, 0020, 0030, 0040} (5 timesteps, VTI format, 128x128x128 grid each). Visualize the temporal evolution by generating stream surfaces (ribbons) from each timestep with varying opacity. Use a line seed along the z-axis at x=64, y=64 (from z=40 to z=88) with 20 seed points. Trace streamlines bidirectionally with maximum length 150. Create ribbon surfaces from the streamlines with width 0.8. Apply progressive opacity (0.3 for t=0, increasing to 0.9 for t=40) to show temporal layering. Color all surfaces by velocity magnitude using the 'Viridis (matplotlib)' colormap. Add a color bar labeled 'Velocity Magnitude'. Use a dark gray background (RGB: 0.08, 0.08, 0.1). Set an isometric camera view. Render at 1024x1024.Save the paraview state as "mhd-turbulence_pathsurface/results/{agent_mode}/mhd-turbulence_pathsurface.pvsm".Save the visualization image as "mhd-turbulence_pathsurface/results/{agent_mode}/mhd-turbulence_pathsurface.png".(Optional, if use python script) Save the python script as "mhd-turbulence_pathsurface/results/{agent_mode}/mhd-turbulence_pathsurface.py".Do not save any other files, and always save the visualization image.12345671) Time-varying vector field handling, Stream surface generation for each timestep2) Line seed along z-axis at x=64, y=643) Seed from z=40 to z=88 with 20 points, Bidirectional streamline tracing4) Ribbon surface creation with width 0.85) Progressive opacity (0.3 to 0.9)6) Viridis (matplotlib) colormap, Color bar with label 'Velocity Magnitude'7) Dark gray background (RGB: 0.08, 0.08, 0.1), Isometric camera view, Output resolution 1024x1024123version https://git-lfs.github.com/spec/v1oid sha256:1707fc866f4a54463f8bb8d96ba83f650bf4107e8db4fbc148c4836cd6c760dbsize 8503181234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798import osimport globfrom paraview.simple import *
SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))VTI_FILES = sorted(glob.glob(os.path.join(SCRIPT_DIR, 'RTI_velocity_*.vti')))OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png')OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm')
# Streaklines: show streamlines from injection points at multiple timesteps
renderView = GetActiveViewOrCreate('RenderView')renderView.ViewSize = [1024, 1024]renderView.Background = [0.0, 0.0, 0.0]
# Create 4 injection points at y=64injectionPoints = ProgrammableSource()injectionPoints.OutputDataSetType = 'vtkPolyData'injectionPoints.Script = """import vtkpoints = vtk.vtkPoints()points.InsertNextPoint(32.0, 64.0, 64.0)points.InsertNextPoint(64.0, 64.0, 32.0)points.InsertNextPoint(96.0, 64.0, 64.0)points.InsertNextPoint(64.0, 64.0, 96.0)output.SetPoints(points)"""injectionPoints.UpdatePipeline()
# Colors for timesteps (t=30 to t=70)colors = [ [0.1, 0.1, 0.9], # t=30 dark blue [0.2, 0.5, 0.8], # t=40 [0.4, 0.7, 0.4], # t=50 green [0.8, 0.6, 0.2], # t=60 [0.9, 0.2, 0.1], # t=70 red]
for idx, vti_file in enumerate(VTI_FILES): reader = XMLImageDataReader(FileName=[vti_file]) reader.UpdatePipeline()
stream = StreamTracerWithCustomSource(Input=reader, SeedSource=injectionPoints) stream.Vectors = ['POINTS', 'vector'] stream.IntegrationDirection = 'BOTH' stream.MaximumStreamlineLength = 100.0 stream.UpdatePipeline()
tube = Tube(Input=stream) tube.Radius = 0.4 tube.UpdatePipeline()
tubeDisplay = Show(tube, renderView) tubeDisplay.Representation = 'Surface' tubeDisplay.DiffuseColor = colors[idx] tubeDisplay.Opacity = 0.6 + 0.08 * idx # Later times more opaque
# Add one with vy coloring for the color barlastReader = XMLImageDataReader(FileName=[VTI_FILES[-1]])lastReader.UpdatePipeline()lastStream = StreamTracerWithCustomSource(Input=lastReader, SeedSource=injectionPoints)lastStream.Vectors = ['POINTS', 'vector']lastStream.IntegrationDirection = 'BOTH'lastStream.MaximumStreamlineLength = 100.0lastStream.UpdatePipeline()lastTube = Tube(Input=lastStream)lastTube.Radius = 0.4lastTube.UpdatePipeline()
vyDisplay = Show(lastTube, renderView)vyDisplay.Representation = 'Surface'ColorBy(vyDisplay, ('POINTS', 'vy'))
vyLUT = GetColorTransferFunction('vy')vyLUT.ApplyPreset('Cool to Warm', True)
vyDisplay.SetScalarBarVisibility(renderView, True)colorBar = GetScalarBar(vyLUT, renderView)colorBar.Title = 'Vertical Velocity (vy)'colorBar.ComponentTitle = ''
# Elevated cameraimport mathelevation = 35 * math.pi / 180distance = 250cx, cy, cz = 63.5, 63.5, 63.5camY = cy - distance * math.cos(elevation)camZ = cz + distance * math.sin(elevation)
renderView.CameraPosition = [cx, camY, camZ]renderView.CameraFocalPoint = [cx, cy, cz]renderView.CameraViewUp = [0.0, 0.0, 1.0]renderView.ResetCamera()Render()
SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024])SaveState(OUTPUT_STATE)print(f"Task 23 done: {OUTPUT_IMG}")123version https://git-lfs.github.com/spec/v1oid sha256:6756dcb294a0f452c418f960215e6a2c317bfc1483a7c4022262a6e6df34c26bsize 78294594123version https://git-lfs.github.com/spec/v1oid sha256:d9e278b27f5ee9af8dfa9cc5073d865633ccf7dc9cc6c52d1ebbbf4c751ebec1size 78294594123version https://git-lfs.github.com/spec/v1oid sha256:70a1d6b812b31209bcba9b3ad727e4cded713609975f4ac32cc051319b3ee2besize 78294594123version https://git-lfs.github.com/spec/v1oid sha256:29cc6f7ee3b7a7677eddfacb94af7effd4a00a477bf4ccd84fe3f2e2cc85e38bsize 78294594123version https://git-lfs.github.com/spec/v1oid sha256:2d4e97f14322a56df10aa5bb46156b2f68af485df51513c07264bd0dc48f3d40size 78294594123456789101112Load the Rayleigh-Taylor instability velocity field time series from "rti-velocity_streakline/data/rti-velocity_streakline_{timestep}.vti", where "timestep" in {0030, 0040, 0050, 0060, 0070} (5 timesteps, VTI format, 128x128x128 grid each). Visualize temporal flow evolution by generating streamlines from 4 fixed injection points at each timestep. Place injection points at y=64 (the mixing interface): at (32, 64, 64), (64, 64, 32), (96, 64, 64), and (64, 64, 96). For each timestep, trace streamlines bidirectionally with maximum length 100. Render as tubes with radius 0.4. Color each timestep differently (blue for t=30 through red for t=70) with increasing opacity for later times. Add a final layer colored by vy (vertical velocity) using the 'Cool to Warm' diverging colormap. Add a color bar labeled 'Vertical Velocity (vy)'. Use a black background. Set camera to view from an elevated angle (elevation 35 degrees). Render at 1024x1024 resolution.Save the paraview state as "rti-velocity_streakline/results/{agent_mode}/rti-velocity_streakline.pvsm".Save the visualization image as "rti-velocity_streakline/results/{agent_mode}/rti-velocity_streakline.png".(Optional, if use python script) Save the python script as "rti-velocity_streakline/results/{agent_mode}/rti-velocity_streakline.py".Do not save any other files, and always save the visualization image12345671) Time-varying vector field handling, Streamline generation from 4 injection points2) Injection points at (32,64,64), (64,64,32), (96,64,64), (64,64,96)3) Bidirectional tracing with max length 1004) Tube rendering with radius 0.45) Color-coded temporal progression (blue to red), Cool to Warm diverging colormap for vy6) Color bar with label 'Vertical Velocity (vy)'7) Black background, Elevated camera view (elevation 35 degrees), Output resolution 1024x1024123version https://git-lfs.github.com/spec/v1oid sha256:1a71e9fc46dfb14c4422e16f852496a57b59537457071eb93edb9bc55030ddb6size 2299281234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071import osimport mathfrom paraview.simple import *
SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))VTI_PATH = os.path.join(SCRIPT_DIR, 'RTI_velocity_0060.vti')OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png')OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm')
reader = XMLImageDataReader(FileName=[VTI_PATH])reader.UpdatePipeline()
# Create circular seed points using programmable sourcecircleSource = ProgrammableSource()circleSource.OutputDataSetType = 'vtkPolyData'circleSource.Script = """import vtkimport mathpoints = vtk.vtkPoints()num_points = 40radius = 30.0cx, cy, cz = 64.0, 64.0, 64.0for i in range(num_points): angle = 2.0 * math.pi * i / num_points x = cx + radius * math.cos(angle) z = cz + radius * math.sin(angle) points.InsertNextPoint(x, cy, z)output.SetPoints(points)"""circleSource.UpdatePipeline()
# Stream tracer with point cloud seed from circlestreamSurface = StreamTracerWithCustomSource(Input=reader, SeedSource=circleSource)streamSurface.Vectors = ['POINTS', 'vector']streamSurface.IntegrationDirection = 'BOTH'streamSurface.MaximumStreamlineLength = 200.0streamSurface.UpdatePipeline()
# Create ribbon surfaceribbon = Ribbon(Input=streamSurface)ribbon.Scalars = ['POINTS', 'vy']ribbon.Width = 1.2ribbon.UpdatePipeline()
renderView = GetActiveViewOrCreate('RenderView')renderView.ViewSize = [1024, 1024]renderView.Background = [0.0, 0.0, 0.0]
ribbonDisplay = Show(ribbon, renderView)ribbonDisplay.Representation = 'Surface'ribbonDisplay.Opacity = 0.85ColorBy(ribbonDisplay, ('POINTS', 'vy'))
vyLUT = GetColorTransferFunction('vy')vyLUT.ApplyPreset('Cool to Warm (Extended)', True)
ribbonDisplay.SetScalarBarVisibility(renderView, True)colorBar = GetScalarBar(vyLUT, renderView)colorBar.Title = 'Vertical Velocity (vy)'colorBar.ComponentTitle = ''
# Elevated camera viewrenderView.CameraPosition = [64.0, 200.0, 150.0]renderView.CameraFocalPoint = [63.5, 63.5, 63.5]renderView.CameraViewUp = [0.0, 0.0, 1.0]renderView.ResetCamera()Render()
SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024])SaveState(OUTPUT_STATE)print(f"Task 18 done: {OUTPUT_IMG}")123version https://git-lfs.github.com/spec/v1oid sha256:29cc6f7ee3b7a7677eddfacb94af7effd4a00a477bf4ccd84fe3f2e2cc85e38bsize 7829459412345678910Load 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 image12345671) Stream surface from circular ring seed at y=642) Circle centered at (64, 64) in xz-plane with radius 303) Bidirectional integration along velocity field 4) Surface coloring by vy (vertical velocity) component, Surface opacity set to 0.855) Cool to Warm (Extended) diverging colormap6) Color bar with label 'Vertical Velocity (vy)'7) Black background, Elevated camera view (45 degrees), Output resolution 1024x1024123version https://git-lfs.github.com/spec/v1oid sha256:5e0af21c21c923152634439896637c5969d2e756325b0a58472125b420e03dc1size 900937123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899import osimport globfrom paraview.simple import *
SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))VTI_FILES = sorted(glob.glob(os.path.join(SCRIPT_DIR, 'supernova_velocity_*.vti')))OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png')OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm')
# For pathlines visualization, we show streamlines from multiple timesteps# overlaid to approximate pathline behavior
renderView = GetActiveViewOrCreate('RenderView')renderView.ViewSize = [1024, 1024]renderView.Background = [0.02, 0.0, 0.04]
# Colors for different timesteps (blue to red progression)colors = [ [0.2, 0.2, 0.8], # t=0 blue [0.3, 0.5, 0.7], # t=5 [0.5, 0.7, 0.3], # t=10 [0.8, 0.5, 0.2], # t=15 [0.9, 0.2, 0.2], # t=20 red]
# Create spherical seed pointssphereSource = ProgrammableSource()sphereSource.OutputDataSetType = 'vtkPolyData'sphereSource.Script = """import vtkimport mathpoints = vtk.vtkPoints()num_points = 50radius = 20.0cx, cy, cz = 64.0, 64.0, 64.0golden_ratio = (1 + math.sqrt(5)) / 2for i in range(num_points): theta = 2 * math.pi * i / golden_ratio phi = math.acos(1 - 2 * (i + 0.5) / num_points) x = cx + radius * math.sin(phi) * math.cos(theta) y = cy + radius * math.sin(phi) * math.sin(theta) z = cz + radius * math.cos(phi) points.InsertNextPoint(x, y, z)output.SetPoints(points)"""sphereSource.UpdatePipeline()
tubes_list = []for idx, vti_file in enumerate(VTI_FILES): reader = XMLImageDataReader(FileName=[vti_file]) reader.UpdatePipeline()
stream = StreamTracerWithCustomSource(Input=reader, SeedSource=sphereSource) stream.Vectors = ['POINTS', 'vector'] stream.IntegrationDirection = 'FORWARD' stream.MaximumStreamlineLength = 80.0 stream.UpdatePipeline()
tube = Tube(Input=stream) tube.Radius = 0.25 tube.UpdatePipeline() tubes_list.append(tube)
tubeDisplay = Show(tube, renderView) tubeDisplay.Representation = 'Surface' tubeDisplay.DiffuseColor = colors[idx] tubeDisplay.Opacity = 0.7
# Add color bar manually as legend# Use the last reader for magnitude referencelastReader = XMLImageDataReader(FileName=[VTI_FILES[-1]])lastReader.UpdatePipeline()lastStream = StreamTracerWithCustomSource(Input=lastReader, SeedSource=sphereSource)lastStream.Vectors = ['POINTS', 'vector']lastStream.MaximumStreamlineLength = 80.0lastStream.UpdatePipeline()lastTube = Tube(Input=lastStream)lastTube.Radius = 0.25lastTube.UpdatePipeline()
magDisplay = Show(lastTube, renderView)magDisplay.Representation = 'Surface'ColorBy(magDisplay, ('POINTS', 'magnitude'))magLUT = GetColorTransferFunction('magnitude')magLUT.ApplyPreset('Turbo', True)magDisplay.SetScalarBarVisibility(renderView, True)colorBar = GetScalarBar(magLUT, renderView)colorBar.Title = 'Velocity Magnitude'colorBar.ComponentTitle = ''
renderView.CameraPosition = [180.0, 180.0, 180.0]renderView.CameraFocalPoint = [63.5, 63.5, 63.5]renderView.CameraViewUp = [0.0, 0.0, 1.0]renderView.ResetCamera()Render()
SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024])SaveState(OUTPUT_STATE)print(f"Task 21 done: {OUTPUT_IMG}")123version https://git-lfs.github.com/spec/v1oid sha256:2c2f984e08b39a997a48048b5bca172f618a82f3f9f74f78d73a8589e5bcf7c9size 78294594123version https://git-lfs.github.com/spec/v1oid sha256:7c528d623ef7252e80c7bc6e535d6f1aa8db2729755ac7110c9398a3a33ea642size 78294594123version https://git-lfs.github.com/spec/v1oid sha256:372e5e2a3746e47a77b510067ffbe2654d17af46608cb83d71ec1c994da0d0bfsize 78294594123version https://git-lfs.github.com/spec/v1oid sha256:78cdc5c8c7eb74b94a82d2d97517163be177947a6a02cf081881709bd9096945size 78294594123version https://git-lfs.github.com/spec/v1oid sha256:f360d609215cbbc2059f610cdab2102a7a03a11870ec3a17da65c2bfaab31d00size 782945941234567891011Load the supernova explosion velocity field time series from "supernova-velocity_pathline/data/supernova-velocity_pathline_{timestep}.vti", where "timestep" in {0000, 0005, 0010, 0015, 0020} (5 timesteps, VTI format, 128x128x128 grid each). Visualize the temporal evolution of flow patterns by generating streamlines from each timestep and overlaying them. Seed 50 particles from a spherical shell centered at (64, 64, 64) with radius 20 (near the explosion center). For each timestep, trace streamlines in the forward direction with maximum length 80. Render streamlines as tubes with radius 0.25. Color each timestep differently to show temporal progression (blue for t=0 through red for t=20). Also include a magnitude-colored version using the 'Turbo' colormap for the final timestep. Add a color bar labeled 'Velocity Magnitude'. Use a dark background (RGB: 0.02, 0.0, 0.04). Set an isometric camera view. Render at 1024x1024 resolution.Save the paraview state as "supernova-velocity_pathline/results/{agent_mode}/supernova-velocity_pathline.pvsm".Save the visualization image as "supernova-velocity_pathline/results/{agent_mode}/supernova-velocity_pathline.png".(Optional, if use python script) Save the python script as "supernova-velocity_pathline/results/{agent_mode}/supernova-velocity_pathline.py".Do not save any other files, and always save the visualization image.1234561) Time-varying vector field handling, Streamline generation for each timestep 2) Spherical shell seed centered at (64,64,64) with radius 203) 50 seed particles, Forward streamline tracing with max length 804) Tube rendering with radius 0.25, Color-coded temporal progression (blue to red) 5) Turbo colormap for magnitude coloring, Color bar with label 'Velocity Magnitude'6) Dark background (RGB: 0.02, 0.0, 0.04), Isometric camera view, Output resolution 1024x1024123version https://git-lfs.github.com/spec/v1oid sha256:e04f049a37e7cda863e23375f5c7e74885aae9a6c303be57e15aaecaf8098531size 850435123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103import osimport globfrom paraview.simple import *
SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))VTI_FILES = sorted(glob.glob(os.path.join(SCRIPT_DIR, 'TRL_tcool_0.10_velocity_*.vti')))OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png')OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm')
# Timelines: show streamlines from a line seed at multiple timesteps# Each timestep colored differently to show temporal evolution
renderView = GetActiveViewOrCreate('RenderView')renderView.ViewSize = [1024, 1024]renderView.Background = [0.0, 0.0, 0.02]
# Create line of seed points along z-axis at x=128, y=64lineSource = ProgrammableSource()lineSource.OutputDataSetType = 'vtkPolyData'lineSource.Script = """import vtkpoints = vtk.vtkPoints()num_points = 50x, y = 128.0, 64.0z_start, z_end = 20.0, 108.0for i in range(num_points): z = z_start + (z_end - z_start) * i / (num_points - 1) points.InsertNextPoint(x, y, z)output.SetPoints(points)"""lineSource.UpdatePipeline()
# Spectral colors (blue -> cyan -> green -> yellow -> red)colors = [ [0.2, 0.2, 0.9], # t=20 blue [0.2, 0.7, 0.9], # t=30 cyan [0.2, 0.8, 0.2], # t=40 green [0.9, 0.8, 0.2], # t=50 yellow [0.9, 0.2, 0.2], # t=60 red]
for idx, vti_file in enumerate(VTI_FILES): reader = XMLImageDataReader(FileName=[vti_file]) reader.UpdatePipeline()
stream = StreamTracerWithCustomSource(Input=reader, SeedSource=lineSource) stream.Vectors = ['POINTS', 'vector'] stream.IntegrationDirection = 'BOTH' stream.MaximumStreamlineLength = 150.0 stream.UpdatePipeline()
tube = Tube(Input=stream) tube.Radius = 0.5 tube.UpdatePipeline()
tubeDisplay = Show(tube, renderView) tubeDisplay.Representation = 'Surface' tubeDisplay.DiffuseColor = colors[idx] tubeDisplay.Opacity = 0.5 + 0.1 * idx # Later times more visible
# Add magnitude-colored version for referencelastReader = XMLImageDataReader(FileName=[VTI_FILES[-1]])lastReader.UpdatePipeline()lastStream = StreamTracerWithCustomSource(Input=lastReader, SeedSource=lineSource)lastStream.Vectors = ['POINTS', 'vector']lastStream.IntegrationDirection = 'BOTH'lastStream.MaximumStreamlineLength = 150.0lastStream.UpdatePipeline()lastTube = Tube(Input=lastStream)lastTube.Radius = 0.5lastTube.UpdatePipeline()
magDisplay = Show(lastTube, renderView)magDisplay.Representation = 'Surface'ColorBy(magDisplay, ('POINTS', 'magnitude'))
magLUT = GetColorTransferFunction('magnitude')magLUT.ApplyPreset('Spectral', True)
magDisplay.SetScalarBarVisibility(renderView, True)colorBar = GetScalarBar(magLUT, renderView)colorBar.Title = 'Velocity Magnitude'colorBar.ComponentTitle = ''
# Oblique camera for elongated domain (256x128x128)import mathazimuth = 45 * math.pi / 180elevation = 20 * math.pi / 180distance = 400cx, cy, cz = 127.5, 63.5, 63.5camX = cx + distance * math.cos(elevation) * math.sin(azimuth)camY = cy - distance * math.cos(elevation) * math.cos(azimuth)camZ = cz + distance * math.sin(elevation)
renderView.CameraPosition = [camX, camY, camZ]renderView.CameraFocalPoint = [cx, cy, cz]renderView.CameraViewUp = [0.0, 0.0, 1.0]renderView.ResetCamera()Render()
SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024])SaveState(OUTPUT_STATE)print(f"Task 24 done: {OUTPUT_IMG}")123version https://git-lfs.github.com/spec/v1oid sha256:14eee1c35a60a8caef38b7edb325c6449b83333e7ed5825c28e86f86a070956csize 156588274.DS_Store
.gitignore+3-1
eval_cases/paraview/chatvis_bench_cases.yaml+140
eval_cases/paraview/main_cases.yaml+183-1
main/mhd-magfield_streamsurface/GS/mhd-magfield_streamsurface_gs.pngAdded

Large File Pointer Details
- SHA256: 6ebfa5c74bd11e4e2f5cfc651f2479b124df980a8a169b4650f95e506234d7f9
- Pointer size: 131 Bytes
- Size of remote file: 294 kB
main/mhd-magfield_streamsurface/GS/mhd-magfield_streamsurface_gs.pvsmAdded+3
main/mhd-magfield_streamsurface/GS/mhd-magfield_streamsurface_gs.pyAdded+56
main/mhd-magfield_streamsurface/data/mhd-magfield_streamsurface.vtiAdded+3
main/mhd-magfield_streamsurface/task_description.txtAdded+10
main/mhd-magfield_streamsurface/visualization_goals.txtAdded+6
main/mhd-turbulence_pathsurface/GS/mhd-turbulence_pathsurface_gs.pngAdded

Large File Pointer Details
- SHA256: 5080afc5dbb752bbc3e639d9494b766319f670be299a3b2137cea9859b8160ff
- Pointer size: 131 Bytes
- Size of remote file: 462 kB
main/mhd-turbulence_pathsurface/GS/mhd-turbulence_pathsurface_gs.pvsmAdded+3
main/mhd-turbulence_pathsurface/GS/mhd-turbulence_pathsurface_gs.pyAdded+59
main/mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_0000.vtiAdded+3
main/mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_0010.vtiAdded+3
main/mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_0020.vtiAdded+3
main/mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_0030.vtiAdded+3
main/mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_0040.vtiAdded+3
main/mhd-turbulence_pathsurface/task_description.txtAdded+10
main/mhd-turbulence_pathsurface/visualization_goals.txtAdded+7
main/rti-velocity_streakline/GS/rti-velocity_streakline_gs.pngAdded

Large File Pointer Details
- SHA256: 238a59e0e5b9698f9ebe6c759b1863643ea7a0bf28622ec591653c310167ae92
- Pointer size: 131 Bytes
- Size of remote file: 120 kB
main/rti-velocity_streakline/GS/rti-velocity_streakline_gs.pvsmAdded+3
main/rti-velocity_streakline/GS/rti-velocity_streakline_gs.pyAdded+98
main/rti-velocity_streakline/data/rti-velocity_streakline_0030.vtiAdded+3
main/rti-velocity_streakline/data/rti-velocity_streakline_0040.vtiAdded+3
main/rti-velocity_streakline/data/rti-velocity_streakline_0050.vtiAdded+3
main/rti-velocity_streakline/data/rti-velocity_streakline_0060.vtiAdded+3
main/rti-velocity_streakline/data/rti-velocity_streakline_0070.vtiAdded+3
main/rti-velocity_streakline/task_description.txtAdded+12
main/rti-velocity_streakline/visualization_goals.txtAdded+7
main/rti-velocity_streamsurface/GS/rti-velocity_streamsurface_gs.pngAdded

Large File Pointer Details
- SHA256: 90d858725123747439565641642a04db06e85e5b012c985be77ac8c17afdce66
- Pointer size: 131 Bytes
- Size of remote file: 237 kB
main/rti-velocity_streamsurface/GS/rti-velocity_streamsurface_gs.pvsmAdded+3
main/rti-velocity_streamsurface/GS/rti-velocity_streamsurface_gs.pyAdded+71
main/rti-velocity_streamsurface/data/rti-velocity_streamsurface.vtiAdded+3
main/rti-velocity_streamsurface/task_description.txtAdded+10
main/rti-velocity_streamsurface/visualization_goals.txtAdded+7
main/supernova-velocity_pathline/GS/supernova-velocity_pathline_gs.pngAdded

Large File Pointer Details
- SHA256: 97b5cdb65be7aa7ad0478c6118e61ac78e35ce25242cfbb009d45f6de4669228
- Pointer size: 131 Bytes
- Size of remote file: 456 kB
main/supernova-velocity_pathline/GS/supernova-velocity_pathline_gs.pvsmAdded+3
main/supernova-velocity_pathline/GS/supernova-velocity_pathline_gs.pyAdded+99
main/supernova-velocity_pathline/data/supernova-velocity_pathline_0000.vtiAdded+3
main/supernova-velocity_pathline/data/supernova-velocity_pathline_0005.vtiAdded+3
main/supernova-velocity_pathline/data/supernova-velocity_pathline_0010.vtiAdded+3
main/supernova-velocity_pathline/data/supernova-velocity_pathline_0015.vtiAdded+3
main/supernova-velocity_pathline/data/supernova-velocity_pathline_0020.vtiAdded+3
main/supernova-velocity_pathline/task_description.txtAdded+11
main/supernova-velocity_pathline/visualization_goals.txtAdded+6
main/trl-velocity_timeline/GS/trl-velocity_timeline_gs.pngAdded

Large File Pointer Details
- SHA256: 6e34a99c481606552dada61ba4a1be7b0b3c1be8e9cc74b9c511b7a44a0d594f
- Pointer size: 131 Bytes
- Size of remote file: 376 kB
main/trl-velocity_timeline/GS/trl-velocity_timeline_gs.pvsmAdded+3
main/trl-velocity_timeline/GS/trl-velocity_timeline_gs.pyAdded+103
main/trl-velocity_timeline/data/trl-velocity_timeline_0020.vtiAdded+3