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

Question to UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 10, 2007, 12: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, 18: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


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 Off
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 20:01
Question about UDF summer FLUENT 1 July 18, 2006 11:13
UDF question Ryan FLUENT 2 July 5, 2006 15: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 16:28.