CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   How to create constant q heater? (https://www.cfd-online.com/Forums/openfoam/87651-how-create-constant-q-heater.html)

Scot April 25, 2011 17:30

How to create constant q heater?
 
In the chtMultiRegionFoam tutorials, the heaters have a hot face (such as the bottom of the T-shaped heater) set at constant temperature like 500K. Is it possible to make the heater have a constant output instead, such as 100 Watts? Thanks, Scot

bhh April 26, 2011 00:33

Check out
http://www.cfd-online.com/Forums/ope...nsfer+boundary

rgds
Bjorn

val46 April 26, 2011 03:31

Hi Scot,

at the moment there is no solver for this problem but quite a few people are working on that issue.

Check out http://www.cfd-online.com/Forums/ope...egionfoam.html

or search the forum for "heat source"

Regards,
Toni

Scot April 26, 2011 13:34

Thank you, Bjorn. I like the simplicity of your answer but as I have tried to implement it in /system/heater/changeDictionaryDict, the model runs fine but q is simply ignored. I cranked q up to 10,000W with no effect on T anywhere.

The code reads:
dictionaryReplacement {
T {
internalField uniform 293;
boundaryField {
".*" {
type compressible::turbulentTemperatureCoupledBaffleMix ed;
neighbourFieldName T;
K K;
heatSource power;
q uniform 10000;
value uniform 293; }}}

The stuff above "heatSource power" was already there and I get a crash if I remove any of it. Any idea why q is ignored? Thank you! Scot


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