error in using UDF for specifying drag coefficient
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. |
Re: error in using UDF for specifying drag coeffic
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 |
Re: error in using UDF for specifying drag coeffic
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 |
Re: error in using UDF for specifying drag coeffic
Thank you for your reply. I have defined a name for my UDF as the first argument to the DEFINE macro.
|
Re: error in using UDF for specifying drag coeffic
Hi ap, Thnak you for your reply. It indeed worked :) thanks a lot.
|
All times are GMT -4. The time now is 23:02. |