|
[Sponsors] |
February 10, 2005, 08:02 |
UDF question
|
#1 |
Guest
Posts: n/a
|
Hi It is possible to access source terms of k and epsilon equation in UDF. Since I would like to make countour plots of them. Pratap
|
|
February 10, 2005, 08:12 |
Re: UDF question
|
#2 |
Guest
Posts: n/a
|
C_K(c,t) and C_D(c,t). Although, you can of course make a contour plot from the standard GUI.
|
|
February 10, 2005, 08:18 |
Sorry :-(
|
#3 |
Guest
Posts: n/a
|
Sorry, you said source term. I thought you mean't the actual value of k and e. If you make a UDF with a DEFINE_SOURCE term you can save the value you are returning to a C_UDMI and then use that to plot your contour. Make sure you turn UDM on in the fluent GUI.
Next time I should take the time to read the post. |
|
February 10, 2005, 08:35 |
Re: Sorry :-(
|
#4 |
Guest
Posts: n/a
|
I do not define any source DEFINE_SOURCE. I would like to access the souce terms of the kepsilon equation which fluent is solving. I have another question where can I have tutorial(pdf file) for PREMIXED Turbulent combustion using zimont model. Pratap
|
|
February 10, 2005, 08:41 |
Re: Sorry :-(
|
#5 |
Guest
Posts: n/a
|
If you are specifying a source term of K and epsilon in the Fluent GUI, it has to have a constant value or one from a DEFINE_SOURCE. If it is a constant value then you can simply slip that into your UDF using a #define (although the contours will look very plain) If your source term varies, then you can put it in as a DEFINE_SOURCE and use save the value to a UDMI and use that to plot the contours
|
|
February 10, 2005, 08:53 |
Re: Sorry :-(
|
#6 |
Guest
Posts: n/a
|
I think you are confuded with what I am asking. Let us say I want to "convective term of k-epsilon equation i.e term B in equation below " and plot its contours.Pratap
A+B=C+D A=unsteady B=convetcive C=Diffusive D=source term |
|
February 10, 2005, 09:45 |
Re: Sorry :-(
|
#7 |
Guest
Posts: n/a
|
I understand now, it was when you said "possible to access source terms of k and epsilon", I thought you meant D as in your previous post. I am afraid that I don't know how to extract the value. I don't believe that you can get it in the UDF directly.
To create the value manually you need to extract the second derivative of k. I was trying to do a similar thing and posted a while ago, and never recieved a satisfactory answer. I would suggest e-mailing the fluent support to see what they have to say. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A simple UDF question | Pirooz Darabi | FLUENT | 0 | October 31, 2007 15:22 |
Basic question: UDF for wall heat flux | Carl | FLUENT | 1 | August 5, 2006 19:01 |
Question about UDF | summer | FLUENT | 1 | July 18, 2006 10:13 |
UDF question | Ryan | FLUENT | 2 | July 5, 2006 14:54 |
A question about the dynamic mesh UDF | Tango | FLUENT | 1 | November 27, 2003 02:56 |