|
[Sponsors] |
Query regarding hPolynomial with peng robinson model |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
avk
Join Date: Nov 2011
Posts: 12
Rep Power: 15 ![]() |
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 |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
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 |