CFD Online Logo CFD Online URL
Home > Forums > FLUENT

Fortran UDF

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

LinkBack Thread Tools Display Modes
Old   September 9, 2006, 02:16
Default Fortran UDF
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?
  Reply With Quote

Old   September 10, 2006, 18:38
Default Re: Fortran UDF
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.

  Reply With Quote

Old   September 10, 2006, 18:43
Default Re: Fortran UDF
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).

  Reply With Quote


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
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

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