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/)
-   -   Heat Generation rate in W/m³ (https://www.cfd-online.com/Forums/openfoam-programming-development/138041-heat-generation-rate-w-m.html)

ashghan June 27, 2014 06:42

Heat Generation rate in W/m³
 
Hello Everybody,

I want to solve a convective heat transfer model of an external wall as a volumetric heat source. With the present boundary condition of externalWallHeatFlux I can give the following input

Code:

myPatch
        {
            type            externalWallHeatFluxTemperature;
            kappa          fluidThermo;      // fluidThermo, solidThermo or
                                              // lookup
            q              uniform 1000;      // heat flux / [W/m2]
            Ta              uniform 300.0;    // ambient temperature /[K]
            h              uniform 10.0;      // heat transfer coeff /[W/K/m2]
            thicknessLayers (0.1 0.2 0.3 0.4); // thickness of layer [m]
            kappaLayers    (1 2 3 4)          // thermal conductivity of
                                              // layer [W/m/K]
            value          uniform 300.0;    // initial temperature / [K]
            kappaName      none;
        }

but Incase if I want to input the heat flux as a heat generation rate in W/m³. What should I be doing? How can I add the heat generation source?. Looking forward to see some suggestions.


Best
Ashwin


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