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

Fluent variables

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 12, 2007, 13:56
Default Fluent variables
  #1
HSeldon
Guest
 
Posts: n/a
Hi all, I need to get the values of the lift and grad coeff in order to complete an UDF. What are the name for those variables to include them in my UDF??

Thanks in advance.
  Reply With Quote

Old   February 12, 2007, 22:31
Default Re: Fluent variables
  #2
Rizwan
Guest
 
Posts: n/a
Can u please be a bit more elobarate? As far as I can guess, if u need to calculate drag force, then u need to find pressure distrution on the surface or region and multiply it with area vector.

force = 0.0 begin_f_loop (f, t)

{

F_AREA (A, f, t);

force = force + F_P (f, t) * NV_MAG (A);

} end_f_loop (f, t)

  Reply With Quote

Old   February 13, 2007, 10:04
Default Re: Fluent variables
  #3
HSeldon
Guest
 
Posts: n/a
Sorry for been so "short" in my explanation. Yes, basically I need what you put. Because I need to write into a file the Cd and/or Cl value to a txt. I know that fluent can do it, but this excersise is for college in order to practice C language and UDF stuff.

Regarding the code you put above: What F_P does? (pressure?)

Thank you for the input Rizwan!!
  Reply With Quote

Old   February 13, 2007, 12:44
Default Re: Fluent variables
  #4
Rizwan
Guest
 
Posts: n/a
F_P is the built in macro that will find pressure on the face and is available from solver whenevr it is called from the udf.

Regards
  Reply With Quote

Old   February 13, 2007, 13:14
Default Re: Fluent variables
  #5
HSeldon
Guest
 
Posts: n/a
Thank you very much!
  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
Two questions on Fluent UDF Steven Fluent UDF and Scheme Programming 7 March 23, 2018 03:22
How to open Icem mesh in Ansys Fluent? emmkell FLUENT 27 February 6, 2018 03:34
Abaqus - Fluent Coupling WITHOUT MPCCI s.mishra FLUENT 1 April 5, 2016 06:47
Redefining variables in fluent instead using limits (control solution) akhlaghi FLUENT 0 February 19, 2011 06:14
How to modify variables in Fluent solver yizhou FLUENT 1 June 19, 2006 20:00


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