CFD Online Discussion Forums

CFD Online Discussion Forums (
-   FLUENT (
-   -   User Defined Function for convection coefficient (

ereiss July 8, 2004 12:28

User Defined Function for convection coefficient
I am trying to model heat flow from warm water in pipes imbedded in a four inch concrete slab. When I define the boundary conditions for the top of the concrete slab, I can only chose a constant heat transfer coefficient. The heat transfer coefficient is really a function of the temperature difference between the surface temperature of the concrete (which is being solved for by FLUENT) and the free stream temperature (an input for the boundary condition). This is given by; h=1.13(delta T)^0.33. Can anyone tell me in detail how to implement a User Defined Function for the heat transfer coefficient.

Ajay July 8, 2004 16:10

Re: User Defined Function for convection coefficie
write an execute_at_end function which updates the value of h. (Use face / cell macros to get the temperature ) execute _at_end is executed end of each iteration ( steady case) and at the end of each time step ( unsteady case) -Ajay

All times are GMT -4. The time now is 01:16.