Fortran to resolve Heat tranfers problem

  • Topic: Fortran 
  • Thread starter giber
  • Start date
  • Tags Tags
    Fortran Heat
7 replies · 8K views · last reply
giber
Messages
15
Reaction score
0
i need to know if someowne can help me with a program that i have to do to resolve a heat problem of the Patankat(autor) book. exercise 5.1 is the problem and to solve it i need to use the upwind method and the CDS method..

please help
thanks
 
i have to do a program in fortran to resolve this problem.

it´s a problrm of convective heat transfer, bi-dimensional with generation of heat on a uniform meshgrid. if you know, it´s a problem from the book "Numerical Heat Transfer and Fluid Flow_Suhas V. Patankar_1980" - exercice 5.1.


the problem as to be solve using the CDS esquem and the Upwind esquem

than i have to make the grid refinement and compare the results of the esquem i use...
 
Attachments
  • Diagram of a 3 by 3 uniform grid of cells with nodes numbered 1 to 4, boundary labels phi = 0 on top and right, phi = 100 on left and bottom, and x-y axes; below it the convective equation div(rho U phi) = div(Gamma grad phi) + a - b phi with listed parameter values.
    convection problem.jpg
    11.1 KB · Views: 604
Last edited:
You're going to need to show us more. What have you tried, and what kind of problems are you having? This isn't an all-you-can-eat code buffet, you've got to prepare your own meals.
 
were is some code i have made

were is some code i have made but the temperature is wrong in the end...
i´m using the method line-by-line with the TDMA in the vertical
 
Attachments
I am a new user of FORTRAN, Plz help me to solve a problem
Example 5.2,An introduction to computatinal fluid dynamics,The finite volume method.-H.K.Versteeg and W.Malalasekera. page-104.
I would be very gradefule if anybody help me
Yours truly
Taher
 
Hi Giber,

I read your code and I notice that you were missing the iterative loop in the cycle. I am doing the same problem and I also have problems with my code. Were you able to finish that one? I am driving crazy with mine!