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

drag calculation help

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 5, 2010, 11:02
Default drag calculation help
  #1
New Member
 
abcdef123
Join Date: Dec 2009
Posts: 17
Rep Power: 17
abcdef123 is on a distinguished road
Hi, I have some code where I calculate the drag on an obstacle. In the code I calculate both the pressure drag and the viscous drag on a 2D structure mesh. I'm not certain I do this correct. Could someone confirm that this is correct?

I calculate the pressure drag by integrating the pressure over the left and right surfaces of the obstacle, for example

for(all nodes with right face exposed)
pressureDrag -= dy * pressure_to_right_of_node

for(all nodes with left face exposed)
pressureDrag += dy * pressure_to_left_of_node

The viscous drag is calculated by summing the force due to viscous effects over the top and bottom surfaces of the obstacle.

for(all nodes with top face exposed) {
float shearStress = mu * u[ijp1] / dy;
viscousDrag -= dx * ShearStress;
}
for(all nodes with bottom face exposed) {
float shearStress = mu * u[ijm1] / dy;
viscousDrag -= dx * ShearStress;
}

So basically for both types of drag I sum something over all the nodes directly outside the surface of the obstacle. Is this correct?

Thanks in advance for any help, it would be greatly appreciated.
abcdef123 is offline   Reply With Quote

Old   May 10, 2010, 00:00
Default
  #2
New Member
 
abcdef123
Join Date: Dec 2009
Posts: 17
Rep Power: 17
abcdef123 is on a distinguished road
any ideas? thank you
abcdef123 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
Calculation of Drag Coefficient manually PRASHANT GHADGE FLUENT 4 December 13, 2012 16:31
Drag Calculation... Code_Saturne? Or any other examples? ArtyB Main CFD Forum 1 January 10, 2010 19:18
lift and drag calculation actone CFX 0 December 27, 2006 18:11
Boundary condition and drag calculation. Kwame George Main CFD Forum 0 November 12, 2005 11:15
Warning 097- AB Siemens 6 November 15, 2004 05:41


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