CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLUENT

can anyone tell me how to use a fortran subroutine

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 28, 2007, 01:13
Default can anyone tell me how to use a fortran subroutine
  #1
veda
Guest
 
Posts: n/a
hi

i would like to use a fortran sub routine as UDF.. but as FLUENT doesnt accept one will have to write a c code to call the same . i am having troubles linking it .. can anyone pls help me on this ..

  Reply With Quote

Old   June 29, 2007, 16:24
Default Re: can anyone tell me how to use a fortran subrou
  #2
jasond
Guest
 
Posts: n/a
As far as I know, you'll need to use the TUI/Makefile approach outlined in Section 5.3 of the Fluent UDF manual, and there is an example given using Fortran in Section 5.4.1. If you have followed all of that and are still having trouble, you'll need to give more detail - what platform and compiler you are using along with some info about how you are trying to link the C and Fortran code.

Jason
  Reply With Quote

Reply

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
Fortran Subroutine Error sergiorbrett CFX 12 September 3, 2012 07:40
Fortran subroutine (Perl not found) gillou_sk8@hotmail.com CFX 0 June 20, 2008 09:59
error on CFX compile fortran subroutine billpeace CFX 0 May 18, 2006 04:44
FORTRAN Subroutine Neser25 CFX 3 October 20, 2005 14:55
Fortran subroutine Thomas CFX 10 March 18, 2005 08:42


All times are GMT -4. The time now is 00:35.