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

how to install real gas extension?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 26, 2014, 14:02
Default how to install real gas extension?
  #1
New Member
 
Maciej
Join Date: May 2014
Posts: 2
Rep Power: 0
Maciej is on a distinguished road
Hi,
I ask you to help me to install real gas extension since it's overwhelming me. Here's an error which i got:

In file included from IAPWSThermo/IAPWSThermo.H:191:0,
from IAPWSThermo/IAPWSThermos.C:35:
IAPWSThermo/IAPWSThermo.C: In member function ‘void Foam::IAPWSThermo::calculate()’:
IAPWSThermo/IAPWSThermo.C:44:35: error: ‘class Foam::IAPWSThermo’ has no member named ‘psi_’
IAPWSThermo/IAPWSThermo.C:46:34: error: ‘class Foam::IAPWSThermo’ has no member named ‘mu_’
IAPWSThermo/IAPWSThermo.C:72:42: error: ‘class Foam::IAPWSThermo’ has no member named ‘psi_’
IAPWSThermo/IAPWSThermo.C:76:41: error: ‘class Foam::IAPWSThermo’ has no member named ‘mu_’
IAPWSThermo/IAPWSThermo.C: In constructor ‘Foam::IAPWSThermo::IAPWSThermo(const Foam::fvMesh&)’:
IAPWSThermo/IAPWSThermo.C:140:15: error: ‘class Foam::IAPWSThermo’ has no member named ‘hBoundaryTypes’
IAPWSThermo/IAPWSThermo.C:199:27: error: ‘hBoundaryCorrection’ was not declared in this scope
IAPWSThermo/IAPWSThermo.C:204:11: error: ‘class Foam::IAPWSThermo’ has no member named ‘psi_’
IAPWSThermo/IAPWSThermo.C: In member function ‘virtual void Foam::IAPWSThermo::correct()’:
IAPWSThermo/IAPWSThermo.C:226:11: error: ‘class Foam::IAPWSThermo’ has no member named ‘psi_’
In file included from /opt/openfoam222/src/thermophysicalModels/basic/psiThermo/basicPsiThermo/makeBasicPsiThermo.H:35:0,
from IAPWSThermo/IAPWSThermos.C:34:

I'm looking forward your reply.
Maciej is offline   Reply With Quote

Old   May 31, 2014, 11:21
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Maciej and welcome to the forum!

I can see that you're using OpenFOAM 2.2.2, from the output messages. But I have no idea as to which "real gas extension" you're referring to.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   June 4, 2014, 08:43
Default
  #3
New Member
 
Maciej
Join Date: May 2014
Posts: 2
Rep Power: 0
Maciej is on a distinguished road
Thank you that you reply on my post. I've tried to install real gas model which i found in : https://github.com/morgoth541/of_realFluid
Maciej is offline   Reply With Quote

Old   June 6, 2014, 15:28
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Maciej,

Well, I guess the first question is: what was the procedure you used for adapting the code from that repository to OpenFOAM 2.2.2?
I ask this because that repository is a completely modified OpenFOAM 2.1.0, which means that upgrading customized code isn't straight forward, since there was a big jump in modifications between OpenFOAM 2.1.0 to 2.2.0.

I don't have the time to look into this myself any time soon, so the best I can suggest is that you have a look into this repository of mine: https://github.com/wyldckat/OpenFOAM-combo/ - it provides an almost complete history of the evolution of the OpenFOAM source code, which should make it easier for you to study the changes that were made from OpenFOAM 2.1.0 to 2.2.0.
This way it should be a bit easier to adapt the source code found on that repository you've indicated, to OpenFOAM 2.2.2.

edit: Have a look into this thread, as it should give a few more hints: http://www.cfd-online.com/Forums/ope...perties-4.html

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Reply

Tags
openfoam, real gas


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
UDF for variable temperature with time CaglarCoskun Fluent UDF and Scheme Programming 8 January 15, 2014 09:15
help me check udf tranvantrung551987 Fluent UDF and Scheme Programming 0 August 23, 2013 05:55
how to hook this udf shanu FLUENT 1 August 26, 2011 10:48
Real gas equation of state for gas mixture ahourri FLUENT 0 April 30, 2008 11:23
FLUENT received fatal signal (ACCESS_VIOLATION) samy FLUENT 0 November 10, 2007 13:09


All times are GMT -4. The time now is 22:57.