CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   nusselt calculation in patch (https://www.cfd-online.com/Forums/openfoam/79465-nusselt-calculation-patch.html)

nimasam August 24, 2010 15:43

nusselt calculation in patch
 
i want to calculate the following expression


Nu=L*/(Tw-T0)d(T)/dy @y=0


how can i define d(T)/dy @y=0 at patch i in openFoam ?

nimasam August 29, 2010 21:42

follow the below link its totally helpful
http://www.cfd-online.com/Forums/ope...l?nojs=1#links

gradT.boundaryField()[patchi] =T.boundaryField()[patchi].snGrad();


All times are GMT -4. The time now is 04:25.