|
[Sponsors] |
March 18, 2022, 08:14 |
Nusselt number
|
#1 |
New Member
Ammar
Join Date: Jan 2022
Posts: 12
Rep Power: 4 |
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 |
|
Tags |
finite difference method, matlab, nusselt number |
|
|
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 |