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

error in using UDF for specifying drag coefficient

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 17, 2003, 05:53
Default error in using UDF for specifying drag coefficient
  #1
Shekhar Jain
Guest
 
Posts: n/a
i am getting an error: Error: Set_Property: null user-defined-function name Error Object: ()

while setting the UDF(interpreted) for specifying the drag coefficient in Eulerian multiphase model using the macro DEFINE_EXCHANGE_PROPERTY.
  Reply With Quote

Old   September 17, 2003, 07:24
Default Re: error in using UDF for specifying drag coeffic
  #2
Ale
Guest
 
Posts: n/a
Have you defined a name (the first argument of the macro) for your UDF?

DEFINE_EXCHANGE_PROPERTY (name, c, mixture_thread, second_column_phase_index, first_column_phase_index)

Good luck,

Ale
  Reply With Quote

Old   September 17, 2003, 08:34
Default Re: error in using UDF for specifying drag coeffic
  #3
ap
Guest
 
Posts: n/a
I had the same error using interpreted UDF. I "solved" it doing this way:

- Start FLUENT and load the mesh file, then the UDF (Define -> User Defined -> Functions -> Interpreted).

- Set up the case. When you choose your drag factor, you'll obtain the error. Ignore it.

- Save the case file and exit FLUENT.

- Open FLUENT again and load the case file. FLUENT automatically compiles the UDF.

- Set your drag factor again. Now you shouldn't see the error message.

Hi

ap
  Reply With Quote

Old   September 18, 2003, 03:48
Default Re: error in using UDF for specifying drag coeffic
  #4
Shekhar Jain
Guest
 
Posts: n/a
Thank you for your reply. I have defined a name for my UDF as the first argument to the DEFINE macro.
  Reply With Quote

Old   September 18, 2003, 03:50
Default Re: error in using UDF for specifying drag coeffic
  #5
Shekhar Jain
Guest
 
Posts: n/a
Hi ap, Thnak you for your reply. It indeed worked thanks a lot.
  Reply With Quote

Reply

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
Drag Coefficient for Ellipse Form (2D) Ketut Utama Main CFD Forum 8 December 11, 2014 12:03
Problem with UDF (Drag model) understate FLUENT 0 January 4, 2011 06:01
Solidification drag coefficient atulverma FLOW-3D 1 May 14, 2009 09:24
drag coefficient & drag force abhishek.mnit FLUENT 0 April 29, 2009 23:48
Drag coefficient for parcels in dieselFoam sebastian_vogl OpenFOAM Running, Solving & CFD 5 December 31, 2008 13:19


All times are GMT -4. The time now is 23:47.