|
[Sponsors] | |||||
|
|
|
#1 |
|
Guest
Posts: n/a
|
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 |
|
|
||
|
|
|
#2 |
|
Guest
Posts: n/a
|
i am solving this problem using Finite volume method, Guass Seidal method.
|
|
|
||
|
|
|
#3 |
|
Guest
Posts: n/a
|
In your PDE, the second order term should be d/dx(K*dT/dx)
|
|
|
||
|
|
|
#4 |
|
Guest
Posts: n/a
|
ya i know that but if my k varies with temperature then can u tll me the algorithm to write the code.
|
|
|
||
|
|
|
#5 |
|
Guest
Posts: n/a
|
take care of the flux continuity at the interface (harmonic mean). see patankar for details - very well described.
|
|
|
||
|
|
|
#6 |
|
Guest
Posts: n/a
|
ok thanks
|
|
|
||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| mass flow in is not equal to mass flow out | saii | CFX | 2 | September 18, 2009 08:07 |
| UDF for effective thermal conductivity | Rashmi | FLUENT | 1 | November 6, 2007 20:08 |
| Viscosity and thermal conductivity Formules | CPW | Main CFD Forum | 3 | April 14, 2002 12:40 |
| Inteface thermal conductivity | ado | Main CFD Forum | 4 | March 11, 2002 19:46 |
| Info: Short Course On Thermal Design of Electronic Equipment | Arnold Free | Main CFD Forum | 0 | August 10, 1999 10:18 |