results.report.surface_integrals. does not return a numeric value #3743
Replies: 3 comments
-
Hi there, |
Beta Was this translation helpful? Give feedback.
-
Hi @ansjschuetz, I am pretty sure that "surface integral" calculation does not work on 2025R1, for sure it does not work in 2024R1. |
Beta Was this translation helpful? Give feedback.
-
这个代码是在fluent窗口中输出这个量,并不会将量传导给python,可以试一试reduction函数 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello everybody,
calculating some values using <solver_session>.results.report.surface_integrals.area_weighted_avg or any other surface_integrals methods, the result cannot be store in a variable, but it is printed in a Fluent console output.
As example, executing the following line
mass_flow = session.results.report.surface_integrals.mass_flow_rate(surface_names = ["inlet"])
mass_flow return a Boolean 'False'.
I don't know if it should be considered as a bug or not, for sure it would certainly be a very useful feature for post processing and manipulating data.
What do you think about? Am I missing something?
I am on Fluent 24R1, Python 3.13.0 and pyfluent 0.29.
Thank you in advance
Beta Was this translation helpful? Give feedback.
All reactions