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.

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

TAGGED: ,

    • m.nikjah
      Subscriber
      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 N
      Subscriber
      Hello,

      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

      Nikhil
Viewing 1 reply thread
  • The topic ‘Using an expression to define Cp(specific heat) in Fluent’ is closed to new replies.
[bingo_chatbox]