compare
Compare two simulation results side-by-side or as a difference map to validate solver accuracy and design changes.
Instructions
Compare two simulation results side-by-side or as a difference map.
Renders both datasets with identical camera, colormap, and scalar range for direct visual comparison. Essential for design comparison, mesh convergence studies, and solver validation.
Modes:
side_by_side: Two panels with shared colorbar and consistent framing
diff: Absolute field difference map (|A - B|) rendered on dataset A's mesh
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_a | Yes | Path to first simulation file | |
| file_b | Yes | Path to second simulation file | |
| field_name | No | Field to compare (None for auto-detect) | |
| mode | No | Comparison mode — "side_by_side" or "diff" | side_by_side |
| colormap | No | Color map preset for both panels | Cool to Warm |
| quality | No | Rendering quality (draft/standard/cinematic) | standard |
| purpose | No | Resolution preset — "analyze" (480p), "preview" (720p), "publish" (1080p) | analyze |
| width | No | Override total width in pixels (must set both width and height, or neither) | |
| height | No | Override height in pixels (must set both width and height, or neither) | |
| scalar_range | No | Shared [min, max] for consistent coloring (None for auto) | |
| timestep | No | Specific timestep, "latest", or None for first | |
| label_a | No | Label for first panel (displayed top-left) | A |
| label_b | No | Label for second panel (displayed top-left) | B |
| output_filename | No | Output PNG filename | compare.png |