Fortran Fortran to resolve Heat tranfers problem

  • Thread starter Thread starter giber
  • Start date Start date
  • Tags Tags
    Fortran Heat
AI Thread Summary
The discussion revolves around solving a heat transfer problem from Suhas V. Patankar's book "Numerical Heat Transfer and Fluid Flow," specifically exercise 5.1, using the Upwind and Central Difference Schemes (CDS). The user is developing a Fortran program to address a bi-dimensional convective heat transfer issue with heat generation on a uniform mesh grid. Participants emphasize the need for more details about the user's progress and the specific challenges faced, as well as the importance of self-sufficiency in coding. The user has shared some code but is encountering incorrect temperature results and is struggling with the implementation of the TDMA method. Another participant notes the absence of an iterative loop in the user's code and expresses their own difficulties with the same problem, indicating a shared struggle among users with similar computational fluid dynamics tasks.
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
 
Technology news on Phys.org
We need more information and what have you done so far?
 
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

  • convection problem.jpg
    convection problem.jpg
    11.1 KB · Views: 536
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!
 

Similar threads

Replies
2
Views
1K
Replies
8
Views
1K
Replies
6
Views
2K
Replies
17
Views
6K
Replies
3
Views
2K
Replies
4
Views
2K
Replies
17
Views
5K
Replies
8
Views
4K
Back
Top