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 Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 12, 2018, 13:19
Default Used Heat Flux instead of tempearture
  #1
New Member
 
Join Date: Dec 2014
Posts: 7
Rep Power: 11
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

Old   August 9, 2023, 21:57
Default
  #2
New Member
 
SUNhaoyu
Join Date: Oct 2022
Posts: 7
Rep Power: 3
SHY22 is on a distinguished road
Hey! Have you solve the problem? I met the same question.
SHY22 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
Total heat transf. rate vs Total surface heat flux Renato Sousa FLUENT 1 April 14, 2020 03:27
CEL expression for calculating heat flux to be applied as surface boundary condition shadnia CFX 14 August 20, 2018 18:32
Basic Nozzle-Expander Design karmavatar CFX 20 March 20, 2016 08: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


All times are GMT -4. The time now is 17:22.