CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   heat transfer (https://www.cfd-online.com/Forums/fluent/43466-heat-transfer.html)

madhan January 25, 2007 00:53

heat transfer
 
hi.. friends.. i want to find the thermal distribution over the 2D rectangular metal plate using fluent 6.1.18 with a moving heat source in the horizontal direction on the plate.. it s similar like welding operation.. can you suggest some methods and procedures to model the problem...

Sujith January 25, 2007 14:19

Re: heat transfer
 
You can model the source term as position dependent and time dependent. use DEFINE_SOURCE() macro;

suppose your source is moving linearly along x coordiante, t = 0, S(x=0)= 1; t = 1 , S(x=1) =1;....

/*Inside the UDF you can get the cell centroid, and flow time*/ C_CENTROID(x,c,t); t = CURRENT_TIME; /*check the x coordinate with time */ if (x[0] = t) S =1;

cell centriod may not be xactly = to time, you may check within a range;

Hope its clear



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