Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

FLUENT cannot calculate volume of “Custom Field Functions”?

    • Jiangtao Lu
      Bbp_participant

      I 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.

    • Rob
      Channel Partner

      Have 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.  

    • Jiangtao Lu
      Bbp_participant

      thanks Rob, but it seems i have no access to the link. Could you please past it here? Thanks. 

    • Rob
      Channel Partner

      I 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. 

Viewing 3 reply threads
  • You must be logged in to reply to this topic.
[bingo_chatbox]