November 12, 2020 at 10:21 pmunicreySubscriberI 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
November 13, 2020 at 12:02 pmRobAnsys EmployeeExpressions 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
November 16, 2020 at 10:05 pmunicreySubscriberGot it. Thanks for your help.n
April 16, 2021 at 9:43 pmunicreySubscriberOkay, 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
April 17, 2021 at 2:19 amYasserSelimaSubscriberlocation should be a boundary, not cell registrar ...n
- You must be logged in to reply to this topic.
Simulation World 2022
Check out more than 70 different sessions now available on demand. Get inspired as you hear from visionary companies, leading researchers and educators from around the globe on a variety of topics from life-saving improvements in healthcare, to bold new realities of space travel. Take a leap of certainty and check out a session today here.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Suppress Fluent to open with GUI while performing in journal file
- Heat transfer coefficient
- What are the differences between CFX and Fluent?
- Floating point exception in Fluent
- The solver failed with a non-zero exit code of : 2
- Difference between K-epsilon and K-omega Turbulence Model
- Getting graph and tabular data from result in workbench mechanical
- Time Step Size and Courant Number
- Mesh Interfaces in ANSYS FLUENT
- error in cfd post
© 2022 Copyright ANSYS, Inc. All rights reserved.