CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Temperature Distribution problem ScalarTransportFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 25, 2013, 12:12
Default Temperature Distribution problem ScalarTransportFoam
  #1
New Member
 
João Ferreira
Join Date: Oct 2013
Posts: 3
Rep Power: 13
Hotjuan is on a distinguished road
Hi,

i'm working scalarTransportFoam trying to get temperature distribution on a wall with internal heat generation (q=1000kW/m3), one face with 100ºC and another with 200ºC imposed.

My problem's with fvOptions. How can i add the internal heat generation source term in fvOptions? Anyone made something similar?

Thank you and best regards
Hotjuan is offline   Reply With Quote

Old   November 19, 2013, 16:00
Default
  #2
Senior Member
 
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22
zfaraday will become famous soon enough
I'm also interested in the answer! I'm working with something similar but I haven't found the way to solve it...

Thanks in advance!
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com

The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in!
zfaraday is offline   Reply With Quote

Old   November 20, 2013, 06:41
Default
  #3
Senior Member
 
Olivier
Join Date: Jun 2009
Location: France, grenoble
Posts: 272
Rep Power: 18
olivierG is on a distinguished road
hello,

I think there is not such ready to use fvOption source for heat generation (i.e W or W/m3 source). You can have it for T, but this is [K], not Watt. You also can constraint T value, but not the heat source directly.
So the solution is to use the "codedSource" ... but this need a little codding stuf.

regards,
olivier
olivierG is offline   Reply With Quote

Old   November 20, 2013, 11:20
Default
  #4
Senior Member
 
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22
zfaraday will become famous soon enough
Yes, you are right. But as heat flows through a solid according to the expression

Code:
q/A = -k*dT/dx
maybe we could do something with the gradT. That's what I first thought... Maybe working with swak4foam...
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com

The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in!
zfaraday is offline   Reply With Quote

Old   December 4, 2013, 14:27
Default
  #5
New Member
 
Laurien Vandewalle
Join Date: Jun 2013
Location: Ghent, Belgium
Posts: 29
Rep Power: 13
lavdwall is on a distinguished road
Can someone give me an example of the usage of codedSource in fvOptions? What exactly are codeCorrect, codeAddSup and codeSetValue?
lavdwall is offline   Reply With Quote

Old   December 7, 2013, 15:28
Default
  #6
New Member
 
João Ferreira
Join Date: Oct 2013
Posts: 3
Rep Power: 13
Hotjuan is on a distinguished road
Hi,

to solve this problem, i used fvOptions with scalarSemiImplicitSource.
Where the Su term (first one) is the internal heat transfer and thats solved!

HTML Code:
Source
{
    type            scalarSemiImplicitSource;
    active          true;
    selectionMode   all;

    scalarSemiImplicitSourceCoeffs
    {
        volumeMode     specific;
        injectionRateSuSp
        {
             T       (0 0); 
        }
    }
}
Best regards.
Hotjuan is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
PorousMedia Problem with Temperature Distribution pawan OpenFOAM Running, Solving & CFD 2 August 3, 2015 00:08
is internalField(U) equivalent to zeroGradient? immortality OpenFOAM Running, Solving & CFD 7 March 29, 2013 02:27
temperature distribution problem in a fluid-solid coupled case ryanmoser FLUENT 4 September 2, 2012 06:35
static temperature is higher than total temp. in buoyancy problem amirbahador FLUENT 2 October 24, 2010 08:21
Temperature distribution in a solid michael_krobath OpenFOAM Running, Solving & CFD 3 August 29, 2007 08:12


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