Skip to content

[FXC-5213] Add vtkhdf as valid output_format option for transient output#1878

Merged
benflexcompute merged 14 commits intodevelopfrom
alexander/VTKHDF
Mar 11, 2026
Merged

[FXC-5213] Add vtkhdf as valid output_format option for transient output#1878
benflexcompute merged 14 commits intodevelopfrom
alexander/VTKHDF

Conversation

@awccoppFC
Copy link
Contributor

@awccoppFC awccoppFC commented Mar 4, 2026

Adds VTK-HDF output file support


Note

Medium Risk
Changes the public output schema from a single output_format string to a normalized list and updates solver translation/migrations accordingly, which can affect serialization and downstream solver JSON for all output types.

Overview
Adds support for additional output formats (vtkhdf, ensight) by changing output_format from a single string (including legacy "both") to a normalized list of formats with deprecation warnings for legacy string usage.

Introduces a 25.10.0 params updater to migrate existing JSONs ("both", comma-separated strings, or bare strings) into list form, updates solver translation to emit a comma-joined outputFormat, and refreshes reference fixtures/tests to expect list-based output_format plus new normalization/deduplication coverage.

Written by Cursor Bugbot for commit d443dda. This will update automatically on new commits. Configure here.

@awccoppFC awccoppFC marked this pull request as ready for review March 6, 2026 14:51
awccoppFC and others added 3 commits March 10, 2026 22:31
Co-authored-by: Ben <106089368+benflexcompute@users.noreply.github.com>
…vert

  - Move output_format string-to-list migration from 25.9.2 to 25.10.0
  - Trim _LegacyOutputFormatStrings to only paraview, tecplot, both
  - Deduplicate list entries in _normalize_output_format validator
  - Sort output_format list before joining in solver translator for determinism
  - Simplify output_format field description
  - Revert v1 flow360_output.py changes (out of scope)
  - Update tests to target 25.10.0 milestone
@benflexcompute benflexcompute changed the base branch from main to develop March 11, 2026 15:05
@benflexcompute benflexcompute changed the title Add vtkhdf as valid output_format option for transient output (FXC-5213) [FXC-5213] Add vtkhdf as valid output_format option for transient output Mar 11, 2026
…translator

  - Show correctly stripped/sorted values in deprecation warning for comma-separated output_format
  - Sort and deduplicate comma-separated values in migration to match validator behavior
  - Remove unreachable dead code in translator now that validator guarantees list type
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@benflexcompute benflexcompute merged commit 09ccea5 into develop Mar 11, 2026
16 checks passed
@benflexcompute benflexcompute deleted the alexander/VTKHDF branch March 11, 2026 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants