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

variable properties implementation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 16, 2018, 07:24
Default variable properties implementation
  #1
Member
 
mike
Join Date: Jun 2011
Posts: 42
Rep Power: 14
fluidmechanics is on a distinguished road
Dear All

I am going to consider variable fluid properties as a function of temperature and pressure as a real gas model. These properties are defined as a polynomials at certain temperature and pressure and must be interpolated at any temperature and pressure of flow domain. I am really confused how to do this in Ansys CFX.

Any help or advice is appreciated.

Sincerely
fluidmechanics is offline   Reply With Quote

Old   June 17, 2018, 07:03
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Please describe the polynomials and interpolation you intend to use.

Also - make sure you have done the CFX tutorial examples so you know how to use CEL expressions, as it is probably going to use CEL expressions.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   June 21, 2018, 08:22
Default
  #3
Member
 
mike
Join Date: Jun 2011
Posts: 42
Rep Power: 14
fluidmechanics is on a distinguished road
Hi Glenn

Thanks for your reply. Following your suggestion, I studied for CEL expressions and tutorials. By the way, I am going to evaluate CFX capability for a high velocity flow over a sphere in order to get true wall heat flux. The considered Mach is 10. I have imported compressibility factor and specific heat flux and transport properties as a table which are a function of temperature and pressure. So in order to import the table as 3D, the third independent variable is set to an optional constant (e.g. 0). A pure material is user defined with a density defined as expression including compressibility factor. Cp and transport properties are as CEL expressions, too. I have defined a velocity expression in order to increase farfield slowly and step by step. I have some questions:

- Is it necessary to set reference state parameters?
- What about table generation? I have set min and max values of T & Pabs such that flow field corresponding values are within this range.
- What about error tolerance? Default 1e-2 value causes problem. Increasing it to 0.5 yields in better convergence up to Mach=7, but higher Mach number fails the simulation. How high can this error tolerance be?

In out file the following message are printed:

User Defined Monitor Information |
+--------------------------------------------------------------------+

Monitor Point: Monitor Point 1

+--------------------------------------------------------------------+
| ****** Notice ****** |
| |
| Adaptive table generation failed for the material property: |
| |
| Static Enthalpy |
| |
| This may have occurred because the equation of state or specific |
| heat capacity function contains regions with large derivatives |
| or because the error tolerance is too small. Execution will |
| continue with a uniform distribution using 100 points in |
| each coordinate direction. |
+--------------------------------------------------------------------+

+--------------------------------------------------------------------+
| ****** Notice ****** |
| |
| Adaptive table generation failed for the material property: |
| |
| Static Entropy |
| |
| This may have occurred because the equation of state or specific |
| heat capacity function contains regions with large derivatives |
| or because the error tolerance is too small. Execution will |
| continue with a uniform distribution using 100 points in |
| each coordinate direction.


What should I do?
I am a fan of CFX. I want to implement such flow conditions in CFX. That's your kind if you can help me.

Sincerely,

Mike
fluidmechanics is offline   Reply With Quote

Old   June 21, 2018, 15:48
Default
  #4
Senior Member
 
Join Date: Jun 2009
Posts: 1,804
Rep Power: 32
Opaque will become famous soon enough
Would you mind describing which material properties you are providing?

In particular, thermodynamic properties, say Density, Specific Heat, else?

What kind of variation are you accounting for? T only? T and P?

T and P variations are tricky and not arbitrary (see the documentation for details)
Opaque is offline   Reply With Quote

Old   June 22, 2018, 03:40
Default
  #5
Member
 
mike
Join Date: Jun 2011
Posts: 42
Rep Power: 14
fluidmechanics is on a distinguished road
Hi my friend.
Density, specific heat, momentum and energy transport coefficients which have been considered as a function of both T and P.
fluidmechanics is offline   Reply With Quote

Old   June 22, 2018, 11:08
Default
  #6
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,827
Rep Power: 27
Gert-Jan will become famous soon enough
I doubt if CFX is suitable up to Mach =10. Did you check support on this?
Gert-Jan is offline   Reply With Quote

Old   June 22, 2018, 19:31
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,703
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Most gasses have significant dissociation at Mach 5. You are double that speed. CFX does not have a plasma model so I don't think CFX is a suitable code for this. Are you sure CFX is going to be able to handle your application?
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   June 23, 2018, 02:42
Default
  #8
Member
 
mike
Join Date: Jun 2011
Posts: 42
Rep Power: 14
fluidmechanics is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Most gasses have significant dissociation at Mach 5. You are double that speed. CFX does not have a plasma model so I don't think CFX is a suitable code for this. Are you sure CFX is going to be able to handle your application?
Hi Glenn.
Yes, I know about dissociation and all about real gas behavior of air in high temperature. I have progressed a bit and now my question is how to have both specific heat and static enthalpy as functions of both T and P in Cfx. I have studied some about RGP format in CFX but as I see there we should define critical pressure and temperature. Is there any way to define both cp and h variable?
Sincerely
fluidmechanics 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
Setting the height of the stream in the free channel kevinmccartin CFX 12 October 13, 2022 21:43
Setting variable material properties bigphil OpenFOAM 0 June 11, 2009 07:01
Problems with additional variable Krishna Premi CFX 1 October 29, 2007 08:19
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 12:02
Multi_component Vs Additional Variable Anurag CFX 2 February 4, 2005 16:45


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