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.

How does Fluent get results of PP_FLOW_RATE(p) from UDF?

    • cs_zy
      Subscriber
    • Karthik Remella
      Administrator
      Hello What do you mean by returned to Fluent? Can you elaborate a bit more about the end objective of your code so we may be able to help here?
      In the above code, it is being estimated using the macro 'reaction_rate'.
      Karthik
    • cs_zy
      Subscriber
      Respected sir 1.I want to realize that the particle mass Flow Rate changes with time, but the Total Flow Rate can only be filled in as a constant. How does the above code realize that the Total Flow Rate varies with time? My code looks like this, but it has an error when compiling.

      2.How does PP_FLOW_RATE relate to Total Flow Rate? It's defined by the user when they write the code, not defined before in the dpm.h file, right?
      I know such as C_V(c, t) and PP_CELL(p),they are macros defined in .h file.
      3.And I would appreciate it if you could tell me what's wrong with my code.

    • Rob
      Forum Moderator
      Read the macro definition carefully. The PP_FLOW_RATE (assuming it's the correct macro) will overwrite what is in the panel.
Viewing 3 reply threads
  • The topic ‘How does Fluent get results of PP_FLOW_RATE(p) from UDF?’ is closed to new replies.
[bingo_chatbox]