|
[Sponsors] |
November 22, 2010, 06:53 |
Variable types
|
#1 |
New Member
Ro'ee Orland
Join Date: Nov 2010
Posts: 18
Rep Power: 16 |
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.)? |
|
November 22, 2010, 12:12 |
|
#2 |
New Member
Kristian Etienne Einarsrud
Join Date: Oct 2010
Location: Trondheim
Posts: 29
Rep Power: 16 |
Hi,
The datatype "real" is interpreted as a "float" when using the single precision solver and "double" when using the double precision solver. Cheers! |
|
November 22, 2010, 12:23 |
|
#3 |
New Member
Ro'ee Orland
Join Date: Nov 2010
Posts: 18
Rep Power: 16 |
thanks a lot!!!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to limit a variable | ash | OpenFOAM Running, Solving & CFD | 1 | June 26, 2008 21:32 |
error in COMSOL:'ERROR:6164 Duplicate Variable' | bhushas | COMSOL | 1 | May 30, 2008 05:35 |
Problems with additional variable | Krishna Premi | CFX | 1 | October 29, 2007 09:19 |
Env variable not set | gruber2 | OpenFOAM Installation | 5 | December 30, 2005 05:27 |
Replace periodic by inlet-outlet pair | lego | CFX | 3 | November 5, 2002 21:09 |