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

How can model a real gas(not a perfect gas?)

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By Chris Lucas
  • 1 Post By wyldckat
  • 1 Post By Chris Lucas

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 23, 2013, 15:04
Default How can model a real gas(not a perfect gas?)
  #1
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27
immortality is on a distinguished road
Hi
how can find out that perfect gas model is appropriate for one flow simulation
in the range of p and T after simulating by perfect gas?
is there a utility for calculating Z(compressibility factor) to figure out it?
is there any real gas thermoPhysical model in OF at all?what formula it uses?
which tutorial is there for this purpose?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   June 24, 2013, 04:32
Default
  #2
Senior Member
 
Christian Lucas
Join Date: Aug 2009
Location: Braunschweig, Germany
Posts: 202
Rep Power: 18
Chris Lucas is on a distinguished road
Hi,

have a look at my real gas branch in OpenFoam ext.

http://sourceforge.net/p/openfoam-ex...Thermo/~/tree/

Kind Regards,
Christian
immortality likes this.
Chris Lucas is offline   Reply With Quote

Old   June 24, 2013, 05:55
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27
immortality is on a distinguished road
Hi Christian
thanks.but I couldn't find the related branch.even in search part.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   June 24, 2013, 06:53
Default
  #4
Senior Member
 
Christian Lucas
Join Date: Aug 2009
Location: Braunschweig, Germany
Posts: 202
Rep Power: 18
Chris Lucas is on a distinguished road
Hi,

the link above gives you the correct branch (fullyIntegratedRealGasThermo)

Christian
Chris Lucas is offline   Reply With Quote

Old   June 24, 2013, 08:02
Default
  #5
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27
immortality is on a distinguished road
thanks.how much is its volume for downloading?
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   June 24, 2013, 17:45
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
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 to all!

@Ehsan: If you still have got OpenFOAM 1.6-ext from the other installation you tried to make about a month or so ago, then you don't need to download anything, you only need to follow these steps:
  1. Go into the folder where the source code for 1.6-ext is located:
    Code:
    cd ~/OpenFOAM/OpenFOAM-1.6-ext
  2. Run the following command:
    Code:
    git checkout feature/fullyIntegratedRealGasThermo
  3. Then you'll need to rebuild OpenFOAM 1.6-ext... but that depends on how you are keeping the versions separated. If you don't remember what I mean, read this blog post: Advanced tips for working with the OpenFOAM shell environment
Best regards,
Bruno
immortality likes this.
__________________
wyldckat is offline   Reply With Quote

Old   June 24, 2013, 18:22
Default
  #7
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27
immortality is on a distinguished road
Hi Bruno
thanks.then its in 1.6ext itself.I forgot about this version.
the second command gives this error in git:
Code:
ehsan@Ehsan-com:~/OpenFOAM/OpenFOAM-1.6-ext$ git checkout feature/fullyIntegratedRealGasThermo
fatal: Not a git repository (or any of the parent directories): .git
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   June 25, 2013, 07:53
Default
  #8
Senior Member
 
Christian Lucas
Join Date: Aug 2009
Location: Braunschweig, Germany
Posts: 202
Rep Power: 18
Chris Lucas is on a distinguished road
Hi,

the git repo for OF ext has been changed. Use the following line to download OF ext
git clone git://openfoam-extend.git.sourceforge.net/gitroot/openfoam-extend/openfoam-extend OpenFOAM-1.6-ext
Don't forget to change the branch as stated above

Regards,
Christian
immortality likes this.
Chris Lucas 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
error: uninitialized local variable 't' used MASOUD Fluent UDF and Scheme Programming 5 October 17, 2016 05:24
Using real gas models in Fluent neville FLUENT 1 June 5, 2012 06:54
error message cuteapathy CFX 14 March 20, 2012 07:45
UDF error - FLUENT received fatal signal (ACCESS_VIOLATION) Eliasjal Fluent UDF and Scheme Programming 1 March 7, 2012 12:11
REAL GAS UDF brian FLUENT 6 September 11, 2006 09:23


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