|
[Sponsors] |
June 11, 2015, 10:59 |
OpenFoam externalWallHeatFluxTemperature BC
|
#1 |
New Member
giuseppe corrado
Join Date: May 2015
Posts: 5
Rep Power: 11 |
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 |
|
June 12, 2015, 14:09 |
|
#2 |
Senior Member
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22 |
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! |
|
June 12, 2015, 17:27 |
|
#3 |
New Member
giuseppe corrado
Join Date: May 2015
Posts: 5
Rep Power: 11 |
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 Last edited by giusepp93; June 13, 2015 at 03:48. |
|
June 12, 2015, 17:39 |
|
#4 |
New Member
giuseppe corrado
Join Date: May 2015
Posts: 5
Rep Power: 11 |
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. |
|
May 14, 2016, 11:11 |
|
#5 |
New Member
zech
Join Date: Oct 2014
Location: Cambridge,England
Posts: 22
Rep Power: 12 |
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; 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); 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. |
|
Tags |
boundaries condition, externalwallheatflux, heat flux |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 12:58 |
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 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |
OpenFOAM Training and Workshop | Hrvoje Jasak | Main CFD Forum | 0 | October 7, 2005 08:14 |