|November 4, 2008, 16:37||
using UDF to real file
I've been trying to read a table to Fluent using UDF. I started simple: read a file which contains only one number. It can be interpreted, but when I run it, Fluent gave me an error message saying sth like "fatal error", asking me to exit and restart. Then I skipped the reading part (fscanf), and only open a file with "ifp = fopen("myfile.txt", "r"), but there's still the same error message.
I tried to write to a file using fopen and fprintf, and it worked ok.
Can anyone please give an idea why I can write but cannot read using UDF? or, please tell me where I did wrong.
Thank you in advance, Ellen
|Thread||Thread Starter||Forum||Replies||Last Post|
|i need your real help||sihat||FLUENT||3||August 8, 2007 15:00|
|[Fortran] (-real number)**(- or + real number)||jinwon||Main CFD Forum||3||June 14, 2007 14:50|
|REAL GAS UDF||brian||FLUENT||6||September 11, 2006 08:23|
|Real Gas||Alireza Zarif||FLUENT||0||October 30, 2005 10:53|
|What is real?||-||Main CFD Forum||0||December 26, 2004 12:28|