CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Nusselt number

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 18, 2022, 08:14
Exclamation Nusselt number
  #1
New Member
 
Ammar
Join Date: Jan 2022
Posts: 12
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 )

Code:
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);   
    end
i'll very grateful for any help
chberbelali is offline   Reply With Quote

Reply

Tags
finite difference method, matlab, nusselt number


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 10:42
parallel run OpenFoam Srinath Reddy OpenFOAM Running, Solving & CFD 13 February 27, 2019 10:15
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 19:57
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 08:36
[Commercial meshers] Trimmed cell and embedded refinement mesh conversion issues michele OpenFOAM Meshing & Mesh Conversion 2 July 15, 2005 05:15


All times are GMT -4. The time now is 16:32.