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

file-reading questions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 5, 2008, 18:32
Default file-reading questions
  #1
Ellen
Guest
 
Posts: n/a
Hi,

I've been trying to specify a temperature-dependent property to a material, and I was able to read a data file to Fluent using DEFINE_PROPERTY udf. But the case was running very very slowly. I think the reason maybe because Fluent needs to call this function (which contains file reading and interpolation) once for every cell and for every iteration.

so I'm thinking to use another udf to read in the data file, and store them into an array. Then the DEFINE_PROPERTY macro only needs to access these data and obtain the correct property value by interpolation. Is this feasible? and which macro should I use to write the first udf, DEFINE_EXECUTE_ON_LOADING?

any suggestions would be appreciated. thank you in advance.

Ellen
  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
Error reading trn file OliH CFX 3 March 4, 2010 09:24
Error reading msh file ANIL FLUENT 1 January 22, 2009 01:45
Additional reading questions about usage mike_jaworski OpenFOAM Running, Solving & CFD 2 May 7, 2007 12:26
Reading data file MON FLUENT 4 September 20, 2002 15:25
Reading table file MON FLUENT 0 September 20, 2002 15:19


All times are GMT -4. The time now is 19:22.