Using an expression to define Cp(specific heat) in Fluent


    • m.nikjah
      In Fluent, I have used expressions to define fluid properties as a function of other variables before. But today I realized that Cp(specific heat) has no "expression" option! Why?! How can I set specific heat as an exponential function? I know I can use polynomial or piecewise polynomial but these do not express what I want accurately.
    • Nikhil Narale
      Ansys Employee

      You will have to write an UDF for this. If you do not want to dive into programming, the last resort is to try out fitting the data to polynomial.
      To know more about UDFs, refer to the following sections of the user's guide:
      1: Creating an UDF for specific heat: 2.3.44. DEFINE_SPECIFIC_HEAT (ansys.com)
      2: Compiling and hooking the UDF: Chapter 5: Compiling UDFs (ansys.com) and 6.2.41. Hooking DEFINE_SPECIFIC_HEAT UDFs (ansys.com)
      If you are not able to access the links, please refer to this forum discussion: Using Help with links ÔÇö Ansys Learning Forum

Viewing 1 reply thread
  • You must be logged in to reply to this topic.