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

Loading a new UDF in an existing Model

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 10, 2017, 04:04
Default Loading a new UDF in an existing Model
  #1
New Member
 
Markus Lücking
Join Date: Jan 2017
Posts: 10
Rep Power: 7
Malue is on a distinguished road
Hey everybody !

I would like to change the used UDF in an existing Fluent model.

I can compile the new UDF (load/build) successfully but during the calculation the following message apears...

source_gaussian = name of the compiled UDF

chip-exec: function "source_gaussian" not found

Does anybody knows why ?
Malue is offline   Reply With Quote

Old   February 10, 2017, 04:49
Default
  #2
Senior Member
 
Kevin
Join Date: Dec 2016
Posts: 138
Rep Power: 7
KevinZ09 is on a distinguished road
Did you change the name of your UDF? If so, you need to re-hook it, using the new, correct, name. You also may want to unload first the old library, before building and loading a new one.
KevinZ09 is offline   Reply With Quote

Old   February 10, 2017, 05:08
Default
  #3
New Member
 
Markus Lücking
Join Date: Jan 2017
Posts: 10
Rep Power: 7
Malue is on a distinguished road
Hey,

thanks for your answer but even after loading the new one, saving all of it..it is not working...

somehow the old udf is saved somewhere in the memory of the file...

maybe in the user defined memory ?
Malue is offline   Reply With Quote

Old   February 10, 2017, 05:38
Default
  #4
Senior Member
 
Kevin
Join Date: Dec 2016
Posts: 138
Rep Power: 7
KevinZ09 is on a distinguished road
Hence some of my questions: did you change the name of the UDF? And did you unload the old library? You can also always just manually remove the old libudf, i.e., not just unloading it but deleting the library-folder.

What kind of UDF file is it? What macro are you using?
KevinZ09 is offline   Reply With Quote

Old   February 10, 2017, 05:46
Default
  #5
New Member
 
Markus Lücking
Join Date: Jan 2017
Posts: 10
Rep Power: 7
Malue is on a distinguished road
Hey KevinZ09

I want to use the model on an linux cluster.

On this cluster there is a new libudf folder with the new UDF (it has a new name)

I copied the old model from my desktop to my cluster folder.

Once i open the model on the cluster, it always gives me the error :

Error : File laser doesn´t exist
Error : Object #f

Since the copied model wants to open the (on the cluster folder) not availabe old udf..

How to delete the old UDF

-> functions/manage ?
Malue is offline   Reply With Quote

Old   February 10, 2017, 07:52
Default
  #6
Senior Member
 
Kevin
Join Date: Dec 2016
Posts: 138
Rep Power: 7
KevinZ09 is on a distinguished road
To unload a library, go to: User-Defined --> Functions --> Manage --> and select the library you want to unload and click unload.

But again, if you've hooked it somewhere in your simulation, you need to remove it from there too. Hence why I asked which macro you're using.
KevinZ09 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
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
udf for Srivastava and Sundaresan friction model Musa FLUENT 1 March 14, 2014 02:42
Source Term UDF VS Porous Media Model pchoopanya Fluent UDF and Scheme Programming 1 August 28, 2013 06:12
UDF fails to model 9.81m/s^2 gravity jpo Fluent UDF and Scheme Programming 2 January 24, 2012 18:15
UDF for Heat Exchanger model francois louw FLUENT 2 July 16, 2010 02:21


All times are GMT -4. The time now is 03:36.