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

User defined functions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 21, 1999, 09:02
Default User defined functions
  #1
Tuomas Koiranen
Guest
 
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
  #2
John McKelliget
Guest
 
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
  #3
Risto Huhtanen
Guest
 
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

Reply


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 Off
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 10:26
Wall Treatment of User defined Turbulence Model Yang Chung FLUENT 0 August 23, 2008 12:31
User Defined Scalars - Returning Values Carlos V. FLUENT 0 April 19, 2006 19:18
Source term for user defined scalars Mech.eng. Siemens 0 March 16, 2006 07:15


All times are GMT -4. The time now is 03:34.