buoyantBoussinesqPimpleFoam - Heat capacity on wall BC
Hello,
I'm working with buoyantBoussinesqPimpleFoam solver simulating the flow of water in pipes. Is it possible to define the walls as having heat capacity ? This could give a first approximation of how a warmer fluid is going to be cooled (and for how long) flowing in colder pipes. Without using multiple regions solvers, I mean. Thanks, |
At the moment I'm trying to use groovyBC to create a relation between the temperature of each cell on the walls to the one of closer cell (but not of the walls).
Someone could indicate whether this could be the right (approximate) approach ? Or do I definetely need a multiregion case ? Thanks. |
1 Attachment(s)
I found a good BC... in CFX :(. Here enclosed you can see a picture I found on one of its paper (I hope one is allowed to reproduce them here).
The note on this picture is: Quote:
I hope now it's more clear what I'd like to obtain. Is there any possibility to get the same result in OF ? I know the answer is yes but my math capability are a little...rusty :o. Any help ? |
I'm not sure I understood your question. But if you need a BC with a heat transfer coefficient and an external temperature you already have the BC named "externalWallHeatFluxTemperature" in OF.
The input is [h & T external] OR [q] with q = h * (T external - T internal). |
Thanks Aurelien, It seems what I need.
Unfortunately I don't have it as a BC choice... Code:
|
Well, I think externalWallHeatFluxTemperature is just for compressible solvers.
Is there any way to have it using buoyantBoussinesqPimpleFoam ? |
Greetings to all!
@Daniele: Quote:
Code:
compressible::externalWallHeatFluxTemperature Code:
grep -r 'compressible::' * Best regards, Bruno |
Thanks Bruno.
Unfortunately, it still returns the same errror. BTW, my BC is: Code:
walls |
I think I was using this BC with a "BasicRhoThermo" for the fluid. If you are using a BasicPsiThermo it could lead to an error.
Try to use it by modifying a tutorial. If it works, you will have to change the source code or your solver. |
Just a small update.
I checked what's inside externalWallHeatFluxTemperature and basically it's what I need: Code:
00222 forAll (*this, i) So, based on the direction of the Heat flux (q), externalWallHeatFluxTemperature sets the right BC. In order to reproduce this behavior I used groovyBC in this way: Code:
- I'm just considering an entering flux. - I still have to understand what physical value has hc (normally, heat transfer coefficient). In my BC it groups K too, that I think it rappresent specific heat. - hc=10000 is just a test value. Any comment or suggestion would be helpfull, thanks. |
Hello,
I have some problem with externalWallHeatFluxTemperature which is not working properly with OF2.1.0 I can not switch to OF211 because GroovyBC is not working with this new version. Thus, I tried to replace externalWallHeatFluxTemperature with a groovy boundary condition. Code:
walls I was also using wallexternalHF as an entering heat flux. Could it be also done with groovyBC ? |
Quote:
I´m having the same problem... did anyone manage to compile this for an incompressible solver? Thanks, Paula |
All times are GMT -4. The time now is 09:04. |