|
[Sponsors] |
November 5, 2008, 18:32 |
file-reading questions
|
#1 |
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 |
|
|
|
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 |