CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Time varying Temperature in a Region for chtMultiRegionFoam (https://www.cfd-online.com/Forums/openfoam-solving/235022-time-varying-temperature-region-chtmultiregionfoam.html)

dasith0001 March 28, 2021 22:34

Time varying Temperature in a Region for chtMultiRegionFoam
 
Hi All,

I am new to OF and trying to develop a conjugate heat transfer model with chtMultiRegionFoam.

A region called 'heater' is defined and it radiates and convects heat energy. hence the boundary is defined 'compressible::turbulentTemperatureRadCoupledMixed '.

Now I want to input temperature as a function of time only to the heater region.

OF allows me to change the boundary condition with the following set-up;

boundaryField
{
".*"
{
type uniformFixedValue;
uniformValue table
(
(0 750)
(5 800)
(10 850)
(15 900)
);
}
"heater_to_.*"
{
type compressible::turbulentTemperatureRadCoupledMixed;
Tnbr T;
kappaMethod solidThermo;
value uniform 300;
}
}
}

1. how can I make the "heater_to_.*" boundary temperature also as a function of time?

2. The above only works for interfaces that do not define radiate or convect. how can I vary the internal field temperature of the region 'heater'?

3. using a constant or time-varying power source to the heater is an option too, but is it possible to use the temperature as the time dependant input?

I would really appreciate it if anyone can direct me or advise me on how to change the temperature in the heater region as a function of time, whilst enabling some boundaries to radiate and convect heat.

I hope the problem is clear, if not, please ask.
Thank you very much

Dasith


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