KuangshiAi commited on
Commit
22d58cf
·
1 Parent(s): 8293ed0

add 6 stream surface, pathline, path surface, streakline, timeline cases from Kaiyuan Tang

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .DS_Store +0 -0
  2. .gitignore +3 -1
  3. eval_cases/paraview/chatvis_bench_cases.yaml +140 -0
  4. eval_cases/paraview/main_cases.yaml +183 -1
  5. main/mhd-magfield_streamsurface/GS/mhd-magfield_streamsurface_gs.png +3 -0
  6. main/mhd-magfield_streamsurface/GS/mhd-magfield_streamsurface_gs.pvsm +3 -0
  7. main/mhd-magfield_streamsurface/GS/mhd-magfield_streamsurface_gs.py +56 -0
  8. main/mhd-magfield_streamsurface/data/mhd-magfield_streamsurface.vti +3 -0
  9. main/mhd-magfield_streamsurface/task_description.txt +10 -0
  10. main/mhd-magfield_streamsurface/visualization_goals.txt +6 -0
  11. main/mhd-turbulence_pathsurface/GS/mhd-turbulence_pathsurface_gs.png +3 -0
  12. main/mhd-turbulence_pathsurface/GS/mhd-turbulence_pathsurface_gs.pvsm +3 -0
  13. main/mhd-turbulence_pathsurface/GS/mhd-turbulence_pathsurface_gs.py +59 -0
  14. main/mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_0000.vti +3 -0
  15. main/mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_0010.vti +3 -0
  16. main/mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_0020.vti +3 -0
  17. main/mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_0030.vti +3 -0
  18. main/mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_0040.vti +3 -0
  19. main/mhd-turbulence_pathsurface/task_description.txt +10 -0
  20. main/mhd-turbulence_pathsurface/visualization_goals.txt +7 -0
  21. main/rti-velocity_streakline/GS/rti-velocity_streakline_gs.png +3 -0
  22. main/rti-velocity_streakline/GS/rti-velocity_streakline_gs.pvsm +3 -0
  23. main/rti-velocity_streakline/GS/rti-velocity_streakline_gs.py +98 -0
  24. main/rti-velocity_streakline/data/rti-velocity_streakline_0030.vti +3 -0
  25. main/rti-velocity_streakline/data/rti-velocity_streakline_0040.vti +3 -0
  26. main/rti-velocity_streakline/data/rti-velocity_streakline_0050.vti +3 -0
  27. main/rti-velocity_streakline/data/rti-velocity_streakline_0060.vti +3 -0
  28. main/rti-velocity_streakline/data/rti-velocity_streakline_0070.vti +3 -0
  29. main/rti-velocity_streakline/task_description.txt +12 -0
  30. main/rti-velocity_streakline/visualization_goals.txt +7 -0
  31. main/rti-velocity_streamsurface/GS/rti-velocity_streamsurface_gs.png +3 -0
  32. main/rti-velocity_streamsurface/GS/rti-velocity_streamsurface_gs.pvsm +3 -0
  33. main/rti-velocity_streamsurface/GS/rti-velocity_streamsurface_gs.py +71 -0
  34. main/rti-velocity_streamsurface/data/rti-velocity_streamsurface.vti +3 -0
  35. main/rti-velocity_streamsurface/task_description.txt +10 -0
  36. main/rti-velocity_streamsurface/visualization_goals.txt +7 -0
  37. main/supernova-velocity_pathline/GS/supernova-velocity_pathline_gs.png +3 -0
  38. main/supernova-velocity_pathline/GS/supernova-velocity_pathline_gs.pvsm +3 -0
  39. main/supernova-velocity_pathline/GS/supernova-velocity_pathline_gs.py +99 -0
  40. main/supernova-velocity_pathline/data/supernova-velocity_pathline_0000.vti +3 -0
  41. main/supernova-velocity_pathline/data/supernova-velocity_pathline_0005.vti +3 -0
  42. main/supernova-velocity_pathline/data/supernova-velocity_pathline_0010.vti +3 -0
  43. main/supernova-velocity_pathline/data/supernova-velocity_pathline_0015.vti +3 -0
  44. main/supernova-velocity_pathline/data/supernova-velocity_pathline_0020.vti +3 -0
  45. main/supernova-velocity_pathline/task_description.txt +11 -0
  46. main/supernova-velocity_pathline/visualization_goals.txt +6 -0
  47. main/trl-velocity_timeline/GS/trl-velocity_timeline_gs.png +3 -0
  48. main/trl-velocity_timeline/GS/trl-velocity_timeline_gs.pvsm +3 -0
  49. main/trl-velocity_timeline/GS/trl-velocity_timeline_gs.py +103 -0
  50. main/trl-velocity_timeline/data/trl-velocity_timeline_0020.vti +3 -0
.DS_Store CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
 
.gitignore CHANGED
@@ -3,4 +3,6 @@
3
  upload_huggingface.py
4
  # only for github repo, not huggingface repo
5
  # sci_volume_data/**/*.raw
6
- statistics/
 
 
 
3
  upload_huggingface.py
4
  # only for github repo, not huggingface repo
5
  # sci_volume_data/**/*.raw
6
+ statistics/
7
+ .cache/
8
+ .claude/
eval_cases/paraview/chatvis_bench_cases.yaml CHANGED
@@ -19,6 +19,13 @@
19
 
20
  4. Legend and Readability: Is there a clear legend identifying each variable line with readable labels and proper visual organization?
21
 
 
 
 
 
 
 
 
22
  # 2. ml-dvr
23
  - vars:
24
  question: |
@@ -38,6 +45,13 @@
38
 
39
  4. Visual Clarity and Detail: Are the volume details clearly visible with proper lighting and shading that enhances depth perception?
40
 
 
 
 
 
 
 
 
41
  # 3. ml-iso
42
  - vars:
43
  question: |
@@ -57,6 +71,13 @@
57
 
58
  4. Visual Presentation: Is the isosurface clearly visible with good contrast and coloring that enhances the understanding of the data structure?
59
 
 
 
 
 
 
 
 
60
  # 4. ml-slice-iso
61
  - vars:
62
  question: |
@@ -76,6 +97,13 @@
76
 
77
  4. View Direction: Is the visualization displayed from the correct +x direction view that provides clear visibility of the slice and contours?
78
 
 
 
 
 
 
 
 
79
  # 5. points-surf-clip
80
  - vars:
81
  question: |
@@ -95,6 +123,13 @@
95
 
96
  4. Geometric Integrity: Does the clipped wireframe maintain proper connectivity and show the expected geometric features without artifacts?
97
 
 
 
 
 
 
 
 
98
  # 6. shrink-sphere
99
  - vars:
100
  question: |
@@ -115,6 +150,13 @@
115
 
116
  4. Visual Quality: Does the visualization clearly show the contrast between the wireframe structure and the shrunken elements with appropriate white background?
117
 
 
 
 
 
 
 
 
118
  # 7. stream-glyph
119
  - vars:
120
  question: |
@@ -135,6 +177,13 @@
135
 
136
  4. View Configuration: Is the visualization displayed from the correct +x view direction providing clear visibility of the flow patterns and structures?
137
 
 
 
 
 
 
 
 
138
  # 8. time-varying
139
  - vars:
140
  question: |
@@ -158,6 +207,13 @@
158
 
159
  4. View Direction and Layout: Is the +y direction view properly set and are both views arranged side-by-side in the correct layout configuration?
160
 
 
 
 
 
 
 
 
161
  # 9. chart-opacity
162
  - vars:
163
  question: |
@@ -178,6 +234,13 @@
178
 
179
  4. Chart Clarity: Does the chart provide clear visualization of the data trends with appropriate axis scaling and readable formatting?
180
 
 
 
 
 
 
 
 
181
  # 10. color-blocks
182
  - vars:
183
  question: |
@@ -202,6 +265,13 @@
202
 
203
  4. View Configuration: Is the dataset displayed from the -y direction with blue-gray background and visible color bar legend?
204
 
 
 
 
 
 
 
 
205
  # 11. color-data
206
  - vars:
207
  question: |
@@ -223,6 +293,13 @@
223
 
224
  4. Color Bar Display: Is the color bar/legend visible and properly displaying the color mapping scale and values?
225
 
 
 
 
 
 
 
 
226
  # 12. export-gltf
227
  - vars:
228
  question: |
@@ -251,6 +328,13 @@
251
 
252
  4. Clean Presentation: Are the color bar and orientation axes properly hidden for a clean visualization appearance?
253
 
 
 
 
 
 
 
 
254
  # 13. import-gltf
255
  - vars:
256
  question: |
@@ -273,6 +357,13 @@
273
 
274
  4. Layout Configuration: Is the view properly sized to 300x300 pixels with correct rendering and background palette?
275
 
 
 
 
 
 
 
 
276
  # 14. render-histogram
277
  - vars:
278
  question: |
@@ -298,6 +389,13 @@
298
 
299
  4. Color Map Consistency: Are both the wavelet visualization and histogram using the same Cool to Warm color map?
300
 
 
 
 
 
 
 
 
301
  # 15. reset-camera-direction
302
  - vars:
303
  question: |
@@ -317,6 +415,13 @@
317
 
318
  4. View Quality: Does the visualization provide a clear view of the wavelet structure from the specified camera angle?
319
 
 
 
 
 
 
 
 
320
  # 16. save-transparent
321
  - vars:
322
  question: |
@@ -337,6 +442,13 @@
337
 
338
  4. Visual Quality: Does the transparent cone maintain good visual quality and edge definition?
339
 
 
 
 
 
 
 
 
340
  # 17. subseries-of-time-series
341
  - vars:
342
  question: |
@@ -360,6 +472,13 @@
360
 
361
  4. Final Visualization: Is the multi-block dataset properly displayed showing the sliced geometry from the time series?
362
 
 
 
 
 
 
 
 
363
  # 18. write-ply
364
  - vars:
365
  question: |
@@ -381,6 +500,13 @@
381
 
382
  4. Visualization Quality: Does the imported cube display properly with correct surface representation and rendering?
383
 
 
 
 
 
 
 
 
384
  # 19. climate
385
  - vars:
386
  question: |
@@ -404,6 +530,13 @@
404
 
405
  4. View Configuration: Is the visualization displayed from -z direction with appropriate scaling and white background as specified?
406
 
 
 
 
 
 
 
 
407
  # 20. materials
408
  - vars:
409
  question: |
@@ -428,3 +561,10 @@
428
  3. Clipping and Color Mapping: Is the plane clipping correctly applied and Viridis colormap properly used for Phase variable?
429
 
430
  4. Camera and Layout: Is the camera positioned correctly in (-1, 0, -1) direction with appropriate fitting and legends visible?
 
 
 
 
 
 
 
 
19
 
20
  4. Legend and Readability: Is there a clear legend identifying each variable line with readable labels and proper visual organization?
21
 
22
+ - type: code-similarity
23
+ subtype: code
24
+ gs_file:
25
+ - line-plot/GS/line-plot_gs.py
26
+ rs_file:
27
+ - line-plot/results/{agent_mode}/line-plot.py
28
+
29
  # 2. ml-dvr
30
  - vars:
31
  question: |
 
45
 
46
  4. Visual Clarity and Detail: Are the volume details clearly visible with proper lighting and shading that enhances depth perception?
47
 
48
+ - type: code-similarity
49
+ subtype: code
50
+ gs_file:
51
+ - ml-dvr/GS/ml-dvr_gs.py
52
+ rs_file:
53
+ - ml-dvr/results/{agent_mode}/ml-dvr.py
54
+
55
  # 3. ml-iso
56
  - vars:
57
  question: |
 
71
 
72
  4. Visual Presentation: Is the isosurface clearly visible with good contrast and coloring that enhances the understanding of the data structure?
73
 
74
+ - type: code-similarity
75
+ subtype: code
76
+ gs_file:
77
+ - ml-iso/GS/ml-iso_gs.py
78
+ rs_file:
79
+ - ml-iso/results/{agent_mode}/ml-iso.py
80
+
81
  # 4. ml-slice-iso
82
  - vars:
83
  question: |
 
97
 
98
  4. View Direction: Is the visualization displayed from the correct +x direction view that provides clear visibility of the slice and contours?
99
 
100
+ - type: code-similarity
101
+ subtype: code
102
+ gs_file:
103
+ - ml-slice-iso/GS/ml-slice-iso_gs.py
104
+ rs_file:
105
+ - ml-slice-iso/results/{agent_mode}/ml-slice-iso.py
106
+
107
  # 5. points-surf-clip
108
  - vars:
109
  question: |
 
123
 
124
  4. Geometric Integrity: Does the clipped wireframe maintain proper connectivity and show the expected geometric features without artifacts?
125
 
126
+ - type: code-similarity
127
+ subtype: code
128
+ gs_file:
129
+ - points-surf-clip/GS/points-surf-clip_gs.py
130
+ rs_file:
131
+ - points-surf-clip/results/{agent_mode}/points-surf-clip.py
132
+
133
  # 6. shrink-sphere
134
  - vars:
135
  question: |
 
150
 
151
  4. Visual Quality: Does the visualization clearly show the contrast between the wireframe structure and the shrunken elements with appropriate white background?
152
 
153
+ - type: code-similarity
154
+ subtype: code
155
+ gs_file:
156
+ - shrink-sphere/GS/shrink-sphere_gs.py
157
+ rs_file:
158
+ - shrink-sphere/results/{agent_mode}/shrink-sphere.py
159
+
160
  # 7. stream-glyph
161
  - vars:
162
  question: |
 
177
 
178
  4. View Configuration: Is the visualization displayed from the correct +x view direction providing clear visibility of the flow patterns and structures?
179
 
180
+ - type: code-similarity
181
+ subtype: code
182
+ gs_file:
183
+ - stream-glyph/GS/stream-glyph_gs.py
184
+ rs_file:
185
+ - stream-glyph/results/{agent_mode}/stream-glyph.py
186
+
187
  # 8. time-varying
188
  - vars:
189
  question: |
 
207
 
208
  4. View Direction and Layout: Is the +y direction view properly set and are both views arranged side-by-side in the correct layout configuration?
209
 
210
+ - type: code-similarity
211
+ subtype: code
212
+ gs_file:
213
+ - time-varying/GS/time-varying_gs.py
214
+ rs_file:
215
+ - time-varying/results/{agent_mode}/time-varying.py
216
+
217
  # 9. chart-opacity
218
  - vars:
219
  question: |
 
234
 
235
  4. Chart Clarity: Does the chart provide clear visualization of the data trends with appropriate axis scaling and readable formatting?
236
 
237
+ - type: code-similarity
238
+ subtype: code
239
+ gs_file:
240
+ - chart-opacity/GS/chart-opacity_gs.py
241
+ rs_file:
242
+ - chart-opacity/results/{agent_mode}/chart-opacity.py
243
+
244
  # 10. color-blocks
245
  - vars:
246
  question: |
 
265
 
266
  4. View Configuration: Is the dataset displayed from the -y direction with blue-gray background and visible color bar legend?
267
 
268
+ - type: code-similarity
269
+ subtype: code
270
+ gs_file:
271
+ - color-blocks/GS/color-blocks_gs.py
272
+ rs_file:
273
+ - color-blocks/results/{agent_mode}/color-blocks.py
274
+
275
  # 11. color-data
276
  - vars:
277
  question: |
 
293
 
294
  4. Color Bar Display: Is the color bar/legend visible and properly displaying the color mapping scale and values?
295
 
296
+ - type: code-similarity
297
+ subtype: code
298
+ gs_file:
299
+ - color-data/GS/color-data_gs.py
300
+ rs_file:
301
+ - color-data/results/{agent_mode}/color-data.py
302
+
303
  # 12. export-gltf
304
  - vars:
305
  question: |
 
328
 
329
  4. Clean Presentation: Are the color bar and orientation axes properly hidden for a clean visualization appearance?
330
 
331
+ - type: code-similarity
332
+ subtype: code
333
+ gs_file:
334
+ - export-gltf/GS/export-gltf_gs.py
335
+ rs_file:
336
+ - export-gltf/results/{agent_mode}/export-gltf.py
337
+
338
  # 13. import-gltf
339
  - vars:
340
  question: |
 
357
 
358
  4. Layout Configuration: Is the view properly sized to 300x300 pixels with correct rendering and background palette?
359
 
360
+ - type: code-similarity
361
+ subtype: code
362
+ gs_file:
363
+ - import-gltf/GS/import-gltf_gs.py
364
+ rs_file:
365
+ - import-gltf/results/{agent_mode}/import-gltf.py
366
+
367
  # 14. render-histogram
368
  - vars:
369
  question: |
 
389
 
390
  4. Color Map Consistency: Are both the wavelet visualization and histogram using the same Cool to Warm color map?
391
 
392
+ - type: code-similarity
393
+ subtype: code
394
+ gs_file:
395
+ - render-histogram/GS/render-histogram_gs.py
396
+ rs_file:
397
+ - render-histogram/results/{agent_mode}/render-histogram.py
398
+
399
  # 15. reset-camera-direction
400
  - vars:
401
  question: |
 
415
 
416
  4. View Quality: Does the visualization provide a clear view of the wavelet structure from the specified camera angle?
417
 
418
+ - type: code-similarity
419
+ subtype: code
420
+ gs_file:
421
+ - reset-camera-direction/GS/reset-camera-direction_gs.py
422
+ rs_file:
423
+ - reset-camera-direction/results/{agent_mode}/reset-camera-direction.py
424
+
425
  # 16. save-transparent
426
  - vars:
427
  question: |
 
442
 
443
  4. Visual Quality: Does the transparent cone maintain good visual quality and edge definition?
444
 
445
+ - type: code-similarity
446
+ subtype: code
447
+ gs_file:
448
+ - save-transparent/GS/save-transparent_gs.py
449
+ rs_file:
450
+ - save-transparent/results/{agent_mode}/save-transparent.py
451
+
452
  # 17. subseries-of-time-series
453
  - vars:
454
  question: |
 
472
 
473
  4. Final Visualization: Is the multi-block dataset properly displayed showing the sliced geometry from the time series?
474
 
475
+ - type: code-similarity
476
+ subtype: code
477
+ gs_file:
478
+ - subseries-of-time-series/GS/subseries-of-time-series_gs.py
479
+ rs_file:
480
+ - subseries-of-time-series/results/{agent_mode}/subseries-of-time-series.py
481
+
482
  # 18. write-ply
483
  - vars:
484
  question: |
 
500
 
501
  4. Visualization Quality: Does the imported cube display properly with correct surface representation and rendering?
502
 
503
+ - type: code-similarity
504
+ subtype: code
505
+ gs_file:
506
+ - write-ply/GS/write-ply_gs.py
507
+ rs_file:
508
+ - write-ply/results/{agent_mode}/write-ply.py
509
+
510
  # 19. climate
511
  - vars:
512
  question: |
 
530
 
531
  4. View Configuration: Is the visualization displayed from -z direction with appropriate scaling and white background as specified?
532
 
533
+ - type: code-similarity
534
+ subtype: code
535
+ gs_file:
536
+ - climate/GS/climate_gs.py
537
+ rs_file:
538
+ - climate/results/{agent_mode}/climate.py
539
+
540
  # 20. materials
541
  - vars:
542
  question: |
 
561
  3. Clipping and Color Mapping: Is the plane clipping correctly applied and Viridis colormap properly used for Phase variable?
562
 
563
  4. Camera and Layout: Is the camera positioned correctly in (-1, 0, -1) direction with appropriate fitting and legends visible?
564
+
565
+ - type: code-similarity
566
+ subtype: code
567
+ gs_file:
568
+ - materials/GS/materials_gs.py
569
+ rs_file:
570
+ - materials/results/{agent_mode}/materials.py
eval_cases/paraview/main_cases.yaml CHANGED
@@ -988,4 +988,186 @@
988
  2) All slices colored by velocity magnitude
989
  3) Turbo colormap
990
  4) Color bar labeled 'Velocity Magnitude'
991
- 5) Dark background, Isometric camera showing all three slices, Output resolution 1024x1024
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
988
  2) All slices colored by velocity magnitude
989
  3) Turbo colormap
990
  4) Color bar labeled 'Velocity Magnitude'
991
+ 5) Dark background, Isometric camera showing all three slices, Output resolution 1024x1024
992
+
993
+ # 33. MHD Magnetic Field Stream Surface (t=20) (mhd-magfield_streamsurface)
994
+ # Isothermal magnetohydrodynamic (MHD) simulations capturing compressible turbulence phenomena relevant to astrophysical systems.
995
+ # MHD turbulence is an essential component of the solar wind, galaxy formation, and interstellar medium (ISM) dynamics.
996
+ # 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.
997
+ # Three field types are captured: density (scalar), velocity (vector), and magnetic field (vector).
998
+ # Data source: The Well (Polymathic AI)
999
+ - vars:
1000
+ question: |
1001
+ Load the MHD magnetic field dataset from "mhd-magfield_streamsurface/data/mhd-magfield_streamsurface.vti" (VTI format, 128x128x128 grid with components bx, by, bz).
1002
+ 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.
1003
+ The stream surface should be traced in both forward and backward directions along the magnetic field lines.
1004
+ Color the stream surface by magnetic field magnitude using the 'Cool to Warm' colormap. Enable surface lighting with specular reflection for better 3D perception.
1005
+ Add a color bar labeled 'Magnetic Field Magnitude'.
1006
+ Use a dark navy background (RGB: 0.0, 0.0, 0.12). Set an isometric camera view. Render at 1024x1024 resolution.
1007
+ Save the paraview state as "mhd-magfield_streamsurface/results/{agent_mode}/mhd-magfield_streamsurface.pvsm".
1008
+ Save the visualization image as "mhd-magfield_streamsurface/results/{agent_mode}/mhd-magfield_streamsurface.png".
1009
+ (Optional, if use python script) Save the python script as "mhd-magfield_streamsurface/results/{agent_mode}/mhd-magfield_streamsurface.py".
1010
+ Do not save any other files, and always save the visualization image.
1011
+ assert:
1012
+ - type: llm-rubric
1013
+ subtype: vision
1014
+ value: |
1015
+ 1) Stream surface generation from line seed along y-axis, bidirectional integration along magnetic field
1016
+ 2) Surface coloring by magnetic field magnitude
1017
+ 3) Cool to Warm colormap applied correctly
1018
+ 4) Specular lighting enabled
1019
+ 5) Color bar with label 'Magnetic Field Magnitude'
1020
+ 6) Dark navy background (RGB: 0.0, 0.0, 0.12), Isometric camera view, Output resolution 1024x1024
1021
+
1022
+
1023
+ # 34. Rayleigh-Taylor Instability Stream Surface (t=60) (rti-velocity_streamsurface)
1024
+ # Rayleigh-Taylor instability simulations examining how varying spectral characteristics and random phase components influence the development of turbulent mixing.
1025
+ # 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.
1026
+ # 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.
1027
+ # Data source: The Well (Polymathic AI)
1028
+ - vars:
1029
+ question: |
1030
+ Load the Rayleigh-Taylor instability velocity field dataset from "rti-velocity_streamsurface/data/rti-velocity_streamsurface.vti" (VTI format, 128x128x128 grid).
1031
+ 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.
1032
+ 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.
1033
+ Set surface opacity to 0.85 for slight transparency. Add a color bar labeled 'Vertical Velocity (vy)'.
1034
+ Use a black background (RGB: 0.0, 0.0, 0.0).
1035
+ Set camera to view at 45 degrees elevation to show the mushroom-shaped instability structures. Render at 1024x1024 resolution.
1036
+ Save the paraview state as "rti-velocity_streamsurface/results/{agent_mode}/rti-velocity_streamsurface.pvsm".
1037
+ Save the visualization image as "rti-velocity_streamsurface/results/{agent_mode}/rti-velocity_streamsurface.png".
1038
+ (Optional, if use python script) Save the python script as "rti-velocity_streamsurface/results/{agent_mode}/rti-velocity_streamsurface.py".
1039
+ Do not save any other files, and always save the visualization image
1040
+ assert:
1041
+ - type: llm-rubric
1042
+ subtype: vision
1043
+ value: |
1044
+ 1) Stream surface from circular ring seed at y=64
1045
+ 2) Circle centered at (64, 64) in xz-plane with radius 30
1046
+ 3) Bidirectional integration along velocity field
1047
+ 4) Surface coloring by vy (vertical velocity) component, Surface opacity set to 0.85
1048
+ 5) Cool to Warm (Extended) diverging colormap
1049
+ 6) Color bar with label 'Vertical Velocity (vy)'
1050
+ 7) Black background, Elevated camera view (45 degrees), Output resolution 1024x1024
1051
+
1052
+
1053
+ # 35. Supernova Explosion Pathlines (Multi-timestep) (supernova-velocity_pathline)
1054
+ # Supernova explosion simulations capturing the physical dynamics of a stellar explosion propagating through a dense interstellar medium.
1055
+ # 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.
1056
+ # The simulations employ sophisticated physics including radiative cooling and heating.
1057
+ # Data source: The Well (Polymathic AI).
1058
+ - vars:
1059
+ question: |
1060
+ 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).
1061
+ Visualize the temporal evolution of flow patterns by generating streamlines from each timestep and overlaying them.
1062
+ Seed 50 particles from a spherical shell centered at (64, 64, 64) with radius 20 (near the explosion center).
1063
+ For each timestep, trace streamlines in the forward direction with maximum length 80.
1064
+ 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).
1065
+ Also include a magnitude-colored version using the 'Turbo' colormap for the final timestep.
1066
+ 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.
1067
+ Save the paraview state as "supernova-velocity_pathline/results/{agent_mode}/supernova-velocity_pathline.pvsm".
1068
+ Save the visualization image as "supernova-velocity_pathline/results/{agent_mode}/supernova-velocity_pathline.png".
1069
+ (Optional, if use python script) Save the python script as "supernova-velocity_pathline/results/{agent_mode}/supernova-velocity_pathline.py".
1070
+ Do not save any other files, and always save the visualization image.
1071
+ assert:
1072
+ - type: llm-rubric
1073
+ subtype: vision
1074
+ value: |
1075
+ 1) Time-varying vector field handling, Streamline generation for each timestep
1076
+ 2) Spherical shell seed centered at (64,64,64) with radius 20
1077
+ 3) 50 seed particles, Forward streamline tracing with max length 80
1078
+ 4) Tube rendering with radius 0.25, Color-coded temporal progression (blue to red)
1079
+ 5) Turbo colormap for magnitude coloring, Color bar with label 'Velocity Magnitude'
1080
+ 6) Dark background (RGB: 0.02, 0.0, 0.04), Isometric camera view, Output resolution 1024x1024
1081
+
1082
+
1083
+ # 36. MHD Turbulence Path Surface (Multi-timestep) (mhd-turbulence_pathsurface)
1084
+ # Isothermal magnetohydrodynamic (MHD) simulations capturing compressible turbulence phenomena relevant to astrophysical systems.
1085
+ # MHD turbulence is an essential component of the solar wind, galaxy formation, and interstellar medium (ISM) dynamics.
1086
+ # 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.
1087
+ # Three field types are captured: density (scalar), velocity (vector), and magnetic field (vector).
1088
+ # Data source: The Well (Polymathic AI)
1089
+ - vars:
1090
+ question: |
1091
+ 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).
1092
+ Visualize the temporal evolution by generating stream surfaces (ribbons) from each timestep with varying opacity.
1093
+ Use a line seed along the z-axis at x=64, y=64 (from z=40 to z=88) with 20 seed points.
1094
+ Trace streamlines bidirectionally with maximum length 150. Create ribbon surfaces from the streamlines with width 0.8.
1095
+ 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.
1096
+ 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.
1097
+ Save the paraview state as "mhd-turbulence_pathsurface/results/{agent_mode}/mhd-turbulence_pathsurface.pvsm".
1098
+ Save the visualization image as "mhd-turbulence_pathsurface/results/{agent_mode}/mhd-turbulence_pathsurface.png".
1099
+ (Optional, if use python script) Save the python script as "mhd-turbulence_pathsurface/results/{agent_mode}/mhd-turbulence_pathsurface.py".
1100
+ Do not save any other files, and always save the visualization image.
1101
+ assert:
1102
+ - type: llm-rubric
1103
+ subtype: vision
1104
+ value: |
1105
+ 1) Time-varying vector field handling, Stream surface generation for each timestep
1106
+ 2) Line seed along z-axis at x=64, y=64
1107
+ 3) Seed from z=40 to z=88 with 20 points, Bidirectional streamline tracing
1108
+ 4) Ribbon surface creation with width 0.8
1109
+ 5) Progressive opacity (0.3 to 0.9)
1110
+ 6) Viridis (matplotlib) colormap, Color bar with label 'Velocity Magnitude'
1111
+ 7) Dark gray background (RGB: 0.08, 0.08, 0.1), Isometric camera view, Output resolution 1024x1024
1112
+
1113
+
1114
+ # 37. Rayleigh-Taylor Instability Streaklines (Multi-timestep) (rti-velocity_streakline)
1115
+ # Rayleigh-Taylor instability simulations examining how varying spectral characteristics and random phase components influence the development of turbulent mixing.
1116
+ # 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.
1117
+ # 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.
1118
+ # Data source: The Well (Polymathic AI)
1119
+ - vars:
1120
+ question: |
1121
+ 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).
1122
+ Visualize temporal flow evolution by generating streamlines from 4 fixed injection points at each timestep.
1123
+ Place injection points at y=64 (the mixing interface): at (32, 64, 64), (64, 64, 32), (96, 64, 64), and (64, 64, 96).
1124
+ For each timestep, trace streamlines bidirectionally with maximum length 100.
1125
+ 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.
1126
+ Add a final layer colored by vy (vertical velocity) using the 'Cool to Warm' diverging colormap.
1127
+ Add a color bar labeled 'Vertical Velocity (vy)'.
1128
+ Use a black background. Set camera to view from an elevated angle (elevation 35 degrees). Render at 1024x1024 resolution.
1129
+ Save the paraview state as "rti-velocity_streakline/results/{agent_mode}/rti-velocity_streakline.pvsm".
1130
+ Save the visualization image as "rti-velocity_streakline/results/{agent_mode}/rti-velocity_streakline.png".
1131
+ (Optional, if use python script) Save the python script as "rti-velocity_streakline/results/{agent_mode}/rti-velocity_streakline.py".
1132
+ Do not save any other files, and always save the visualization image
1133
+ assert:
1134
+ - type: llm-rubric
1135
+ subtype: vision
1136
+ value: |
1137
+ 1) Time-varying vector field handling, Streamline generation from 4 injection points
1138
+ 2) Injection points at (32,64,64), (64,64,32), (96,64,64), (64,64,96)
1139
+ 3) Bidirectional tracing with max length 100
1140
+ 4) Tube rendering with radius 0.4
1141
+ 5) Color-coded temporal progression (blue to red), Cool to Warm diverging colormap for vy
1142
+ 6) Color bar with label 'Vertical Velocity (vy)'
1143
+ 7) Black background, Elevated camera view (elevation 35 degrees), Output resolution 1024x1024
1144
+
1145
+
1146
+ # 38. Turbulent Radiative Layer Timelines (Multi-timestep) (trl-velocity_timeline)
1147
+ # Turbulent Radiative Layer simulations of astrophysical mixing processes where cold, dense gas interfaces with hot, dilute gas moving at subsonic velocities.
1148
+ # The cold dense gas on the bottom and hot dilute gas on the top becomes unstable to the Kelvin-Helmholtz instability.
1149
+ # 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.
1150
+ # Generated using Athena++. Data source: The Well (Polymathic AI)
1151
+ - vars:
1152
+ question: |
1153
+ 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).
1154
+ Visualize temporal evolution by generating streamlines from a line seed at each timestep.
1155
+ 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.
1156
+ 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.
1157
+ Add a magnitude-colored layer using the 'Spectral' colormap for reference.
1158
+ Add a color bar labeled 'Velocity Magnitude'.
1159
+ 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.
1160
+ Save the paraview state as "trl-velocity_timeline/results/{agent_mode}/trl-velocity_timeline.pvsm".
1161
+ Save the visualization image as "trl-velocity_timeline/results/{agent_mode}/trl-velocity_timeline.png".
1162
+ (Optional, if use python script) Save the python script as "trl-velocity_timeline/results/{agent_mode}/trl-velocity_timeline.py".
1163
+ Do not save any other files, and always save the visualization image.
1164
+ assert:
1165
+ - type: llm-rubric
1166
+ subtype: vision
1167
+ value: |
1168
+ 1) Time-varying vector field handling (256x128x128 grid), Streamline generation from line seed for each timestep
1169
+ 2) Line seed along z-axis at x=128, y=64, 50 seed points from z=20 to z=108
1170
+ 3) Bidirectional tracing with max length 150, Tube rendering with radius 0.5
1171
+ 4) Spectral color-coded temporal progression
1172
+ 5) Spectral colormap for magnitude, Color bar with label 'Velocity Magnitude'
1173
+ 6) Dark background (RGB: 0.0, 0.0, 0.02), Oblique camera view (azimuth 45, elevation 20), Output resolution 1024x1024
main/mhd-magfield_streamsurface/GS/mhd-magfield_streamsurface_gs.png ADDED

Git LFS Details

  • SHA256: 6ebfa5c74bd11e4e2f5cfc651f2479b124df980a8a169b4650f95e506234d7f9
  • Pointer size: 131 Bytes
  • Size of remote file: 294 kB
main/mhd-magfield_streamsurface/GS/mhd-magfield_streamsurface_gs.pvsm ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dda61c881aa4a2a1e877fb9571cec4d7e7bfe8ffbcd8357a75bdf76b79ec1201
3
+ size 223280
main/mhd-magfield_streamsurface/GS/mhd-magfield_streamsurface_gs.py ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ from paraview.simple import *
3
+
4
+ SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
5
+ VTI_PATH = os.path.join(SCRIPT_DIR, 'MHD_magfield_0020.vti')
6
+ OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png')
7
+ OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm')
8
+
9
+ reader = XMLImageDataReader(FileName=[VTI_PATH])
10
+ reader.UpdatePipeline()
11
+
12
+ # Stream surface using StreamTracer with Line seed
13
+ streamSurface = StreamTracer(Input=reader, SeedType='Line')
14
+ streamSurface.SeedType.Point1 = [64.0, 20.0, 64.0]
15
+ streamSurface.SeedType.Point2 = [64.0, 108.0, 64.0]
16
+ streamSurface.SeedType.Resolution = 30
17
+ streamSurface.Vectors = ['POINTS', 'vector']
18
+ streamSurface.IntegrationDirection = 'BOTH'
19
+ streamSurface.MaximumStreamlineLength = 300.0
20
+ streamSurface.UpdatePipeline()
21
+
22
+ # Create ribbon/surface from streamlines
23
+ ribbon = Ribbon(Input=streamSurface)
24
+ ribbon.Scalars = ['POINTS', 'magnitude']
25
+ ribbon.Width = 1.5
26
+ ribbon.UpdatePipeline()
27
+
28
+ renderView = GetActiveViewOrCreate('RenderView')
29
+ renderView.ViewSize = [1024, 1024]
30
+ renderView.Background = [0.0, 0.0, 0.12]
31
+
32
+ ribbonDisplay = Show(ribbon, renderView)
33
+ ribbonDisplay.Representation = 'Surface'
34
+ ColorBy(ribbonDisplay, ('POINTS', 'magnitude'))
35
+
36
+ magLUT = GetColorTransferFunction('magnitude')
37
+ magLUT.ApplyPreset('Cool to Warm', True)
38
+
39
+ # Enable lighting
40
+ ribbonDisplay.Specular = 0.5
41
+
42
+ ribbonDisplay.SetScalarBarVisibility(renderView, True)
43
+ colorBar = GetScalarBar(magLUT, renderView)
44
+ colorBar.Title = 'Magnetic Field Magnitude'
45
+ colorBar.ComponentTitle = ''
46
+
47
+ # Isometric camera
48
+ renderView.CameraPosition = [200.0, 200.0, 200.0]
49
+ renderView.CameraFocalPoint = [63.5, 63.5, 63.5]
50
+ renderView.CameraViewUp = [0.0, 0.0, 1.0]
51
+ renderView.ResetCamera()
52
+ Render()
53
+
54
+ SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024])
55
+ SaveState(OUTPUT_STATE)
56
+ print(f"Task 17 done: {OUTPUT_IMG}")
main/mhd-magfield_streamsurface/data/mhd-magfield_streamsurface.vti ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:18f82eed3fc114964e7d534469da49ba5b38c00e7fd02dc0f33dd542357e2143
3
+ size 78294594
main/mhd-magfield_streamsurface/task_description.txt ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ Load the MHD magnetic field dataset from "mhd-magfield_streamsurface/data/mhd-magfield_streamsurface.vti" (VTI format, 128x128x128 grid with components bx, by, bz).
2
+ 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.
3
+ The stream surface should be traced in both forward and backward directions along the magnetic field lines.
4
+ Color the stream surface by magnetic field magnitude using the 'Cool to Warm' colormap. Enable surface lighting with specular reflection for better 3D perception.
5
+ Add a color bar labeled 'Magnetic Field Magnitude'.
6
+ Use a dark navy background (RGB: 0.0, 0.0, 0.12). Set an isometric camera view. Render at 1024x1024 resolution.
7
+ Save the paraview state as "mhd-magfield_streamsurface/results/{agent_mode}/mhd-magfield_streamsurface.pvsm".
8
+ Save the visualization image as "mhd-magfield_streamsurface/results/{agent_mode}/mhd-magfield_streamsurface.png".
9
+ (Optional, if use python script) Save the python script as "mhd-magfield_streamsurface/results/{agent_mode}/mhd-magfield_streamsurface.py".
10
+ Do not save any other files, and always save the visualization image.
main/mhd-magfield_streamsurface/visualization_goals.txt ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ 1) Stream surface generation from line seed along y-axis, bidirectional integration along magnetic field
2
+ 2) Surface coloring by magnetic field magnitude
3
+ 3) Cool to Warm colormap applied correctly
4
+ 4) Specular lighting enabled
5
+ 5) Color bar with label 'Magnetic Field Magnitude'
6
+ 6) Dark navy background (RGB: 0.0, 0.0, 0.12), Isometric camera view, Output resolution 1024x1024
main/mhd-turbulence_pathsurface/GS/mhd-turbulence_pathsurface_gs.png ADDED

Git LFS Details

  • SHA256: 5080afc5dbb752bbc3e639d9494b766319f670be299a3b2137cea9859b8160ff
  • Pointer size: 131 Bytes
  • Size of remote file: 462 kB
main/mhd-turbulence_pathsurface/GS/mhd-turbulence_pathsurface_gs.pvsm ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:640a0c0edc8b7fc77e319fb3a369ae3c0756367b7b25ad43ff3b1ed1ada4de04
3
+ size 778399
main/mhd-turbulence_pathsurface/GS/mhd-turbulence_pathsurface_gs.py ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import glob
3
+ from paraview.simple import *
4
+
5
+ SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
6
+ VTI_FILES = sorted(glob.glob(os.path.join(SCRIPT_DIR, 'MHD_velocity_*.vti')))
7
+ OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png')
8
+ OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm')
9
+
10
+ # Path surface: show stream surfaces from multiple timesteps with transparency
11
+
12
+ renderView = GetActiveViewOrCreate('RenderView')
13
+ renderView.ViewSize = [1024, 1024]
14
+ renderView.Background = [0.08, 0.08, 0.1]
15
+
16
+ # Opacity progression for time (earlier = more transparent)
17
+ opacities = [0.3, 0.4, 0.5, 0.7, 0.9]
18
+
19
+ for idx, vti_file in enumerate(VTI_FILES):
20
+ reader = XMLImageDataReader(FileName=[vti_file])
21
+ reader.UpdatePipeline()
22
+
23
+ stream = StreamTracer(Input=reader, SeedType='Line')
24
+ stream.SeedType.Point1 = [64.0, 64.0, 40.0]
25
+ stream.SeedType.Point2 = [64.0, 64.0, 88.0]
26
+ stream.SeedType.Resolution = 20
27
+ stream.Vectors = ['POINTS', 'vector']
28
+ stream.IntegrationDirection = 'BOTH'
29
+ stream.MaximumStreamlineLength = 150.0
30
+ stream.UpdatePipeline()
31
+
32
+ ribbon = Ribbon(Input=stream)
33
+ ribbon.Scalars = ['POINTS', 'magnitude']
34
+ ribbon.Width = 0.8
35
+ ribbon.UpdatePipeline()
36
+
37
+ ribbonDisplay = Show(ribbon, renderView)
38
+ ribbonDisplay.Representation = 'Surface'
39
+ ribbonDisplay.Opacity = opacities[idx]
40
+ ColorBy(ribbonDisplay, ('POINTS', 'magnitude'))
41
+
42
+ magLUT = GetColorTransferFunction('magnitude')
43
+ magLUT.ApplyPreset('Viridis (matplotlib)', True)
44
+
45
+ # Show color bar on the last one
46
+ ribbonDisplay.SetScalarBarVisibility(renderView, True)
47
+ colorBar = GetScalarBar(magLUT, renderView)
48
+ colorBar.Title = 'Velocity Magnitude'
49
+ colorBar.ComponentTitle = ''
50
+
51
+ renderView.CameraPosition = [180.0, 180.0, 180.0]
52
+ renderView.CameraFocalPoint = [63.5, 63.5, 63.5]
53
+ renderView.CameraViewUp = [0.0, 0.0, 1.0]
54
+ renderView.ResetCamera()
55
+ Render()
56
+
57
+ SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024])
58
+ SaveState(OUTPUT_STATE)
59
+ print(f"Task 22 done: {OUTPUT_IMG}")
main/mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_0000.vti ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bfbef0b2919cbfaaf3d462c4e1802b2d06e9d6cc617a6d2c8edcc586f7e55a67
3
+ size 78294594
main/mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_0010.vti ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:823282fcbb627582c8d6bac7edc7cb8f87801ba65ff92d65a1d06df7444fd54e
3
+ size 78294594
main/mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_0020.vti ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:080e439bab3575dd4e42e2eb6dbcc118e2f86f618448e10df78a6c067d766a00
3
+ size 78294594
main/mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_0030.vti ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cea4a3655827fe96fbe3bc1677fb0424602ff179742d84326363712b050f0b8d
3
+ size 78294594
main/mhd-turbulence_pathsurface/data/mhd-turbulence_pathsurface_0040.vti ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a190989db4160876c20a42e79813d9e601559974959fc85a702636ff0cbd0791
3
+ size 78294594
main/mhd-turbulence_pathsurface/task_description.txt ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ Load 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).
2
+ Visualize the temporal evolution by generating stream surfaces (ribbons) from each timestep with varying opacity.
3
+ Use a line seed along the z-axis at x=64, y=64 (from z=40 to z=88) with 20 seed points.
4
+ Trace streamlines bidirectionally with maximum length 150. Create ribbon surfaces from the streamlines with width 0.8.
5
+ 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.
6
+ 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.
7
+ Save the paraview state as "mhd-turbulence_pathsurface/results/{agent_mode}/mhd-turbulence_pathsurface.pvsm".
8
+ Save the visualization image as "mhd-turbulence_pathsurface/results/{agent_mode}/mhd-turbulence_pathsurface.png".
9
+ (Optional, if use python script) Save the python script as "mhd-turbulence_pathsurface/results/{agent_mode}/mhd-turbulence_pathsurface.py".
10
+ Do not save any other files, and always save the visualization image.
main/mhd-turbulence_pathsurface/visualization_goals.txt ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ 1) Time-varying vector field handling, Stream surface generation for each timestep
2
+ 2) Line seed along z-axis at x=64, y=64
3
+ 3) Seed from z=40 to z=88 with 20 points, Bidirectional streamline tracing
4
+ 4) Ribbon surface creation with width 0.8
5
+ 5) Progressive opacity (0.3 to 0.9)
6
+ 6) Viridis (matplotlib) colormap, Color bar with label 'Velocity Magnitude'
7
+ 7) Dark gray background (RGB: 0.08, 0.08, 0.1), Isometric camera view, Output resolution 1024x1024
main/rti-velocity_streakline/GS/rti-velocity_streakline_gs.png ADDED

Git LFS Details

  • SHA256: 238a59e0e5b9698f9ebe6c759b1863643ea7a0bf28622ec591653c310167ae92
  • Pointer size: 131 Bytes
  • Size of remote file: 120 kB
main/rti-velocity_streakline/GS/rti-velocity_streakline_gs.pvsm ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1707fc866f4a54463f8bb8d96ba83f650bf4107e8db4fbc148c4836cd6c760db
3
+ size 850318
main/rti-velocity_streakline/GS/rti-velocity_streakline_gs.py ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import glob
3
+ from paraview.simple import *
4
+
5
+ SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
6
+ VTI_FILES = sorted(glob.glob(os.path.join(SCRIPT_DIR, 'RTI_velocity_*.vti')))
7
+ OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png')
8
+ OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm')
9
+
10
+ # Streaklines: show streamlines from injection points at multiple timesteps
11
+
12
+ renderView = GetActiveViewOrCreate('RenderView')
13
+ renderView.ViewSize = [1024, 1024]
14
+ renderView.Background = [0.0, 0.0, 0.0]
15
+
16
+ # Create 4 injection points at y=64
17
+ injectionPoints = ProgrammableSource()
18
+ injectionPoints.OutputDataSetType = 'vtkPolyData'
19
+ injectionPoints.Script = """
20
+ import vtk
21
+ points = vtk.vtkPoints()
22
+ points.InsertNextPoint(32.0, 64.0, 64.0)
23
+ points.InsertNextPoint(64.0, 64.0, 32.0)
24
+ points.InsertNextPoint(96.0, 64.0, 64.0)
25
+ points.InsertNextPoint(64.0, 64.0, 96.0)
26
+ output.SetPoints(points)
27
+ """
28
+ injectionPoints.UpdatePipeline()
29
+
30
+ # Colors for timesteps (t=30 to t=70)
31
+ colors = [
32
+ [0.1, 0.1, 0.9], # t=30 dark blue
33
+ [0.2, 0.5, 0.8], # t=40
34
+ [0.4, 0.7, 0.4], # t=50 green
35
+ [0.8, 0.6, 0.2], # t=60
36
+ [0.9, 0.2, 0.1], # t=70 red
37
+ ]
38
+
39
+ for idx, vti_file in enumerate(VTI_FILES):
40
+ reader = XMLImageDataReader(FileName=[vti_file])
41
+ reader.UpdatePipeline()
42
+
43
+ stream = StreamTracerWithCustomSource(Input=reader, SeedSource=injectionPoints)
44
+ stream.Vectors = ['POINTS', 'vector']
45
+ stream.IntegrationDirection = 'BOTH'
46
+ stream.MaximumStreamlineLength = 100.0
47
+ stream.UpdatePipeline()
48
+
49
+ tube = Tube(Input=stream)
50
+ tube.Radius = 0.4
51
+ tube.UpdatePipeline()
52
+
53
+ tubeDisplay = Show(tube, renderView)
54
+ tubeDisplay.Representation = 'Surface'
55
+ tubeDisplay.DiffuseColor = colors[idx]
56
+ tubeDisplay.Opacity = 0.6 + 0.08 * idx # Later times more opaque
57
+
58
+ # Add one with vy coloring for the color bar
59
+ lastReader = XMLImageDataReader(FileName=[VTI_FILES[-1]])
60
+ lastReader.UpdatePipeline()
61
+ lastStream = StreamTracerWithCustomSource(Input=lastReader, SeedSource=injectionPoints)
62
+ lastStream.Vectors = ['POINTS', 'vector']
63
+ lastStream.IntegrationDirection = 'BOTH'
64
+ lastStream.MaximumStreamlineLength = 100.0
65
+ lastStream.UpdatePipeline()
66
+ lastTube = Tube(Input=lastStream)
67
+ lastTube.Radius = 0.4
68
+ lastTube.UpdatePipeline()
69
+
70
+ vyDisplay = Show(lastTube, renderView)
71
+ vyDisplay.Representation = 'Surface'
72
+ ColorBy(vyDisplay, ('POINTS', 'vy'))
73
+
74
+ vyLUT = GetColorTransferFunction('vy')
75
+ vyLUT.ApplyPreset('Cool to Warm', True)
76
+
77
+ vyDisplay.SetScalarBarVisibility(renderView, True)
78
+ colorBar = GetScalarBar(vyLUT, renderView)
79
+ colorBar.Title = 'Vertical Velocity (vy)'
80
+ colorBar.ComponentTitle = ''
81
+
82
+ # Elevated camera
83
+ import math
84
+ elevation = 35 * math.pi / 180
85
+ distance = 250
86
+ cx, cy, cz = 63.5, 63.5, 63.5
87
+ camY = cy - distance * math.cos(elevation)
88
+ camZ = cz + distance * math.sin(elevation)
89
+
90
+ renderView.CameraPosition = [cx, camY, camZ]
91
+ renderView.CameraFocalPoint = [cx, cy, cz]
92
+ renderView.CameraViewUp = [0.0, 0.0, 1.0]
93
+ renderView.ResetCamera()
94
+ Render()
95
+
96
+ SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024])
97
+ SaveState(OUTPUT_STATE)
98
+ print(f"Task 23 done: {OUTPUT_IMG}")
main/rti-velocity_streakline/data/rti-velocity_streakline_0030.vti ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6756dcb294a0f452c418f960215e6a2c317bfc1483a7c4022262a6e6df34c26b
3
+ size 78294594
main/rti-velocity_streakline/data/rti-velocity_streakline_0040.vti ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9e278b27f5ee9af8dfa9cc5073d865633ccf7dc9cc6c52d1ebbbf4c751ebec1
3
+ size 78294594
main/rti-velocity_streakline/data/rti-velocity_streakline_0050.vti ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70a1d6b812b31209bcba9b3ad727e4cded713609975f4ac32cc051319b3ee2be
3
+ size 78294594
main/rti-velocity_streakline/data/rti-velocity_streakline_0060.vti ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29cc6f7ee3b7a7677eddfacb94af7effd4a00a477bf4ccd84fe3f2e2cc85e38b
3
+ size 78294594
main/rti-velocity_streakline/data/rti-velocity_streakline_0070.vti ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2d4e97f14322a56df10aa5bb46156b2f68af485df51513c07264bd0dc48f3d40
3
+ size 78294594
main/rti-velocity_streakline/task_description.txt ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 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).
2
+ Visualize temporal flow evolution by generating streamlines from 4 fixed injection points at each timestep.
3
+ Place injection points at y=64 (the mixing interface): at (32, 64, 64), (64, 64, 32), (96, 64, 64), and (64, 64, 96).
4
+ For each timestep, trace streamlines bidirectionally with maximum length 100.
5
+ 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.
6
+ Add a final layer colored by vy (vertical velocity) using the 'Cool to Warm' diverging colormap.
7
+ Add a color bar labeled 'Vertical Velocity (vy)'.
8
+ Use a black background. Set camera to view from an elevated angle (elevation 35 degrees). Render at 1024x1024 resolution.
9
+ Save the paraview state as "rti-velocity_streakline/results/{agent_mode}/rti-velocity_streakline.pvsm".
10
+ Save the visualization image as "rti-velocity_streakline/results/{agent_mode}/rti-velocity_streakline.png".
11
+ (Optional, if use python script) Save the python script as "rti-velocity_streakline/results/{agent_mode}/rti-velocity_streakline.py".
12
+ Do not save any other files, and always save the visualization image
main/rti-velocity_streakline/visualization_goals.txt ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ 1) Time-varying vector field handling, Streamline generation from 4 injection points
2
+ 2) Injection points at (32,64,64), (64,64,32), (96,64,64), (64,64,96)
3
+ 3) Bidirectional tracing with max length 100
4
+ 4) Tube rendering with radius 0.4
5
+ 5) Color-coded temporal progression (blue to red), Cool to Warm diverging colormap for vy
6
+ 6) Color bar with label 'Vertical Velocity (vy)'
7
+ 7) Black background, Elevated camera view (elevation 35 degrees), Output resolution 1024x1024
main/rti-velocity_streamsurface/GS/rti-velocity_streamsurface_gs.png ADDED

Git LFS Details

  • SHA256: 90d858725123747439565641642a04db06e85e5b012c985be77ac8c17afdce66
  • Pointer size: 131 Bytes
  • Size of remote file: 237 kB
main/rti-velocity_streamsurface/GS/rti-velocity_streamsurface_gs.pvsm ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1a71e9fc46dfb14c4422e16f852496a57b59537457071eb93edb9bc55030ddb6
3
+ size 229928
main/rti-velocity_streamsurface/GS/rti-velocity_streamsurface_gs.py ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import math
3
+ from paraview.simple import *
4
+
5
+ SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
6
+ VTI_PATH = os.path.join(SCRIPT_DIR, 'RTI_velocity_0060.vti')
7
+ OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png')
8
+ OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm')
9
+
10
+ reader = XMLImageDataReader(FileName=[VTI_PATH])
11
+ reader.UpdatePipeline()
12
+
13
+ # Create circular seed points using programmable source
14
+ circleSource = ProgrammableSource()
15
+ circleSource.OutputDataSetType = 'vtkPolyData'
16
+ circleSource.Script = """
17
+ import vtk
18
+ import math
19
+ points = vtk.vtkPoints()
20
+ num_points = 40
21
+ radius = 30.0
22
+ cx, cy, cz = 64.0, 64.0, 64.0
23
+ for i in range(num_points):
24
+ angle = 2.0 * math.pi * i / num_points
25
+ x = cx + radius * math.cos(angle)
26
+ z = cz + radius * math.sin(angle)
27
+ points.InsertNextPoint(x, cy, z)
28
+ output.SetPoints(points)
29
+ """
30
+ circleSource.UpdatePipeline()
31
+
32
+ # Stream tracer with point cloud seed from circle
33
+ streamSurface = StreamTracerWithCustomSource(Input=reader, SeedSource=circleSource)
34
+ streamSurface.Vectors = ['POINTS', 'vector']
35
+ streamSurface.IntegrationDirection = 'BOTH'
36
+ streamSurface.MaximumStreamlineLength = 200.0
37
+ streamSurface.UpdatePipeline()
38
+
39
+ # Create ribbon surface
40
+ ribbon = Ribbon(Input=streamSurface)
41
+ ribbon.Scalars = ['POINTS', 'vy']
42
+ ribbon.Width = 1.2
43
+ ribbon.UpdatePipeline()
44
+
45
+ renderView = GetActiveViewOrCreate('RenderView')
46
+ renderView.ViewSize = [1024, 1024]
47
+ renderView.Background = [0.0, 0.0, 0.0]
48
+
49
+ ribbonDisplay = Show(ribbon, renderView)
50
+ ribbonDisplay.Representation = 'Surface'
51
+ ribbonDisplay.Opacity = 0.85
52
+ ColorBy(ribbonDisplay, ('POINTS', 'vy'))
53
+
54
+ vyLUT = GetColorTransferFunction('vy')
55
+ vyLUT.ApplyPreset('Cool to Warm (Extended)', True)
56
+
57
+ ribbonDisplay.SetScalarBarVisibility(renderView, True)
58
+ colorBar = GetScalarBar(vyLUT, renderView)
59
+ colorBar.Title = 'Vertical Velocity (vy)'
60
+ colorBar.ComponentTitle = ''
61
+
62
+ # Elevated camera view
63
+ renderView.CameraPosition = [64.0, 200.0, 150.0]
64
+ renderView.CameraFocalPoint = [63.5, 63.5, 63.5]
65
+ renderView.CameraViewUp = [0.0, 0.0, 1.0]
66
+ renderView.ResetCamera()
67
+ Render()
68
+
69
+ SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024])
70
+ SaveState(OUTPUT_STATE)
71
+ print(f"Task 18 done: {OUTPUT_IMG}")
main/rti-velocity_streamsurface/data/rti-velocity_streamsurface.vti ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:29cc6f7ee3b7a7677eddfacb94af7effd4a00a477bf4ccd84fe3f2e2cc85e38b
3
+ size 78294594
main/rti-velocity_streamsurface/task_description.txt ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ Load the Rayleigh-Taylor instability velocity field dataset from "rti-velocity_streamsurface/data/rti-velocity_streamsurface.vti" (VTI format, 128x128x128 grid).
2
+ 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.
3
+ 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.
4
+ Set surface opacity to 0.85 for slight transparency. Add a color bar labeled 'Vertical Velocity (vy)'.
5
+ Use a black background (RGB: 0.0, 0.0, 0.0).
6
+ Set camera to view at 45 degrees elevation to show the mushroom-shaped instability structures. Render at 1024x1024 resolution.
7
+ Save the paraview state as "rti-velocity_streamsurface/results/{agent_mode}/rti-velocity_streamsurface.pvsm".
8
+ Save the visualization image as "rti-velocity_streamsurface/results/{agent_mode}/rti-velocity_streamsurface.png".
9
+ (Optional, if use python script) Save the python script as "rti-velocity_streamsurface/results/{agent_mode}/rti-velocity_streamsurface.py".
10
+ Do not save any other files, and always save the visualization image
main/rti-velocity_streamsurface/visualization_goals.txt ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ 1) Stream surface from circular ring seed at y=64
2
+ 2) Circle centered at (64, 64) in xz-plane with radius 30
3
+ 3) Bidirectional integration along velocity field
4
+ 4) Surface coloring by vy (vertical velocity) component, Surface opacity set to 0.85
5
+ 5) Cool to Warm (Extended) diverging colormap
6
+ 6) Color bar with label 'Vertical Velocity (vy)'
7
+ 7) Black background, Elevated camera view (45 degrees), Output resolution 1024x1024
main/supernova-velocity_pathline/GS/supernova-velocity_pathline_gs.png ADDED

Git LFS Details

  • SHA256: 97b5cdb65be7aa7ad0478c6118e61ac78e35ce25242cfbb009d45f6de4669228
  • Pointer size: 131 Bytes
  • Size of remote file: 456 kB
main/supernova-velocity_pathline/GS/supernova-velocity_pathline_gs.pvsm ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e0af21c21c923152634439896637c5969d2e756325b0a58472125b420e03dc1
3
+ size 900937
main/supernova-velocity_pathline/GS/supernova-velocity_pathline_gs.py ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import glob
3
+ from paraview.simple import *
4
+
5
+ SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
6
+ VTI_FILES = sorted(glob.glob(os.path.join(SCRIPT_DIR, 'supernova_velocity_*.vti')))
7
+ OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png')
8
+ OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm')
9
+
10
+ # For pathlines visualization, we show streamlines from multiple timesteps
11
+ # overlaid to approximate pathline behavior
12
+
13
+ renderView = GetActiveViewOrCreate('RenderView')
14
+ renderView.ViewSize = [1024, 1024]
15
+ renderView.Background = [0.02, 0.0, 0.04]
16
+
17
+ # Colors for different timesteps (blue to red progression)
18
+ colors = [
19
+ [0.2, 0.2, 0.8], # t=0 blue
20
+ [0.3, 0.5, 0.7], # t=5
21
+ [0.5, 0.7, 0.3], # t=10
22
+ [0.8, 0.5, 0.2], # t=15
23
+ [0.9, 0.2, 0.2], # t=20 red
24
+ ]
25
+
26
+ # Create spherical seed points
27
+ sphereSource = ProgrammableSource()
28
+ sphereSource.OutputDataSetType = 'vtkPolyData'
29
+ sphereSource.Script = """
30
+ import vtk
31
+ import math
32
+ points = vtk.vtkPoints()
33
+ num_points = 50
34
+ radius = 20.0
35
+ cx, cy, cz = 64.0, 64.0, 64.0
36
+ golden_ratio = (1 + math.sqrt(5)) / 2
37
+ for i in range(num_points):
38
+ theta = 2 * math.pi * i / golden_ratio
39
+ phi = math.acos(1 - 2 * (i + 0.5) / num_points)
40
+ x = cx + radius * math.sin(phi) * math.cos(theta)
41
+ y = cy + radius * math.sin(phi) * math.sin(theta)
42
+ z = cz + radius * math.cos(phi)
43
+ points.InsertNextPoint(x, y, z)
44
+ output.SetPoints(points)
45
+ """
46
+ sphereSource.UpdatePipeline()
47
+
48
+ tubes_list = []
49
+ for idx, vti_file in enumerate(VTI_FILES):
50
+ reader = XMLImageDataReader(FileName=[vti_file])
51
+ reader.UpdatePipeline()
52
+
53
+ stream = StreamTracerWithCustomSource(Input=reader, SeedSource=sphereSource)
54
+ stream.Vectors = ['POINTS', 'vector']
55
+ stream.IntegrationDirection = 'FORWARD'
56
+ stream.MaximumStreamlineLength = 80.0
57
+ stream.UpdatePipeline()
58
+
59
+ tube = Tube(Input=stream)
60
+ tube.Radius = 0.25
61
+ tube.UpdatePipeline()
62
+ tubes_list.append(tube)
63
+
64
+ tubeDisplay = Show(tube, renderView)
65
+ tubeDisplay.Representation = 'Surface'
66
+ tubeDisplay.DiffuseColor = colors[idx]
67
+ tubeDisplay.Opacity = 0.7
68
+
69
+ # Add color bar manually as legend
70
+ # Use the last reader for magnitude reference
71
+ lastReader = XMLImageDataReader(FileName=[VTI_FILES[-1]])
72
+ lastReader.UpdatePipeline()
73
+ lastStream = StreamTracerWithCustomSource(Input=lastReader, SeedSource=sphereSource)
74
+ lastStream.Vectors = ['POINTS', 'vector']
75
+ lastStream.MaximumStreamlineLength = 80.0
76
+ lastStream.UpdatePipeline()
77
+ lastTube = Tube(Input=lastStream)
78
+ lastTube.Radius = 0.25
79
+ lastTube.UpdatePipeline()
80
+
81
+ magDisplay = Show(lastTube, renderView)
82
+ magDisplay.Representation = 'Surface'
83
+ ColorBy(magDisplay, ('POINTS', 'magnitude'))
84
+ magLUT = GetColorTransferFunction('magnitude')
85
+ magLUT.ApplyPreset('Turbo', True)
86
+ magDisplay.SetScalarBarVisibility(renderView, True)
87
+ colorBar = GetScalarBar(magLUT, renderView)
88
+ colorBar.Title = 'Velocity Magnitude'
89
+ colorBar.ComponentTitle = ''
90
+
91
+ renderView.CameraPosition = [180.0, 180.0, 180.0]
92
+ renderView.CameraFocalPoint = [63.5, 63.5, 63.5]
93
+ renderView.CameraViewUp = [0.0, 0.0, 1.0]
94
+ renderView.ResetCamera()
95
+ Render()
96
+
97
+ SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024])
98
+ SaveState(OUTPUT_STATE)
99
+ print(f"Task 21 done: {OUTPUT_IMG}")
main/supernova-velocity_pathline/data/supernova-velocity_pathline_0000.vti ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c2f984e08b39a997a48048b5bca172f618a82f3f9f74f78d73a8589e5bcf7c9
3
+ size 78294594
main/supernova-velocity_pathline/data/supernova-velocity_pathline_0005.vti ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c528d623ef7252e80c7bc6e535d6f1aa8db2729755ac7110c9398a3a33ea642
3
+ size 78294594
main/supernova-velocity_pathline/data/supernova-velocity_pathline_0010.vti ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:372e5e2a3746e47a77b510067ffbe2654d17af46608cb83d71ec1c994da0d0bf
3
+ size 78294594
main/supernova-velocity_pathline/data/supernova-velocity_pathline_0015.vti ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78cdc5c8c7eb74b94a82d2d97517163be177947a6a02cf081881709bd9096945
3
+ size 78294594
main/supernova-velocity_pathline/data/supernova-velocity_pathline_0020.vti ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f360d609215cbbc2059f610cdab2102a7a03a11870ec3a17da65c2bfaab31d00
3
+ size 78294594
main/supernova-velocity_pathline/task_description.txt ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 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).
2
+ Visualize the temporal evolution of flow patterns by generating streamlines from each timestep and overlaying them.
3
+ Seed 50 particles from a spherical shell centered at (64, 64, 64) with radius 20 (near the explosion center).
4
+ For each timestep, trace streamlines in the forward direction with maximum length 80.
5
+ 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).
6
+ Also include a magnitude-colored version using the 'Turbo' colormap for the final timestep.
7
+ 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.
8
+ Save the paraview state as "supernova-velocity_pathline/results/{agent_mode}/supernova-velocity_pathline.pvsm".
9
+ Save the visualization image as "supernova-velocity_pathline/results/{agent_mode}/supernova-velocity_pathline.png".
10
+ (Optional, if use python script) Save the python script as "supernova-velocity_pathline/results/{agent_mode}/supernova-velocity_pathline.py".
11
+ Do not save any other files, and always save the visualization image.
main/supernova-velocity_pathline/visualization_goals.txt ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ 1) Time-varying vector field handling, Streamline generation for each timestep
2
+ 2) Spherical shell seed centered at (64,64,64) with radius 20
3
+ 3) 50 seed particles, Forward streamline tracing with max length 80
4
+ 4) Tube rendering with radius 0.25, Color-coded temporal progression (blue to red)
5
+ 5) Turbo colormap for magnitude coloring, Color bar with label 'Velocity Magnitude'
6
+ 6) Dark background (RGB: 0.02, 0.0, 0.04), Isometric camera view, Output resolution 1024x1024
main/trl-velocity_timeline/GS/trl-velocity_timeline_gs.png ADDED

Git LFS Details

  • SHA256: 6e34a99c481606552dada61ba4a1be7b0b3c1be8e9cc74b9c511b7a44a0d594f
  • Pointer size: 131 Bytes
  • Size of remote file: 376 kB
main/trl-velocity_timeline/GS/trl-velocity_timeline_gs.pvsm ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e04f049a37e7cda863e23375f5c7e74885aae9a6c303be57e15aaecaf8098531
3
+ size 850435
main/trl-velocity_timeline/GS/trl-velocity_timeline_gs.py ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ import glob
3
+ from paraview.simple import *
4
+
5
+ SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__))
6
+ VTI_FILES = sorted(glob.glob(os.path.join(SCRIPT_DIR, 'TRL_tcool_0.10_velocity_*.vti')))
7
+ OUTPUT_IMG = os.path.join(SCRIPT_DIR, 'gt_image.png')
8
+ OUTPUT_STATE = os.path.join(SCRIPT_DIR, 'gt_state.pvsm')
9
+
10
+ # Timelines: show streamlines from a line seed at multiple timesteps
11
+ # Each timestep colored differently to show temporal evolution
12
+
13
+ renderView = GetActiveViewOrCreate('RenderView')
14
+ renderView.ViewSize = [1024, 1024]
15
+ renderView.Background = [0.0, 0.0, 0.02]
16
+
17
+ # Create line of seed points along z-axis at x=128, y=64
18
+ lineSource = ProgrammableSource()
19
+ lineSource.OutputDataSetType = 'vtkPolyData'
20
+ lineSource.Script = """
21
+ import vtk
22
+ points = vtk.vtkPoints()
23
+ num_points = 50
24
+ x, y = 128.0, 64.0
25
+ z_start, z_end = 20.0, 108.0
26
+ for i in range(num_points):
27
+ z = z_start + (z_end - z_start) * i / (num_points - 1)
28
+ points.InsertNextPoint(x, y, z)
29
+ output.SetPoints(points)
30
+ """
31
+ lineSource.UpdatePipeline()
32
+
33
+ # Spectral colors (blue -> cyan -> green -> yellow -> red)
34
+ colors = [
35
+ [0.2, 0.2, 0.9], # t=20 blue
36
+ [0.2, 0.7, 0.9], # t=30 cyan
37
+ [0.2, 0.8, 0.2], # t=40 green
38
+ [0.9, 0.8, 0.2], # t=50 yellow
39
+ [0.9, 0.2, 0.2], # t=60 red
40
+ ]
41
+
42
+ for idx, vti_file in enumerate(VTI_FILES):
43
+ reader = XMLImageDataReader(FileName=[vti_file])
44
+ reader.UpdatePipeline()
45
+
46
+ stream = StreamTracerWithCustomSource(Input=reader, SeedSource=lineSource)
47
+ stream.Vectors = ['POINTS', 'vector']
48
+ stream.IntegrationDirection = 'BOTH'
49
+ stream.MaximumStreamlineLength = 150.0
50
+ stream.UpdatePipeline()
51
+
52
+ tube = Tube(Input=stream)
53
+ tube.Radius = 0.5
54
+ tube.UpdatePipeline()
55
+
56
+ tubeDisplay = Show(tube, renderView)
57
+ tubeDisplay.Representation = 'Surface'
58
+ tubeDisplay.DiffuseColor = colors[idx]
59
+ tubeDisplay.Opacity = 0.5 + 0.1 * idx # Later times more visible
60
+
61
+ # Add magnitude-colored version for reference
62
+ lastReader = XMLImageDataReader(FileName=[VTI_FILES[-1]])
63
+ lastReader.UpdatePipeline()
64
+ lastStream = StreamTracerWithCustomSource(Input=lastReader, SeedSource=lineSource)
65
+ lastStream.Vectors = ['POINTS', 'vector']
66
+ lastStream.IntegrationDirection = 'BOTH'
67
+ lastStream.MaximumStreamlineLength = 150.0
68
+ lastStream.UpdatePipeline()
69
+ lastTube = Tube(Input=lastStream)
70
+ lastTube.Radius = 0.5
71
+ lastTube.UpdatePipeline()
72
+
73
+ magDisplay = Show(lastTube, renderView)
74
+ magDisplay.Representation = 'Surface'
75
+ ColorBy(magDisplay, ('POINTS', 'magnitude'))
76
+
77
+ magLUT = GetColorTransferFunction('magnitude')
78
+ magLUT.ApplyPreset('Spectral', True)
79
+
80
+ magDisplay.SetScalarBarVisibility(renderView, True)
81
+ colorBar = GetScalarBar(magLUT, renderView)
82
+ colorBar.Title = 'Velocity Magnitude'
83
+ colorBar.ComponentTitle = ''
84
+
85
+ # Oblique camera for elongated domain (256x128x128)
86
+ import math
87
+ azimuth = 45 * math.pi / 180
88
+ elevation = 20 * math.pi / 180
89
+ distance = 400
90
+ cx, cy, cz = 127.5, 63.5, 63.5
91
+ camX = cx + distance * math.cos(elevation) * math.sin(azimuth)
92
+ camY = cy - distance * math.cos(elevation) * math.cos(azimuth)
93
+ camZ = cz + distance * math.sin(elevation)
94
+
95
+ renderView.CameraPosition = [camX, camY, camZ]
96
+ renderView.CameraFocalPoint = [cx, cy, cz]
97
+ renderView.CameraViewUp = [0.0, 0.0, 1.0]
98
+ renderView.ResetCamera()
99
+ Render()
100
+
101
+ SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024])
102
+ SaveState(OUTPUT_STATE)
103
+ print(f"Task 24 done: {OUTPUT_IMG}")
main/trl-velocity_timeline/data/trl-velocity_timeline_0020.vti ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:14eee1c35a60a8caef38b7edb325c6449b83333e7ed5825c28e86f86a070956c
3
+ size 156588274