Skip to content

[FXC-5794] Fix validation for AutomatedFarfield + enclosed surfaces + CustomZones#1844

Merged
benflexcompute merged 4 commits intomainfrom
BenY/FXC-5794
Feb 26, 2026
Merged

[FXC-5794] Fix validation for AutomatedFarfield + enclosed surfaces + CustomZones#1844
benflexcompute merged 4 commits intomainfrom
BenY/FXC-5794

Conversation

@benflexcompute
Copy link
Copy Markdown
Collaborator

@benflexcompute benflexcompute commented Feb 25, 2026

Relax BC completeness check and PorousJump interface validation for dual-belonging surfaces (faces in both AutomatedFarfield.enclosed_surfaces and CustomVolume.boundaries) that form farfield-custom-volume zone interfaces.


Note

Medium Risk
Changes parameter validation behavior around boundary completeness and PorousJump interface checks, which could allow previously-invalid setups and affect error/warning reporting. Scope is limited to validation logic and is covered by new unit tests.

Overview
Relaxes validation for configurations where a surface is dual-belonging (listed in AutomatedFarfield.enclosed_surfaces and also on a CustomVolume boundary), treating these as expected farfield–custom-volume interfaces.

ParamsValidationInfo now extracts/expands enclosed_surfaces (including selector expansion), computes the dual-belonging surface IDs, and both the BC completeness check and PorousJump validator skip interface requirements for these specific cross-zone pairs. Adds focused tests covering selector expansion, interface-name collection for completeness validation, and the updated PorousJump behavior.

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

… CustomZones

Relax BC completeness check and PorousJump interface validation for
dual-belonging surfaces (faces in both AutomatedFarfield.enclosed_surfaces
and CustomVolume.boundaries) that form farfield-custom-volume zone interfaces.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9ceca76184

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread flow360/component/simulation/validation/validation_context.py Outdated
Copy link
Copy Markdown

@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.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Comment thread flow360/component/simulation/models/surface_models.py Outdated
@benflexcompute benflexcompute merged commit 10499fd into main Feb 26, 2026
19 checks passed
@benflexcompute benflexcompute deleted the BenY/FXC-5794 branch February 26, 2026 18:07
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.

1 participant