CFD Online Discussion Forums

CFD Online Discussion Forums (
-   CFX (
-   -   Lift and Dreag (

stex January 16, 2003 14:03

Lift and Dreag
Anybody knows how I can calculate the lift and drag cefficients of a wing profile?.

Holidays January 17, 2003 03:09

Re: Lift and Dreag
Carry out the calculation of the forces along the two directions for your wing and calculate the following Fi = 1/2 Ci UČ with i = D and L, U = Uinfinite. To achieve a good result you will however need a fairly fine grid along the wing and its walls as well as the use of a turbulence model integrating to the wall such as SST for example I believe. Do not hesitate to carry mesh independence tests.

Carlo January 17, 2003 08:39

Re: Lift and Drag
How can I "Carry out the calculation of the forces along the two directions for your wing " ? I have only the possibility to export pressure, temperature, and many other things but not forces!!!!


Holidays January 17, 2003 09:26

Re: Lift and Drag
Read the end of the out file and you wil find these forces calculated on the named patches.

Carlo January 17, 2003 11:32

Re: Lift and Drag
It doesn't calculate the Forces......

these is the out file:

================================================== =====

Wall Force and Moment Summary ================================================== =====

Note: Pressure integrals exclude the reference pressure. To include it, set the expert parameter 'include pref in forces = t'. +-----------------------------------------------------

How can I go on?????

Neale January 17, 2003 17:54

Re: Lift and Drag
The numbers that the solver reports just below the lines you post are the forces in the x, y and z directions. You should be able to compute lift and drag coefficents from these.

Alternatively you can set the expert parameter "output eq flows = t" (or set this in CFX-Build) and compute the forces in CFX-Post.


Carlo January 18, 2003 06:02

Re: Lift and Drag
Hi Neale

After the lines i posted there are the components of - Pressure forces - Viscous forces I have to make the sum of these two forces?

In other hand where or how i can set the expert parameter from Build?


James Date January 18, 2003 07:21

Re: Lift and Drag
You might need to set >>WALL PRINTING in the command file to get the forces output. Both viscous and pressure forces are output, together with the their sum.

Regards James

P.S. I little while ago i wrote a piece of FORTRAN code to strip out these forces and calculate the lift and drag forces with respect to the inflow velocity direction, if you want a copy i can email it to you.

Neale January 18, 2003 14:39

Re: Lift and Drag
Yes, you will have to add the two forces together. Viscous + pressure, then resolve this force vector along the two lines which define the directions for your lift and drag vectors. If your lucky your x,y,z global coordinates match these and you don't have to do a transformation.

The "expert" parameter is not for outputting equation flows is a toggle button in the solver control panel in CFX-Build. You can also explicitly add the expert parameter using the defintion file editor.


Neale January 18, 2003 14:39

Re: Lift and Drag
I think Carlo is talking cfx-5 rather than cfx-4.


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