field_data.get_surface_data function return a too complex object #2019
RebelYoung
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
@RebelYoung we reserve the bug label for defective behaviour, and we don't use it for features that work as designed. The documentation provides some explanation and examples, as well as the tests and the pull request. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think you mean this: https://fluent.docs.pyansys.com/version/stable/api/general/fielddata.html# |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
🔍 Before submitting the issue
🐞 Description of the bug
I can not use my code after 0.14.dev1 for the complex object from field_data.get_surface_data function.
Before 0.14.dev1, the function just return a Dict as {id,list}.
So I have codes as
After 0.13, it returns as
It is too difficult to get the data.
This data type is encapsulated in a highly complex manner, making it extremely difficult to use.
📝 Steps to reproduce
AF = field_data.get_surface_data(surface_name=AN, data_type=1)
AF changed from a Dict into ansys.fluent.core.services.field_data.Vertices
I can get help from
help(AF)
, I just need the data.💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
2022R2
🐍 Which Python version are you using?
3.8
📦 Installed packages
Beta Was this translation helpful? Give feedback.
All reactions