CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Time-varying heat transfert coefficient (htc) with externalWallHeatFluxTemperature BC (https://www.cfd-online.com/Forums/openfoam/237530-time-varying-heat-transfert-coefficient-htc-externalwallheatfluxtemperature-bc.html)

ARC_P&P July 22, 2021 02:58

Time-varying heat transfert coefficient (htc) with externalWallHeatFluxTemperature BC
 
Hello everyone,



I am trying to set up the boundary condition externalWallHeatFluxTemperature in coefficient mode as follows :


top
{

type externalWallHeatFluxTemperature;
mode coefficient;
Ta constant 300.0;
h constant 10.0;

kappaMethod fluidThermo;
value uniform 400;

}

It works like this.


In my research I managed to set up Ta from a data table (time dependent), but I would like to go further and set up the heat transfer coefficient (bold line in code) as a time dependent variable which will be defined from a data table.


After some research[1], I know that Ta is defined as a Function1 type but h is defined as a patchFunction1 type and I don't know how I can set up the value of a patchFunction1 variable from a data table (even if I know it is possible).


[1] https://www.openfoam.com/documentati...alarField.html



Please, could you help me setting up this condition ?


Thank you in advance,

Jordan

Utkan August 7, 2022 07:04

Hello,

I am trying to do a similar thing. I want to specify time-varying heat flux condition with externalWallHeatFluxTemperature BC. Did you find a solution to your problem?


All times are GMT -4. The time now is 14:22.