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

how to define a material of gas

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 7, 2013, 11:28
Default how to define a material of gas
  #1
New Member
 
Lee
Join Date: Oct 2012
Posts: 26
Rep Power: 13
kiwishall is on a distinguished road
Hello! I'd like to build a simulation of expander with natural gas, so is it better to define the material as a mixture in CFX? or defining it as a pure material of which the properties data are obtained in the NIST refprop(LNG). What's more, can the density and the specific heat both be set as the function of T and P, is there any restrictions in CFX. While I set the density as the function of T and P, CFX always occurs error. But if I set it only as the function of T, it works even with a wrong result. Of course, for a gas, the density should be determined by T and P. So what can I do? Please help me. Thahks!
kiwishall is offline   Reply With Quote

Old   May 7, 2013, 20:33
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
For compressible gases CFX has a number of approaches. The simplest is ideal gas and you should use this initially when you set the model up and get the basic stuff working. Then you can consider the different equations of state, real gas or mixture models which are available. But do all the setup on a simple ideal gas before going to a complex material properties model.
ghorrocks is offline   Reply With Quote

Old   May 8, 2013, 01:17
Default
  #3
New Member
 
Lee
Join Date: Oct 2012
Posts: 26
Rep Power: 13
kiwishall is on a distinguished road
Thank you for your advice! I have used the ideal gas model and gotten a result. But to get a better result, I must consider it as a real gas and then I met the above problems. So could you help me ?
kiwishall is offline   Reply With Quote

Old   May 8, 2013, 01:45
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
There is advice in the CFX documentation on obtaining convergence. The key things are to use a small time step (at least initially), double precision if you need it and start with as good an initial condition as you can get. Good mesh quality is a big help too.
ghorrocks is offline   Reply With Quote

Old   May 8, 2013, 02:03
Default
  #5
New Member
 
Lee
Join Date: Oct 2012
Posts: 26
Rep Power: 13
kiwishall is on a distinguished road
I think you misunderstood what I mean. I have gotten a good result with the ideal gas supplied in the CFX. The mesh quality is good. But now I want to simulate with the data obtained by the NIST REFPROP. So how to transform the data into the CFX, and how to determine the density and the specific heat with these data?
kiwishall is offline   Reply With Quote

Reply

Tags
gas material mixture

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Continuing User Defined Real Gas Model issues aeroman FLUENT 6 April 8, 2016 04:34
Free surface boudary conditions with SOLA-VOF Fan Main CFD Forum 10 September 9, 2006 13:24
UDF FOR UNSTEADY TIME STEP mayur FLUENT 3 August 9, 2006 11:19
How to define the mixture of air and other gas? dxmgws FLUENT 5 March 21, 2003 17:03
Material define Q Chen FLUENT 5 February 20, 2002 22:02


All times are GMT -4. The time now is 20:56.