|
[Sponsors] |
July 8, 2020, 16:00 |
Significant digits of variables in CFX
|
#1 |
New Member
Jerry
Join Date: Sep 2019
Location: Queensland, Australia
Posts: 17
Rep Power: 7 |
Hi everyone,
I am using the expression in CFX to express a polynomial function with the coefficients of 16 significant digits. It seems that CFX does not read all the significant digits of the coefficient because the calculation result of the expression is incorrect. I am wondering how many significant digits are defaulted in CFX. Is there any chance to modify the significant digits in CFX? If so, how to do it? Thank you! Regards, Jerry |
|
July 8, 2020, 17:59 |
|
#2 |
Senior Member
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,928
Rep Power: 28 |
Do you use double precision?
|
|
July 9, 2020, 03:06 |
|
#3 |
New Member
Jerry
Join Date: Sep 2019
Location: Queensland, Australia
Posts: 17
Rep Power: 7 |
||
July 9, 2020, 09:46 |
|
#4 |
Senior Member
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33 |
Can you share the expression?
I would like to see an expression that requires that many digits to be accurate within engineering limits. What kind of precision is being asked on the left-hand side? Perhaps the expression is not being written in a "less sensitive form" to round off. Polynomials are supposed to be written using Horner's method or something along those lines to reduce round off as the higher powers come into play.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum. |
|
July 13, 2020, 13:44 |
|
#5 |
Senior Member
Erik
Join Date: Feb 2011
Location: Earth (Land portion)
Posts: 1,188
Rep Power: 23 |
You could calculate a table in different software, and use this table as a user function in CFX Pre instead of the polynomial fit.
|
|
Tags |
cfx, significant digits |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need help in calculating variables in cfx post | shaswat | CFX | 4 | March 29, 2012 04:36 |
CFX - Solidworks Flow, Impeller comparison | aerospace_guy_ | CFX | 8 | March 20, 2012 23:06 |
cfx expression variables | Manoj Kumar | CFX | 2 | February 16, 2006 11:03 |
How to request cfx to write variables at a point? | Uday | CFX | 1 | February 6, 2006 00:42 |
CFX 4.4 installation problem | Pandu Sattvika | CFX | 1 | December 1, 2001 05:07 |