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

UDF compiled problem

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 11, 2013, 08:30
Default UDF compiled problem
  #1
New Member
 
Enrico Di Cesare
Join Date: Aug 2013
Location: Verona Italia
Posts: 4
Rep Power: 12
Enricodex is on a distinguished road
Hello to everyone.
I am new in this forum. I am an italian mechanical engineer and i'd like to learn deeply Fluent .
So i am trying to make the help tutorials, and in particulary the 15th (" Using Dynamic Mesh").
When I try to compile the UDF file the console says to me that there are problems. So seeing the working folder I found a txt file named CORTEXERROR where is written :

"Error [cortex] [time 8/11/13 13:14:34] The UDF library you are trying to load (libudf) is not compiled for 2ddp on the current platform (win64)".

I am probably able to figured out which is the problem but I am not sure and I 'd like to hear the opinion of someone else more expert than me.

Thanks to everyone that wanted help me and have a good Sunday
Enricodex is offline   Reply With Quote

Old   August 11, 2013, 18:22
Default
  #2
Member
 
Stephan Langenberg
Join Date: Sep 2011
Location: Germany
Posts: 73
Rep Power: 14
Jim87 is on a distinguished road
I had this and related errors several times.

For myself I find the easiest and best working UDF activation on Windows using this steps:

1. Case and UDF in the same domain

2. open a console and compiling the UDF with standard Windows command

3. Starting Fluent by console

4. defining UDF Libary and compile -> Load

5. activating UDF

- This steps might seem not perfect or not practible for every user (non-windows, natchfile etc.) But I made good experience with using the windows console in this sizes.

P.S: Not compiled is a direct hint. First compile every UDF, the UDF should have a +.c ending.
Jim87 is offline   Reply With Quote

Old   August 11, 2013, 18:48
Default
  #3
New Member
 
Enrico Di Cesare
Join Date: Aug 2013
Location: Verona Italia
Posts: 4
Rep Power: 12
Enricodex is on a distinguished road
Thanks Jim

I found a discussion in UDF forum that have helped me to fix the problem.
In my laptop was installed Microsoft Visual 2005 and It was too old. So I downloaded the 2010 Version and I followed the same step that you have just adviced to me.
And everything works.
That's cool

Bye
Enricodex is offline   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
Mesh UDF problem kornetka Fluent UDF and Scheme Programming 4 July 25, 2013 07:54
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 05:43
problem with udf for dynamic mesh ja92 FLUENT 0 February 24, 2011 10:32
Help! Compiled UDF problem 4 Wave tank tutorial Shane FLUENT 1 September 3, 2010 03:32
UDF variables F1, y / problem with UDF Fabian FLUENT 6 June 2, 2003 11:22


All times are GMT -4. The time now is 15:51.