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

heat flux boundary condition multiphase flow

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Abishek

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 25, 2015, 00:51
Default heat flux boundary condition multiphase flow
  #1
New Member
 
Join Date: Sep 2011
Posts: 11
Rep Power: 14
Abishek is on a distinguished road
This is with reference to openfoam 2.3

How can one specify constant heat flux BC for multiphase flows;

For single phase flows, fixedGradient BC can be specified (where the gradient is heatFlux/thermalConductivity)

However, in multiphase flows (eulerian or interFoam with TEqn), the alpha (volumeFraction) on the wall is not equal to 1 in many cases when a bubble or droplet comes in contact with the heated wall temporarily, and hence, an alpha-dependant BC must be specified - something like

gradient = heatFlux / (alpha1*k1 + (1-alpha1)*k2)

could this be accomplished using the standard BCs or should one use a groovyBC.

using a groovyBC like this,

b_heater
{
type groovyBC;
refValue uniform 293.15;
gradientExpression "qflux/kAlphaEff";
variables "qflux=10000;kAlphaEff=alpha1*0.5+(1.0-alpha1)*0.02;";
// value uniform 293.15;
}

I get the error message shown in the attached file.

however, if I change the groovyBC to exclude alpha1 from the expression (by using dummy values=0.5) like below:

b_heater
{
type groovyBC;
refValue uniform 293.15;
gradientExpression "qflux/kAlphaEff";
variables "qflux=10000;kAlphaEff=0.5*0.5+(1.0-0.5)*0.02;";
// value uniform 293.15;
}

the simulation runs without errors.

How can this be resolved ?

Thanks.
Attached Files
File Type: txt errorMessage.txt (2.4 KB, 30 views)
Nostradamus likes this.

Last edited by Abishek; May 25, 2015 at 02:01.
Abishek is offline   Reply With Quote

Reply

Tags
groovybc, heatflux, interfoam, multiphase, swak4foam


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
Radiation interface hinca CFX 15 January 26, 2014 17:11
Multiphase heat flux boundary condition. gaurav4rt Fluent Multiphase 3 December 11, 2013 15:25
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44
Water subcooled boiling Attesz CFX 7 January 5, 2013 03:32
Concentric tube heat exchanger (Air-Water) Young CFX 5 October 6, 2008 23:17


All times are GMT -4. The time now is 16:26.