Fluids

Fluids

HOW TO DEFINE REFERENCE TEMPERATURE????

    • Devank12
      Subscriber

       


      I have given a udf which define the specific heat of fluid. i have one doubt in this udf. here how to define the Tref in the UDF. explain in detail


      #include "udf.h"


      DEFINE_SPECIFIC_HEAT(my_user_cp, T, Tref, h, yi)


      {


      real cp=2000.;


      *h = cp*(T-Tref);


      return cp;


      }

    • raul.raghav
      Subscriber

      Solution updated based on abenhadj's comment below. My apologies!



      Tref is available inside the Fluent solver under the Materials tab. See attached screenshot.

    • DrAmine
      Ansys Employee

      No that is not correct. Tref is the reference temperature for enthalpy calculation from material definition 

Viewing 2 reply threads
  • You must be logged in to reply to this topic.