|
[Sponsors] | |||||
|
|
|
#1 |
|
Guest
Posts: n/a
|
I am writing a udf in C++ which has strings. but when i compile my udF it says. Undeclared variable. So what is the solution for this? Can ne1 help
Thanks, Sangeeta |
|
|
||
|
|
|
#2 |
|
Guest
Posts: n/a
|
Your variables, or ones that you thought were defined in Fluent header files?
|
|
|
||
|
|
|
#3 |
|
Guest
Posts: n/a
|
Its not my variables. there are some functions in C++ like round(). There are also not there in fluent compiler. SO help me with this also.
Thanks, Sangeeta B. |
|
|
||
|
|
|
#4 |
|
Guest
Posts: n/a
|
I think u can only use ANSI C in linux or VC++ in windows... try to use some macro
|
|
|
||
|
|
|
#5 |
|
Guest
Posts: n/a
|
Thank you mayur. I wl try this option
|
|
|
||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| UDF giving warning, although used stdio.h header file | jeevankumarb | Fluent UDF and Scheme Programming | 6 | June 18, 2012 08:57 |
| pisoFoam compiling error with OF 1.7.1 on MAC OSX | Greg Givogue | OpenFOAM Programming & Development | 3 | March 4, 2011 17:18 |
| BlockMesh FOAM warning | gaottino | OpenFOAM Native Meshers: blockMesh | 7 | July 19, 2010 14:11 |
| tecio compilation errors in latest 1.6.x | rsamuel | OpenFOAM Bugs | 1 | December 22, 2009 03:34 |
| OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 19:08 |