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

UDF

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 5, 2008, 13:33
Default UDF
  #1
Ilker
Guest
 
Posts: n/a
Hi,

Is there is any file which gives parabolic velocity profile or function in Fluent database? If any, how can I change it into semi-parabolic profile which means it will have just (x,y) but not (x,y)? If there is no such a file in database how can I create it?

Thank You
  Reply With Quote

Old   November 5, 2008, 13:48
Default Re: UDF
  #2
Dothan
Guest
 
Posts: n/a
I think you are talking about boundary condition UDF profile. Yes, Fluent can sets BC with all functions you prefer, time and spatial (2D and 3D) depend function. There are some examples on UDF user guide (ctrf+F makes miracles sometimes ),also in Fluentuser site, or send an e-mail to your Fluent seller. this is the step one. The second step is to be familiar with standard C. regards.
  Reply With Quote

Old   November 5, 2008, 13:54
Default Re: UDF
  #3
Ilker
Guest
 
Posts: n/a
hmmm, Dothan I think you didnt understand my question. If you read well, you will see that I am searching a file which has been already given as parabolic velocity profile. Secondly, if there exist such file I would like to learn its name. And finally, I just wanted to learn a way to make it with semi-shaped, I didnt want to get C lessons.
  Reply With Quote

Old   November 5, 2008, 15:27
Default Re: UDF
  #4
Amod
Guest
 
Posts: n/a
Ilker,

It is always wise to write UDF that suits your requirement. Copy-pase may not work. You may find a comprehensive article on UDF at http://193.204.76.120/fluent6.2/help/pdf/udf/pdf.htm

Amod
  Reply With Quote

Old   November 5, 2008, 16:20
Default Re: UDF
  #5
Ilker
Guest
 
Posts: n/a
well, it shouldn't be hard to comprehend. I think there exists a parabolic velocity function in fluent folder. Something.h I want to find and change it. But I couldn't find this file, and my question is where is this damned file and what it is the name?
  Reply With Quote

Old   November 8, 2008, 00:37
Default Re: UDF
  #6
rajesh
Guest
 
Posts: n/a
To my knowledge and working experience with fluent, there no predefined parabolic velocity profile in Fluent database. You need to write a UDF with the define macro DEFINE_PROFILE and specify the velocity. This is the best way to my knowledge.

Other way many do is .... create a straight pipe (separate simulation) with same diameter as that of the inlet (your simulation), and run a simulation to a parabolic velocity profile in the st. pipe. Use File->Write->profile, to write the velocity profile at the outlet of the st. pipe. Then read the velocity profile file in your simulation and use it for your inlet.

It is not clear from your statement ".... it will have just (x,y) but not (x,y)?"

  Reply With Quote

Old   November 8, 2008, 04:47
Default Re: UDF
  #7
ilker
Guest
 
Posts: n/a
Thank you rajesh "not (-x,y),but (x,y)".I did mistake when I was writing.It means It won't have minus values of x, which means also that its shape will be the half of a normal parabola.
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 08:27.