CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [swak4Foam] Fixed Wall Heat Flux with groovyBC (https://www.cfd-online.com/Forums/openfoam-community-contributions/177190-fixed-wall-heat-flux-groovybc.html)

flowpow September 7, 2016 09:48

Fixed Wall Heat Flux with groovyBC
 
Hello FOAMers,

I'm currently trying to run a multiRegion case. I need a temperature dependent heat flux boundary condition with radiation and convection term on the outside of the solid (not coupled with the fluid). So I tried to use groovyBC. But there you can only specify the temperature gradient.

q = gradT * thermal diffusity

Code:

geh_out
    {
        type                        groovyBC;
        gradientExpression          "gradT";
        fractionExpression          "0";
        variables                    "Tinf=313.15;k=160;heatFlux=-(radiation+convection);gradT=heatFlux/k;";
    }

But I don't know which thermal diffusity to use. I tried the thermal diffusity from the solid, but the result was incorrect. Which thermal diffusity can I use?
In comparison to CFX, is there the possibility to determine a heat flux?

With best regards


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