-
-
September 14, 2026 at 12:29 pm
Jiangtao Lu
Bbp_participantI defined a parameter using “Custom Field Functions”, and then a range of this parameter using ”Cell Registers”. The target is to calculate the liquid volume of this parameter with the specified range.
I first tried “Volume Integrals” of the “Cell Registers”, Fluent got frozen.
I then tried “Named Expressions” using first Flag = IF(cell_register_0,1,0), then VolumeInt(Flag,['domain']), Fluent still went frozen when compute.
I know “Mesh Separation” will work, but I need to calculate multiple ranges for a plot (x axis: parameter, y axis: volume percentage). So it is not an option for me.
Any solution to this problem? Thanks.
-
September 14, 2026 at 1:01 pm
Rob
Channel PartnerHave a look at this https://innovation.ansys.com/base/articles/topic/is-there-a-way-to-get-the-volume-of-a-register-using-expression-prem
Otherwise you can patch a User Defined Scalar (UDS) to be 1 in the register and then report the sum of cell volume x UDM.
-
September 15, 2026 at 7:40 am
Jiangtao Lu
Bbp_participantthanks Rob, but it seems i have no access to the link. Could you please past it here? Thanks.
-
September 15, 2026 at 12:43 pm
Rob
Channel PartnerI can't, if it's not visible it's registered user's only so I can't share - I can't tell from this side as I have staff access.
Try searching in Answers or search tool on the front page incase I've accidentally got to an internal version.
-
- You must be logged in to reply to this topic.
-
6880
-
1906
-
1544
-
1344
-
1217
© 2026 Copyright ANSYS, Inc. All rights reserved.