Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Error Defining Average Function Expression in Scripting

    • yahyabalouchi
      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'))

    • yahyabalouchi
      Subscriber

      Realy appreciate your support.

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