|
[Sponsors] |
January 8, 2013, 04:53 |
how to use double precision?
|
#1 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
how double precision can be turned on like fluent?does it result more accurate results or more stability?
|
|
January 8, 2013, 09:17 |
|
#3 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
thanks.but you mean all solvers use double precision instead of single precision?
In some problems it is not required to use double precision that takes more time. |
|
January 8, 2013, 13:19 |
|
#4 |
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 740
Rep Power: 28 |
Single and double precision are enabled by compiler flags. To switch, you need to change the WM_PRECISION_OPTION to either SP or DP, then recompile the solver you want to use and make sure the current shell has the environment variables updated.
|
|
January 8, 2013, 15:19 |
|
#5 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
thanks dear Marco.
How to change the parameter you mentioned? Do all solvers use dp by default? |
|
January 8, 2013, 15:29 |
|
#6 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Eshan,
Please try to read post 2 again, where one of your questions has already been answered. You could definitely make people more willing to help, if you actually seem to reflect on the answers people are giving you. This is not elementary school and in excess of 200 poorly written posts in a matter of few month tells a very clear story. Kind regards, Niels |
|
January 8, 2013, 18:28 |
|
#7 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
Niels
What's wrong with you about my questions? Your speech don't seems polite.it is more clear that you have thought here is elementary school and you are the teacher of it. If i wanted to ask my friend again for more certainty why are you bothering?that's odd. Do you think my posts exceed your posts and you'r worry about that and counting the months? Its better to respect each other and don't imagine ourselves a ruller of others! Thanks. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Continuing User Defined Real Gas Model issues | aeroman | FLUENT | 6 | April 8, 2016 04:34 |
Parallel User Defined Real Gas Model | aeroman | FLUENT | 4 | July 1, 2015 07:09 |
Missing math.h header | Travis | FLUENT | 4 | January 15, 2009 12:48 |
what's wrong about my code for 2d burgers equation | morxio | Main CFD Forum | 3 | April 27, 2007 11:38 |
REAL GAS UDF | brian | FLUENT | 6 | September 11, 2006 09:23 |