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

Peng Robinson EOS: Unit auf critical volume

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 26, 2020, 09:28
Default Peng Robinson EOS: Unit auf critical volume
  #1
Senior Member
 
Join Date: Dec 2019
Posts: 215
Rep Power: 7
shock77 is on a distinguished road
Hello everyone,


I have noticed, that the unit of the critical volume is odd in PengRobinGas.H:


Code:
 

               scalar Vc_;     //- Critical volume [m^3/kmol]
Why is the unit m^3/kmol and not m^3/mol? Wouldn't that be contradicting to the unitlessness of OpenFOAM?




Kind regards,
shock77
shock77 is offline   Reply With Quote

Old   May 27, 2020, 04:37
Default
  #2
Senior Member
 
Join Date: Dec 2019
Location: Cologne, Germany
Posts: 355
Rep Power: 8
geth03 is on a distinguished road
Vc_ is defined as scalar and not dimensionedScalar, so the dimension is somewhat hidden i guess.
i think how this value fits in overall in the equation is ultimately decisive.
geth03 is offline   Reply With Quote

Old   May 27, 2020, 06:00
Default
  #3
Senior Member
 
Join Date: Dec 2019
Posts: 215
Rep Power: 7
shock77 is on a distinguished road
Hi,


yes, I agree.


I have found out, that in PengRobinsonGas.C the compressibility is defined by:


Code:
           Zc_ = Pc_*Vc_/(RR*Tc_);
RR is definied in thermodynamicConstants.C as:


Code:
const scalar RR = 1e3*physicoChemical::R.value();
R is a dimensioned scalar, with the unit [J/(mol*K)].

So basically, the universal gas constant is multiplicated by 10^3, so the unit kmol makes sense. Still I dont know why it is done.




In PengRobinsonGas.H I have also seen:


Code:
 //- Return cp departure [J/(kmol K]


 inline scalar cp(scalar p, scalar T) const;
But the unit of cp should be [J/(kg K)], isnt it? At least I have definied cp always as 1004 for air in thermophysicalPropterties, when I have used the perfectGas EOS.
In perfectGas.H cp is definied the same.



Has anyone used PengRobinson?




Kind regards, shock77
shock77 is offline   Reply With Quote

Old   May 27, 2020, 07:08
Default
  #4
Senior Member
 
Join Date: Dec 2019
Posts: 215
Rep Power: 7
shock77 is on a distinguished road
Since the molWeight is in kg/kmol as well, there must be somewhere a statement like CP = cp/molWeight... but I cant find it.


Does anyone know, where to find this statement?
shock77 is offline   Reply With Quote

Reply


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
Peng Robinson EOS chuahy CONVERGE 1 December 22, 2016 16:25
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
How to create a critical control volume in Fluent 14.5 Post-processing? Brem Lamad FLUENT 0 March 16, 2014 06:52
Peng Robinson Equation of State and Varying Specific Heat Jonny6001 STAR-CCM+ 0 March 25, 2013 16:35
Dynamic Viscosity of Acetylene or Critical Volume JohnGane1987 Main CFD Forum 0 March 30, 2010 06:01


All times are GMT -4. The time now is 18:34.