Extract value from reports #4312
-
How to extract value from report definition using pyfluent code? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
solver.settings.solution.report_definitions.compute(report_defs=[]) Please refer "report_definitions.compute" in https://fluent.docs.pyansys.com/version/stable/examples/00-fluent/mixing_elbow_settings_api.html#sphx-glr-examples-00-fluent-mixing-elbow-settings-api-py |
Beta Was this translation helpful? Give feedback.
-
Please let me know if you wish to save the value into a variable. you can do so by saving it to a variable: x = solver.settings.solution.report_definitions.compute(report_defs=[]) It'll return a dictionary from which you can extract the value. |
Beta Was this translation helpful? Give feedback.
Please let me know if you wish to save the value into a variable.
you can do so by saving it to a variable:
x = solver.settings.solution.report_definitions.compute(report_defs=[])
It'll return a dictionary from which you can extract the value.