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

Any expert in udf writing here?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 22, 2009, 12:52
Default Any expert in udf writing here?
  #1
New Member
 
Jack nedermans
Join Date: Mar 2009
Posts: 12
Rep Power: 17
coolengineer is on a distinguished road
Hi everybody,

Although I am new user, I have been online everyday for over one week. But I cannot find answers to my problem. Anyone here experience in writing udfs?

I just need a critical touch.

Waiting from you.
coolengineer is offline   Reply With Quote

Old   April 22, 2009, 14:33
Default Thanks to mAx
  #2
New Member
 
Jack nedermans
Join Date: Mar 2009
Posts: 12
Rep Power: 17
coolengineer is on a distinguished road
I thank mAx very much for his guidence through my problem!
coolengineer is offline   Reply With Quote

Old   April 23, 2009, 01:15
Default
  #3
Super Moderator
 
-mAx-'s Avatar
 
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41
-mAx- will become famous soon enough
you're welcome.
Can you quick detail how do you solved your issue on your previous thread
http://www.cfd-online.com/Forums/flu...to-fluent.html
It can be helpfull for someone else
__________________
In memory of my friend Hervé: CFD engineer & freerider
-mAx- is offline   Reply With Quote

Old   April 23, 2009, 04:21
Default How I solved my problem
  #4
New Member
 
Jack nedermans
Join Date: Mar 2009
Posts: 12
Rep Power: 17
coolengineer is on a distinguished road
When I attemped to hook my udf to Fluent, the following problem occured:

Creating library libudf.lib and object libudf.exp
my_herschel_bulkley.obj : error LNK2019: unresolved external symbol __imp__Cell_Strain_Rate_Mag referenced in function _my_herschel_bulkley
libudf.dll : fatal error LNK1120: 1 unresolved externals

As you can guess the problem was with my assignment the Cell_Strain_Rate_Mag to a symbol. I deleted assignment and instead I used Cell_Strain_Rate_Mag in the following definitions, then hooked the udf to Fluent and saw that it worked.

Thank you again mAx.
coolengineer is offline   Reply With Quote

Reply


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
writing UDF for modelig mass transfer for VOF ardalan soleymani FLUENT 0 July 11, 2007 01:09
Seek help in writing UDF Jack Martinez FLUENT 9 June 14, 2007 10:24
New to writing UDF Sandilya FLUENT 0 May 31, 2007 12:03
Writing UDF for Robbins Bounday Condition KKLAU FLUENT 1 April 6, 2004 23:58
Macros for writing UDF for porosity umesh FLUENT 1 June 13, 2003 04:20


All times are GMT -4. The time now is 12:16.