Fortran to resolve Heat tranfers problem

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

Discussion Overview

The discussion centers around resolving a heat transfer problem from the book "Numerical Heat Transfer and Fluid Flow" by Suhas V. Patankar, specifically exercise 5.1. Participants are seeking assistance with programming in Fortran to implement the upwind and central difference schemes (CDS) for a bi-dimensional convective heat transfer problem involving heat generation on a uniform mesh grid.

Discussion Character

  • Homework-related, Technical explanation, Debate/contested

Main Points Raised

  • One participant requests help with a Fortran program to solve a specific heat transfer problem using the upwind and CDS methods.
  • Another participant asks for more details about the original poster's progress and the specific issues they are encountering.
  • A participant describes the problem as involving convective heat transfer on a uniform mesh grid and mentions the need for grid refinement and result comparison.
  • One participant expresses frustration with their own code, noting issues with temperature calculations and the absence of an iterative loop in their implementation.
  • A new user of Fortran seeks help with a different example related to computational fluid dynamics, indicating a broader interest in the topic.

Areas of Agreement / Disagreement

Participants generally agree on the need for more information and clarification regarding the original poster's attempts and challenges. However, there is no consensus on specific solutions or approaches to the problem, as multiple participants express their own difficulties and seek assistance.

Contextual Notes

Some participants mention missing iterative loops and specific coding issues, but the discussion does not resolve these technical challenges or clarify the assumptions underlying the problem-solving approaches.

Who May Find This Useful

This discussion may be useful for individuals working on numerical methods for heat transfer problems, particularly those using Fortran, as well as those interested in computational fluid dynamics.

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: 569
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