Group Abstract Group Abstract

Message Boards Message Boards

Calculation of the Nusselt number and the thermal inelet region: NIntegrate failed to converge

Posted 1 year ago

Hello to everyone I have a problem with calculation of the Nusselt number and the thermal inelet region. My result is 1.51 but my prof told me is not correct.
Here is my code

POSTED BY: Andrea Naticchi
5 Replies
POSTED BY: Andrea Naticchi

Please keep your questions and replies in English Language.
Thank you.

POSTED BY: EDITORIAL BOARD

Did you type Nu[t][[1]] or Nu[t][1]?

POSTED BY: Gianluca Gorni

enter image description here

[ENGLISH] Checking the values ​​It seems to works.

[ITA] Verificando i valori che ottengo funziona.

POSTED BY: Andrea Naticchi

Your code for esercizio 5 fails because your Nu[t] is a list, not a number. Try this:

t = 0.01; While[t <= 1.5, If[Nu[t][[1]] <= 1.05*3.657, Break[]]; 
 t = t + 0.01]
t

or, even better,

Clear[t];
FindRoot[Nu[t][[1]] == 1.05*3.657, {t, .1, .15}]
POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard