CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Temperature dependent Specific Heat Capacity in multiphaseEulerFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 27, 2022, 02:00
Default Temperature dependent Specific Heat Capacity in multiphaseEulerFoam
  #1
New Member
 
SAIKRISHNA N
Join Date: Jun 2014
Posts: 10
Rep Power: 11
SAIKRISHNA N is on a distinguished road
Hello All,
I am using reactingTwoPhaseEulerFoam/multiphaseEulerFoam solvers. I am trying to implement Cp(T) using hPolynomial. Since, 2 phases are involved, I am specifying Cp(T) for liquid and gas separately. I found that enthalpy calculated by OpenFOAM7 for liquid phase and vapor phase, both are OFF to actual values. I observed the source code and found that it uses
h = integral(Cp(T)) from Tstd to T + Hf
Here, I am giving Hf = 0 as input for both phases.
I am not getting Tstd value anywhere in source code.


Due to this latent heat estimation is also going wrong.



Please let me know,
1. what is the value of Tstd?
2. How to calculate and specify Hf so that I would get correct enthalpy values?


Thank you.
SAIKRISHNA N is offline   Reply With Quote

Old   October 27, 2022, 02:32
Default
  #2
Member
 
Join Date: Jan 2022
Location: Germany
Posts: 72
Rep Power: 4
überschwupper is on a distinguished road
Hello,


Tstd is Standard temperature, as well as Pstd is standard pressure (298.15K, 1e+5)



defined in /etc/controlDict




you can choose: either you look for the formation enthalpy at reference temperature and pressure in tabulated data

or you calculate the formation enthalpy by balancing each atomic/molecular contribution to the product itself.


Some values can be found here: (for example)

https://atct.anl.gov/Thermochemical%....124/index.php
or VDI Wärmeatlas /Heat atlas


How to balance (hgavent checked it intensively, but looks correct, just first result from google )

https://chem.libretexts.org/Courses/...y_of_Formation


Take care of the units! OF needs SI units, those values are often given in kJ/mol.
And as addition: Don't be confused, some molecules are by default defined as 0
überschwupper is offline   Reply With Quote

Old   October 27, 2022, 03:09
Default
  #3
New Member
 
SAIKRISHNA N
Join Date: Jun 2014
Posts: 10
Rep Power: 11
SAIKRISHNA N is on a distinguished road
Hi,

Thanks for the Tstd and Pstd value reference location.

Actually, my intention is to get correct enthalpy values for liquid and vapor. When I simply do a curve fit to Cp(T) data from NIST and give as input hPolynomial, the enthalpy calculated by OpenFOAM is coming offset from actual values. I tried to give the offset values as Hf, since the offset is constant throughout the temperature range. But, i found from source code that
sensibleEnthalpy doesn't consider Hf.

I tried to use absoluteEnthalpy in energy type. But, it has thrown error, 'unknown rhoThermo type'.
what to do?


I am using
type heRhoThermo
mixture pureMixture
transport polynomial
thermo hPolynomial
equationOfState icoPolynomial
specie specie
energy sensibleEnthalpy


when I did, energy type as absoluteEnthalpy above then error came 'unknown rhoThermo type'
SAIKRISHNA N is offline   Reply With Quote

Reply

Tags
hpolynomial, multiphaseeulerfoam, specific heat capacity


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting the height of the stream in the free channel kevinmccartin CFX 12 October 13, 2022 21:43
Temperature dependent thermal conductivity and specific heat Property of DH36 steel rohan@123 FLUENT 1 April 10, 2020 15:33
Ansys CFX problem: unexpected very high temperatures in premix laminar combustion faizan_habib7 CFX 4 February 1, 2016 17:00
Compression stoke is giving higher pressure than calculated nickjuana CFX 62 May 19, 2015 13:32
convergenceof natural convection prob. in cfx cpkewat CFX 15 January 31, 2014 06:29


All times are GMT -4. The time now is 22:58.