|
[Sponsors] |
February 7, 2006, 06:18 |
UDF Error message
|
#1 |
Guest
Posts: n/a
|
Hi,
I wrote an udf to modify the turbulent viscosity for the k-e model. I compiled the udf and everything seemed fine. However, when I tried to run the case using the udf, I got the following error message : " Floating point error: invalid number " Any suggestions to solve the problem. thanks |
|
February 7, 2006, 07:48 |
Re: UDF Error message
|
#2 |
Guest
Posts: n/a
|
As a first step you could program the standard formualtion for mu_t an see if to get the same results as fluent before trying to implement own models. Maybe this will help to find errors in the udf. Maybe you udf tries to access values which are not available during the first iteration. Run the case without udf for some iterations and hook the udf later.
RoM |
|
February 7, 2006, 07:50 |
Re: UDF Error message
|
#3 |
Guest
Posts: n/a
|
It seems that you have a division by zero....
It comes probably from epsilon which should never be equal to zero, so I suggest you replace epsilon by (epsilon + a very small number).... please try |
|
February 7, 2006, 08:28 |
Re: UDF Error message
|
#4 |
Guest
Posts: n/a
|
Thanks a lot for the answers.
I 've tried to run few iterations without the udf before I switch it on but still I got the same error message. I checked the UdF there is no division by zero....... |
|
February 8, 2006, 01:16 |
Re: UDF Error message
|
#5 |
Guest
Posts: n/a
|
Can you post you source?
RoM |
|
February 17, 2006, 06:20 |
Re: UDF Error message
|
#6 |
Guest
Posts: n/a
|
Hi Tania,
Be careful sometimes if you have not followed the units properly in your UDF then also this error comes.I will suggest check units properly. Bye Arvind Phate |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh UDF | Qureshi | FLUENT | 7 | March 23, 2017 07:37 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 22:14 |
How to add a UDF to a compiled UDF library | kim | FLUENT | 3 | October 26, 2011 21:38 |
UDF...UDF...UDF...UDF | Luc SEMINEL | FLUENT | 0 | November 25, 2002 04:03 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 04:01 |