TAGGED: #python-#ironpython, pyansys
-
-
June 24, 2026 at 8:47 am
ata7333
SubscriberI am able to calculate mass weighted total pressure but not able to assign it to a variable
the code line is as below
in_tp=solver.tui.report.surface_integrals.mass_weighted_avg("inlet", "()", "total-pressure")
this code prints mass weighted average of total pressure at inlet but variable in_tp does not store tha value.Â
Â
-
June 24, 2026 at 12:09 pm
Essence
Ansys EmployeeHello,
For your information, PyAnsys/PyFluent is not a part of standard Forum support. Therefore, I would suggest you to post the questions related to PyAnsys/PyFluent on Github.
-
Viewing 1 reply thread
- You must be logged in to reply to this topic.
Innovation Space
Trending discussions
Top Contributors
-
6765
-
1906
-
1490
-
1330
-
1102
Top Rated Tags
© 2026 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.