CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Post-Processing (https://www.cfd-online.com/Forums/openfoam-post-processing/)
-   -   wallHeatFlux (https://www.cfd-online.com/Forums/openfoam-post-processing/138757-wallheatflux.html)

buck_s July 10, 2014 07:26

wallHeatFlux
 
Hello everyone,

I am currently using and modifying the wallHeatFlux utility in order to calculate other values, that are calculated from the heat flux. However, I am not quite sure how the utility calculates the heat flux... to be specific, I don't quite get this part:

Code:

surfaceScalarField heatFlux
        (
            fvc::interpolate
            (
                (
                    turbulence.valid()
                  ? turbulence->alphaEff()()
                  : thermo->alpha()
                )
            )*fvc::snGrad(h)
        );

What are alpha and h in the code?

I am using OpenFOAM 2.2.x

I would really appreciate it, if someone could assist me with this by pointing out which equation is being used here to calculate q.

Thanks in advance.

buck_s July 14, 2014 05:18

Does anyone know how it works??


All times are GMT -4. The time now is 00:56.