Skip to content

Label walls explicitly in the multicomponent demo - #5741

Open
pbrubeck wants to merge 1 commit into
releasefrom
pbrubeck/fix-multicomponent-wall-labels
Open

pbrubeck wants to merge 1 commit into
releasefrom
pbrubeck/fix-multicomponent-wall-labels

Conversation

@pbrubeck

@pbrubeck pbrubeck commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fixes #5740

Name the OCC edges walls before assigning the inlet and outlet names. The wall and ridge boundary conditions then use the explicitly named wall regions. See also NGSolve/ngsPETSc#134.

Evidence

  • Before: On Firedrake c010e4b86, with Netgen 6.2.2606 and ngsPETSc 612bd87, the multicomponent demo failed on its first solve with ValueError: need at least one array to concatenate.
  • After: The multicomponent demo and demo registration test passed with this patch in the same environment. make srclint and demo extraction passed on the release checkout. The local release demo and HTML build stopped at import with the installed petsc4py 3.27.0.dev0. The release checkout pins 3.26.0.

Merge Danger

Door: Two-way

Blast Radius: Multicomponent demo

AI tool used: OpenAI Codex.

Netgen can return empty region names for unnamed edges. Name the walls before assigning the inlet and outlet names so both wall and ridge boundary conditions find their regions.
@pbrubeck pbrubeck added the LLM used An LLM was used in the production of this PR label Nov 28, 2026
@pbrubeck
pbrubeck marked this pull request as ready for review November 28, 2026 08:51

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

LLM used An LLM was used in the production of this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant