CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

header file for strings in udf

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   June 28, 2007, 02:37
Default header file for strings in udf
  #1
sangeeta
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
  Reply With Quote

Old   June 28, 2007, 12:48
Default Re: header file for strings in udf
  #2
Allan Walsh
Guest
 
Posts: n/a
Your variables, or ones that you thought were defined in Fluent header files?
  Reply With Quote

Old   June 29, 2007, 02:28
Default Re: header file for strings in udf
  #3
sangeeta
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.

  Reply With Quote

Old   July 5, 2007, 08:05
Default Re: header file for strings in udf
  #4
mayur
Guest
 
Posts: n/a
I think u can only use ANSI C in linux or VC++ in windows... try to use some macro
  Reply With Quote

Old   July 6, 2007, 00:52
Default Re: header file for strings in udf
  #5
Sangeeta
Guest
 
Posts: n/a
Thank you mayur. I wl try this option
  Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


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 18: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 04:34
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08


All times are GMT -4. The time now is 06:56.