Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Error Defining Average Function Expression in Scripting

    • Yahya Balouchi
      Subscriber
       
      Hello everyone,
      I am trying to define this expression (Average(TotalPressure/StaticPressure,['fluid-part-surface_body'],Weight=mass)) to report the definition, but I encountered this error: "operator==: Argument 2 is an invalid expression". What shall I do to resolve the problem?
    • Petros
      Ansys Employee

      Hello Yahya,

       

      The correct expression would be (Average(TotalPressure/StaticPressure,['fluid-part-surface_body'],Weight='Mass'))

    • Yahya Balouchi
      Subscriber

      Realy appreciate your support.

Viewing 2 reply threads
  • The topic ‘Error Defining Average Function Expression in Scripting’ is closed to new replies.