Ansys Learning Forum › Forums › Discuss Simulation › Fluids › Error Defining Average Function Expression in Scripting › Reply To: Error Defining Average Function Expression in Scripting
May 31, 2024 at 3:19 pm
Petros Diakoumakos
Ansys Employee
Hello Yahya,
Â
The correct expression would be (Average(TotalPressure/StaticPressure,['fluid-part-surface_body'],Weight='Mass'))