|
[Sponsors] |
Phase change not working with reactingTwoPhaseEulerFoam |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Stanley John
Join Date: Sep 2018
Posts: 79
Rep Power: 8 ![]() |
I am using the interfaceCompositionPhaseChangeTwoPhaseSystem, model to phase change from water to steam using the saturation pressure which is computed using Antoine equation. I checked that the coefficients A,B and C using a seperate code they seem to be accurate. Please have a look at my phaseProperties file:
PHP Code:
PHP Code:
PHP Code:
The simulation works fine and converges and I do see the pressures dropping below saturation values in the nozzle but there is no apparent mass transfer. Does anyone have an idea what might be wrong? How do I output an variable pSat tmp<volScalarField> that is used in the computations just to check if my saturation pressure is being computed properly? |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Stanley John
Join Date: Sep 2018
Posts: 79
Rep Power: 8 ![]() |
Please see attached my pressure plot. The correct calculated saturation pressure value is 4.6e5 and the pressure values within my nozzle is easily below that. Not sure why the phase change is being triggered.
I have also checked the densities of individual densities and they are close to expected values. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Stanley John
Join Date: Sep 2018
Posts: 79
Rep Power: 8 ![]() |
Here are rest of the files for setup:
alpha.liquid PHP Code:
alpha.gas PHP Code:
mass fractions: water.gas PHP Code:
water.liquid PHP Code:
Last edited by sjohn2; December 10, 2019 at 14:24. |
|
![]() |
![]() |
![]() |
![]() |
#4 |
Member
Stanley John
Join Date: Sep 2018
Posts: 79
Rep Power: 8 ![]() |
All the setup files.
CD_NOZ_3D_rtpef_BNL_291_gon_vm_eq_p_bc_pin_prghtotal_phasechange_test_upload.tar.gz Last edited by sjohn2; December 6, 2019 at 20:06. |
|
![]() |
![]() |
![]() |
![]() |
#5 |
Member
Stanley John
Join Date: Sep 2018
Posts: 79
Rep Power: 8 ![]() |
Further look at the results just after one timestep:
Solving the species transport equation yields mass fraction for water.liquid and water.gas of 1 throughout the domain. So I did output the source terms Su and Sp which is attached below. From these I can find the interface species fraction Yf, which is also attached. From the values of Su and Sp, I still cannot figure out why the mass fractions of the species water in both the phases turn to 1 after 1 timestep ![]() ![]() Sp_t1.jpg Su_t1.jpg water.gas.t1.png water.liquid.t1.jpg |
|
![]() |
![]() |
![]() |
![]() |
#6 |
Member
Stanley John
Join Date: Sep 2018
Posts: 79
Rep Power: 8 ![]() |
I have narrowed down the problem, to the temperature in the gas phase dropping down near the inlet due to pressure drop. Please find attached figure.
Cannot figure why this is happening ?? ![]() ![]() ![]() Tgas.png |
|
![]() |
![]() |
![]() |
![]() |
#7 |
Member
Stanley John
Join Date: Sep 2018
Posts: 79
Rep Power: 8 ![]() |
This problem has been resolved in the latest developmental version
|
|
![]() |
![]() |
![]() |
![]() |
#8 |
Member
Vitor Monteiro
Join Date: Nov 2020
Posts: 32
Rep Power: 5 ![]() |
||
![]() |
![]() |
![]() |
![]() |
#9 |
New Member
周晓庆
Join Date: Nov 2022
Posts: 1
Rep Power: 0 ![]() |
I'm also want to know this question.
|
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Phase Change >> which solver ? >> met a problem I can't solve, please help me with it | Kummi | OpenFOAM Programming & Development | 6 | September 8, 2021 04:58 |
Direct numerical simulation of species transport equation with phase change | Pmaroul | Main CFD Forum | 2 | October 12, 2018 16:02 |
Pressure Outlet for phase change simulation | dinesh | FLUENT | 0 | November 21, 2013 23:50 |
phase change modeling | Danial Q | Main CFD Forum | 0 | April 5, 2012 01:14 |
thermal phase change question | CFDflying | CFX | 1 | February 18, 2004 04:10 |