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

header file for strings in udf

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 28, 2007, 03: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, 13: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, 03: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, 09: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, 01: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


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 Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 04:44.