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
  • You must be logged in to reply to this topic.