|
[Sponsors] |
September 16, 2020, 22:47 |
buoyantPimpleFoam with humidity
|
#1 |
New Member
Chris
Join Date: Sep 2020
Posts: 8
Rep Power: 5 |
Hi all,
I am currently modelling heat transfer in a house with buoyantPimpleFoam and I am wanting to take variable humidity into account. I cannot seem to find any tutorials or information about other solvers that do this. Thus, does anyone know of whether a solver like this is available? Thanks in advance, Chris |
|
September 17, 2020, 05:09 |
|
#2 |
Senior Member
|
Allow radiative heat transfer with absorption coefficient that depends on H2O mass fraction? If yes, see reserveBurner tutorial of bouyantSimpleFoam. Possibly (?) is suffices to with reactions and combustion off.
|
|
September 17, 2020, 19:15 |
|
#3 | |
New Member
Chris
Join Date: Sep 2020
Posts: 8
Rep Power: 5 |
Quote:
So it seems I should not find a different solver, rather add the appropriate functionality that replicates the chemical process, namely the interaction with air/water? Is there anywhere that actually explains this tutorial with words, so I can match it to the code? Or interaction with air/water for humidity elsewhere? Thanks, Chris |
||
September 18, 2020, 02:17 |
|
#4 |
Senior Member
|
No clue on water/air interactions.
Chemical reactions can be added as shown in the reverseBurner tutorial and in the tutorials on the combustion solver (reactingFoam and related). Apologies for being vague. |
|
September 18, 2020, 03:28 |
|
#5 | |
New Member
Chris
Join Date: Sep 2020
Posts: 8
Rep Power: 5 |
Quote:
Thanks! |
||
October 8, 2020, 03:58 |
Back to it
|
#6 |
New Member
Chris
Join Date: Sep 2020
Posts: 8
Rep Power: 5 |
Hi again,
I have successfully updated my thermophysicalProperties file to include a mixture of air and water. The important part is: thermoType { type heRhoThermo; mixture reactingMixture; transport sutherland; thermo janaf; equationOfState perfectGas; specie specie; energy sensibleEnthalpy; } inertSpecie air; chemistryReader foamChemistryReader; foamChemistryFile "<constant>/foam.inp"; foamChemistryThermoFile "<constant>/foam.dat"; where the species are set in foam.inp: H2O { specie { molWeight 18.0153; } thermodynamics { Tlow 200; Thigh 3500; Tcommon 1000; highCpCoeffs ( 3.03399 0.00217692 -1.64073e-07 -9.7042e-11 1.68201e-14 -30004.3 4.96677 ); lowCpCoeffs ( 4.19864 -0.00203643 6.5204e-06 -5.48797e-09 1.77198e-12 -30293.7 -0.849032 ); } transport { As 1.67212e-06; Ts 170.672; } } air { specie { molWeight 28.9596; } thermodynamics { Tlow 200; Thigh 3500; Tcommon 1000; highCpCoeffs ( 3.57304 -7.24383e-04 1.67022e-06 -1.26501e-10 -4.20580e-13 -1047.41 3.12431 ); lowCpCoeffs ( 3.09589 1.22835e-03 -4.14267e-07 6.56910e-11 -3.87021e-15 -983.191 5.34161 ); } transport { As 1.67212e-06; Ts 170.672; } } I have combustion, radiation and reactions off and added appropriate air and H2O files in the 0 directory. This runs no problem. The problem is now I need to compute individual properties of the gases using the ideal gas law in order to calculate the relative humidity. Is there a relevant tutorial somewhere that computes properties of the individual gases? I also noticed that unlike the reverseBurner tutorial for example, the air and H2O files in subsequent times are not updated. I assume this is because their mass fractions remain equal? I am not pumping anything in or taking anything out. Thanks in advance. |
|
October 8, 2020, 17:48 |
|
#7 |
Senior Member
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21 |
As far as I know, buoyantPimpleFoam cannot be used to simulate different species. It just ignores the air and H2O files and calculates if as there is just one species. Look at the other solvers like reactingFoam. There you see in the output, that at least one equation for the species concentration is solved.
|
|
October 8, 2020, 19:22 |
|
#8 | |
New Member
Chris
Join Date: Sep 2020
Posts: 8
Rep Power: 5 |
Quote:
So reactingFoam should do everything that buoyantPimpleFoam does, but with the added functionality of evolving the mixtures? I've noticed for example the reverseBurner tutorial in chtMultiRegionFoam evolves the mixtures. Thanks. |
||
October 10, 2020, 18:17 |
|
#9 |
New Member
Chris
Join Date: Sep 2020
Posts: 8
Rep Power: 5 |
Update:
I have the thing running with rhoReactingBuoyantFoam, however the results are not as expected. I am modelling a room at a fixed temperature with an inlet blowing in hot air, and I am trying to incorporate water vapour. What I find when using buoyantPimpleFoam is that the heat is not transferred through the air very fast, and it is quite localised. However when using rhoReactingBuoyantFoam (or just rhoPimpleFoam) with just air, the heat gets transferred to the entire room very quickly and it heats up uniformly, looking very unrealistic. I am guessing this has something to do with the thermophysicalProperties, although I use the same for both solvers above. Is there anyone out there who has an idea about this? I attach two pictures below of temperature on a vertical slice of the room after some time, one solved with buoyantPimpleFoam, the other with rhoReactingBuoyantFoam. One can see how the room is heated much quicker with the rhoReactingBuoyantFoam solver, and this has me worried. Sorry about the quality, but the point I'm trying to make is obvious nonetheless. Thanks in advance. Last edited by nullicle; October 10, 2020 at 20:15. |
|
October 10, 2020, 20:13 |
|
#10 |
New Member
Chris
Join Date: Sep 2020
Posts: 8
Rep Power: 5 |
Two pictures.
|
|
October 10, 2020, 22:18 |
|
#11 |
New Member
Chris
Join Date: Sep 2020
Posts: 8
Rep Power: 5 |
Update #2:
I think the reason why the temperature increases everywhere is because the pressure increases rapidly everywhere after not so many iterations. This could be because I have no outlet, but I have the BC of the inlet for the air file as Heatpump_Inlet { type fixedValue; value uniform 0; } So I am not "pumping in air", but rather blowing it around. I will run a test case with an outlet and see if that makes a difference. |
|
October 3, 2022, 05:51 |
similar case
|
#12 |
New Member
Khafagy
Join Date: Jul 2022
Location: Cairo
Posts: 1
Rep Power: 0 |
Hi nullicle,
I am currently doing a very similar case (blowing hot humid air into a room and observing the temperature and the relative humidity). So I were wondering did you finish your case? If so, can you help me figuring out which solver did you use in addition to the updated thermophysical properties! Thank you in advance. |
|
December 11, 2022, 23:09 |
|
#13 |
New Member
Govind
Join Date: Jan 2021
Posts: 1
Rep Power: 0 |
Hi, is there any template available for using rhoReactingBuoyantFoam ?
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Which solver required for humidity and temperature distributiion | Sandy7 | STAR-CCM+ | 2 | January 25, 2017 02:17 |
relative humidity more than 100%!! unable to understand why this is happening | amasugi14 | FLUENT | 1 | December 1, 2015 21:01 |
buoyantPimpleFoam Convergence Issues | joel.lehikoinen | OpenFOAM | 1 | December 5, 2013 14:58 |
Condensation of water if humidity > 100% | Wikie | FLUENT | 4 | November 11, 2010 13:57 |
Condensation of water if humidity > 100% via UDF | Wikie | Fluent UDF and Scheme Programming | 0 | November 9, 2010 16:41 |