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

file-reading questions

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

Reply
 
LinkBack Thread Tools 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

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
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 11:26
Reading data file MON FLUENT 4 September 20, 2002 14:25
Reading table file MON FLUENT 0 September 20, 2002 14:19


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