Skip to content

Conversation

@prmukherj
Copy link
Collaborator

Context

One of the construction arguments 'surfaces' for 'Mesh' was missing in this particular example.

Change Summary

'surfaces' was added as a construction argument for mesh.

Rationale

Initially "surfaces=[]" has been done during construction of mesh, following which the allowed values of surfaces are queried and re-populated again. However, during construction of any objects like 'mesh', the construction arguments, or the compulsory arguments must be passed.

Impact

Only this particular example is updated. No other impact.

Copilot AI review requested due to automatic review settings December 22, 2025 11:46
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a missing required argument in the Mesh object instantiation within the conjugate heat transfer example. The surfaces parameter was added as an explicit empty list during construction, ensuring proper initialization before surfaces are populated later.

Key Changes

  • Added surfaces=[] as a constructor argument to the Mesh object instantiation

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions github-actions bot added documentation Documentation related (improving, adding, etc) examples Publishing PyFluent examples bug Issue, problem or error in PyFluent labels Dec 22, 2025
@prmukherj prmukherj linked an issue Dec 22, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Issue, problem or error in PyFluent documentation Documentation related (improving, adding, etc) examples Publishing PyFluent examples

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CHT example mesh1 creation missing surfaces argument

4 participants