CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   compute heatflux (q) in rhoCentralFoam (https://www.cfd-online.com/Forums/openfoam-programming-development/154540-compute-heatflux-q-rhocentralfoam.html)

charitonas June 16, 2015 16:13

compute heatflux (q) in rhoCentralFoam
 
Hi,

I would like to calculate the heat flux in rhoCentralFoam.If i use the below equation will be correct?

volVectorField q = -k * fvc::grad(T);

I tried it but i get some strange results.
Has anyone tried that before?

Thanks


All times are GMT -4. The time now is 13:59.