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

convection + known heat flux BC in the same wall

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 19, 2013, 16:01
Question convection + known heat flux BC in the same wall
  #1
Senior Member
 
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 21
zfaraday will become famous soon enough
Hi FOAMers!

I'm trying to solve a problem of heat conduction using laplacianFoam. The problem is that one of the BC is such that has convection and a heat flux of known value at the same time, according to the equation:

Code:
h*(Tinf-Tb) + q/A = -K*dT/dx
h, Tinf, q/A and K are known.

Another adjacent wall has only the convection part and I'm working with the next implementation with groovyBC:

Code:
water
    {
      type              groovyBC;
      variables         "hwater=50.0;Twater=20.0;k=0.5;";
      valueExpression     "Twater";
      fractionExpression  "1.0/(1.0 + k/(mag(delta())*hwater))";
      value               uniform 50;
    }
The first I thought about was only modifying the convection expression shown above to include the heat flux by adding the gradientExpression field, but I didn't see it clear... Besides I think that was not right.

I would appreciate some help with the implementation of the BC explained above with groovyBC (or maybe not..) since i can't solve my problem without it.

Thank you very much 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

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
convergenceof natural convection prob. in cfx cpkewat CFX 15 January 31, 2014 06:29
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 06:28
natural convection mehrdadeng CFX 10 February 25, 2011 05:25
Looking for a code of exact wall heat flux on cylinder enclosure wall ljwbuaa Main CFD Forum 5 January 16, 2011 08:33
Heat Flux Wall Boundary Confusion. Joee FLUENT 1 August 21, 2010 12:20


All times are GMT -4. The time now is 20:56.