|
[Sponsors] |
![]() |
![]() |
#1 |
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. |
|
![]() |
![]() |
![]() |
#2 |
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 |
|
![]() |
![]() |
![]() |
#3 |
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.
|
|
![]() |
![]() |
![]() |
#4 |
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 |
|
![]() |
![]() |
![]() |
#5 |
Guest
Posts: n/a
|
Hi, if u leave the space into the name of the udf file, like "temperature profile", the problem will appear.
|
|
![]() |
![]() |
|
|
![]() |
||||
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 |