CFD Online Logo CFD Online URL
Home > Forums > FLUENT

some advice on UDF

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

LinkBack Thread Tools Display Modes
Old   September 28, 2005, 15:22
Default some advice on UDF
Posts: n/a
I want to thank the people here and share some of my experience on UDF: 1. Some people met the problem when interprete the UDF file with the error "line 1 parse error". The line 1 is your #include udf.h, if you save your UDF source at the different path with the udf.h, the fluent will not find the file. So you will receive this error.

2.Some people meet the problem like this "Error: FLUENT received fatal signal (ACCESS_VIOLATION) 1. Note exact events leading to error. 2. Save case/data under new name. 3. Exit program and restart to continue. 4. Report error to your distributor. Error Object: ()" i can tell one reason for this problem: you defined the solid boundary conditions in your domain, and you set the velocity et al to whole domain.

3.Please write all UDF function in a file, if you have more than 2 UDF files.
  Reply With Quote

Old   October 10, 2005, 03:59
Default I have the same problem,
Zafer Zeren
Posts: n/a
When I first compiled my udf file, it gave the error of "cannot find stdio.h and math.h". After I got this message, I have put those .h files inside the directory but this time, it gave the parse error for those files. I had a look at those files corresponding lines but I hesitated to change'em because they're long.

How can I solve this problem? If anybody can help me I'll appreciate it.

Thanks anyway
  Reply With Quote

Old   October 11, 2005, 09:02
Default Re: I have the same problem,
Posts: n/a
parse error comes when there is any space in the path name u have saved. like for ex: if ur path name is say... e:\fluent files\x.cas, then it says parse error. so change the name of the folder and see that there is no space in its name.
  Reply With Quote

Old   October 11, 2005, 10:11
Default But there's no any space in the path
Zafer Zeren
Posts: n/a
nI have no space in the path. The problem must be something else.Because parse error is given for inside of the .h files which are stdio and math.

thanks anyway
  Reply With Quote

Old   October 12, 2005, 12:51
Default Re: But there's no any space in the path
Posts: n/a
Hi, if u leave the space into the name of the udf file, like "temperature profile", the problem will appear.
  Reply With Quote


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
Dynamic Mesh UDF Qureshi FLUENT 7 March 23, 2017 08:37
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 23:14
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 21:38
UDF...UDF...UDF...UDF Luc SEMINEL FLUENT 0 November 25, 2002 05:03
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 05:01

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