Author Topic: Fluent UDF for calculating heat loss from a composite wall  (Read 10822 times)

Offline mali28

  • Newbie
  • *
  • Posts: 15
  • Reputation: +0/-0
  • Searching for solution
    • View Profile
Fluent UDF for calculating heat loss from a composite wall
« on: January 15, 2012, 12:08:37 PM »
Advertisement
Hello,

I have a cylindrical geometry with fluid flowing inside. The inside surface has a layer of deposits. Then I have a metal wall. The metal wall is insulated. So I have three resistances. Fluent does not offer heat loss through a composite wall so I have to use UDF to calculate heat loss through it. I can do it by defining constant wall heat flux and using a profile defined by UDF. But I don't know much about UDF coding.

Can someone help me with this?

See below the composite wall figure attached. The geometry is cylindrical.

Thank you.

Offline kimsel

  • Newbie
  • *
  • Posts: 3
  • Reputation: +1/-0
  • Searching for solution
    • View Profile
Re: Fluent UDF for calculating heat loss from a composite wall
« Reply #1 on: January 15, 2012, 12:33:25 PM »
Hello,

I have a cylindrical geometry with fluid flowing inside. The inside surface has a layer of deposits. Then I have a metal wall. The metal wall is insulated. So I have three resistances. Fluent does not offer heat loss through a composite wall so I have to use UDF to calculate heat loss through it. I can do it by defining constant wall heat flux and using a profile defined by UDF. But I don't know much about UDF coding.

Can someone help me with this?

See below the composite wall figure attached. The geometry is cylindrical.

Thank you.


If you define a constant wall heat flux boundary condition then Fluent calculates the wall temperature. The inside wall temperature will be calculated by fluent. You can use that temperature to calculate the heat loss through the composite wall using q = U*(Tw-Tamb)

You will first need t calculate the overall heat transfer coefficient, which will be the sum of the resistances of the deposit, wall, insulation and outside film coefficient. You will also need to calculate/estimate the outside film coefficient (will be very small typically in the range of 10-50 W/m2K, negligible in comparison to the insulation if the insulation is thick enough).

This will be the code for the wall heat flux profile:

F_PROFILE(f,thread,position) =-u*(WALL_TEMP_INNER(f,thread)-T_ext);

Remember that WALL_TEMP_INNER is the wall temperature at the outer surface of the wall. WALL_TEMP_OUTER is the inner face temperature, i.e., the cell that faces the fluid.

The negative sign means that the heat is flowing out from the system to the surrounding.

Hope that helps.

Offline mali28

  • Newbie
  • *
  • Posts: 15
  • Reputation: +0/-0
  • Searching for solution
    • View Profile
Re: Fluent UDF for calculating heat loss from a composite wall
« Reply #2 on: January 15, 2012, 01:37:27 PM »
So I have to define it inside the DEFINE_PROFILE() macro.

I will try it. Thanks.

Offline kimsel

  • Newbie
  • *
  • Posts: 3
  • Reputation: +1/-0
  • Searching for solution
    • View Profile
Re: Fluent UDF for calculating heat loss from a composite wall
« Reply #3 on: January 21, 2012, 12:29:27 PM »
Yes, you will have to define it inside DEFINE_PROFILE() macro.