CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM

PengRobinson in foam ext 3.2

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

LinkBack Thread Tools Search this Thread Display Modes
Old   September 30, 2018, 10:05
Lightbulb PengRobinson in foam ext 3.2
New Member
Enrico De Filippi
Join Date: Jul 2018
Location: Brescia, Italy
Posts: 14
Rep Power: 2
EnricoDeFilippi is on a distinguished road
Hi, I'm simulating an axial turbine with real gas. I'm using foam ext 3.2 because I need to use the mixing plane approach but it seems to have problem with interpolation with 4.0.
So, I'd like to know if someone can help me to set exactly the constant/thermophysicalProperties file and maybe tell what I've to do to add PengRobinson library to foam ext 3.2.
At the moment I've set:
type hePsiThermo;
mixture pureMixture;
transport polynomial;
thermo hPolynomial;
equationOfState PengRobinsonGas;
specie specie;
energy sensibleEnthalpy;

nMoles 1;
molWeight 134.05;
Tc 427.16;
Vc 0.0025928;
Pc 36.51e5;
omega 0.3776;
Hf 0;
Sf 0;
CpCoeffs<7> (6.06394716678908 0.0267462245188099 -1.40821177584876e-8 0 0 0 0);
mu 2.1348e-05:
Pr 0.0048;
Moreover, I've addded the PengRobertson library to /foam/foam-extend-3.2/src/thermophysicalModels/specie/equationOfState taken from but the error i get is: --> FOAM FATAL IO ERROR:
Attempt to return dictionary entry as a primitive

file: /home/enrico/S1R1_3_new/constant/thermophysicalProperties::thermoType from line 23 to line 29.

From function ITstream& primitiveEntry::stream() const
in file db/dictionary/dictionaryEntry/dictionaryEntry.C at line 82.

FOAM aborting

Any help will be appreciated. Thanks in advance.
EnricoDeFilippi is offline   Reply With Quote


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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
error with reactingFoam BakedAlmonds OpenFOAM Running, Solving & CFD 4 June 22, 2016 02:21
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 14:11
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 08:19

All times are GMT -4. The time now is 03:53.