|
[Sponsors] |
May 5, 2010, 11:02 |
drag calculation help
|
#1 |
New Member
abcdef123
Join Date: Dec 2009
Posts: 17
Rep Power: 16 |
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. |
|
May 10, 2010, 00:00 |
|
#2 |
New Member
abcdef123
Join Date: Dec 2009
Posts: 17
Rep Power: 16 |
any ideas? thank you
|
|
|
|
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 |