|
[Sponsors] |
Read txt file and import values to source term. |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#41 |
New Member
Sagar
Join Date: Apr 2016
Posts: 23
Rep Power: 11 ![]() |
Hello Micael!
I don't know what was the problem. I was able to find the solution when I started writing the code bit by bit and checking whether that code would compile in fluent. I reached a stage where whole code could compile with the proper messages of file read and closed. Thank you. Now I have one doubt, currently DEFINE_ON_DEMAND, for which I have to manually assign the values read in from the file to arrays. Is there a macro which does this automatically as soon as the loading of the library is over? |
|
![]() |
![]() |
![]() |
Tags |
array, file, source, txt, udf |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How can I import a momentum source term from a dat | May Huang | FLUENT | 1 | September 5, 2011 05:50 |
help: How can I import a source? | May Huang | FLUENT | 1 | September 5, 2011 05:49 |
how do I import tecplot file to fluent | Kangello | FLUENT | 0 | December 2, 2009 08:28 |
Errors running allwmake in OpenFOAM141dev with WM_COMPILE_OPTION%3ddebug | unoder | OpenFOAM Installation | 11 | January 30, 2008 20:30 |
Importing I-DEAS unv file | hbetb | FLUENT | 1 | August 10, 2001 13:22 |