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

Calculation of lift/drag coefficient by FLUENT UDF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 5, 2015, 05:16
Default Calculation of lift/drag coefficient by FLUENT UDF
  #1
New Member
 
Rakesh
Join Date: Jan 2014
Location: Delft
Posts: 13
Rep Power: 12
rsarma is on a distinguished road
Hi all,

Is there a way to calculate the lift/drag coefficient over e.g. a wing via Fluent UDF? Please see part of the code below:

begin_f_loop(f,t)
{
F_AREA(A,f,t);
PF_y+ = F_P(f,t)*A[1];
}
end_f_loop(f,t)

I thought the variable PF_y divided by the dynamic pressure, should give me the lift force in the respective direction. But the result does not match with the lift monitor value reported by FLUENT. Please let me know if you know of this issue.

Kind Regards,
RS
rsarma is offline   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
wrong SU2 calculation for lift and drag coefficient for NAC4421 mechy SU2 7 January 9, 2017 05:18
The fluent stopped and errors with "Emergency: received SIGHUP signal" yuyuxuan FLUENT 0 December 3, 2013 22:56
UDF in Fluent subha_meter Main CFD Forum 0 October 17, 2009 23:54
On Bug of Fluent 12.0 lzgwhy FLUENT 0 August 26, 2009 06:41
Compiling UDF in Fluent 12 jsm FLUENT 1 July 22, 2009 07:40


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