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

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

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

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 23, 2013, 14: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,186
Rep Power: 16
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, 03:32
Default
  #2
Senior Member
 
Christian Lucas
Join Date: Aug 2009
Location: Braunschweig, Germany
Posts: 198
Rep Power: 7
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, 04:55
Default
  #3
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
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, 05:53
Default
  #4
Senior Member
 
Christian Lucas
Join Date: Aug 2009
Location: Braunschweig, Germany
Posts: 198
Rep Power: 7
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, 07:02
Default
  #5
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
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, 16:45
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,251
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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, 17:22
Default
  #7
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
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, 06:53
Default
  #8
Senior Member
 
Christian Lucas
Join Date: Aug 2009
Location: Braunschweig, Germany
Posts: 198
Rep Power: 7
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

Thread Tools
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: uninitialized local variable 't' used MASOUD Fluent UDF and Scheme Programming 3 November 26, 2012 06:24
Using real gas models in Fluent neville FLUENT 1 June 5, 2012 05: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 08:23


All times are GMT -4. The time now is 07:24.