|
[Sponsors] |
December 21, 1999, 09:02 |
User defined functions
|
#1 |
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.
|
|
December 22, 1999, 15:23 |
Re: User defined functions
|
#2 |
Guest
Posts: n/a
|
As far as I know the functions have to be written in C
|
|
December 29, 1999, 08:41 |
Re: User defined functions
|
#3 |
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. |
|
|
|
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 |