CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Help : errors in compilation

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

LinkBack Thread Tools Display Modes
Old   June 17, 2003, 16:00
Default Help : errors in compilation
Posts: n/a
hi i am a new user with fluent ( fluent6.1 ) 1. when i tried to compile a UDF, I am getting message: (I had followed the steps given in manual)

Opening library "libudf"...

Error: open_udf_library: The system cannot find the file specified.

Error Object: ()

2. Also, every time I start solution for a problem I get following message:


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: ()

can anybody explain me the the possible errors.

Thanks in advance. ---- MP
  Reply With Quote

Old   June 18, 2003, 16:24
Default Re: Help : errors in compilation
Posts: n/a
Access violation happens when you try to access to a variable which has not been defined yet.

- Gradients are not defined at the first iteration. If you access them, use an if statement like this:

if(!DataValid_P()) return 0;

at the beginning of the function which tries to read a gradient.

- If you use User Defined Memory, make sure to define them in the right number in FLUENT menu. Same for User Defined Scalar.


  Reply With Quote

Old   June 21, 2003, 02:39
Default Re: Help : errors in compilation
Posts: n/a
1. Make sure that you placed UDF and case file in he same working directory from where you started fluent. If you change the location of udf file, you will get this message. For details, see UDF manual - Errors while compiling udf. 2. Please check all inputs while defining boundary conditions. If you use turbulence intensity (i) & hydraulic gradient as the turbulence specifiaction method, use a lower value of i initially. Then reinitialize the flow domain and give solve.

Hope this may help.
  Reply With Quote

Old   June 29, 2003, 14:11
Default Re: Help : errors in compilation
Posts: n/a
Dear ap and Rahul, thanks for your comments. [ also sorry for my late reply ]

I tried to verify my case in light of your suggestions But, even if i dont use any UDF, i will get the message of ACCESS_VIOLATOIN, for even simpler cases.

Regarding the errors in compilatoin of the UDF, some othere users are also having same trouble particularly with the use of UDF for porosity.

Dear ap,can you please give me some sample UDF which involves the statement viz,

if(!DataValid_P()) return 0;

this could greatly help me.

Thanks for your time.


  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
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 42 May 14, 2012 20:48
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07

All times are GMT -4. The time now is 20:02.