CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM

convection + known heat flux BC in the same wall

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   November 19, 2013, 17:01
Question convection + known heat flux BC in the same wall
Senior Member
Join Date: Oct 2013
Posts: 279
Rep Power: 13
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:

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:

      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!
I'm newbie in OpenFOAM's world and not an English-speaking, so if I make any mistake a correction will be welcome!
zfaraday is offline   Reply With Quote


Thread Tools
Display Modes

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 On
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 07: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 06:25
Looking for a code of exact wall heat flux on cylinder enclosure wall ljwbuaa Main CFD Forum 5 January 16, 2011 09:33
Heat Flux Wall Boundary Confusion. Joee FLUENT 1 August 21, 2010 12:20

All times are GMT -4. The time now is 15:31.