CFD Online Logo CFD Online URL
Home > Forums > General Forums > Main CFD Forum

Nusselt number

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   March 18, 2022, 07:14
Exclamation Nusselt number
New Member
Join Date: Jan 2022
Posts: 11
Rep Power: 4
chberbelali is on a distinguished road
Hello Cfds!

I am in the process of programming the local & average Nusselt number in a left vertical wall but my Matlab script gives me inappropriate values and it doesn't change with changing of Rayleigh number .

The expressions of the local nusselt: (-dT/dx)|x=0

My script: using finite difference approximation with 5points- Forward scheme ( j=1 to m+1 and i=1 )

Nu_loc = zeros(1,m+1);
    for j=1:m+1
        Nu_loc(j) = -(-25*T(1,j)+48*T(1+1,j)-36*T(1+2,j)+16*T(1+3,j)-3*T(1+4,j))/(12*hx);   
i'll very grateful for any help
chberbelali is offline   Reply With Quote


finite difference method, matlab, nusselt number

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 09:42
parallel run OpenFoam Srinath Reddy OpenFOAM Running, Solving & CFD 13 February 27, 2019 09:15
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 18:57
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 04:15

All times are GMT -4. The time now is 15:47.