|
[Sponsors] |
September 9, 2006, 02:16 |
Fortran UDF
|
#1 |
Guest
Posts: n/a
|
I have a fortran program to put into fluent, the best way I see thus far is as a udf.
My reading of the manual has only given me instruction for a udf programmed in C... further reading however tells me its possible to be done with a fortran code, but no "how to". Can anyone enlighten me or point to some useful info? |
|
September 10, 2006, 18:38 |
Re: Fortran UDF
|
#2 |
Guest
Posts: n/a
|
There is documentation - it just it a little hard to find. You'll need to use the TUI-based compilation/loading procedure documented in Sections 8.3 and 8.4 of the UDF manual. There's a fortran example in Section 8.4. Doing this is does require some multi-language programming (which can be a real pain the neck when things don't work - name mangling is loads of fun, as is the whole array thing), but as long as you have the right compilers it shouldn't be too bad.
Good luck. Jason |
|
September 10, 2006, 18:43 |
Re: Fortran UDF
|
#3 |
Guest
Posts: n/a
|
I forgot to add in my post that if you get it to work, it would be great if you added to the Fluent FAQ section on this - it is a common misconception that UDF's are C only (that is what I was originally told).
Jason |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to call FORTRAN files as UDF? | Ehsan-F | Fluent UDF and Scheme Programming | 6 | September 11, 2012 11:03 |
Problem of UDF using fortran programs | hlsky | FLUENT | 0 | October 12, 2011 11:07 |
Problem of UDF including fortran programs | hlsky | Fluent UDF and Scheme Programming | 0 | October 12, 2011 10:47 |
UDF - Fortran on Windows system | Gomer P. | FLUENT | 4 | July 6, 2011 03:35 |
how to link a fortran procedure with UDF? | yinyue | FLUENT | 0 | October 4, 2004 03:49 |