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

UDF Error message

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 7, 2006, 07:18
Default UDF Error message
  #1
Tania
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

  Reply With Quote

Old   February 7, 2006, 08:48
Default Re: UDF Error message
  #2
RoM
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
  Reply With Quote

Old   February 7, 2006, 08:50
Default Re: UDF Error message
  #3
kharicha
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
  Reply With Quote

Old   February 7, 2006, 09:28
Default Re: UDF Error message
  #4
Tania
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.......
  Reply With Quote

Old   February 8, 2006, 02:16
Default Re: UDF Error message
  #5
RoM
Guest
 
Posts: n/a
Can you post you source?

RoM
  Reply With Quote

Old   February 17, 2006, 07:20
Default Re: UDF Error message
  #6
Arvind Phate
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
  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
UDF parallel error: chip-exec: function not found????? shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 23:14
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 21:38
Dynamic Mesh UDF Qureshi FLUENT 1 December 2, 2009 01:27
UDF...UDF...UDF...UDF Luc SEMINEL FLUENT 0 November 25, 2002 05:03
UDF, UDF, UDF, UDF Luc SEMINEL Main CFD Forum 0 November 25, 2002 05:01


All times are GMT -4. The time now is 07:40.