CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   thermal conductivity in conduction problem (https://www.cfd-online.com/Forums/main/14003-thermal-conductivity-conduction-problem.html)

sangeeta August 23, 2007 09:40

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

sangeeta August 23, 2007 09:44

FVM
 
i am solving this problem using Finite volume method, Guass Seidal method.

agg August 24, 2007 13:56

Re: thermal conductivity in conduction problem
 
In your PDE, the second order term should be d/dx(K*dT/dx)

Sangeeta August 27, 2007 00:37

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.

p August 29, 2007 04:23

Re: thermal conductivity in conduction problem
 
take care of the flux continuity at the interface (harmonic mean). see patankar for details - very well described.

Sangeeta August 30, 2007 00:51

Re: thermal conductivity in conduction problem
 
ok thanks


All times are GMT -4. The time now is 02:54.