How to specify in fluent expressions?
TAGGED: ansys-student, expressions, fluent
-
-
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 pmRobForum ModeratorExpressions 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
-
February 26, 2023 at 8:54 pmahmed ibrahimSubscriber
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.
Ansys Innovation Space
Trending discussions
- Non-Intersected faces found for matching interface periodic-walls
- Unburnt Hydrocarbons contour in ANSYS FORTE for sector mesh
- Help: About the expression of turbulent viscosity in Realizable k-e model
- Script error Code: 800a000d
- Cyclone (Stairmand) simulation using RSM
- Fluent fails with Intel MPI protocol on 2 nodes
- error udf
- Diesel with Ammonia/Hydrogen blend combustion
- Mass Conservation Issue in Methane Pyrolysis Shock Tube Simulation
- Script Error
Top Contributors
-
1241
-
543
-
523
-
225
-
209
Top Rated Tags
© 2024 Copyright ANSYS, Inc. All rights reserved.
Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.