CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   What are the internal numerical data types used by FLUENT? (https://www.cfd-online.com/Forums/fluent/156957-what-internal-numerical-data-types-used-fluent.html)

Leb July 16, 2015 07:18

What are the internal numerical data types used by FLUENT?
 
Hi everyone,

I was wondering what is the default numerical data type FLUENT is using. In the manual I can find this:Lhttp://www.afs.enea.it/project/neptunius/docs/fluent/html/udf/node252.htm

but it's for UDFs.

The reason I'm asking is because I wonder if running a simulation on a mesh that has micro meter scale system expressed in meters (i.e. length scale etc. units are read as meters in FLUENT) would be worse/not converge as fast as one using micro meter scale in FLUENT (i.e. instead of having 0.000001m I would have 1um when FLUENT is calculating). I guess if FLUENT is using at least float precision, then this wouldn't be a problem...

Cheers

Kokemoor July 16, 2015 12:08

The default is single (float) precision, but double is supported and easy to enable. In the GUI launcher, there's a checkbox for it. If you're launching from command line, add "dp" to the solver flag, e.g. -3ddp instead of -3d.

Leb July 21, 2015 11:15

Thanks, I realised that after I have posted the question. I'm a bit surprised that it makes a difference in convergence ( I thought floats "dynamic range" would be more than enough...).


All times are GMT -4. The time now is 07:38.