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

some advice on UDF

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 28, 2005, 15:22
Default some advice on UDF
  #1
yong
Guest
 
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,
  #2
Zafer Zeren
Guest
 
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,
  #3
rajani
Guest
 
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
  #4
Zafer Zeren
Guest
 
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
  #5
yong
Guest
 
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

Reply

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic Mesh UDF Qureshi FLUENT 7 March 23, 2017 07:37
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 22: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 04:03
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 04:01


All times are GMT -4. The time now is 22:34.