thermal conductivity in conduction problem
I am writing a code in C++ to find out the temperature profile in a 2d conduction problem.
suppose if i want to vary thermal conductivity which is the function of Coordinates, like k = x + y. So where this function wll be added in the discritizes equation. if k varies with temperature then i thnk ,it should as ap = an+aw+ae+as+(k); ap = an+aw+ae+as+(aT+b). is this right. please let me know |
FVM
i am solving this problem using Finite volume method, Guass Seidal method.
|
Re: thermal conductivity in conduction problem
In your PDE, the second order term should be d/dx(K*dT/dx)
|
Re: thermal conductivity in conduction problem
ya i know that but if my k varies with temperature then can u tll me the algorithm to write the code.
|
Re: thermal conductivity in conduction problem
take care of the flux continuity at the interface (harmonic mean). see patankar for details - very well described.
|
Re: thermal conductivity in conduction problem
ok thanks
|
All times are GMT -4. The time now is 02:54. |