Fortran to resolve Heat tranfers problem

  • Context: Fortran 
  • Thread starter Thread starter giber
  • Start date Start date
  • Tags Tags
    Fortran Heat
Click For Summary
SUMMARY

The forum discussion centers on solving a bi-dimensional convective heat transfer problem from Suhas V. Patankar's book "Numerical Heat Transfer and Fluid Flow" (1980), specifically exercise 5.1. The user, Taher, seeks assistance in implementing the Upwind and Central Difference Schemes (CDS) using Fortran. Key issues include incorrect temperature results and the need for grid refinement to compare the outcomes of the two schemes. Participants emphasize the importance of iterative loops in the coding process to achieve accurate results.

PREREQUISITES
  • Understanding of convective heat transfer principles
  • Familiarity with the Upwind and Central Difference Schemes (CDS)
  • Proficiency in Fortran programming
  • Knowledge of grid refinement techniques in numerical methods
NEXT STEPS
  • Implement iterative loops in Fortran for heat transfer calculations
  • Study the Upwind and Central Difference Schemes in detail
  • Research grid refinement methods for numerical simulations
  • Explore debugging techniques for Fortran code to resolve temperature discrepancies
USEFUL FOR

Students and professionals in computational fluid dynamics, Fortran programmers, and anyone tackling numerical heat transfer problems.

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: 557
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 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 17 ·
Replies
17
Views
7K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 17 ·
Replies
17
Views
6K
  • · Replies 8 ·
Replies
8
Views
4K