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.

UDF for calculating the phase fraction based volume

    • vipul.gupta
      Subscriber

      Hi 

      I am working on multiphase modeling using VOF. I need to calculate the total volume of cells where the secondary phase volume fraction ranges from 0.5 to 1. For that, I made the below UDF. But on running the simulation it fails with error. Please help me to identify the issue with UDF.

       

       

       

       

       

    • Rob
      Forum Moderator

      If you're using VOF which implies most of the cells should be one phase or the other can you not use a volume integral report? 

Viewing 1 reply thread
  • The topic ‘UDF for calculating the phase fraction based volume’ is closed to new replies.
[bingo_chatbox]