Skip to main content
Glama

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

TableJSON Schema
NameRequiredDescriptionDefault
file_aYes
file_bYes
field_nameNo
modeNoside_by_side
colormapNoCool to Warm
qualityNostandard
purposeNoanalyze
widthNo
heightNo
scalar_rangeNo
timestepNo
label_aNoA
label_bNoB
output_filenameNocompare.png

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kimimgo/viznoir'

If you have feedback or need assistance with the MCP directory API, please join our Discord server