Fluids

Fluids

How to specify in fluent expressions?

    • 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
      Ansys Employee
      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
Viewing 4 reply threads
  • You must be logged in to reply to this topic.