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

User-defined subroutines in Fluent 6

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 7, 2005, 07:59
Default User-defined subroutines in Fluent 6
  #1
Razvan
Guest
 
Posts: n/a
Hy everyone. I am using Fluent 6.1 and i try to modelise a plasma reactor. I am interested by the flow and chimical reactions modelling. In such a reactor some volumetric chemical reactions take place only in a particular volume of the reactor. I want to modelize the entire reactor while taking into account these reactions just in a part of it. How can I do this?
  Reply With Quote

Old   January 7, 2005, 09:24
Default Re: User-defined subroutines in Fluent 6
  #2
Andrew Garrard
Guest
 
Posts: n/a
I don't really know what a plasma reactor is, but it reminds me of an article that I read:

http://www.fluent.com/about/news/new...2v11i2/a15.htm

Hope this might help you out.
  Reply With Quote

Old   January 10, 2005, 10:11
Default Re: User-defined subroutines in Fluent 6
  #3
Ionut
Guest
 
Posts: n/a
Thank you Andrew for your answer but this article consider that the chemical reactions take place in all the reactor. Actually I need to "tell" fluent that the chemical reactions take place only in a particular volume of modelized domain. I think one of the solution is to use User Defined Subroutines (UDS) but it seems that, in Fluent 6, UDS are not available. Thank you once again!
  Reply With Quote

Old   January 10, 2005, 10:18
Default Re: User-defined subroutines in Fluent 6
  #4
Andrew Garrard
Guest
 
Posts: n/a
Ah, OK, right, UDF's (User defined fuctions) are definatly avaliable in fluent 6, as I am alot of other, far more competant, members of this forum use them all the time. Fluent 6 comes wiht a specific UDF manual. You can specify volumetric reaction rate and surface reaction rate any way you want using these subroutines. Get the manual and check out 4.3.14 DEFINE_VR_RATE.

good luck
  Reply With Quote

Old   January 10, 2005, 16:39
Default Re: User-defined subroutines in Fluent 6
  #5
Francisco
Guest
 
Posts: n/a
Razvan:

The zone of interest within the reactor needs to be singled out within the model. The cells of interest and the particular chemical reaction need to be specified within a subroutine. You need to define all the i, j, k locations and ranges within the model. I am not aware that you can do this with an UDF. I know that you could compile the subroutine made in Fortran or C and have Fluent execute after your compilation. A special way of starting Fluent is needed. For this you need the help of your local Fluent advisor and have all the computer-software tools to do it.

Francisco
  Reply With Quote

Old   January 11, 2005, 05:09
Default Re: User-defined subroutines in Fluent 6
  #6
Andrew Garrard
Guest
 
Posts: n/a
I haven't done this in a while, so I had to check back over the manual. The function is passed values of the cell and cell thread as arguments, so if you want to create a reaction on a particular section of the cell thread simply put in a conditional clause based on the cell's geometrical loaction. You do not need to include a cell loop by the looks of things - so the funciton must be called with a cell loop in Fluent.
  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 Turbulence Model Iaroslav FLUENT 1 July 19, 2017 12:22
Fluent User defined Scalars and UDF Anirudh_Deodhar Fluent UDF and Scheme Programming 0 February 16, 2011 20:16
Body Force & User Subroutines In Fidap Mohammad Aghakhani FLUENT 0 May 21, 2007 17:01
Source term for user defined scalars Mech.eng. Siemens 0 March 16, 2006 06:15
How many user use Fluent 4.x ? Thitikorn FLUENT 8 November 20, 2002 20:42


All times are GMT -4. The time now is 22:38.