August 8, 2023 at 9:28 pmTimothy BraunSubscriber
I would like to keep a report of the number of cells being limited by the solver (min/max Temperature, Turbulent Viscosity, etc). I know it is reported in the solver console, but I would like to plot these to see if the counts are going up or down or stagnant. Right now, I have limiter cell registers that track these cells.
Is there a way to use an expression to count the cells and send to a report plot? Or, is there an alternative easy way to do this? Or, must I use a UDF with a user-defined memory? If it's the last option, I might not bother.
August 9, 2023 at 3:38 pmRobAnsys Employee
Are you interested in cell count or region volume? The latter is available, Volume Report on a register. Otherwise have a look at your options re averages and sums.
August 9, 2023 at 3:50 pmTimothy BraunSubscriber
I am interested in the cell count, though maybe the total volume would be sufficient as a tracking parameter (effectively the same as a volume weighted count). I don’t know what data type a cell register is stored as with respect to Fluent expressions. (array of centroids?, big 1D list of boolean types for each cell id?, something else?) That information would make it a lot easier to constuct a sum or integral.
Despite the name, using a “limiter” cell register wasn’t the option I wanted. It seems to return the total cell count in the domain. Instead, I created a field variable register:
Type: Cells Outside Range
Derivative and scaling: None
Iso-min and Iso-max set to the same as the solver limiter values.
Then, my expression was as follows (using placeholders for generality):
CountIf(register_name, [list of all cell zones cells in domain])
And I simply get what I wanted; a count of the number of cells being limited by the min/max temperature limit (set in the solver controls).
August 9, 2023 at 4:20 pmRobAnsys Employee
Not sure you need to worry about the data type, it's more a case of being creative with some of the report functions. No reason you can't divide/multiply reports to get a number to track.
- You must be logged in to reply to this topic.
Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.
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.
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Difference between K-epsilon and K-omega Turbulence Model
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Suppress Fluent to open with GUI while performing in journal file
- Mesh Interfaces in ANSYS FLUENT
- Time Step Size and Courant Number
- error: Received signal SIGSEGV
© 2023 Copyright ANSYS, Inc. All rights reserved.