KuangshiAi commited on
Commit ·
367c2bc
1
Parent(s): 7153f97
add 16 vector field cases from Kaiyuan Tang
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- .DS_Store +0 -0
- .gitattributes +1 -0
- eval_cases/paraview/main_cases.yaml +450 -1
- main/mhd-magfield_glyph/GS/mhd-magfield_glyph_gs.png +3 -0
- main/mhd-magfield_glyph/GS/mhd-magfield_glyph_gs.pvsm +3 -0
- main/mhd-magfield_glyph/GS/mhd-magfield_glyph_gs.py +51 -0
- main/mhd-magfield_glyph/data/mhd-magfield_glyph.vti +3 -0
- main/mhd-magfield_glyph/task_description.txt +10 -0
- main/mhd-magfield_glyph/visualization_goals.txt +5 -0
- main/mhd-magfield_isosurface/GS/mhd-magfield_isosurface_gs.png +3 -0
- main/mhd-magfield_isosurface/GS/mhd-magfield_isosurface_gs.pvsm +3 -0
- main/mhd-magfield_isosurface/GS/mhd-magfield_isosurface_gs.py +41 -0
- main/mhd-magfield_isosurface/data/mhd-magfield_isosurface.vti +3 -0
- main/mhd-magfield_isosurface/task_description.txt +8 -0
- main/mhd-magfield_isosurface/visualization_goals.txt +5 -0
- main/mhd-magfield_volvis/GS/mhd-magfield_volvis_gs.png +3 -0
- main/mhd-magfield_volvis/GS/mhd-magfield_volvis_gs.pvsm +3 -0
- main/mhd-magfield_volvis/GS/mhd-magfield_volvis_gs.py +42 -0
- main/mhd-magfield_volvis/data/mhd-magfield_volvis.vti +3 -0
- main/mhd-magfield_volvis/task_description.txt +9 -0
- main/mhd-magfield_volvis/visualization_goals.txt +5 -0
- main/mhd-turbulence_glyph/GS/mhd-turbulence_glyph_gs.png +3 -0
- main/mhd-turbulence_glyph/GS/mhd-turbulence_glyph_gs.pvsm +3 -0
- main/mhd-turbulence_glyph/GS/mhd-turbulence_glyph_gs.py +51 -0
- main/mhd-turbulence_glyph/data/mhd-turbulence_glyph.vti +3 -0
- main/mhd-turbulence_glyph/task_description.txt +11 -0
- main/mhd-turbulence_glyph/visualization_goals.txt +5 -0
- main/mhd-turbulence_streamline/GS/mhd-turbulence_streamline_gs.png +3 -0
- main/mhd-turbulence_streamline/GS/mhd-turbulence_streamline_gs.pvsm +3 -0
- main/mhd-turbulence_streamline/GS/mhd-turbulence_streamline_gs.py +48 -0
- main/mhd-turbulence_streamline/data/mhd-turbulence_streamline.vti +3 -0
- main/mhd-turbulence_streamline/task_description.txt +8 -0
- main/mhd-turbulence_streamline/visualization_goals.txt +5 -0
- main/mhd-turbulence_vorticity/GS/mhd-turbulence_vorticity_gs.png +3 -0
- main/mhd-turbulence_vorticity/GS/mhd-turbulence_vorticity_gs.pvsm +3 -0
- main/mhd-turbulence_vorticity/GS/mhd-turbulence_vorticity_gs.py +55 -0
- main/mhd-turbulence_vorticity/data/mhd-turbulence_vorticity.vti +3 -0
- main/mhd-turbulence_vorticity/task_description.txt +10 -0
- main/mhd-turbulence_vorticity/visualization_goals.txt +6 -0
- main/rti-velocity_divergence/GS/rti-velocity_divergence_gs.png +3 -0
- main/rti-velocity_divergence/GS/rti-velocity_divergence_gs.pvsm +3 -0
- main/rti-velocity_divergence/GS/rti-velocity_divergence_gs.py +49 -0
- main/rti-velocity_divergence/data/rti-velocity_divergence.vti +3 -0
- main/rti-velocity_divergence/task_description.txt +9 -0
- main/rti-velocity_divergence/visualization_goals.txt +4 -0
- main/rti-velocity_glyph/GS/rti-velocity_glyph_gs.png +3 -0
- main/rti-velocity_glyph/GS/rti-velocity_glyph_gs.pvsm +3 -0
- main/rti-velocity_glyph/GS/rti-velocity_glyph_gs.py +51 -0
- main/rti-velocity_glyph/data/rti-velocity_glyph.vti +3 -0
- main/rti-velocity_glyph/task_description.txt +11 -0
.DS_Store
CHANGED
|
Binary files a/.DS_Store and b/.DS_Store differ
|
|
|
.gitattributes
CHANGED
|
@@ -9,5 +9,6 @@
|
|
| 9 |
*.glb filter=lfs diff=lfs merge=lfs -text
|
| 10 |
*.vtr filter=lfs diff=lfs merge=lfs -text
|
| 11 |
*.vtu filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 12 |
*.cif filter=lfs diff=lfs merge=lfs -text
|
| 13 |
*.nc filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 9 |
*.glb filter=lfs diff=lfs merge=lfs -text
|
| 10 |
*.vtr filter=lfs diff=lfs merge=lfs -text
|
| 11 |
*.vtu filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
*.vti filter=lfs diff=lfs merge=lfs -text
|
| 13 |
*.cif filter=lfs diff=lfs merge=lfs -text
|
| 14 |
*.nc filter=lfs diff=lfs merge=lfs -text
|
eval_cases/paraview/main_cases.yaml
CHANGED
|
@@ -419,6 +419,7 @@
|
|
| 419 |
8) Save the visualization image as a png file "chameleon_isosurface/results/{agent_mode}/chameleon_isosurface.png"
|
| 420 |
9) (Option 1) Save the paraview state as "chameleon_isosurface/results/{agent_mode}/chameleon_isosurface.pvsm" if you are using ParaView as the visualization tool
|
| 421 |
10) (Option 2) Save the cxx code script as "chameleon_isosurface/results/{agent_mode}/chameleon_isosurface.cxx" if you are using VTK as the visualization tool
|
|
|
|
| 422 |
assert:
|
| 423 |
- type: llm-rubric
|
| 424 |
subtype: vision
|
|
@@ -447,6 +448,7 @@
|
|
| 447 |
6) Save the visualization image as a png file "argon-bubble/results/{agent_mode}/argon-bubble.png"
|
| 448 |
7) (Option 1) Save the paraview state as "argon-bubble/results/{agent_mode}/argon-bubble.pvsm" if you are using ParaView as the visualization tool
|
| 449 |
8) (Option 2) Save the cxx code script as "argon-bubble/results/{agent_mode}/argon-bubble.cxx" if you are using VTK as the visualization tool
|
|
|
|
| 450 |
assert:
|
| 451 |
- type: llm-rubric
|
| 452 |
subtype: vision
|
|
@@ -475,6 +477,7 @@
|
|
| 475 |
8) Save the visualization image as a png file "richtmyer/results/{agent_mode}/richtmyer.png"
|
| 476 |
9) (Option 1) Save the paraview state as "richtmyer/results/{agent_mode}/richtmyer.pvsm" if you are using ParaView as the visualization tool
|
| 477 |
10) (Option 2) Save the cxx code script as "richtmyer/results/{agent_mode}/richtmyer.cxx" if you are using VTK as the visualization tool
|
|
|
|
| 478 |
assert:
|
| 479 |
- type: llm-rubric
|
| 480 |
subtype: vision
|
|
@@ -503,6 +506,7 @@
|
|
| 503 |
8) Save the visualization image as a png file "miranda/results/{agent_mode}/miranda.png"
|
| 504 |
9) (Option 1) Save the paraview state as "miranda/results/{agent_mode}/miranda.pvsm" if you are using ParaView as the visualization tool
|
| 505 |
10) (Option 2) Save the cxx code script as "miranda/results/{agent_mode}/miranda.cxx" if you are using VTK as the visualization tool
|
|
|
|
| 506 |
assert:
|
| 507 |
- type: llm-rubric
|
| 508 |
subtype: vision
|
|
@@ -531,6 +535,7 @@
|
|
| 531 |
8) Save the visualization image as a png file "rotstrat/results/{agent_mode}/rotstrat.png"
|
| 532 |
9) (Option 1) Save the paraview state as "rotstrat/results/{agent_mode}/rotstrat.pvsm" if you are using ParaView as the visualization tool
|
| 533 |
10) (Option 2) Save the cxx code script as "rotstrat/results/{agent_mode}/rotstrat.cxx" if you are using VTK as the visualization tool
|
|
|
|
| 534 |
assert:
|
| 535 |
- type: llm-rubric
|
| 536 |
subtype: vision
|
|
@@ -539,4 +544,448 @@
|
|
| 539 |
|
| 540 |
2. Does the blueish region show areas with low opacity?
|
| 541 |
|
| 542 |
-
3. Does the reddish region show areas with high opacity?
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 419 |
8) Save the visualization image as a png file "chameleon_isosurface/results/{agent_mode}/chameleon_isosurface.png"
|
| 420 |
9) (Option 1) Save the paraview state as "chameleon_isosurface/results/{agent_mode}/chameleon_isosurface.pvsm" if you are using ParaView as the visualization tool
|
| 421 |
10) (Option 2) Save the cxx code script as "chameleon_isosurface/results/{agent_mode}/chameleon_isosurface.cxx" if you are using VTK as the visualization tool
|
| 422 |
+
You should only choose one of Option 1 or Option 2 to save your work. Do not save any other files, and always save the visualization image.
|
| 423 |
assert:
|
| 424 |
- type: llm-rubric
|
| 425 |
subtype: vision
|
|
|
|
| 448 |
6) Save the visualization image as a png file "argon-bubble/results/{agent_mode}/argon-bubble.png"
|
| 449 |
7) (Option 1) Save the paraview state as "argon-bubble/results/{agent_mode}/argon-bubble.pvsm" if you are using ParaView as the visualization tool
|
| 450 |
8) (Option 2) Save the cxx code script as "argon-bubble/results/{agent_mode}/argon-bubble.cxx" if you are using VTK as the visualization tool
|
| 451 |
+
You should only choose one of Option 1 or Option 2 to save your work. Do not save any other files, and always save the visualization image.
|
| 452 |
assert:
|
| 453 |
- type: llm-rubric
|
| 454 |
subtype: vision
|
|
|
|
| 477 |
8) Save the visualization image as a png file "richtmyer/results/{agent_mode}/richtmyer.png"
|
| 478 |
9) (Option 1) Save the paraview state as "richtmyer/results/{agent_mode}/richtmyer.pvsm" if you are using ParaView as the visualization tool
|
| 479 |
10) (Option 2) Save the cxx code script as "richtmyer/results/{agent_mode}/richtmyer.cxx" if you are using VTK as the visualization tool
|
| 480 |
+
You should only choose one of Option 1 or Option 2 to save your work. Do not save any other files, and always save the visualization image.
|
| 481 |
assert:
|
| 482 |
- type: llm-rubric
|
| 483 |
subtype: vision
|
|
|
|
| 506 |
8) Save the visualization image as a png file "miranda/results/{agent_mode}/miranda.png"
|
| 507 |
9) (Option 1) Save the paraview state as "miranda/results/{agent_mode}/miranda.pvsm" if you are using ParaView as the visualization tool
|
| 508 |
10) (Option 2) Save the cxx code script as "miranda/results/{agent_mode}/miranda.cxx" if you are using VTK as the visualization tool
|
| 509 |
+
You should only choose one of Option 1 or Option 2 to save your work. Do not save any other files, and always save the visualization image.
|
| 510 |
assert:
|
| 511 |
- type: llm-rubric
|
| 512 |
subtype: vision
|
|
|
|
| 535 |
8) Save the visualization image as a png file "rotstrat/results/{agent_mode}/rotstrat.png"
|
| 536 |
9) (Option 1) Save the paraview state as "rotstrat/results/{agent_mode}/rotstrat.pvsm" if you are using ParaView as the visualization tool
|
| 537 |
10) (Option 2) Save the cxx code script as "rotstrat/results/{agent_mode}/rotstrat.cxx" if you are using VTK as the visualization tool
|
| 538 |
+
You should only choose one of Option 1 or Option 2 to save your work. Do not save any other files, and always save the visualization image.
|
| 539 |
assert:
|
| 540 |
- type: llm-rubric
|
| 541 |
subtype: vision
|
|
|
|
| 544 |
|
| 545 |
2. Does the blueish region show areas with low opacity?
|
| 546 |
|
| 547 |
+
3. Does the reddish region show areas with high opacity?
|
| 548 |
+
|
| 549 |
+
|
| 550 |
+
# Vector Field Cases
|
| 551 |
+
# 17. MHD Turbulence Velocity Field (t=10) (mhd-turbulence_glyph)
|
| 552 |
+
# Isothermal magnetohydrodynamic (MHD) simulations capturing compressible turbulence phenomena relevant to astrophysical systems.
|
| 553 |
+
# MHD turbulence is an essential component of the solar wind, galaxy formation, and interstellar medium (ISM) dynamics.
|
| 554 |
+
# 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.
|
| 555 |
+
# Three field types are captured: density (scalar), velocity (vector), and magnetic field (vector). Data source: The Well (Polymathic AI).
|
| 556 |
+
- vars:
|
| 557 |
+
question: |
|
| 558 |
+
Load the MHD turbulence velocity field dataset from "mhd-turbulence_glyph/data/mhd-turbulence_glyph.vti" (VTI format, 128x128x128 grid).
|
| 559 |
+
Create a slice at z=64 through the volume. On this slice, place arrow glyphs oriented by the velocity vector field and scaled by velocity magnitude.
|
| 560 |
+
Color the arrows using the 'Cool to Warm' colormap mapped to velocity magnitude.
|
| 561 |
+
Use a sampling stride of 4 to avoid overcrowding. Set the glyph scale factor to 5.0.
|
| 562 |
+
Add a color bar labeled 'Velocity Magnitude'.
|
| 563 |
+
Use a dark background (RGB: 0.1, 0.1, 0.15).
|
| 564 |
+
Set the camera to a top-down view looking along the negative z-axis. Render at 1024x1024 resolution.
|
| 565 |
+
Save the paraview state as "mhd-turbulence_glyph/results/{agent_mode}/mhd-turbulence_glyph.pvsm".
|
| 566 |
+
Save the visualization image as "mhd-turbulence_glyph/results/{agent_mode}/mhd-turbulence_glyph.png".
|
| 567 |
+
(Optional, if use python script) Save the python script as "mhd-turbulence_glyph/results/{agent_mode}/mhd-turbulence_glyph.py".
|
| 568 |
+
Do not save any other files, and always save the visualization image.
|
| 569 |
+
assert:
|
| 570 |
+
- type: llm-rubric
|
| 571 |
+
subtype: vision
|
| 572 |
+
value: |
|
| 573 |
+
1) Arrow glyphs oriented by velocity vector
|
| 574 |
+
2) Glyphs scaled by velocity magnitude
|
| 575 |
+
3) Color mapping using Cool to Warm colormap on magnitude
|
| 576 |
+
4) Color bar present with label 'Velocity Magnitude'
|
| 577 |
+
5) Dark background color, Top-down camera view, and Output resolution 1024x1024
|
| 578 |
+
|
| 579 |
+
|
| 580 |
+
# 18. Rayleigh-Taylor Instability Velocity Field (t=50) (rti-velocity_glyph)
|
| 581 |
+
# Rayleigh-Taylor instability simulations examining how varying spectral characteristics and random phase components influence the development of turbulent mixing.
|
| 582 |
+
# 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.
|
| 583 |
+
# 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.
|
| 584 |
+
# Data source: The Well (Polymathic AI)
|
| 585 |
+
- vars:
|
| 586 |
+
question: |
|
| 587 |
+
Load the Rayleigh-Taylor instability velocity field dataset from "rti-velocity_glyph/data/rti-velocity_glyph.vti" (VTI format, 128x128x128 grid).
|
| 588 |
+
Create a slice at y=64 through the volume.
|
| 589 |
+
Place arrow glyphs on the slice, oriented by the velocity vector. Use uniform arrow size (no magnitude scaling, scale factor 3.0).
|
| 590 |
+
Color the arrows by velocity magnitude using the 'Viridis (matplotlib)' colormap. Use a sampling stride of 3.
|
| 591 |
+
Add a color bar labeled 'Velocity Magnitude'.
|
| 592 |
+
Use a black background.
|
| 593 |
+
Set the camera to view along the negative y-axis. Render at 1024x1024.
|
| 594 |
+
Save the paraview state as "rti-velocity_glyph/results/{agent_mode}/rti-velocity_glyph.pvsm".
|
| 595 |
+
Save the visualization image as "rti-velocity_glyph/results/{agent_mode}/rti-velocity_glyph.png".
|
| 596 |
+
(Optional, if use python script) Save the python script as "rti-velocity_glyph/results/{agent_mode}/rti-velocity_glyph.py".
|
| 597 |
+
Do not save any other files, and always save the visualization image.
|
| 598 |
+
assert:
|
| 599 |
+
- type: llm-rubric
|
| 600 |
+
subtype: vision
|
| 601 |
+
value: |
|
| 602 |
+
1) Arrow glyphs oriented by velocity vector
|
| 603 |
+
2) Uniform arrow size (no magnitude scaling)
|
| 604 |
+
3) Color by velocity magnitude with Viridis colormap
|
| 605 |
+
4) Color bar present labeled 'Velocity Magnitude'
|
| 606 |
+
5) Black background, Camera along negative y-axis, and Output resolution 1024x1024
|
| 607 |
+
|
| 608 |
+
|
| 609 |
+
# 19. MHD Magnetic Field (t=10) (mhd-magfield_glyph)
|
| 610 |
+
# Isothermal magnetohydrodynamic (MHD) simulations capturing compressible turbulence phenomena relevant to astrophysical systems.
|
| 611 |
+
# MHD turbulence is an essential component of the solar wind, galaxy formation, and interstellar medium (ISM) dynamics.
|
| 612 |
+
# 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.
|
| 613 |
+
# Three field types are captured: density (scalar), velocity (vector), and magnetic field (vector).
|
| 614 |
+
# Data source: The Well (Polymathic AI)
|
| 615 |
+
- vars:
|
| 616 |
+
question: |
|
| 617 |
+
Load the MHD magnetic field dataset from "mhd-magfield_glyph/data/mhd-magfield_glyph.vti" (VTI format, 128x128x128 grid with components bx, by, bz).
|
| 618 |
+
Create a slice at x=64 through the volume.
|
| 619 |
+
Place arrow glyphs oriented by the magnetic field vector and scaled by field magnitude (scale factor 5.0).
|
| 620 |
+
Color the arrows using the 'Plasma (matplotlib)' colormap mapped to magnitude. Use stride of 4.
|
| 621 |
+
Add a color bar labeled 'Magnetic Field Magnitude'.
|
| 622 |
+
Use a dark navy background (RGB: 0.0, 0.0, 0.15). Set camera to view along the negative x-axis. Render at 1024x1024.
|
| 623 |
+
Save the paraview state as "mhd-magfield_glyph/results/{agent_mode}/mhd-magfield_glyph.pvsm".
|
| 624 |
+
Save the visualization image as "mhd-magfield_glyph/results/{agent_mode}/mhd-magfield_glyph.png".
|
| 625 |
+
(Optional, if use python script) Save the python script as "mhd-magfield_glyph/results/{agent_mode}/mhd-magfield_glyph.py".
|
| 626 |
+
Do not save any other files, and always save the visualization image.
|
| 627 |
+
assert:
|
| 628 |
+
- type: llm-rubric
|
| 629 |
+
subtype: vision
|
| 630 |
+
value: |
|
| 631 |
+
1) Arrow glyphs oriented by magnetic field vector
|
| 632 |
+
2) Glyphs scaled by field magnitude
|
| 633 |
+
3) Plasma colormap applied to magnitude
|
| 634 |
+
4) Color bar present labeled 'Magnetic Field Magnitude
|
| 635 |
+
5) Dark navy background, Camera along negative x-axis, Output resolution 1024x1024
|
| 636 |
+
|
| 637 |
+
|
| 638 |
+
# 20. MHD Turbulence Velocity Field (t=30) (mhd-turbulence_streamline)
|
| 639 |
+
# Isothermal magnetohydrodynamic (MHD) simulations capturing compressible turbulence phenomena relevant to astrophysical systems.
|
| 640 |
+
# MHD turbulence is an essential component of the solar wind, galaxy formation, and interstellar medium (ISM) dynamics.
|
| 641 |
+
# 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.
|
| 642 |
+
# Three field types are captured: density (scalar), velocity (vector), and magnetic field (vector).
|
| 643 |
+
# Data source: The Well (Polymathic AI)
|
| 644 |
+
- vars:
|
| 645 |
+
question: |
|
| 646 |
+
Load the MHD turbulence velocity field dataset "mhd-turbulence_streamline/data/mhd-turbulence_streamline.vti" (VTI format, 128x128x128 grid).
|
| 647 |
+
Generate 3D streamlines seeded from a line source along the z-axis at x=64, y=64 (from z=0 to z=127), with 50 seed points.
|
| 648 |
+
Color the streamlines by velocity magnitude using the 'Turbo' colormap. Set streamline tube radius to 0.3 using the Tube filter.
|
| 649 |
+
Add a color bar labeled 'Velocity Magnitude'. Use a dark background (RGB: 0.05, 0.05, 0.1). Set an isometric camera view. Render at 1024x1024.
|
| 650 |
+
Save the paraview state as "mhd-turbulence_streamline/results/{agent_mode}/mhd-turbulence_streamline.pvsm".
|
| 651 |
+
Save the visualization image as "mhd-turbulence_streamline/results/{agent_mode}/mhd-turbulence_streamline.png".
|
| 652 |
+
(Optional, if use python script) Save the python script as "mhd-turbulence_streamline/results/{agent_mode}/mhd-turbulence_streamline.py".
|
| 653 |
+
Do not save any other files, and always save the visualization image.
|
| 654 |
+
assert:
|
| 655 |
+
- type: llm-rubric
|
| 656 |
+
subtype: vision
|
| 657 |
+
value: |
|
| 658 |
+
1) Streamlines generated from line seed along z-axis, with similar pattern compared to groundtruth
|
| 659 |
+
2) Streamlines rendered as tubes
|
| 660 |
+
3) Color by velocity magnitude with Turbo colormap
|
| 661 |
+
4) Color bar labeled 'Velocity Magnitude'
|
| 662 |
+
5) Dark background, Isometric camera view, Output resolution 1024x1024
|
| 663 |
+
|
| 664 |
+
|
| 665 |
+
# 21. Rayleigh-Taylor Instability Velocity Field (t=70) (rti-velocity_streamline)
|
| 666 |
+
# Rayleigh-Taylor instability simulations examining how varying spectral characteristics and random phase components influence the development of turbulent mixing.
|
| 667 |
+
# 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.
|
| 668 |
+
# 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.
|
| 669 |
+
# Data source: The Well (Polymathic AI)
|
| 670 |
+
- vars:
|
| 671 |
+
question: |
|
| 672 |
+
Load the Rayleigh-Taylor instability velocity field dataset from "rti-velocity_streamline/data/rti-velocity_streamline.vti" (VTI format, 128x128x128 grid).
|
| 673 |
+
Generate streamlines seeded from a plane at y=64 (using a Point Cloud seed with 200 points distributed on the xz-plane at y=64).
|
| 674 |
+
Color the streamlines by the vz component using a 'Cool to Warm (Extended)' diverging colormap. Render streamlines as tubes with radius 0.4.
|
| 675 |
+
Add a color bar labeled 'Vz Component'.
|
| 676 |
+
Dark background (RGB: 0.02, 0.02, 0.05). Use an isometric camera view. Render at 1024x1024.
|
| 677 |
+
Save the paraview state as "rti-velocity_streamline/results/{agent_mode}/rti-velocity_streamline.pvsm".
|
| 678 |
+
Save the visualization image as "rti-velocity_streamline/results/{agent_mode}/rti-velocity_streamline.png".
|
| 679 |
+
(Optional, if use python script) Save the python script as "rti-velocity_streamline/results/{agent_mode}/rti-velocity_streamline.py".
|
| 680 |
+
Do not save any other files, and always save the visualization image.
|
| 681 |
+
assert:
|
| 682 |
+
- type: llm-rubric
|
| 683 |
+
subtype: vision
|
| 684 |
+
value: |
|
| 685 |
+
1) Streamlines seeded from y=64 plane region, with similar pattern compared to groundtruth
|
| 686 |
+
2) Streamlines rendered as tubes
|
| 687 |
+
3) Color by vz with Cool to Warm diverging colormap
|
| 688 |
+
4) Color bar labeled 'Vz Component'
|
| 689 |
+
5) Dark background, Isometric camera view, Output resolution 1024x1024
|
| 690 |
+
|
| 691 |
+
|
| 692 |
+
# 22. Turbulent Radiative Layer Velocity Field (tcool=0.10, t=50) (trl-velocity_streamline)
|
| 693 |
+
# Turbulent Radiative Layer simulations of astrophysical mixing processes where cold, dense gas interfaces with hot, dilute gas moving at subsonic velocities.
|
| 694 |
+
# The cold dense gas on the bottom and hot dilute gas on the top becomes unstable to the Kelvin-Helmholtz instability.
|
| 695 |
+
# 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.
|
| 696 |
+
# Generated using Athena++. Data source: The Well (Polymathic AI)
|
| 697 |
+
- vars:
|
| 698 |
+
question: |
|
| 699 |
+
Load the turbulent radiative layer velocity field dataset from "trl-velocity_streamline/data/trl-velocity_streamline.vti" (VTI format, 256x128x128 grid).
|
| 700 |
+
Generate streamlines seeded from a line along the x-axis at y=64, z=64 (from x=0 to x=255), with 100 seed points.
|
| 701 |
+
Color streamlines by velocity magnitude using the 'Inferno (matplotlib)' colormap. Render as tubes with radius 0.5.
|
| 702 |
+
Add a color bar labeled 'Velocity Magnitude'.
|
| 703 |
+
Dark background (RGB: 0.0, 0.0, 0.0). Set an isometric camera view. Render at 1024x1024."
|
| 704 |
+
Save the paraview state as "trl-velocity_streamline/results/{agent_mode}/trl-velocity_streamline.pvsm".
|
| 705 |
+
Save the visualization image as "trl-velocity_streamline/results/{agent_mode}/trl-velocity_streamline.png".
|
| 706 |
+
(Optional, if use python script) Save the python script as "trl-velocity_streamline/results/{agent_mode}/trl-velocity_streamline.py".
|
| 707 |
+
Do not save any other files, and always save the visualization image.
|
| 708 |
+
assert:
|
| 709 |
+
- type: llm-rubric
|
| 710 |
+
subtype: vision
|
| 711 |
+
value: |
|
| 712 |
+
1) Streamlines seeded along x-axis line, with similar pattern compared to groundtruth
|
| 713 |
+
2) Streamlines rendered as tubes
|
| 714 |
+
3) Color by magnitude with Inferno colormap
|
| 715 |
+
4) Color bar labeled 'Velocity Magnitude'
|
| 716 |
+
5) Black background, Isometric camera view, Output resolution 1024x1024
|
| 717 |
+
|
| 718 |
+
|
| 719 |
+
# 23. MHD Magnetic Field (t=40) (mhd-magfield_volvis)
|
| 720 |
+
# Isothermal magnetohydrodynamic (MHD) simulations capturing compressible turbulence phenomena relevant to astrophysical systems.
|
| 721 |
+
# MHD turbulence is an essential component of the solar wind, galaxy formation, and interstellar medium (ISM) dynamics.
|
| 722 |
+
# 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.
|
| 723 |
+
# Three field types are captured: density (scalar), velocity (vector), and magnetic field (vector).
|
| 724 |
+
# Data source: The Well (Polymathic AI)
|
| 725 |
+
- vars:
|
| 726 |
+
question: |
|
| 727 |
+
Load the MHD magnetic field dataset from "mhd-magfield_volvis/data/mhd-magfield_volvis.vti" (VTI format, 128x128x128 grid).
|
| 728 |
+
Compute the magnetic field magnitude from components (bx, by, bz). Perform volume rendering of the magnitude field.
|
| 729 |
+
Use the 'Cool to Warm' colormap with an opacity transfer function that makes low-magnitude regions transparent and high-magnitude regions opaque.
|
| 730 |
+
Add a color bar labeled 'B Magnitude'.
|
| 731 |
+
Use a dark background (RGB: 0.0, 0.0, 0.05). Set an isometric camera view. Render at 1024x1024.
|
| 732 |
+
Save the paraview state as "mhd-magfield_volvis/results/{agent_mode}/mhd-magfield_volvis.pvsm".
|
| 733 |
+
Save the visualization image as "mhd-magfield_volvis/results/{agent_mode}/mhd-magfield_volvis.png".
|
| 734 |
+
(Optional, if use python script) Save the python script as "mhd-magfield_volvis/results/{agent_mode}/mhd-magfield_volvis.py".
|
| 735 |
+
Do not save any other files, and always save the visualization image.
|
| 736 |
+
assert:
|
| 737 |
+
- type: llm-rubric
|
| 738 |
+
subtype: vision
|
| 739 |
+
value: |
|
| 740 |
+
1) Volume rendering representation applied based on magnitude field, generally similar to groundtruth
|
| 741 |
+
2) Cool to Warm colormap
|
| 742 |
+
3) Opacity transfer function correctly set: low=transparent, high=opaque
|
| 743 |
+
4) Color bar labeled 'B Magnitude'
|
| 744 |
+
5) Dark background, Isometric camera, Output resolution 1024x1024
|
| 745 |
+
|
| 746 |
+
|
| 747 |
+
# 24. Turbulence Gravity Cooling Velocity (temp=1000K, dens=4.45, metal=0.1Z, t=20) (tgc-velocity_volvis)
|
| 748 |
+
# Turbulence-gravity-cooling simulations modeling turbulent fluid with gravity representing the interstellar medium in galaxies.
|
| 749 |
+
# These simulations capture the formation of dense filaments that seed star formation, with filament frequency and timescales varying based on cooling strength.
|
| 750 |
+
# The dataset encompasses three density regimes with systematically varied initial temperatures and metallicity levels representing different cosmic epochs,
|
| 751 |
+
# governed by coupled equations for pressure, density, momentum, and internal energy incorporating gravitational forces, viscosity, and radiative heating/cooling.
|
| 752 |
+
# Data source: The Well (Polymathic AI).
|
| 753 |
+
- vars:
|
| 754 |
+
question: |
|
| 755 |
+
Load the turbulence-gravity-cooling velocity field dataset from "tgc-velocity_volvis/data/tgc-velocity_volvis.vti" (VTI format, 64x64x64 grid).
|
| 756 |
+
Perform volume rendering of velocity magnitude. Use the 'Viridis (matplotlib)' colormap.
|
| 757 |
+
Set opacity transfer function to gradually increase from 0 at minimum to 0.8 at maximum.
|
| 758 |
+
Add a color bar labeled 'Velocity Magnitude'.
|
| 759 |
+
Dark gray background (RGB: 0.1, 0.1, 0.1). Isometric camera view. Render at 1024x1024.
|
| 760 |
+
Save the paraview state as "tgc-velocity_volvis/results/{agent_mode}/tgc-velocity_volvis.pvsm".
|
| 761 |
+
Save the visualization image as "tgc-velocity_volvis/results/{agent_mode}/tgc-velocity_volvis.png".
|
| 762 |
+
(Optional, if use python script) Save the python script as "tgc-velocity_volvis/results/{agent_mode}/tgc-velocity_volvis.py".
|
| 763 |
+
Do not save any other files, and always save the visualization image.
|
| 764 |
+
assert:
|
| 765 |
+
- type: llm-rubric
|
| 766 |
+
subtype: vision
|
| 767 |
+
value: |
|
| 768 |
+
1) Volume rendering applied, generally similar to groundtruth
|
| 769 |
+
2) Viridis colormap
|
| 770 |
+
3) Gradual opacity transfer function
|
| 771 |
+
4) Color bar labeled 'Velocity Magnitude'
|
| 772 |
+
5) Dark gray background, Isometric camera, Output resolution 1024x1024
|
| 773 |
+
|
| 774 |
+
|
| 775 |
+
# 25. Rayleigh-Taylor Instability Velocity Field (t=40) (rti-velocity_divergence)
|
| 776 |
+
# Rayleigh-Taylor instability simulations examining how varying spectral characteristics and random phase components influence the development of turbulent mixing.
|
| 777 |
+
# 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.
|
| 778 |
+
# 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.
|
| 779 |
+
# Data source: The Well (Polymathic AI)
|
| 780 |
+
- vars:
|
| 781 |
+
question: |
|
| 782 |
+
Load the Rayleigh-Taylor instability velocity field from "rti-velocity_divergence/data/rti-velocity_divergence.vti" (VTI format, 128x128x128).
|
| 783 |
+
Compute the divergence of the velocity field using the Gradient filter with 'Compute Divergence' enabled.
|
| 784 |
+
Extract a slice at z=64 and color it by divergence using the 'Cool to Warm' diverging colormap (centered at 0).
|
| 785 |
+
Add a color bar labeled 'Velocity Divergence'.
|
| 786 |
+
White background. Top-down camera view along negative z-axis. Render at 1024x1024.
|
| 787 |
+
Save the paraview state as "rti-velocity_divergence/results/{agent_mode}/rti-velocity_divergence.pvsm".
|
| 788 |
+
Save the visualization image as "rti-velocity_divergence/results/{agent_mode}/rti-velocity_divergence.png".
|
| 789 |
+
(Optional, if use python script) Save the python script as "rti-velocity_divergence/results/{agent_mode}/rti-velocity_divergence.py".
|
| 790 |
+
Do not save any other files, and always save the visualization image
|
| 791 |
+
assert:
|
| 792 |
+
- type: llm-rubric
|
| 793 |
+
subtype: vision
|
| 794 |
+
value: |
|
| 795 |
+
1) Divergence computation from velocity field, with similar pattern compared to groundtruth
|
| 796 |
+
2) Cool to Warm diverging colormap centered at 0
|
| 797 |
+
3) Color bar labeled 'Velocity Divergence'
|
| 798 |
+
4) White background, Top-down camera along negative z, Output resolution 1024x1024
|
| 799 |
+
|
| 800 |
+
|
| 801 |
+
# 26. Turbulent Radiative Layer Velocity Field (tcool=1.00, t=30) (trl-velocity_isosurface)
|
| 802 |
+
# Turbulent Radiative Layer simulations of astrophysical mixing processes where cold, dense gas interfaces with hot, dilute gas moving at subsonic velocities.
|
| 803 |
+
# The cold dense gas on the bottom and hot dilute gas on the top becomes unstable to the Kelvin-Helmholtz instability.
|
| 804 |
+
# 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.
|
| 805 |
+
# Generated using Athena++. Data source: The Well (Polymathic AI)
|
| 806 |
+
- vars:
|
| 807 |
+
question: |
|
| 808 |
+
Load the turbulent radiative layer velocity field dataset from "trl-velocity_isosurface/data/trl-velocity_isosurface.vti" (VTI format, 256x128x128).
|
| 809 |
+
Extract an isosurface of velocity magnitude at the value 0.8. Color the isosurface by the vx component using the 'Cool to Warm' colormap.
|
| 810 |
+
Add a color bar labeled 'Vx Component'.
|
| 811 |
+
Dark background (RGB: 0.05, 0.05, 0.1). Isometric camera view. Render at 1024x1024.
|
| 812 |
+
Save the paraview state as "trl-velocity_isosurface/results/{agent_mode}/trl-velocity_isosurface.pvsm".
|
| 813 |
+
Save the visualization image as "trl-velocity_isosurface/results/{agent_mode}/trl-velocity_isosurface.png".
|
| 814 |
+
(Optional, if use python script) Save the python script as "trl-velocity_isosurface/results/{agent_mode}/trl-velocity_isosurface.py".
|
| 815 |
+
Do not save any other files, and always save the visualization image.
|
| 816 |
+
assert:
|
| 817 |
+
- type: llm-rubric
|
| 818 |
+
subtype: vision
|
| 819 |
+
value: |
|
| 820 |
+
1) Isosurface extraction at magnitude=0.8, with similar pattern compared to groundtruth
|
| 821 |
+
2) Isosurface colored by vx component
|
| 822 |
+
3) Cool to Warm colormap
|
| 823 |
+
4) Color bar labeled 'Vx Component'
|
| 824 |
+
5) Dark background, Isometric camera, Output resolution 1024x1024
|
| 825 |
+
|
| 826 |
+
|
| 827 |
+
# 27. Supernova Explosion Velocity Field (t=30) (supernova-velocity_streamline)
|
| 828 |
+
# Supernova explosion simulations capturing the physical dynamics of a stellar explosion propagating through a dense interstellar medium.
|
| 829 |
+
# 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.
|
| 830 |
+
# The simulations employ sophisticated physics including radiative cooling and heating.
|
| 831 |
+
# Data source: The Well (Polymathic AI).
|
| 832 |
+
- vars:
|
| 833 |
+
question: |
|
| 834 |
+
Load the supernova explosion velocity field dataset from "supernova-velocity_streamline/data/supernova-velocity_streamline.vti" (VTI format, 128x128x128 grid).
|
| 835 |
+
Generate streamlines seeded from a line source along the diagonal from (20,20,20) to (108,108,108) with 80 seed points.
|
| 836 |
+
Color streamlines by velocity magnitude using the 'Magma (matplotlib)' colormap.
|
| 837 |
+
Render as tubes with radius 0.4.
|
| 838 |
+
Add a color bar labeled 'Velocity Magnitude'.
|
| 839 |
+
Dark background (RGB: 0.02, 0.0, 0.05). Isometric camera view. Render at 1024x1024.
|
| 840 |
+
Save the paraview state as "supernova-velocity_streamline/results/{agent_mode}/supernova-velocity_streamline.pvsm".
|
| 841 |
+
Save the visualization image as "supernova-velocity_streamline/results/{agent_mode}/supernova-velocity_streamline.png".
|
| 842 |
+
(Optional, if use python script) Save the python script as "supernova-velocity_streamline/results/{agent_mode}/supernova-velocity_streamline.py".
|
| 843 |
+
Do not save any other files, and always save the visualization image.
|
| 844 |
+
assert:
|
| 845 |
+
- type: llm-rubric
|
| 846 |
+
subtype: vision
|
| 847 |
+
value: |
|
| 848 |
+
1) Streamlines seeded from diagonal line, with similar pattern compared to groundtruth
|
| 849 |
+
2) Streamlines as tubes
|
| 850 |
+
3) Color by magnitude with Magma colormap
|
| 851 |
+
4) Color bar labeled 'Velocity Magnitude'
|
| 852 |
+
5) Dark background, Isometric camera, Output resolution 1024x1024
|
| 853 |
+
|
| 854 |
+
|
| 855 |
+
# 28. MHD Turbulence Velocity Field (t=50) (mhd-turbulence_vorticity)
|
| 856 |
+
# Isothermal magnetohydrodynamic (MHD) simulations capturing compressible turbulence phenomena relevant to astrophysical systems.
|
| 857 |
+
# MHD turbulence is an essential component of the solar wind, galaxy formation, and interstellar medium (ISM) dynamics.
|
| 858 |
+
# 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.
|
| 859 |
+
# Three field types are captured: density (scalar), velocity (vector), and magnetic field (vector).
|
| 860 |
+
# Data source: The Well (Polymathic AI)
|
| 861 |
+
- vars:
|
| 862 |
+
question: |
|
| 863 |
+
Load the MHD turbulence velocity field dataset "mhd-turbulence_vorticity/data/mhd-turbulence_vorticity.vti" (VTI format, 128x128x128 grid).
|
| 864 |
+
Compute the vorticity field (curl of velocity) using the Gradient filter with 'Compute Vorticity' enabled.
|
| 865 |
+
Then compute vorticity magnitude. Perform volume rendering of vorticity magnitude using the 'Plasma (matplotlib)' colormap.
|
| 866 |
+
Set opacity to highlight high-vorticity regions.
|
| 867 |
+
Add a color bar labeled 'Vorticity Magnitude'.
|
| 868 |
+
Black background. Isometric camera. Render at 1024x1024.
|
| 869 |
+
Save the paraview state as "mhd-turbulence_vorticity/results/{agent_mode}/mhd-turbulence_vorticity.pvsm".
|
| 870 |
+
Save the visualization image as "mhd-turbulence_vorticity/results/{agent_mode}/mhd-turbulence_vorticity.png".
|
| 871 |
+
(Optional, if use python script) Save the python script as "mhd-turbulence_vorticity/results/{agent_mode}/mhd-turbulence_vorticity.py".
|
| 872 |
+
Do not save any other files, and always save the visualization image.
|
| 873 |
+
assert:
|
| 874 |
+
- type: llm-rubric
|
| 875 |
+
subtype: vision
|
| 876 |
+
value: |
|
| 877 |
+
1) Vorticity computation (curl of velocity), similar pattern compared to groundtruth
|
| 878 |
+
2) Volume rendering of vorticity magnitude
|
| 879 |
+
3) Plasma colormap
|
| 880 |
+
4) Opacity highlights high-vorticity regions
|
| 881 |
+
5) Color bar labeled 'Vorticity Magnitude'
|
| 882 |
+
6) Black background, Isometric camera, Output resolution 1024x1024
|
| 883 |
+
|
| 884 |
+
|
| 885 |
+
# 29. Supernova Explosion Velocity Field (t=40) (supernova-velocity_isosurface)
|
| 886 |
+
# Supernova explosion simulations capturing the physical dynamics of a stellar explosion propagating through a dense interstellar medium.
|
| 887 |
+
# 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.
|
| 888 |
+
# The simulations employ sophisticated physics including radiative cooling and heating.
|
| 889 |
+
# Data source: The Well (Polymathic AI).
|
| 890 |
+
- vars:
|
| 891 |
+
question: |
|
| 892 |
+
Load the supernova explosion velocity field from "supernova-velocity_isosurface/data/supernova-velocity_isosurface.vti" (VTI format, 128x128x128).
|
| 893 |
+
Extract an isosurface of velocity magnitude at threshold 0.7. Color the isosurface by the vz component using 'Blue to Red Rainbow' colormap.
|
| 894 |
+
Add a color bar labeled 'Vz Component'.
|
| 895 |
+
Dark background (RGB: 0.0, 0.0, 0.0). Isometric camera view. Render at 1024x1024.
|
| 896 |
+
Save the paraview state as "supernova-velocity_isosurface/results/{agent_mode}/supernova-velocity_isosurface.pvsm".
|
| 897 |
+
Save the visualization image as "supernova-velocity_isosurface/results/{agent_mode}/supernova-velocity_isosurface.png".
|
| 898 |
+
(Optional, if use python script) Save the python script as "supernova-velocity_isosurface/results/{agent_mode}/supernova-velocity_isosurface.py".
|
| 899 |
+
Do not save any other files, and always save the visualization image.
|
| 900 |
+
assert:
|
| 901 |
+
- type: llm-rubric
|
| 902 |
+
subtype: vision
|
| 903 |
+
value: |
|
| 904 |
+
1) Isosurface at magnitude=0.7, similar pattern compared to groundtruth
|
| 905 |
+
2) Colored by vz component
|
| 906 |
+
3) Blue to Red Rainbow colormap
|
| 907 |
+
4) Color bar labeled 'Vz Component'
|
| 908 |
+
5) Black background, Isometric camera, Output resolution 1024x1024
|
| 909 |
+
|
| 910 |
+
|
| 911 |
+
# 30. MHD Magnetic Field (t=60) (mhd-magfield_isosurface)
|
| 912 |
+
# Isothermal magnetohydrodynamic (MHD) simulations capturing compressible turbulence phenomena relevant to astrophysical systems.
|
| 913 |
+
# MHD turbulence is an essential component of the solar wind, galaxy formation, and interstellar medium (ISM) dynamics.
|
| 914 |
+
# 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.
|
| 915 |
+
# Three field types are captured: density (scalar), velocity (vector), and magnetic field (vector).
|
| 916 |
+
# Data source: The Well (Polymathic AI)
|
| 917 |
+
- vars:
|
| 918 |
+
question: |
|
| 919 |
+
Load the MHD magnetic field dataset from "mhd-magfield_isosurface/data/mhd-magfield_isosurface.vti" (VTI format, 128x128x128).
|
| 920 |
+
Extract an isosurface of magnetic field magnitude at threshold 0.8. Color the isosurface by the bx component using 'Turbo' colormap.
|
| 921 |
+
Add a color bar labeled 'Bx Component'.
|
| 922 |
+
Dark navy background (RGB: 0.0, 0.0, 0.1). Isometric camera view. Render at 1024x1024.
|
| 923 |
+
Save the paraview state as "mhd-magfield_isosurface/results/{agent_mode}/mhd-magfield_isosurface.pvsm".
|
| 924 |
+
Save the visualization image as "mhd-magfield_isosurface/results/{agent_mode}/mhd-magfield_isosurface.png".
|
| 925 |
+
(Optional, if use python script) Save the python script as "mhd-magfield_isosurface/results/{agent_mode}/mhd-magfield_isosurface.py".
|
| 926 |
+
Do not save any other files, and always save the visualization image.
|
| 927 |
+
assert:
|
| 928 |
+
- type: llm-rubric
|
| 929 |
+
subtype: vision
|
| 930 |
+
value: |
|
| 931 |
+
1) Isosurface at magnitude=0.8, similar pattern compared to groundtruth
|
| 932 |
+
2) Colored by bx component
|
| 933 |
+
3) Turbo colormap
|
| 934 |
+
4) Color bar labeled 'Bx Component'
|
| 935 |
+
5) Dark navy background, Isometric camera, Output resolution 1024x1024
|
| 936 |
+
|
| 937 |
+
|
| 938 |
+
# 31. Turbulence Gravity Cooling Velocity (temp=100K, dens=0.445, metal=Z, t=10) (tgc-velocity_contour)
|
| 939 |
+
# Turbulence-gravity-cooling simulations modeling turbulent fluid with gravity representing the interstellar medium in galaxies.
|
| 940 |
+
# These simulations capture the formation of dense filaments that seed star formation, with filament frequency and timescales varying based on cooling strength.
|
| 941 |
+
# The dataset encompasses three density regimes with systematically varied initial temperatures and metallicity levels representing different cosmic epochs,
|
| 942 |
+
# governed by coupled equations for pressure, density, momentum, and internal energy incorporating gravitational forces, viscosity, and radiative heating/cooling.
|
| 943 |
+
# Data source: The Well (Polymathic AI).
|
| 944 |
+
- vars:
|
| 945 |
+
question: |
|
| 946 |
+
Load the turbulence-gravity-cooling velocity field dataset from "tgc-velocity_contour/data/tgc-velocity_contour.vti" (VTI format, 64x64x64).
|
| 947 |
+
Extract a slice at z=32 and color it by velocity magnitude using 'Viridis (matplotlib)' colormap.
|
| 948 |
+
Also add contour lines of velocity magnitude on the same slice at values [0.3, 0.6, 0.9, 1.2] using the Contour filter on the slice output.
|
| 949 |
+
Display contour lines in white. Add a color bar labeled 'Velocity Magnitude'.
|
| 950 |
+
Light gray background (RGB: 0.9, 0.9, 0.9). Top-down camera. Render at 1024x1024.
|
| 951 |
+
Save the paraview state as "tgc-velocity_contour/results/{agent_mode}/tgc-velocity_contour.pvsm".
|
| 952 |
+
Save the visualization image as "tgc-velocity_contour/results/{agent_mode}/tgc-velocity_contour.png".
|
| 953 |
+
(Optional, if use python script) Save the python script as "tgc-velocity_contour/results/{agent_mode}/tgc-velocity_contour.py".
|
| 954 |
+
Do not save any other files, and always save the visualization image.
|
| 955 |
+
assert:
|
| 956 |
+
- type: llm-rubric
|
| 957 |
+
subtype: vision
|
| 958 |
+
value: |
|
| 959 |
+
1) Slice at z=32 colored by magnitude, similar pattern compared to groundtruth
|
| 960 |
+
2) Viridis colormap on slice
|
| 961 |
+
3) Contour lines at specified values, similar pattern compared to groundtruth
|
| 962 |
+
4) White contour lines
|
| 963 |
+
5) Color bar labeled 'Velocity Magnitude'
|
| 964 |
+
6) Light gray background, Top-down camera, Output resolution 1024x1024
|
| 965 |
+
|
| 966 |
+
|
| 967 |
+
# 32. Rayleigh-Taylor Instability Velocity Field (t=80) (rti-velocity_slices)
|
| 968 |
+
# Rayleigh-Taylor instability simulations examining how varying spectral characteristics and random phase components influence the development of turbulent mixing.
|
| 969 |
+
# 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.
|
| 970 |
+
# 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.
|
| 971 |
+
# Data source: The Well (Polymathic AI)
|
| 972 |
+
- vars:
|
| 973 |
+
question: |
|
| 974 |
+
Load the Rayleigh-Taylor instability velocity field from "rti-velocity_slices/data/rti-velocity_slices.vti" (VTI format, 128x128x128).
|
| 975 |
+
Create three orthogonal slices: at x=64 (YZ-plane), y=64 (XZ-plane), and z=64 (XY-plane).
|
| 976 |
+
Color all three slices by velocity magnitude using the 'Turbo' colormap.
|
| 977 |
+
Add a color bar labeled 'Velocity Magnitude'.
|
| 978 |
+
Dark background (RGB: 0.05, 0.05, 0.05). Set an isometric camera view that shows all three slices. Render at 1024x1024.
|
| 979 |
+
Save the paraview state as "rti-velocity_slices/results/{agent_mode}/rti-velocity_slices.pvsm".
|
| 980 |
+
Save the visualization image as "rti-velocity_slices/results/{agent_mode}/rti-velocity_slices.png".
|
| 981 |
+
(Optional, if use python script) Save the python script as "rti-velocity_slices/results/{agent_mode}/rti-velocity_slices.py".
|
| 982 |
+
Do not save any other files, and always save the visualization image
|
| 983 |
+
assert:
|
| 984 |
+
- type: llm-rubric
|
| 985 |
+
subtype: vision
|
| 986 |
+
value: |
|
| 987 |
+
1) Three orthogonal slices at x=64, y=64, z=64, similar pattern compared to groundtruth
|
| 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
|
main/mhd-magfield_glyph/GS/mhd-magfield_glyph_gs.png
ADDED
|
Git LFS Details
|
main/mhd-magfield_glyph/GS/mhd-magfield_glyph_gs.pvsm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f4b40024a75558c00b6613fd74d9ef154246381d65c943230499de5adf15f970
|
| 3 |
+
size 288472
|
main/mhd-magfield_glyph/GS/mhd-magfield_glyph_gs.py
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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, '..', 'vti_data', 'MHD_magfield_0010.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 |
+
sliceFilter = Slice(Input=reader)
|
| 13 |
+
sliceFilter.SliceType = 'Plane'
|
| 14 |
+
sliceFilter.SliceType.Origin = [64.0, 63.5, 63.5]
|
| 15 |
+
sliceFilter.SliceType.Normal = [1.0, 0.0, 0.0]
|
| 16 |
+
sliceFilter.UpdatePipeline()
|
| 17 |
+
|
| 18 |
+
glyph = Glyph(Input=sliceFilter, GlyphType='Arrow')
|
| 19 |
+
glyph.OrientationArray = ['POINTS', 'vector']
|
| 20 |
+
glyph.ScaleArray = ['POINTS', 'magnitude']
|
| 21 |
+
glyph.ScaleFactor = 5.0
|
| 22 |
+
glyph.MaximumNumberOfSamplePoints = 5000
|
| 23 |
+
glyph.GlyphMode = 'Every Nth Point'
|
| 24 |
+
glyph.Stride = 4
|
| 25 |
+
glyph.UpdatePipeline()
|
| 26 |
+
|
| 27 |
+
renderView = GetActiveViewOrCreate('RenderView')
|
| 28 |
+
renderView.ViewSize = [1024, 1024]
|
| 29 |
+
renderView.Background = [0.0, 0.0, 0.15]
|
| 30 |
+
|
| 31 |
+
glyphDisplay = Show(glyph, renderView)
|
| 32 |
+
glyphDisplay.Representation = 'Surface'
|
| 33 |
+
ColorBy(glyphDisplay, ('POINTS', 'magnitude'))
|
| 34 |
+
|
| 35 |
+
magLUT = GetColorTransferFunction('magnitude')
|
| 36 |
+
magLUT.ApplyPreset('Plasma (matplotlib)', True)
|
| 37 |
+
|
| 38 |
+
glyphDisplay.SetScalarBarVisibility(renderView, True)
|
| 39 |
+
colorBar = GetScalarBar(magLUT, renderView)
|
| 40 |
+
colorBar.Title = 'Magnetic Field Magnitude'
|
| 41 |
+
colorBar.ComponentTitle = ''
|
| 42 |
+
|
| 43 |
+
renderView.CameraPosition = [250.0, 63.5, 63.5]
|
| 44 |
+
renderView.CameraFocalPoint = [64.0, 63.5, 63.5]
|
| 45 |
+
renderView.CameraViewUp = [0.0, 0.0, 1.0]
|
| 46 |
+
renderView.ResetCamera()
|
| 47 |
+
Render()
|
| 48 |
+
|
| 49 |
+
SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024])
|
| 50 |
+
SaveState(OUTPUT_STATE)
|
| 51 |
+
print(f"Task 04 done: {OUTPUT_IMG}")
|
main/mhd-magfield_glyph/data/mhd-magfield_glyph.vti
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1b891955b70e72bcc6e0e8976a7f587ff08206a1b153e613617251170886d581
|
| 3 |
+
size 78294594
|
main/mhd-magfield_glyph/task_description.txt
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Load the MHD magnetic field dataset from "mhd-magfield_glyph/data/mhd-magfield_glyph.vti" (VTI format, 128x128x128 grid with components bx, by, bz).
|
| 2 |
+
Create a slice at x=64 through the volume.
|
| 3 |
+
Place arrow glyphs oriented by the magnetic field vector and scaled by field magnitude (scale factor 5.0).
|
| 4 |
+
Color the arrows using the 'Plasma (matplotlib)' colormap mapped to magnitude. Use stride of 4.
|
| 5 |
+
Add a color bar labeled 'Magnetic Field Magnitude'.
|
| 6 |
+
Use a dark navy background (RGB: 0.0, 0.0, 0.15). Set camera to view along the negative x-axis. Render at 1024x1024.
|
| 7 |
+
Save the paraview state as "mhd-magfield_glyph/results/{agent_mode}/mhd-magfield_glyph.pvsm".
|
| 8 |
+
Save the visualization image as "mhd-magfield_glyph/results/{agent_mode}/mhd-magfield_glyph.png".
|
| 9 |
+
(Optional, if use python script) Save the python script as "mhd-magfield_glyph/results/{agent_mode}/mhd-magfield_glyph.py".
|
| 10 |
+
Do not save any other files, and always save the visualization image.
|
main/mhd-magfield_glyph/visualization_goals.txt
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
1) Arrow glyphs oriented by magnetic field vector
|
| 2 |
+
2) Glyphs scaled by field magnitude
|
| 3 |
+
3) Plasma colormap applied to magnitude
|
| 4 |
+
4) Color bar present labeled 'Magnetic Field Magnitude
|
| 5 |
+
5) Dark navy background, Camera along negative x-axis, Output resolution 1024x1024
|
main/mhd-magfield_isosurface/GS/mhd-magfield_isosurface_gs.png
ADDED
|
Git LFS Details
|
main/mhd-magfield_isosurface/GS/mhd-magfield_isosurface_gs.pvsm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3cd46ff898531f2bb3b703a9b81b10b056852632d05531efc5934e907f71c1bf
|
| 3 |
+
size 277547
|
main/mhd-magfield_isosurface/GS/mhd-magfield_isosurface_gs.py
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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, '..', 'vti_data', 'MHD_magfield_0060.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 |
+
contour = Contour(Input=reader)
|
| 13 |
+
contour.ContourBy = ['POINTS', 'magnitude']
|
| 14 |
+
contour.Isosurfaces = [0.8]
|
| 15 |
+
contour.UpdatePipeline()
|
| 16 |
+
|
| 17 |
+
renderView = GetActiveViewOrCreate('RenderView')
|
| 18 |
+
renderView.ViewSize = [1024, 1024]
|
| 19 |
+
renderView.Background = [0.0, 0.0, 0.1]
|
| 20 |
+
|
| 21 |
+
contourDisplay = Show(contour, renderView)
|
| 22 |
+
contourDisplay.Representation = 'Surface'
|
| 23 |
+
ColorBy(contourDisplay, ('POINTS', 'bx'))
|
| 24 |
+
|
| 25 |
+
bxLUT = GetColorTransferFunction('bx')
|
| 26 |
+
bxLUT.ApplyPreset('Turbo', True)
|
| 27 |
+
|
| 28 |
+
contourDisplay.SetScalarBarVisibility(renderView, True)
|
| 29 |
+
colorBar = GetScalarBar(bxLUT, renderView)
|
| 30 |
+
colorBar.Title = 'Bx Component'
|
| 31 |
+
colorBar.ComponentTitle = ''
|
| 32 |
+
|
| 33 |
+
renderView.CameraPosition = [200.0, 200.0, 200.0]
|
| 34 |
+
renderView.CameraFocalPoint = [63.5, 63.5, 63.5]
|
| 35 |
+
renderView.CameraViewUp = [0.0, 0.0, 1.0]
|
| 36 |
+
renderView.ResetCamera()
|
| 37 |
+
Render()
|
| 38 |
+
|
| 39 |
+
SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024])
|
| 40 |
+
SaveState(OUTPUT_STATE)
|
| 41 |
+
print(f"Task 16 done: {OUTPUT_IMG}")
|
main/mhd-magfield_isosurface/data/mhd-magfield_isosurface.vti
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2d155a87cde138ba20a80ac91673e11e90f874504665085b9d34e9ea66c4c489
|
| 3 |
+
size 78294594
|
main/mhd-magfield_isosurface/task_description.txt
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Load the MHD magnetic field dataset from "mhd-magfield_isosurface/data/mhd-magfield_isosurface.vti" (VTI format, 128x128x128).
|
| 2 |
+
Extract an isosurface of magnetic field magnitude at threshold 0.8. Color the isosurface by the bx component using 'Turbo' colormap.
|
| 3 |
+
Add a color bar labeled 'Bx Component'.
|
| 4 |
+
Dark navy background (RGB: 0.0, 0.0, 0.1). Isometric camera view. Render at 1024x1024.
|
| 5 |
+
Save the paraview state as "mhd-magfield_isosurface/results/{agent_mode}/mhd-magfield_isosurface.pvsm".
|
| 6 |
+
Save the visualization image as "mhd-magfield_isosurface/results/{agent_mode}/mhd-magfield_isosurface.png".
|
| 7 |
+
(Optional, if use python script) Save the python script as "mhd-magfield_isosurface/results/{agent_mode}/mhd-magfield_isosurface.py".
|
| 8 |
+
Do not save any other files, and always save the visualization image.
|
main/mhd-magfield_isosurface/visualization_goals.txt
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
1) Isosurface at magnitude=0.8, similar pattern compared to groundtruth
|
| 2 |
+
2) Colored by bx component
|
| 3 |
+
3) Turbo colormap
|
| 4 |
+
4) Color bar labeled 'Bx Component'
|
| 5 |
+
5) Dark navy background, Isometric camera, Output resolution 1024x1024
|
main/mhd-magfield_volvis/GS/mhd-magfield_volvis_gs.png
ADDED
|
Git LFS Details
|
main/mhd-magfield_volvis/GS/mhd-magfield_volvis_gs.pvsm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5fa7365acd796e0c92735e2fd76092b6d798342ed140f59c926285e22072c114
|
| 3 |
+
size 218985
|
main/mhd-magfield_volvis/GS/mhd-magfield_volvis_gs.py
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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, '..', 'vti_data', 'MHD_magfield_0040.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 |
+
renderView = GetActiveViewOrCreate('RenderView')
|
| 13 |
+
renderView.ViewSize = [1024, 1024]
|
| 14 |
+
renderView.Background = [0.0, 0.0, 0.05]
|
| 15 |
+
|
| 16 |
+
display = Show(reader, renderView)
|
| 17 |
+
display.Representation = 'Volume'
|
| 18 |
+
ColorBy(display, ('POINTS', 'magnitude'))
|
| 19 |
+
|
| 20 |
+
magLUT = GetColorTransferFunction('magnitude')
|
| 21 |
+
magLUT.ApplyPreset('Cool to Warm', True)
|
| 22 |
+
|
| 23 |
+
magPWF = GetOpacityTransferFunction('magnitude')
|
| 24 |
+
magPWF.Points = [0.0, 0.0, 0.5, 0.0,
|
| 25 |
+
0.5, 0.05, 0.5, 0.0,
|
| 26 |
+
1.0, 0.4, 0.5, 0.0,
|
| 27 |
+
1.5, 1.0, 0.5, 0.0]
|
| 28 |
+
|
| 29 |
+
display.SetScalarBarVisibility(renderView, True)
|
| 30 |
+
colorBar = GetScalarBar(magLUT, renderView)
|
| 31 |
+
colorBar.Title = 'B Magnitude'
|
| 32 |
+
colorBar.ComponentTitle = ''
|
| 33 |
+
|
| 34 |
+
renderView.CameraPosition = [200.0, 200.0, 200.0]
|
| 35 |
+
renderView.CameraFocalPoint = [63.5, 63.5, 63.5]
|
| 36 |
+
renderView.CameraViewUp = [0.0, 0.0, 1.0]
|
| 37 |
+
renderView.ResetCamera()
|
| 38 |
+
Render()
|
| 39 |
+
|
| 40 |
+
SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024])
|
| 41 |
+
SaveState(OUTPUT_STATE)
|
| 42 |
+
print(f"Task 09 done: {OUTPUT_IMG}")
|
main/mhd-magfield_volvis/data/mhd-magfield_volvis.vti
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f5784edd7ad06e6defa543330de8fcc36fa1ac1d2258085322a024f79c9409bb
|
| 3 |
+
size 78294594
|
main/mhd-magfield_volvis/task_description.txt
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Load the MHD magnetic field dataset from "mhd-magfield_volvis/data/mhd-magfield_volvis.vti" (VTI format, 128x128x128 grid).
|
| 2 |
+
Compute the magnetic field magnitude from components (bx, by, bz). Perform volume rendering of the magnitude field.
|
| 3 |
+
Use the 'Cool to Warm' colormap with an opacity transfer function that makes low-magnitude regions transparent and high-magnitude regions opaque.
|
| 4 |
+
Add a color bar labeled 'B Magnitude'.
|
| 5 |
+
Use a dark background (RGB: 0.0, 0.0, 0.05). Set an isometric camera view. Render at 1024x1024.
|
| 6 |
+
Save the paraview state as "mhd-magfield_volvis/results/{agent_mode}/mhd-magfield_volvis.pvsm".
|
| 7 |
+
Save the visualization image as "mhd-magfield_volvis/results/{agent_mode}/mhd-magfield_volvis.png".
|
| 8 |
+
(Optional, if use python script) Save the python script as "mhd-magfield_volvis/results/{agent_mode}/mhd-magfield_volvis.py".
|
| 9 |
+
Do not save any other files, and always save the visualization image.
|
main/mhd-magfield_volvis/visualization_goals.txt
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
1) Volume rendering representation applied based on magnitude field, generally similar to groundtruth
|
| 2 |
+
2) Cool to Warm colormap
|
| 3 |
+
3) Opacity transfer function correctly set: low=transparent, high=opaque
|
| 4 |
+
4) Color bar labeled 'B Magnitude'
|
| 5 |
+
5) Dark background, Isometric camera, Output resolution 1024x1024
|
main/mhd-turbulence_glyph/GS/mhd-turbulence_glyph_gs.png
ADDED
|
Git LFS Details
|
main/mhd-turbulence_glyph/GS/mhd-turbulence_glyph_gs.pvsm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:98d7b71a0df23246ea06c9bfec9a520c4838404726b7ac71acc50a84cba88947
|
| 3 |
+
size 237519
|
main/mhd-turbulence_glyph/GS/mhd-turbulence_glyph_gs.py
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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, '..', 'vti_data', 'MHD_velocity_0010.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 |
+
sliceFilter = Slice(Input=reader)
|
| 13 |
+
sliceFilter.SliceType = 'Plane'
|
| 14 |
+
sliceFilter.SliceType.Origin = [63.5, 63.5, 64.0]
|
| 15 |
+
sliceFilter.SliceType.Normal = [0.0, 0.0, 1.0]
|
| 16 |
+
sliceFilter.UpdatePipeline()
|
| 17 |
+
|
| 18 |
+
glyph = Glyph(Input=sliceFilter, GlyphType='Arrow')
|
| 19 |
+
glyph.OrientationArray = ['POINTS', 'vector']
|
| 20 |
+
glyph.ScaleArray = ['POINTS', 'magnitude']
|
| 21 |
+
glyph.ScaleFactor = 5.0
|
| 22 |
+
glyph.MaximumNumberOfSamplePoints = 5000
|
| 23 |
+
glyph.GlyphMode = 'Every Nth Point'
|
| 24 |
+
glyph.Stride = 4
|
| 25 |
+
glyph.UpdatePipeline()
|
| 26 |
+
|
| 27 |
+
renderView = GetActiveViewOrCreate('RenderView')
|
| 28 |
+
renderView.ViewSize = [1024, 1024]
|
| 29 |
+
renderView.Background = [0.1, 0.1, 0.15]
|
| 30 |
+
|
| 31 |
+
glyphDisplay = Show(glyph, renderView)
|
| 32 |
+
glyphDisplay.Representation = 'Surface'
|
| 33 |
+
ColorBy(glyphDisplay, ('POINTS', 'magnitude'))
|
| 34 |
+
|
| 35 |
+
magLUT = GetColorTransferFunction('magnitude')
|
| 36 |
+
magLUT.ApplyPreset('Cool to Warm', True)
|
| 37 |
+
|
| 38 |
+
glyphDisplay.SetScalarBarVisibility(renderView, True)
|
| 39 |
+
colorBar = GetScalarBar(magLUT, renderView)
|
| 40 |
+
colorBar.Title = 'Velocity Magnitude'
|
| 41 |
+
colorBar.ComponentTitle = ''
|
| 42 |
+
|
| 43 |
+
renderView.CameraPosition = [63.5, 63.5, 250.0]
|
| 44 |
+
renderView.CameraFocalPoint = [63.5, 63.5, 64.0]
|
| 45 |
+
renderView.CameraViewUp = [0.0, 1.0, 0.0]
|
| 46 |
+
renderView.ResetCamera()
|
| 47 |
+
Render()
|
| 48 |
+
|
| 49 |
+
SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024])
|
| 50 |
+
SaveState(OUTPUT_STATE)
|
| 51 |
+
print(f"Task 01 done: {OUTPUT_IMG}")
|
main/mhd-turbulence_glyph/data/mhd-turbulence_glyph.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_glyph/task_description.txt
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Load the MHD turbulence velocity field dataset from "mhd-turbulence_glyph/data/mhd-turbulence_glyph.vti" (VTI format, 128x128x128 grid).
|
| 2 |
+
Create a slice at z=64 through the volume. On this slice, place arrow glyphs oriented by the velocity vector field and scaled by velocity magnitude.
|
| 3 |
+
Color the arrows using the 'Cool to Warm' colormap mapped to velocity magnitude.
|
| 4 |
+
Use a sampling stride of 4 to avoid overcrowding. Set the glyph scale factor to 5.0.
|
| 5 |
+
Add a color bar labeled 'Velocity Magnitude'.
|
| 6 |
+
Use a dark background (RGB: 0.1, 0.1, 0.15).
|
| 7 |
+
Set the camera to a top-down view looking along the negative z-axis. Render at 1024x1024 resolution.
|
| 8 |
+
Save the paraview state as "mhd-turbulence_glyph/results/{agent_mode}/mhd-turbulence_glyph.pvsm".
|
| 9 |
+
Save the visualization image as "mhd-turbulence_glyph/results/{agent_mode}/mhd-turbulence_glyph.png".
|
| 10 |
+
(Optional, if use python script) Save the python script as "mhd-turbulence_glyph/results/{agent_mode}/mhd-turbulence_glyph.py".
|
| 11 |
+
Do not save any other files, and always save the visualization image.
|
main/mhd-turbulence_glyph/visualization_goals.txt
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
1) Arrow glyphs oriented by velocity vector
|
| 2 |
+
2) Glyphs scaled by velocity magnitude
|
| 3 |
+
3) Color mapping using Cool to Warm colormap on magnitude
|
| 4 |
+
4) Color bar present with label 'Velocity Magnitude'
|
| 5 |
+
5) Dark background color, Top-down camera view, and Output resolution 1024x1024
|
main/mhd-turbulence_streamline/GS/mhd-turbulence_streamline_gs.png
ADDED
|
Git LFS Details
|
main/mhd-turbulence_streamline/GS/mhd-turbulence_streamline_gs.pvsm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f63a077c803e9b46078d48623813a1f1640d0cfb30329535c0b520a5870d8d7f
|
| 3 |
+
size 274602
|
main/mhd-turbulence_streamline/GS/mhd-turbulence_streamline_gs.py
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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, '..', 'vti_data', 'MHD_velocity_0030.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 = StreamTracer(Input=reader, SeedType='Line')
|
| 13 |
+
stream.SeedType.Point1 = [64.0, 64.0, 0.0]
|
| 14 |
+
stream.SeedType.Point2 = [64.0, 64.0, 127.0]
|
| 15 |
+
stream.SeedType.Resolution = 50
|
| 16 |
+
stream.Vectors = ['POINTS', 'vector']
|
| 17 |
+
stream.MaximumStreamlineLength = 200.0
|
| 18 |
+
stream.UpdatePipeline()
|
| 19 |
+
|
| 20 |
+
tube = Tube(Input=stream)
|
| 21 |
+
tube.Radius = 0.3
|
| 22 |
+
tube.UpdatePipeline()
|
| 23 |
+
|
| 24 |
+
renderView = GetActiveViewOrCreate('RenderView')
|
| 25 |
+
renderView.ViewSize = [1024, 1024]
|
| 26 |
+
renderView.Background = [0.05, 0.05, 0.1]
|
| 27 |
+
|
| 28 |
+
tubeDisplay = Show(tube, renderView)
|
| 29 |
+
tubeDisplay.Representation = 'Surface'
|
| 30 |
+
ColorBy(tubeDisplay, ('POINTS', 'magnitude'))
|
| 31 |
+
|
| 32 |
+
magLUT = GetColorTransferFunction('magnitude')
|
| 33 |
+
magLUT.ApplyPreset('Turbo', True)
|
| 34 |
+
|
| 35 |
+
tubeDisplay.SetScalarBarVisibility(renderView, True)
|
| 36 |
+
colorBar = GetScalarBar(magLUT, renderView)
|
| 37 |
+
colorBar.Title = 'Velocity Magnitude'
|
| 38 |
+
colorBar.ComponentTitle = ''
|
| 39 |
+
|
| 40 |
+
renderView.CameraPosition = [200.0, 200.0, 200.0]
|
| 41 |
+
renderView.CameraFocalPoint = [63.5, 63.5, 63.5]
|
| 42 |
+
renderView.CameraViewUp = [0.0, 0.0, 1.0]
|
| 43 |
+
renderView.ResetCamera()
|
| 44 |
+
Render()
|
| 45 |
+
|
| 46 |
+
SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024])
|
| 47 |
+
SaveState(OUTPUT_STATE)
|
| 48 |
+
print(f"Task 05 done: {OUTPUT_IMG}")
|
main/mhd-turbulence_streamline/data/mhd-turbulence_streamline.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_streamline/task_description.txt
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Load the MHD turbulence velocity field dataset "mhd-turbulence_streamline/data/mhd-turbulence_streamline.vti" (VTI format, 128x128x128 grid).
|
| 2 |
+
Generate 3D streamlines seeded from a line source along the z-axis at x=64, y=64 (from z=0 to z=127), with 50 seed points.
|
| 3 |
+
Color the streamlines by velocity magnitude using the 'Turbo' colormap. Set streamline tube radius to 0.3 using the Tube filter.
|
| 4 |
+
Add a color bar labeled 'Velocity Magnitude'. Use a dark background (RGB: 0.05, 0.05, 0.1). Set an isometric camera view. Render at 1024x1024.
|
| 5 |
+
Save the paraview state as "mhd-turbulence_streamline/results/{agent_mode}/mhd-turbulence_streamline.pvsm".
|
| 6 |
+
Save the visualization image as "mhd-turbulence_streamline/results/{agent_mode}/mhd-turbulence_streamline.png".
|
| 7 |
+
(Optional, if use python script) Save the python script as "mhd-turbulence_streamline/results/{agent_mode}/mhd-turbulence_streamline.py".
|
| 8 |
+
Do not save any other files, and always save the visualization image.
|
main/mhd-turbulence_streamline/visualization_goals.txt
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
1) Streamlines generated from line seed along z-axis, with similar pattern compared to groundtruth
|
| 2 |
+
2) Streamlines rendered as tubes
|
| 3 |
+
3) Color by velocity magnitude with Turbo colormap
|
| 4 |
+
4) Color bar labeled 'Velocity Magnitude'
|
| 5 |
+
5) Dark background, Isometric camera view, Output resolution 1024x1024
|
main/mhd-turbulence_vorticity/GS/mhd-turbulence_vorticity_gs.png
ADDED
|
Git LFS Details
|
main/mhd-turbulence_vorticity/GS/mhd-turbulence_vorticity_gs.pvsm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cccdf68dc512311a488ad73f41c63b2ce921728d0de8e54b357da33a739d5c82
|
| 3 |
+
size 278782
|
main/mhd-turbulence_vorticity/GS/mhd-turbulence_vorticity_gs.py
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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, '..', 'vti_data', 'MHD_velocity_0050.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 |
+
gradient = GradientOfUnstructuredDataSet(Input=reader)
|
| 13 |
+
gradient.ScalarArray = ['POINTS', 'vector']
|
| 14 |
+
gradient.ComputeVorticity = 1
|
| 15 |
+
gradient.ComputeGradient = 0
|
| 16 |
+
gradient.VorticityArrayName = 'Vorticity'
|
| 17 |
+
gradient.UpdatePipeline()
|
| 18 |
+
|
| 19 |
+
calc = Calculator(Input=gradient)
|
| 20 |
+
calc.Function = 'mag(Vorticity)'
|
| 21 |
+
calc.ResultArrayName = 'VorticityMagnitude'
|
| 22 |
+
calc.UpdatePipeline()
|
| 23 |
+
|
| 24 |
+
renderView = GetActiveViewOrCreate('RenderView')
|
| 25 |
+
renderView.ViewSize = [1024, 1024]
|
| 26 |
+
renderView.Background = [0.0, 0.0, 0.0]
|
| 27 |
+
|
| 28 |
+
display = Show(calc, renderView)
|
| 29 |
+
display.Representation = 'Volume'
|
| 30 |
+
ColorBy(display, ('POINTS', 'VorticityMagnitude'))
|
| 31 |
+
|
| 32 |
+
vorLUT = GetColorTransferFunction('VorticityMagnitude')
|
| 33 |
+
vorLUT.ApplyPreset('Plasma (matplotlib)', True)
|
| 34 |
+
|
| 35 |
+
vorPWF = GetOpacityTransferFunction('VorticityMagnitude')
|
| 36 |
+
vorPWF.Points = [0.0, 0.0, 0.5, 0.0,
|
| 37 |
+
0.1, 0.0, 0.5, 0.0,
|
| 38 |
+
0.3, 0.1, 0.5, 0.0,
|
| 39 |
+
0.6, 0.5, 0.5, 0.0,
|
| 40 |
+
1.0, 1.0, 0.5, 0.0]
|
| 41 |
+
|
| 42 |
+
display.SetScalarBarVisibility(renderView, True)
|
| 43 |
+
colorBar = GetScalarBar(vorLUT, renderView)
|
| 44 |
+
colorBar.Title = 'Vorticity Magnitude'
|
| 45 |
+
colorBar.ComponentTitle = ''
|
| 46 |
+
|
| 47 |
+
renderView.CameraPosition = [200.0, 200.0, 200.0]
|
| 48 |
+
renderView.CameraFocalPoint = [63.5, 63.5, 63.5]
|
| 49 |
+
renderView.CameraViewUp = [0.0, 0.0, 1.0]
|
| 50 |
+
renderView.ResetCamera()
|
| 51 |
+
Render()
|
| 52 |
+
|
| 53 |
+
SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024])
|
| 54 |
+
SaveState(OUTPUT_STATE)
|
| 55 |
+
print(f"Task 12 done: {OUTPUT_IMG}")
|
main/mhd-turbulence_vorticity/data/mhd-turbulence_vorticity.vti
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a4052ecaeecb8d89bfd3559d89873b93847f899018e754083871bbb7d4f82d56
|
| 3 |
+
size 78294594
|
main/mhd-turbulence_vorticity/task_description.txt
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Load the MHD turbulence velocity field dataset "mhd-turbulence_vorticity/data/mhd-turbulence_vorticity.vti" (VTI format, 128x128x128 grid).
|
| 2 |
+
Compute the vorticity field (curl of velocity) using the Gradient filter with 'Compute Vorticity' enabled.
|
| 3 |
+
Then compute vorticity magnitude. Perform volume rendering of vorticity magnitude using the 'Plasma (matplotlib)' colormap.
|
| 4 |
+
Set opacity to highlight high-vorticity regions.
|
| 5 |
+
Add a color bar labeled 'Vorticity Magnitude'.
|
| 6 |
+
Black background. Isometric camera. Render at 1024x1024.
|
| 7 |
+
Save the paraview state as "mhd-turbulence_vorticity/results/{agent_mode}/mhd-turbulence_vorticity.pvsm".
|
| 8 |
+
Save the visualization image as "mhd-turbulence_vorticity/results/{agent_mode}/mhd-turbulence_vorticity.png".
|
| 9 |
+
(Optional, if use python script) Save the python script as "mhd-turbulence_vorticity/results/{agent_mode}/mhd-turbulence_vorticity.py".
|
| 10 |
+
Do not save any other files, and always save the visualization image.
|
main/mhd-turbulence_vorticity/visualization_goals.txt
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
1) Vorticity computation (curl of velocity), similar pattern compared to groundtruth
|
| 2 |
+
2) Volume rendering of vorticity magnitude
|
| 3 |
+
3) Plasma colormap
|
| 4 |
+
4) Opacity highlights high-vorticity regions
|
| 5 |
+
5) Color bar labeled 'Vorticity Magnitude'
|
| 6 |
+
6) Black background, Isometric camera, Output resolution 1024x1024
|
main/rti-velocity_divergence/GS/rti-velocity_divergence_gs.png
ADDED
|
Git LFS Details
|
main/rti-velocity_divergence/GS/rti-velocity_divergence_gs.pvsm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6c44c7ae1f4c43061ef3f1a96da69d20d30f22eaa8d36e438297f323c1fb6175
|
| 3 |
+
size 225407
|
main/rti-velocity_divergence/GS/rti-velocity_divergence_gs.py
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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, '..', 'vti_data', 'RTI_velocity_0040.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 |
+
gradient = GradientOfUnstructuredDataSet(Input=reader)
|
| 13 |
+
gradient.ScalarArray = ['POINTS', 'vector']
|
| 14 |
+
gradient.ComputeDivergence = 1
|
| 15 |
+
gradient.ComputeGradient = 0
|
| 16 |
+
gradient.DivergenceArrayName = 'Divergence'
|
| 17 |
+
gradient.UpdatePipeline()
|
| 18 |
+
|
| 19 |
+
sliceFilter = Slice(Input=gradient)
|
| 20 |
+
sliceFilter.SliceType = 'Plane'
|
| 21 |
+
sliceFilter.SliceType.Origin = [63.5, 63.5, 64.0]
|
| 22 |
+
sliceFilter.SliceType.Normal = [0.0, 0.0, 1.0]
|
| 23 |
+
sliceFilter.UpdatePipeline()
|
| 24 |
+
|
| 25 |
+
renderView = GetActiveViewOrCreate('RenderView')
|
| 26 |
+
renderView.ViewSize = [1024, 1024]
|
| 27 |
+
renderView.Background = [1.0, 1.0, 1.0]
|
| 28 |
+
|
| 29 |
+
sliceDisplay = Show(sliceFilter, renderView)
|
| 30 |
+
sliceDisplay.Representation = 'Surface'
|
| 31 |
+
ColorBy(sliceDisplay, ('POINTS', 'Divergence'))
|
| 32 |
+
|
| 33 |
+
divLUT = GetColorTransferFunction('Divergence')
|
| 34 |
+
divLUT.ApplyPreset('Cool to Warm', True)
|
| 35 |
+
|
| 36 |
+
sliceDisplay.SetScalarBarVisibility(renderView, True)
|
| 37 |
+
colorBar = GetScalarBar(divLUT, renderView)
|
| 38 |
+
colorBar.Title = 'Velocity Divergence'
|
| 39 |
+
colorBar.ComponentTitle = ''
|
| 40 |
+
|
| 41 |
+
renderView.CameraPosition = [63.5, 63.5, 250.0]
|
| 42 |
+
renderView.CameraFocalPoint = [63.5, 63.5, 64.0]
|
| 43 |
+
renderView.CameraViewUp = [0.0, 1.0, 0.0]
|
| 44 |
+
renderView.ResetCamera()
|
| 45 |
+
Render()
|
| 46 |
+
|
| 47 |
+
SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024])
|
| 48 |
+
SaveState(OUTPUT_STATE)
|
| 49 |
+
print(f"Task 13 done: {OUTPUT_IMG}")
|
main/rti-velocity_divergence/data/rti-velocity_divergence.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_divergence/task_description.txt
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Load the Rayleigh-Taylor instability velocity field from "rti-velocity_divergence/data/rti-velocity_divergence.vti" (VTI format, 128x128x128).
|
| 2 |
+
Compute the divergence of the velocity field using the Gradient filter with 'Compute Divergence' enabled.
|
| 3 |
+
Extract a slice at z=64 and color it by divergence using the 'Cool to Warm' diverging colormap (centered at 0).
|
| 4 |
+
Add a color bar labeled 'Velocity Divergence'.
|
| 5 |
+
White background. Top-down camera view along negative z-axis. Render at 1024x1024.
|
| 6 |
+
Save the paraview state as "rti-velocity_divergence/results/{agent_mode}/rti-velocity_divergence.pvsm".
|
| 7 |
+
Save the visualization image as "rti-velocity_divergence/results/{agent_mode}/rti-velocity_divergence.png".
|
| 8 |
+
(Optional, if use python script) Save the python script as "rti-velocity_divergence/results/{agent_mode}/rti-velocity_divergence.py".
|
| 9 |
+
Do not save any other files, and always save the visualization image
|
main/rti-velocity_divergence/visualization_goals.txt
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
1) Divergence computation from velocity field, with similar pattern compared to groundtruth
|
| 2 |
+
2) Cool to Warm diverging colormap centered at 0
|
| 3 |
+
3) Color bar labeled 'Velocity Divergence'
|
| 4 |
+
4) White background, Top-down camera along negative z, Output resolution 1024x1024
|
main/rti-velocity_glyph/GS/rti-velocity_glyph_gs.png
ADDED
|
Git LFS Details
|
main/rti-velocity_glyph/GS/rti-velocity_glyph_gs.pvsm
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:96b220a805d0dec6cf8b6a8f9d54e2dc1d484a505e3982cba8202d257d5c68b7
|
| 3 |
+
size 288526
|
main/rti-velocity_glyph/GS/rti-velocity_glyph_gs.py
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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, '..', 'vti_data', 'RTI_velocity_0050.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 |
+
sliceFilter = Slice(Input=reader)
|
| 13 |
+
sliceFilter.SliceType = 'Plane'
|
| 14 |
+
sliceFilter.SliceType.Origin = [63.5, 64.0, 63.5]
|
| 15 |
+
sliceFilter.SliceType.Normal = [0.0, 1.0, 0.0]
|
| 16 |
+
sliceFilter.UpdatePipeline()
|
| 17 |
+
|
| 18 |
+
glyph = Glyph(Input=sliceFilter, GlyphType='Arrow')
|
| 19 |
+
glyph.OrientationArray = ['POINTS', 'vector']
|
| 20 |
+
glyph.ScaleArray = ['POINTS', 'No scale array']
|
| 21 |
+
glyph.ScaleFactor = 3.0
|
| 22 |
+
glyph.MaximumNumberOfSamplePoints = 5000
|
| 23 |
+
glyph.GlyphMode = 'Every Nth Point'
|
| 24 |
+
glyph.Stride = 3
|
| 25 |
+
glyph.UpdatePipeline()
|
| 26 |
+
|
| 27 |
+
renderView = GetActiveViewOrCreate('RenderView')
|
| 28 |
+
renderView.ViewSize = [1024, 1024]
|
| 29 |
+
renderView.Background = [0.0, 0.0, 0.0]
|
| 30 |
+
|
| 31 |
+
glyphDisplay = Show(glyph, renderView)
|
| 32 |
+
glyphDisplay.Representation = 'Surface'
|
| 33 |
+
ColorBy(glyphDisplay, ('POINTS', 'magnitude'))
|
| 34 |
+
|
| 35 |
+
magLUT = GetColorTransferFunction('magnitude')
|
| 36 |
+
magLUT.ApplyPreset('Viridis (matplotlib)', True)
|
| 37 |
+
|
| 38 |
+
glyphDisplay.SetScalarBarVisibility(renderView, True)
|
| 39 |
+
colorBar = GetScalarBar(magLUT, renderView)
|
| 40 |
+
colorBar.Title = 'Velocity Magnitude'
|
| 41 |
+
colorBar.ComponentTitle = ''
|
| 42 |
+
|
| 43 |
+
renderView.CameraPosition = [63.5, 250.0, 63.5]
|
| 44 |
+
renderView.CameraFocalPoint = [63.5, 64.0, 63.5]
|
| 45 |
+
renderView.CameraViewUp = [0.0, 0.0, 1.0]
|
| 46 |
+
renderView.ResetCamera()
|
| 47 |
+
Render()
|
| 48 |
+
|
| 49 |
+
SaveScreenshot(OUTPUT_IMG, renderView, ImageResolution=[1024, 1024])
|
| 50 |
+
SaveState(OUTPUT_STATE)
|
| 51 |
+
print(f"Task 03 done: {OUTPUT_IMG}")
|
main/rti-velocity_glyph/data/rti-velocity_glyph.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_glyph/task_description.txt
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Load the Rayleigh-Taylor instability velocity field dataset from "rti-velocity_glyph/data/rti-velocity_glyph.vti" (VTI format, 128x128x128 grid).
|
| 2 |
+
Create a slice at y=64 through the volume.
|
| 3 |
+
Place arrow glyphs on the slice, oriented by the velocity vector. Use uniform arrow size (no magnitude scaling, scale factor 3.0).
|
| 4 |
+
Color the arrows by velocity magnitude using the 'Viridis (matplotlib)' colormap. Use a sampling stride of 3.
|
| 5 |
+
Add a color bar labeled 'Velocity Magnitude'.
|
| 6 |
+
Use a black background.
|
| 7 |
+
Set the camera to view along the negative y-axis. Render at 1024x1024.
|
| 8 |
+
Save the paraview state as "rti-velocity_glyph/results/{agent_mode}/rti-velocity_glyph.pvsm".
|
| 9 |
+
Save the visualization image as "rti-velocity_glyph/results/{agent_mode}/rti-velocity_glyph.png".
|
| 10 |
+
(Optional, if use python script) Save the python script as "rti-velocity_glyph/results/{agent_mode}/rti-velocity_glyph.py".
|
| 11 |
+
Do not save any other files, and always save the visualization image.
|