CFD Online Logo CFD Online URL
Home > Forums > FLUENT

User defined functions

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

LinkBack Thread Tools Display Modes
Old   December 21, 1999, 09:02
Default User defined functions
Tuomas Koiranen
Posts: n/a
Hello, has somebody used fortran routines in fluent and how they are used in fluent, e.g. in case of adding own fluid property (density, viscosity etc.) correlations ? i did not find enough information about Fluent 4.5 User Guide Manual even about the installation of fortran compiler.
  Reply With Quote

Old   December 22, 1999, 15:23
Default Re: User defined functions
John McKelliget
Posts: n/a
As far as I know the functions have to be written in C
  Reply With Quote

Old   December 29, 1999, 08:41
Default Re: User defined functions
Risto Huhtanen
Posts: n/a
In Fluent 4.5 you have to compile your own version of Fluent code where you have your own subroutines with the code. Find a Makefile somewhere in your fluent4.5-directory and use it for compiling. There are instructions how to add own source terms in Fluent 4.4 manual Vol. 4, Chapter 20.

In Fluent 5 (UNS) there is (unfortenately) no way to add Fortran subroutines to the code. In principle it is possible to call Fortran routines from C-routines, but you have anyway to build an interface between Fluent platform and your subroutine. Then you have to use compiled routines, not interpreted option.
  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
USER DEFINED SCALARS yann Phoenics 6 November 14, 2013 09:46
Creating new user defined material Vidya FLUENT 4 August 26, 2013 09:26
Wall Treatment of User defined Turbulence Model Yang Chung FLUENT 0 August 23, 2008 11:31
User Defined Scalars - Returning Values Carlos V. FLUENT 0 April 19, 2006 18:18
Source term for user defined scalars Mech.eng. CD-adapco 0 March 16, 2006 07:15

All times are GMT -4. The time now is 01:55.