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

Used Heat Flux instead of tempearture

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 12, 2018, 14:19
Default Used Heat Flux instead of tempearture
  #1
New Member
 
Join Date: Dec 2014
Posts: 6
Rep Power: 5
roshanak878 is on a distinguished road
Hi
I am working on multi phase change solver called, reactingTwoPhaseEulerFoam.I have boiling and condensation at boundary. instead of constant temperature at wall, I want to apply heat flux and openFoam automatically calculate wall temperature. The library that I used is called "fixedMultiPhaseHeatFlux, for example when I have boiling, I set this boundary for T.water at wall and for another phase T.steam I applied, "copyFixedValue"(see end of message). My problem is that, when I set heat flux of 2000 W/m2 for wall, when my running is complete, the value of heat flux that I gather from all control volume at wall is not exactly the value that I set as input, it has error of 4-15 %. I want to know anyone has ever worked with library before, what is your experience about this?
thanks a lot for your attention

************************************************
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object T.water;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 0 0 1 0 0 0];

internalField uniform 286.17;

boundaryField
{
evaporatorLiq
{
type fixedMultiPhaseHeatFlux;
relax 0.5;
q uniform 2000;
phase "liquid";
value uniform 289.6;

}
***********************************************
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object T.steam;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 0 0 1 0 0 0];

internalField uniform 286.17;

boundaryField
{
evaporatorLiq
{
type copiedFixedValue;
sourceFieldName T.water;
value uniform 289.6;


}
roshanak878 is offline   Reply With Quote

Reply

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
CEL expression for calculating heat flux to be applied as surface boundary condition shadnia CFX 3 April 17, 2018 06:57
Basic Nozzle-Expander Design karmavatar CFX 20 March 20, 2016 09:44
Forced convective heat transfere with fixed heat flux? BenFranklinIII OpenFOAM Running, Solving & CFD 0 July 30, 2015 05:31
Enforce bounds error with heat loss boundary condition at solid walls Chander CFX 2 May 1, 2012 20:11
Total heat transf. rate vs Total surface heat flux Renato Sousa FLUENT 0 August 22, 2005 10:34


All times are GMT -4. The time now is 18:41.