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

Question to UDF

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 10, 2007, 11:20
Default Question to UDF
  #1
Claud
Guest
 
Posts: n/a
Hi users, I am modelling a 2D gas flow over a catalytic layer where steam reforming takes place. For getting the reactions in the catalyst I have written an UDF (3 global reactions with some kinetic parameters). The problem that I am facing is that sometimes I do not have any problems when I turned on the reaction and sometimes I run into the following error: Floating point error: invalid number. Any suggestion how to overcome that problem? Before I hooked on the UDF I have done some iterations until I got a stable flow in the reactor and I have lowered the URF for each species to 0.5.

Thanx for your help! Claud
  Reply With Quote

Old   April 10, 2007, 17:02
Default Re: Question to UDF
  #2
Phil
Guest
 
Posts: n/a
try a different number type for your variables.(ie. int,real,float,double)
  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
A simple UDF question Pirooz Darabi FLUENT 0 October 31, 2007 16:22
Basic question: UDF for wall heat flux Carl FLUENT 1 August 5, 2006 19:01
Question about UDF summer FLUENT 1 July 18, 2006 10:13
UDF question Ryan FLUENT 2 July 5, 2006 14:54
A question about the dynamic mesh UDF Tango FLUENT 1 November 27, 2003 03:56


All times are GMT -4. The time now is 13:00.