CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

OpenFoam externalWallHeatFluxTemperature BC

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

LinkBack Thread Tools Display Modes
Old   June 11, 2015, 09:59
Default OpenFoam externalWallHeatFluxTemperature BC
New Member
giuseppe corrado
Join Date: May 2015
Posts: 5
Rep Power: 4
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.


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

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
giusepp93 is offline   Reply With Quote

Old   June 12, 2015, 13:09
Senior Member
Join Date: Oct 2013
Posts: 336
Rep Power: 15
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,

Web site where I present my Master's Thesis:

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
New Member
giuseppe corrado
Join Date: May 2015
Posts: 5
Rep Power: 4
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 :
version 2.0;
format ascii;
class volScalarField;
object T;
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions [0 0 0 1 0 0 0];

internalField uniform 300;

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

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


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

Old   June 12, 2015, 16:39
New Member
giuseppe corrado
Join Date: May 2015
Posts: 5
Rep Power: 4
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, 25 views)
giusepp93 is offline   Reply With Quote

Old   May 14, 2016, 10:11
New Member
Join Date: Oct 2014
Location: Cambridge,England
Posts: 22
Rep Power: 4
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 ).


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:

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.
a19910112a is offline   Reply With Quote


boundaries condition, externalwallheatflux, heat flux

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
OpenFOAM Foundation Releases OpenFOAM v2.3.0 opencfd OpenFOAM Announcements from OpenFOAM Foundation 3 December 23, 2014 04:43
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 10:04
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 0 January 1, 2014 20:21
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 14:09.