|
[Sponsors] |
How Phase change with reactingTwoEulerFoam/reactingMultiphaseEulerFoam works? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
December 5, 2017, 11:32 |
How Phase change with reactingTwoEulerFoam/reactingMultiphaseEulerFoam works?
|
#1 |
New Member
Join Date: Dec 2017
Posts: 5
Rep Power: 9 |
Dear All,
I am currently trying to model phase change (condensation and evaporation) with reactingTwoPhaseEulerFoam and reactingMultiphaseEulerFoam in OpenFoam 5.0. I would like to know why in the tutorial multiphase/reactingTwoPhaseEulerFoam/laminar/bubbleColumnEvaporatingDissolving/ the Hf values are set to -1.3435e+07 and -1.5879e+07 for vapor and liquid water and how the phase change model is working ? It is explained in the User guide that Hf is suppose to be the heat of fusion and then i don't understand why these values are so high and negative (as the Heat of fusion of the water is 333 000 J/Kg and the Heat of vaporization is 2 257 000 J/Kg). As far as i understand looking into the code (InterfaceCompositionPhaseChangePhaseSystem.C) , the model is trying to :
Code:
forAll(p, celli) { L[celli] = localThermo.Ha(p[celli], Tf[celli]) - otherLocalThermo.Ha(otherP[celli], Tf[celli]); } Code:
return Cp_*T + Hf_ + EquationOfState::H(p, T); Then i understand that in my case but i still don't understand these values. Moreover i don't understand, if it is an energy balance done on the interface, why the equation use instead of . I have as well looked in the tutorial bubbleColumnEvaporating where the thermo model is set to janaf (although it is not the model that i want to use) but once again i don't understand why the coefficient h for the H2O gas is set to : I should model the injection of water inside a hot gas. As a first step i tried to validate the condensation and evaporation. I would like to understand how the model is really working and if what i understood so far is correct. Thanks a lot in advance! Chad |
|
December 2, 2019, 19:01 |
|
#2 |
Member
Stanley John
Join Date: Sep 2018
Posts: 79
Rep Power: 8 |
Hi,
Did you figure of out things? I am trying to model phase change of water because of a pressure drop. So I understand I have to use the theinterfaceCompositionPhaseChangeTwoPhaseSystem I am having trouble defining the thermophysical properties of water and steam I do not understand the definition of these files in bubbleColumnEvaporating tutorial. How would do the same for water phase change: PHP Code:
PHP Code:
|
|
July 3, 2020, 10:39 |
Evaporation
|
#3 |
New Member
Michael
Join Date: May 2020
Posts: 3
Rep Power: 6 |
Hi Mr. Turbulence
Did you manage to get an answer to your question ? I am trying to simulate water evaporation If I set the Hf value to zero for my gas phase I receive the same results compared to an experiment. The User guide says that Hf is the heat of fusion but the Code says that it is the heat of formation. I am confused. |
|
July 6, 2020, 04:14 |
|
#4 |
New Member
Join Date: Dec 2017
Posts: 5
Rep Power: 9 |
Hi Michaelfoam,
I moved on some other project and didn't went further these questions but this activity is coming back and i still didn't figure it out. I guess, looking at the equations into the code that these value shoumld be the Heat of fusion of the water (333 000 J/Kg) and the Heat of vaporization (2 257 000 J/Kg). In the tutorial multiphase/reactingTwoPhaseEulerFoam/laminar/bubbleColumnEvaporatingDissolving/ the Hf values are set to -1.3435e+07 and -1.5879e+07 for vapor and liquid water which is quite strange number to set but the difference of H is almost the same (2e6). Could you share the validation you made setting Hf = 0? |
|
July 23, 2020, 16:37 |
|
#5 |
New Member
Michael
Join Date: May 2020
Posts: 3
Rep Power: 6 |
Hi Mr.Turbulence,
Sorry for my late answer. I will evaluate my Work in a few weeks after that I can share it. Does anybody know how Ha is calculated if I use eConst instead of hConst? |
|
April 29, 2021, 05:04 |
|
#6 |
New Member
JungHoon Lee
Join Date: Apr 2019
Posts: 8
Rep Power: 7 |
Hello Mr. Turbulence and Michaelfoam,
sorry that it is pretty old post but I am currently doing my work in evaporation simulation using reactingTwophaseEulerFoam as you guys did. And I am facing the same problem with Hf value. Since it seems really wierd to me as well. Could you please share any ideas you have? Thanks a lot in advance! |
|
April 29, 2021, 05:09 |
|
#7 |
Member
Stanley John
Join Date: Sep 2018
Posts: 79
Rep Power: 8 |
The latent heat has to be specified through Hf to get correct mass transfer.
The latent heat in the code is eventually computed through difference in enthalpies. PHP Code:
PHP Code:
|
|
April 29, 2021, 06:30 |
|
#8 |
New Member
JungHoon Lee
Join Date: Apr 2019
Posts: 8
Rep Power: 7 |
Hi sjohn2,
thank you for the reply. I am still confused since as Mr. Turbulence said the values are seemed wierd. And why does it have different values for H2O in liquid and H2O in gas. I mean these values are niether for the heat of fusion nor the heat of vaporization of H2O. I am guessing that if they are refering to same value i.e. the latent heat of vaporization, they should have same value and maybe in different sign. Also sign of the values are still confusing. Why do they have same negative sign? I appreciate any comments! Thanks! |
|
April 30, 2021, 23:11 |
|
#9 | |
Member
Stanley John
Join Date: Sep 2018
Posts: 79
Rep Power: 8 |
Quote:
For heat of formation calculation check: http://www.tfd.chalmers.se/~hani/kur...t_CAPPELLI.pdf Last edited by sjohn2; April 30, 2021 at 23:13. Reason: aw |
||
November 13, 2024, 13:44 |
|
#10 | |
Senior Member
Robert Castilla
Join Date: Apr 2009
Location: Spain
Posts: 110
Rep Power: 17 |
Quote:
it is a quite old thread, but I think I can make a small contribution. This Hf defined in thermoPhysicalProperties is not the latent heat of condensation/evaporation. It is the heat of formation. It is quite larger than the first. The latent heat seems to be computed by tha code from the other thermodynamic properties as Mr. Turbulence pointed out in the fist post. Am I right? Greetings Robert |
||
Tags |
enthalpy of fusion, enthalpy of vaporization, openfoam 5.0, phase change, reactingtwoeulerfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Multiphase solvers and non-isothermal phase change | erlend_grotle | OpenFOAM | 1 | September 25, 2021 10:48 |
Need help regarding phase change models in ansys fluent | diggee | Fluent Multiphase | 0 | October 11, 2016 12:35 |
use mixture model to simulate two-phase flow with phase change | dxm2008 | Fluent Multiphase | 5 | September 7, 2016 15:15 |
Change phase phenomena | Imane | FLUENT | 0 | May 4, 2016 16:56 |
Refrigerant R134a Phase Change | Mahesh Bondhu | FLUENT | 4 | May 4, 2013 09:13 |