|
[Sponsors] |
November 11, 2000, 03:35 |
How to use user defined Subroutine
|
#1 |
Guest
Posts: n/a
|
I want to know how to use "user defined Subroutines" in fluent. Can I program my codes in the surface of Fluent directly?
|
|
November 12, 2000, 05:17 |
Re: How to use user defined Subroutine
|
#2 |
Guest
Posts: n/a
|
if you understand programming in C, it's possible. for a better look, please try this website
for Dos/Windows: www.perkins-software.com.au/Fluent/udf_scalar_dos.c for Unix: www.perkins-software.com.au/Fluent/udf_scalar_unix.c |
|
November 13, 2000, 04:14 |
Re: How to use user defined Subroutine
|
#3 |
Guest
Posts: n/a
|
No, check the manuals, there's an overview on how tu use udf's in the solver.
|
|
November 13, 2000, 08:04 |
Re: How to use user defined Subroutine
|
#4 |
Guest
Posts: n/a
|
Thanks for your answer on fluent forum. I am using fluent4.5 now while I can only find the simple explaination about "user defined subroutine" in Chapter20 "fluent user's guide". I want to know more information about the structure of subroutine and how to connect it with fluent.
|
|
November 13, 2000, 08:16 |
Re: How to use user defined Subroutine
|
#5 |
Guest
Posts: n/a
|
You should check the files "uds_..._flu45.pdf" in the directory ".../Fluent.Inc/fluent4.5/info/". There You will find more information about the uds in fluent4.5.
|
|
November 13, 2000, 23:44 |
Re: How to use user defined Subroutine
|
#6 |
Guest
Posts: n/a
|
After reading the manuals, also look in the srcu folder under your Fluent.Inc/fluent4.5 installation - here you will find two folders - user and include. In the user one are the fortran templates of all user defined subroutines available in 4.5. In these you simply add your equations to calculate sources of momentum, energy, species etc. etc. and user properties for viscosity, thermal conductivity etc. etc. You can also check out the include files in the include folder, from which its possible to determine other internal variables which are useful but which aren't documented in ch20 of the manual.
Also see many previous posts on this forum. Greg |
|
November 14, 2000, 07:32 |
Re: How to use user defined Subroutine
|
#7 |
Guest
Posts: n/a
|
Thanks very much for your answers.I have read the pdf file and checked the file under user directory.But I have not the absoft Fortran compiler.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM static build on Cray XT5 | asaijo | OpenFOAM Installation | 9 | April 6, 2011 13:21 |
Gradient of a User defined Variable | Ramadas | CFX | 2 | August 21, 2007 10:19 |
User defined subroutine in Ground | Sanjay | Phoenics | 2 | February 23, 2006 07:40 |
User Subroutine | Garryx | Siemens | 1 | June 25, 2005 01:13 |
User Defined Subroutine | Denpong Soodphakdee | FLUENT | 0 | April 13, 2000 04:53 |