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

OpenFoam externalWallHeatFluxTemperature BC

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By giusepp93
  • 1 Post By a19910112a

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 11, 2015, 09:59
Default OpenFoam externalWallHeatFluxTemperature BC
  #1
New Member
 
giuseppe corrado
Join Date: May 2015
Posts: 5
Rep Power: 10
giusepp93 is on a distinguished road
Hi Foamers!
i am trying to implement a case with buoyantBoussinesqSimpleFoam. The geometry is simple, a pipe, and i want to set a costant heat flux q on walls using externalWallHeatFluxTemperature Bc. I tried to do it, but my simulation crashed.

FOAM FATAL ERROR:

request for solidThermo thermophysicalProperties from objectRegistry region0 failed
available objects of type solidThermo are
0()

From function objectRegistry::lookupObject<Type>(const word&) const
in file /home/giuseppe/OpenFOAM/OpenFOAM-2.3.1/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 198.

thanks a lot
Giuseppe
giusepp93 is offline   Reply With Quote

Old   June 12, 2015, 13:09
Default
  #2
Senior Member
 
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 21
zfaraday will become famous soon enough
Hi Giuseppe, it seems you have chosen solidThermo in thermophysicalProperties file. You should try with another option since this solver is not for solids... If you don't know what is the proper type to be used just do the banana trick! You know, just write banana in the place of the field you don't know the name to be used and run again the solver so that it will complain and tell you the available options.

Best regards,

Alex
__________________
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

Old   June 12, 2015, 16:27
Default
  #3
New Member
 
giuseppe corrado
Join Date: May 2015
Posts: 5
Rep Power: 10
giusepp93 is on a distinguished road
Hi dear @Alex , thanks a lot for your useful reply. Actually i solved already that 'problem' implementing my temperature like this :
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
object T;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 0 0 1 0 0 0];

internalField uniform 300;

boundaryField
{
inlet
{
type fixedValue;
value uniform 300;
}
wall
{
type externalWallHeatFluxTemperature;
q uniform 1000;
kappa lookup;
kappaName k;
thicknessLayers (1e-3) ;
kappaLayers (55) ;
value uniform 300;
QrName none;

}
outlet
{
type zeroGradient;
}
}

So the simulation worked but i didn't obtain good results (Tvalues too high). My case is the simplest one, but it seems so difficult with OpenFoam. I set a liquid flow inside a pipe with a constant velocity, a fixed temperature at the beginning and so, after the constant heat flux action on wall, i want to know how the temperature increase ( setting the enhancemente of thermal conductivity, convective heat flux coefficient, and other parameters that change with temperature, such as cp rho nu). i don't care about radiation and conduction, i just want to evaluate my fluid. I'm quite new to openfoam so surely i'm doing some mistake.I will post my case setting. Thanks a lot for your availability.
Best regards

Giuseppe
jai manik likes this.

Last edited by giusepp93; June 13, 2015 at 02:48.
giusepp93 is offline   Reply With Quote

Old   June 12, 2015, 16:39
Default
  #4
New Member
 
giuseppe corrado
Join Date: May 2015
Posts: 5
Rep Power: 10
giusepp93 is on a distinguished road
here there is my case. I think my solver (buoyantBoussinesqSimpleFoam) ignores my thermophysicalProperties, where i set the values depending on temperature. I am also not sure about my boundary condition, because i want just to focus about convective flux, so maybe that boundaries on temperature is wrong.
I hope u, or someone so smart like u, can help me.
Attached Files
File Type: gz mycase.giuseppe.tar.gz (45.2 KB, 54 views)
giusepp93 is offline   Reply With Quote

Old   May 14, 2016, 10:11
Wink
  #5
New Member
 
zech
Join Date: Oct 2014
Location: Cambridge,England
Posts: 22
Rep Power: 11
a19910112a is on a distinguished road
I'm not sure if this is still useful to giusepp93, however, I will just post what I think about his code.

I did not look at his case but I looked at his cod at Posts 5.

firstly, you should set ( h and Ta ) or ( q ).

Secondly

Code:
kappaName       k;
That is not a correct setting as the solver will find a the field named ‘k’ and use that as the value of kappa. 'k' field that already exit is the k for k-epsilon model, rather than a kappa.

what you could do instead:
If your velocity is small enough, you could add the flowing code to the solver:

Code:
volScalarField kappaEff("kappaEff", alphaEff*rho*Cp);
That is only usable when your convection effect is very small.

Maybe zfaraday could explain more about this, as I'm totally not a CFD guy.

Also I wonder if anyone have attempted to use the q option, I was not able to produce similar results using these two options mentioned in the first comment.
jai manik likes this.
a19910112a is offline   Reply With Quote

Reply

Tags
boundaries condition, externalwallheatflux, heat flux


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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 11:58
OpenFOAM Foundation Releases OpenFOAM v2.3.0 opencfd OpenFOAM Announcements from OpenFOAM Foundation 3 December 23, 2014 03:43
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 09:04
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
OpenFOAM Training and Workshop Hrvoje Jasak Main CFD Forum 0 October 7, 2005 07:14


All times are GMT -4. The time now is 00:19.