|
[Sponsors] |
Changing the temperature calculation from Energy Equation |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
Member
Maximus Arelius
Join Date: Jan 2017
Location: Morocco
Posts: 36
Rep Power: 9 ![]() |
Hi Foamers,
I am a newbie to the OpenFOAM community and am trying to code Sigma-Y homogeneous fluid model to model primary atomization using the rhoPimpleFoam solver as the basis. Now the temperatutre calculation from the energy equation needs to have a contribution of both phases say Water and Gas i.e. T = h / ( Y*Cp_liq + (1-Y) * Cp_gas ) where Y-Liquid Mass Fraction Now once I find this new temperature , that should be used in the Equation of State to find the density. Could someone please suggest how to approach this problem!! ![]() ![]() ![]() |
|
![]() |
![]() |
![]() |
![]() |
#2 |
New Member
CFDfreak
Join Date: Dec 2016
Posts: 15
Rep Power: 9 ![]() |
Sorry for that previous post. It was error from my side.
Since it contains liquid as well the the equation of state will produce more error. The equation of state should be far away from the condenstaion to have less error. Most of the case if it involves liquid as well as vapour we use charts (for example in case of water steam tables). If you want to directly use those charts in openfoam I have no idea. But you can get those formulas and try to implement in openfoam Thank you Last edited by nandhakumar; October 11, 2017 at 04:46. |
|
![]() |
![]() |
![]() |
![]() |
#3 |
Member
Maximus Arelius
Join Date: Jan 2017
Location: Morocco
Posts: 36
Rep Power: 9 ![]() |
__________________
-- 🃏Maximus🃏 |
|
![]() |
![]() |
![]() |
![]() |
#4 | |
Member
Maximus Arelius
Join Date: Jan 2017
Location: Morocco
Posts: 36
Rep Power: 9 ![]() |
Quote:
Sorry for not explaining my question correctly. It is not the steam quality Y. It is actually the homogeneous fluid approach for two phase flow. I am trying to solve for two phases i.e. liquid and gas considering them as a single fluid. Now Temperature of the mixture will have contribution from both phases i.e. CpLiq and CpGas. But the implementation in openfoam has contribution from only one phase. Do you know how to calculate Temperature from the energy equation using Temp= Y*CpLiq + (1-Y)*CpGas. Assume for now they are both constant Cp's. Thanks
__________________
-- 🃏Maximus🃏 |
||
![]() |
![]() |
![]() |
Tags |
rhopimplefoam, sigma-y model, temperature calculation |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Source term energy equation for reactive flows | DaIN | Main CFD Forum | 0 | October 6, 2011 15:11 |
Energy Equation - Temperature difference | wawa | FLUENT | 1 | August 26, 2011 07:03 |
Constant velocity of the material | Sas | CFX | 15 | July 13, 2010 08:56 |
ATTENTION! Reliability problems in CFX 5.7 | Joseph | CFX | 14 | April 20, 2010 15:45 |
Viscosity and the Energy Equation | Rich | Main CFD Forum | 0 | December 16, 2009 14:01 |