|
[Sponsors] |
September 30, 2018, 10:05 |
PengRobinson in foam ext 3.2
|
#1 |
New Member
Enrico De Filippi
Join Date: Jul 2018
Location: Brescia, Italy
Posts: 14
Rep Power: 7 |
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: thermoType { type hePsiThermo; mixture pureMixture; transport polynomial; thermo hPolynomial; equationOfState PengRobinsonGas; specie specie; energy sensibleEnthalpy; } mixture { specie { nMoles 1; molWeight 134.05; } equationOfState { Tc 427.16; Vc 0.0025928; Pc 36.51e5; omega 0.3776; } thermodynamics { Hf 0; Sf 0; CpCoeffs<7> (6.06394716678908 0.0267462245188099 -1.40821177584876e-8 0 0 0 0); } transport { 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 https://github.com/OpenFOAM/OpenFOAM...engRobinsonGas 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. |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
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 |