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.

    • unicrey
      Subscriber
      I am trying to create a monitor report plot for average static pressure.nWhile creating the expression, this works -nAverage(StaticPressure,['plate']) where plate is named boundary.nHowever, I do not want the average over the whole plate. So I created a line 'platesmall'. When I try nAverage(StaticPressure,['platesmall']), it shows invalid location.nnplatesmall works great elsewere when I am creating plots etc. So how do I specify the location for averaging here.nnI tried to find documentation for this in the ANSYS User Guide but there was nothing in there about how to specify the . n
    • Rob
      Forum Moderator
      Expressions are an evolving feature at the moment. I'd suggest using an adaption register to separate out a few cells and report on those. A line doesn't technically exist for some of the reporting as it's not a geometry feature (ie it's not represented by the mesh). n
    • unicrey
      Subscriber
      Got it. Thanks for your help.n
    • unicrey
      Subscriber
      Okay, I had solved the earlier problem in a different way but coming back to expressions now, turns out cell registers don't work either. n'gradient_vof_refine' is a predefined cell register. I have also tried similarly with other cell registers I have defined.nnAverage(VelocityMagnitude,['gradient_vof_refine'],Weight = None) gives - nInvalid locations( gradient_vof_refine)nnAverage(VelocityMagnitude,[gradient_vof_refine],Weight = None) gives -nRuntimeError: Average: Argument 2 is invalidnnAverage(VelocityMagnitude,,Weight = None) gives -nSyntaxError: invalid syntaxnnI have tried other Weights as well. Shows similar errors.nIs there any other way to make this work?n
    • YasserSelima
      Subscriber
      location should be a boundary, not cell registrar ...n
    • ahmed ibrahim
      Subscriber

      how to define cell temperature in expression instead of average temperature

      i know in udf is like (C_T(cell,thread)

Viewing 5 reply threads
  • The topic ‘How to specify in fluent expressions?’ is closed to new replies.
[bingo_chatbox]