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

CFX Post Expressions number decimals

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 29, 2013, 15:48
Default CFX Post Expressions number decimals
  #1
New Member
 
Join Date: Jun 2011
Posts: 5
Rep Power: 15
njiang is on a distinguished road
Hi, there,

I am creating an expression in CFX post using the trendline created in the Excel as following:

(-798936626.593750*z^6/1[m^6] + 4687121164.076870*z^5/1[m^5] - 11450097996.080200*z^4/1[m^4] + 14908481102.838800*z^3/1[m^3] - 10912008484.852500*z^2/1[m^2] + 4256979247.793130*z/1[m] - 691537634.412929)*1[K]

when I evaluate the expression using 0.91 for z, the CFX gives me wrong number 1536K, while Excel is 762K.

How do I change the decimal setup/precision in CFX?

Thanks.

Nan
njiang is offline   Reply With Quote

Old   November 30, 2013, 05:40
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,862
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
When you start the solver select double precision. But I vaguely recall that CEL is evaluated in single precision even with the rest of the numerics being double precision. I am not certain of this, but keep it is mind.
ghorrocks is offline   Reply With Quote

Old   November 30, 2013, 09:29
Default
  #3
New Member
 
Join Date: Jun 2011
Posts: 5
Rep Power: 15
njiang is on a distinguished road
Hi, Glenn,

Thanks. I do have double precision turned on for solver.
njiang is offline   Reply With Quote

Old   December 13, 2013, 05:39
Default
  #4
Senior Member
 
Matthias Voß
Join Date: Mar 2009
Location: Berlin, Germany
Posts: 449
Rep Power: 20
mvoss is on a distinguished road
maybe you can use the "function"-function from cfx pre to overcome the rounding errors if the expression is supposed to be used in the simulation.
Be very careful about the resolution of the points being used in the function, because they will be interpolated piece-wise between two points.
You can also import data (like *.csv) for comparison in post - directly within the graph-tool.
mvoss is offline   Reply With Quote

Reply

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
Is it possible to obtain compressor map for axial compressor in CFX post ? Irondome CFX 1 June 16, 2013 07:24
ANSYS CFX simulation: Post CFX error MInXD CFX 3 May 19, 2013 20:24
Problem: Fluent axisym. in CFX Post areaAve j_h_86 ANSYS 0 March 20, 2013 09:33
Proper output of angle of attack in CFX post Kevin CFX 3 October 18, 2006 13:18
(CFX POST) Rotational Speed ARJUN CFX 9 July 13, 2006 21:38


All times are GMT -4. The time now is 21:11.