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.

Using an expression in report monitor

    • soloviev
      Subscriber

      Hello,

      I am trying to create a report for momentum at a surface in my model. I created report definitions for mass and velocity and am now trying to use the monitor expression to do mass*velocity for momentum.

      When I do this I get the error that the expression is not single valued.


      Thanks,

      Alex

    • YasserSelima
      Subscriber
      This expression calculates the values at all cells. To have it on a surface ... select reduction ... average ... n
    • soloviev
      Subscriber
      Thank you! I did this and the attached expression came up (sorry I have not used expressions before). Where it says location I tried to type a location saved in Fluent but it did not come up. I'm also not sure where to add in the mass* velocity into what is now there.n
    • YasserSelima
      Subscriber
      Average(your_expression, ['surface_name'],Weight='Mass')n
    • soloviev
      Subscriber
      Thank you! I see why my location is invalid. It is a plane I created at a specified height. Is this possible or do I have to use a location at a boundary?n
    • YasserSelima
      Subscriber
      I never did this before, so I don't know. But if your location is not available when you select the location button, probably it is not possible.nBut you can still do it with the report definition. Define a custom field function ... (mass*velocity) and get its mass average on your surface through report definitionn
    • soloviev
      Subscriber
      Thank you! I didn't know I could create custom field variables.n
    • YasserSelima
      Subscriber
      You are welcome!n
Viewing 7 reply threads
  • The topic ‘Using an expression in report monitor’ is closed to new replies.
[bingo_chatbox]