compare
Compare two simulation results side-by-side or as difference maps to validate designs, study mesh convergence, and analyze solver performance with consistent visual parameters.
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
Args: file_a: Path to first simulation file file_b: Path to second simulation file field_name: Field to compare (None for auto-detect) mode: Comparison mode — "side_by_side" or "diff" colormap: Color map preset for both panels quality: Rendering quality (draft/standard/cinematic) purpose: Resolution preset — "analyze" (480p), "preview" (720p), "publish" (1080p) width: Override total width in pixels (must set both width and height, or neither) height: Override height in pixels (must set both width and height, or neither) scalar_range: Shared [min, max] for consistent coloring (None for auto) timestep: Specific timestep, "latest", or None for first label_a: Label for first panel (displayed top-left) label_b: Label for second panel (displayed top-left) output_filename: Output PNG filename
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_a | Yes | ||
| file_b | Yes | ||
| field_name | No | ||
| mode | No | side_by_side | |
| colormap | No | Cool to Warm | |
| quality | No | standard | |
| purpose | No | analyze | |
| width | No | ||
| height | No | ||
| scalar_range | No | ||
| timestep | No | ||
| label_a | No | A | |
| label_b | No | B | |
| output_filename | No | compare.png |