We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.
Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

How to get the current cell and thread inform when using DEFINE_SPECIFIC_HEAT

    • limandinuo
      Subscriber

      hello everybody, recently I'm tryingf to modified the specifiic heat of material. I want to define temperature-dependent and pressure-dependent functions
      for specific heat .

      However, the DEFINE_SPECIFIC_HEAT (name,T,Tref,h,yi) does not providing the pressure of cell. I wonder if we can get the current  cell and thread information, if possible, we can use C_P(c, t) for cell pressure.

    • Rob
      Forum Moderator

      You should be able to use C_P(c,t) but may well need to defing the cell & threads. Have a look for examples with Thread *t;  and  cell_t c;  in them. 

Viewing 1 reply thread
  • The topic ‘How to get the current cell and thread inform when using DEFINE_SPECIFIC_HEAT’ is closed to new replies.