|
[Sponsors] |
June 28, 2007, 03:37 |
header file for strings in udf
|
#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 |
|
June 28, 2007, 13:48 |
Re: header file for strings in udf
|
#2 |
Guest
Posts: n/a
|
Your variables, or ones that you thought were defined in Fluent header files?
|
|
June 29, 2007, 03:28 |
Re: header file for strings in udf
|
#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. |
|
July 5, 2007, 09:05 |
Re: header file for strings in udf
|
#4 |
Guest
Posts: n/a
|
I think u can only use ANSI C in linux or VC++ in windows... try to use some macro
|
|
July 6, 2007, 01:52 |
Re: header file for strings in udf
|
#5 |
Guest
Posts: n/a
|
Thank you mayur. I wl try this option
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
tecio compilation errors in latest 1.6.x | rsamuel | OpenFOAM Bugs | 2 | June 25, 2021 09:10 |
UDF giving warning, although used stdio.h header file | jeevankumarb | Fluent UDF and Scheme Programming | 7 | December 31, 2019 10:06 |
pisoFoam compiling error with OF 1.7.1 on MAC OSX | Greg Givogue | OpenFOAM Programming & Development | 3 | March 4, 2011 18:18 |
[blockMesh] BlockMesh FOAM warning | gaottino | OpenFOAM Meshing & Mesh Conversion | 7 | July 19, 2010 15:11 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |