headrein
Aerospace
- Dec 11, 2004
- 1
Howdy,
I've been fighting with coding a numerical solution to the unsteady temperature distribution of a cool solid sphere being heated by forced convection of hot gas surrounding it. The problem for me lies in the surface boundary condition.
I must specify heat flux by equating the heat transfered away from the surface to the heat transferred in by convection:
-k(dT/dr) = h(Tsurface - Tgas)
Now, in finite difference form,
dT/dr = (Ts1 - Ts2)/dr
dr = spacial step size now, Ts1 = surface temp, Ts2 is the temperature one step into the sphere from the surface.
Solving for surface temp:
Ts = ((k/dr/h)*Ts2 + Tgas)/(k/dr/h + 1)
This just doesn't work somehow, and I can't figure out why.. I'm dealing with small spheres, and the above equation gives me a surface temp about equal to that of the next layer in, and the damn sphere heats up very very slowly.. I've also compared it to the analytical solution which confirms it's not right.
Does anybody know of a numerical method for handling this boundary which works?
many thanks,
eric
(sorry for the lengthy post)
I've been fighting with coding a numerical solution to the unsteady temperature distribution of a cool solid sphere being heated by forced convection of hot gas surrounding it. The problem for me lies in the surface boundary condition.
I must specify heat flux by equating the heat transfered away from the surface to the heat transferred in by convection:
-k(dT/dr) = h(Tsurface - Tgas)
Now, in finite difference form,
dT/dr = (Ts1 - Ts2)/dr
dr = spacial step size now, Ts1 = surface temp, Ts2 is the temperature one step into the sphere from the surface.
Solving for surface temp:
Ts = ((k/dr/h)*Ts2 + Tgas)/(k/dr/h + 1)
This just doesn't work somehow, and I can't figure out why.. I'm dealing with small spheres, and the above equation gives me a surface temp about equal to that of the next layer in, and the damn sphere heats up very very slowly.. I've also compared it to the analytical solution which confirms it's not right.
Does anybody know of a numerical method for handling this boundary which works?
many thanks,
eric
(sorry for the lengthy post)