Skip to content

fix: Unavaialble field data for some surfaces. #4345

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Aug 4, 2025

Conversation

prmukherj
Copy link
Collaborator

Sometimes some surfaces might be created but field data on them might not be available. For example please refer the issue: ansys/pyfluent-visualization#552

Now we are getting and returning the field data as empty array for these surfaces, just like Fluent does. We are additionally providing an warning that theses surfaces does not have field data.

image

We need to patch this with v0.34 to address an user bug.

@github-actions github-actions bot added the bug Issue, problem or error in PyFluent label Aug 4, 2025
@seanpearsonuk
Copy link
Collaborator

seanpearsonuk commented Aug 4, 2025

This is a tricky one where I'm not sure what the best behaviour would be. Please make sure that we are also documenting the API behaviour clearly. IMHO that's more important than runtime warnings.

@prmukherj prmukherj merged commit c8509cd into main Aug 4, 2025
4 checks passed
@prmukherj prmukherj deleted the fix/unavailable_field_data branch August 4, 2025 13:34
prmukherj added a commit that referenced this pull request Aug 4, 2025
Sometimes some surfaces might be created but field data on them might
not be available. For example please refer the issue:
ansys/pyfluent-visualization#552

Now we are getting and returning the field data as empty array for these
surfaces, just like Fluent does. We are additionally providing an
warning that theses surfaces does not have field data.


<img width="479" height="275" alt="image"
src="https://github.com/user-attachments/assets/85c39d3b-70ae-4cd5-a8cc-2ce4d1b21746"
/>


We need to patch this with v0.34 to address an user bug.

---------

Co-authored-by: pyansys-ci-bot <[email protected]>
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants