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

Query regarding hPolynomial with peng robinson model

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 15, 2021, 02:14
Default Query regarding hPolynomial with peng robinson model
  #1
New Member
 
avk
Join Date: Nov 2011
Posts: 12
Rep Power: 15
avk1985 is on a distinguished road
I was going through requirements to input Cp polynomial for a real gas modelled with peng robinson model I came across following information

Source hPolynomialThermoI.H

template<class EquationOfState, int PolySize>
inline Foam::scalar Foam::hPolynomialThermo<EquationOfState, PolySize>::Cp
(
const scalar p, const scalar T
) const
{
return CpCoeffs_.value(T) + EquationOfState::Cp(p, T);
}

Source hPolynomialThermo.H

The polynomial expression is evaluated as so:

\f[
Cp = 1000 - 0.05 T + 0.003 T^2
\f]

Note
- Heat of formation is inputted in [J/kg], but internally uses [J/kmol]
- Standard entropy is inputted in [J/kg/K], but internally uses [J/kmol/K]
- Specific heat at constant pressure polynomial coefficients evaluate to an
expression in [J/(kg.K)].

in hPolynomialThermoI Cp seems to be calculated as summation of 2 components polynomial expansion and EquationOfState::Cp(p, T) so whether polynomial needs to be evaluated subtracting the value of EquationOfState::Cp(p, T) from actual Cp value (test data, refprop data etc)
eg Polynominal (T) = Cpactual(T) - EOSCP(p,T)

but hPolynomialThermo doesnt says so

Can some one please help clarify this ?

Regards
Amod
avk1985 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Chien's Turbulence model for flow over flat plate (y+ query) Shiv1510 Main CFD Forum 9 June 19, 2019 15:32
simplifiedSiwek - error in calculating the position of a coal error guitar_love_15 OpenFOAM Running, Solving & CFD 0 November 4, 2018 04:06
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 05:21
Is it possible to model natural convection in a 2D horizontal model in fluent caitoc FLUENT 1 May 5, 2014 13:32
Peng Robinson Real Gas Model cfd seeker CFX 1 September 30, 2013 18:20


All times are GMT -4. The time now is 07:06.