|
[Sponsors] |
January 6, 2018, 23:25 |
How do I calculate Local Nusselt number
|
#1 |
New Member
Arunim Bhattacharya
Join Date: Nov 2017
Posts: 3
Rep Power: 9 |
Can anyone tell me how to modify a solver or write a utility to calculate Nusselt number at the wall? I have been following Johan Magnusson's report,however I am using OF 5 which is making it really difficult to follow the report.
Thank You Arunim |
|
January 8, 2018, 21:51 |
Ok so I finally figured out how to do it.
|
#2 |
New Member
Arunim Bhattacharya
Join Date: Nov 2017
Posts: 3
Rep Power: 9 |
For anybody who wants to know
PHP Code:
|
|
February 26, 2018, 22:07 |
Code for the Nusselt number
|
#4 |
New Member
Arunim Bhattacharya
Join Date: Nov 2017
Posts: 3
Rep Power: 9 |
Hello,
I have adapted it for pisoFoam. You can easily do it for buouyantSimpleFoam . Here is the github link for my code https://github.com/arunimb/CFD_openFoam Cheers. |
|
February 27, 2018, 01:26 |
|
#5 |
Senior Member
|
Hi,
I've been able to modify the solver. But I have a question. My textbook refers to Nusselt number as for: Nu = t' / y' = (ts - t)/ (y/L) * 1 / (ts-tinf) that is the gradient of temperature at the wall. with:
Code:
dimensionedScalar ( "wallGradT", T.dimensions()/dimLength, 0 ) Previously you added also this line: Code:
nusseltNo = wallGradT*length/(Ts-Tinf); t' / y' why multiply for length? Thanks. PS:added modified files to buoyantBoussinesqSimpleFoam |
|
January 20, 2020, 08:07 |
|
#6 |
Member
Alex
Join Date: May 2019
Posts: 36
Rep Power: 7 |
Hi student666,
I am new to OpenFOAM and I need to implement a code to caluclate Nusselt for buoyantBoussinesqPimpleFoam. Could you tell me please what are the file I should modify and the codes I should write to get the average or local Nusselt number? Sorry if I ask too much but I am not good with coding so I would need a sort of step by step explanation, thanks! |
|
June 7, 2020, 11:18 |
|
#7 |
New Member
Charlie Marshall
Join Date: Jan 2020
Posts: 17
Rep Power: 6 |
Same problem here of how to use the php code in the openfoam
|
|
Tags |
local nusselt number |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[General] Extracting ParaView Data into Python Arrays | Jeffzda | ParaView | 30 | November 6, 2023 22:00 |
simpleFoam parallel | AndrewMortimer | OpenFOAM Running, Solving & CFD | 12 | August 7, 2015 19:45 |
AMI interDyMFoam for mixer | danny123 | OpenFOAM Running, Solving & CFD | 4 | June 19, 2013 05:49 |
same geometry,structured and unstructured mesh,different behaviour. | sharonyue | OpenFOAM Running, Solving & CFD | 13 | January 2, 2013 23:40 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |