CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Fluent UDF and Scheme Programming (
-   -   Variable types (

orland November 22, 2010 06:53

Variable types
The Fluent udf guide uses the data type "real" (real sum_diss=0;).
this does not appear to be proper C syntax.
Does the Fluent compiler recognize it as a C type (instead of float, double, int, etc.)?

KristianEtienne November 22, 2010 12:12


The datatype "real" is interpreted as a "float" when using the single precision solver and "double" when using the double precision solver.


orland November 22, 2010 12:23

thanks a lot!!!

All times are GMT -4. The time now is 03:57.