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

5 questions about UDF usage??????

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

Reply
 
LinkBack Thread Tools Display Modes
Old   July 21, 2006, 07:31
Default 5 questions about UDF usage??????
  #1
Asghari
Guest
 
Posts: n/a
Hi all;

I have some questuin from you about udf's:

1- Are C_T(cell,cell_thread) , C_P(cell,cell_thread) macros, which one ,static or absolute temperature and pressure,respectively?

2-In the two phase flows , if i use from Define_source for computing the source term of vof equation at primary phase and i solve this equation , how to calculate fluent vof of secondary phase ? is it neccessary to solve vof of secondary phase ?

3-Why is C_UDMI(c,t,x) macro use instead of C_udsi(c,t) ?

4-While i am using Define_source macro, I want no effect on other equations.How would it possible?

5-3-Why is Reconstruction gradients use instead of gradients?

can answer everybody to one of this questions,Please?

Thanx in advance.
  Reply With Quote

Old   July 21, 2006, 12:31
Default Re: 5 questions about UDF usage??????
  #2
jasond
Guest
 
Posts: n/a
I can answer some of your questions:

> 3 - Why is C_UDMI(c,t,x) macro use instead of C_udsi(c,t) ?

C_UDMI is used for user-defined memory and C_UDSI is used for user-defined scalars. For scalars you generally have Fluent solve a transport equation while for the scalar, while for user-defined memory you are in charge of making it mean anything.

> 4 - While i am using Define_source macro, I want no effect on other equations.How would it possible?

If I understand what you mean, this should be taken care of when it is hooked into Fluent. Maybe I don't understand you.

> 5 - Why is Reconstruction gradients use instead of gradients?

According to the documentation, using the reconstruction gradients will give values more in line with surrounding cells. However, I asked Fluent about this and was told that I didn't need to use them for my application (interpolation within cell).

Jason
  Reply With Quote

Old   July 24, 2006, 01:08
Default Re: 5 questions about UDF usage??????
  #3
Asghari
Guest
 
Posts: n/a
Ok,I have also three other questions from you. Please help me.

6-While we are looping on cells in a cell thread, Are successive cells in loop same neighboring cells,certainly ?

7-How to compute diffusivity of a variable in faces (not cells) ?

8-What are Storage variables(S_phi)?
  Reply With Quote

Old   July 24, 2006, 15:51
Default Re: 5 questions about UDF usage??????
  #4
jasond
Guest
 
Posts: n/a
I can answer 2 of your questions:

6) No, I don't think you can make that sort of assumption. That would be grid dependent.

7) I don't know how off hand, but I would look at how Fluent does this sort of thing (I think it would need to do something similar for turbulence models. Could be wrong, though).

8) Can't help with this one.

Jason
  Reply With Quote

Old   July 26, 2006, 05:59
Default Re: 5 questions about UDF usage??????
  #5
asghari
Guest
 
Posts: n/a
Thank you;

I want information about following macro,urgently:

Boundary_Secondary_gradient_Source

Do you have information from this macro and argument type ?

How can i access to this informations?

Please help me ;

Thank alot.

Asghari
  Reply With Quote

Old   July 27, 2006, 09:46
Default Re: 5 questions about UDF usage??????
  #6
jasond
Guest
 
Posts: n/a
Well, I have never used it myself, so I can't give any firsthand info to you. However, the UDF manual does have some information and an example (I just looked) - so I would look at that. I do know that you have to call BOUNDARY_FACE_GEOMETRY to get some geometry stuff before you can use the macro you speak of.

Jason

P.S. Google might also help...
  Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Two questions on Fluent UDF Steven Fluent UDF and Scheme Programming 4 September 20, 2013 16:30
So many questions in DPM & UDF - Help! URGENT! Prashanth FLUENT 0 March 3, 2009 23:26
UDF: Some Questions Nirupam Rohatgi FLUENT 0 December 18, 2007 06:55
Unsteady UDF Questions hirokata FLUENT 0 July 8, 2006 13:32
udf of DPM questions! winnie FLUENT 6 April 30, 2003 02:52


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