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

Equation of state

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 29, 2005, 03:06
Default Equation of state
  #1
Ali
Guest
 
Posts: n/a
Hi all, I want to know wether there is any possibility to give an equation of state for density of a real gas or not. I saw a UDF option in density drop-down list in materials panel of Fluent V6.1. How does it work? Does it need any special format? Thanks a lot
  Reply With Quote

Old   November 29, 2005, 04:28
Default Re: Equation of state
  #2
Viatcheslav
Guest
 
Posts: n/a
FLUENT 6.2 UDF Manual:

4.3.14 DEFINE_PROPERTY

Description

You can use DEFINE_PROPERTY to specify a custom material property in FLUENT for single-phase and multiphase flows. When you are writing a user-defined mixing law UDF for a mixture material, you will need to use special utilities to access species material properties. These are described below. If you want to define a custom mass diffusivity property, you must use DEFINE_DIFFUSIVITY instead of DEFINE_PROPERTY. See Section 4.3.3.

Some of the properties you can customize using DEFINE_PROPERTY are:

density (as a function of temperature)

...
  Reply With Quote

Old   November 29, 2005, 06:25
Default Re: Equation of state
  #3
Ali
Guest
 
Posts: n/a
Hi Viatcheslav, Thank you for your kind attention. I saw this notion in the Fluent 6.0 UDF manual: !! If you plan to define density using a UDF, note that the solution convergence will become poor as the density variation becomes large. Specifying a compressible law (density as a function of pressure) or multiphase behavior (spatially varying density) may lead to divergence. It is recommended that you restrict the use of UDFs for density to weakly compressible flows with mild density variations. So, what i deduce from this comment is that we cant give a complete equation of state for example Benedict-Webb-Rubbin for the density of a real gas as rho = rho(P,T). Anyway, Im gonna check it out by myself.
  Reply With Quote

Old   November 29, 2005, 14:36
Default Re: Equation of state
  #4
Viatcheslav
Guest
 
Posts: n/a
FLUENT 6.2 User's Guide:

8.15 Real Gas Models

Some engineering problems involve fluids that do not behave as ideal gases. For example, high-pressure flows (e.g., the flow of a refrigerant through a compressor) cannot typically be modeled using the ideal-gas law. The real gas model allows you to solve fluid flow and heat transfer problems where the working fluid is a real gas.

The FLUENT coupled solvers provide two methods for solving this type of flow:

--------------------------------------------------------------------------------

8.15.1 The NIST Real Gas Model 8.15.2 The User-Defined Real Gas Model

  Reply With Quote

Old   November 30, 2005, 03:31
Default Re: Equation of state
  #5
Ali
Guest
 
Posts: n/a
Well, i dont have the Fluent 6.2 user's guide. I havent read the section 8.15.2 and dont know exactly which kind of user defined real gas model fluent supports! Is it a library file for gas properties or can it be a UDF cpp function?
  Reply With Quote

Old   November 30, 2005, 04:45
Default Re: Equation of state
  #6
Viatcheslav
Guest
 
Posts: n/a
I have not understood how you could read the section 8.15.2 without having the Fluent 6.2 user's guide… Probably it is UDF cpp function that serve as interface to a library file:

$ cd /Fluent.Inc/fluent6.2.16

$ ls client cortex cpropep help info isat KINetics lib lnx86 multiport realgas src tgrid

$ ls realgas/* realgas/lib: ammonia.fld ethane.fld Oxygen.fld R114.fld R123.fld R134a.fld R143a.fld R227ea.fld R23.fld R41.fld argon.fld isobutan.fld propane.fld R115.fld R124.fld R13.fld R14.fld R22.fld R245ca.fld RC318.fld butane.fld methane.fld propylen.fld R116.fld R125.fld R141b.fld R152a.fld R236EA.fld R245fa.fld WATER.fld CO2.fld Nitrogen.fld R113.fld R11.fld R12.fld R142b.fld R218.fld R236fa.fld R32.fld

realgas/lnx86: librealgas.so

realgas/src: Makefile realgas_fcns.c

  Reply With Quote

Old   November 30, 2005, 07:15
Default Re: Equation of state
  #7
Ali
Guest
 
Posts: n/a
Thanks alot for the help.
  Reply With Quote

Old   February 20, 2010, 09:02
Default
  #8
New Member
 
ahmed
Join Date: Feb 2010
Posts: 1
Rep Power: 0
asproegypt1 is on a distinguished road
Hi ( Ali )
I was searching for anything to re-charge my R-12 So I found Something Maybe It Will Be More Useful For Your Issue And

otherwise it helps me to re-charge my R-123a

Here
asproegypt1 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
mass flow in is not equal to mass flow out saii CFX 12 March 19, 2018 06:21
Simulation of a single bubble with a VOF-method Suzzn CFX 21 January 29, 2018 01:58
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 07:27
Constant velocity of the material Sas CFX 15 July 13, 2010 09:56
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 13:02


All times are GMT -4. The time now is 17:27.