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

Lift & Drag calculation help

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 27, 2018, 11:19
Default Lift & Drag calculation help
  #1
New Member
 
kevin
Join Date: Nov 2018
Posts: 6
Rep Power: 8
kevin.pku is on a distinguished road
Hi, everyone

I am a new man of openfoam. Recently day I was running the naca0012 airfoil case by openfoam. I realized the lift & drag calculations in the system/controlDict file. The details are as follows
Howerever, these calculations can not get correct results of Cl (lift) and Cd (drag). They are about 1e-7, too small.

Is there any error in the folllowing functions? Could anyone help me? Thanks.
__________________________________________________ _______________

// *** calculate force coefficients *** //
functions
{
forceCoeffs
{
type forceCoeffs;
functionObjectLibs ("libforces.so");
patches (wall);
log true;
rho rhoInf;
rhoInf 1.29;
CofR (0 0 0);
liftDir (0 1 0);
dragDir (1 0 0);
pitchAxis (0 0 1);
magUInf 250;
lRef 1;
Aref 1;
writeControl timeStep;
writeInteval 100;
}
};
kevin.pku is offline   Reply With Quote

Old   November 28, 2018, 04:04
Default
  #2
Senior Member
 
Zander Meiring
Join Date: Jul 2018
Posts: 125
Rep Power: 8
yambanshee is on a distinguished road
Force calculation is correct. Any error is more likely a result of improper modelling/solving. 1e-7 is a very small error though
yambanshee is offline   Reply With Quote

Old   November 28, 2018, 10:59
Default
  #3
New Member
 
kevin
Join Date: Nov 2018
Posts: 6
Rep Power: 8
kevin.pku is on a distinguished road
Quote:
Originally Posted by yambanshee View Post
Force calculation is correct. Any error is more likely a result of improper modelling/solving. 1e-7 is a very small error though
Thank you. But the values of Cl and Cd are as small as 1e-7. They are unphysical.
kevin.pku is offline   Reply With Quote

Old   November 29, 2018, 02:40
Default
  #4
Senior Member
 
Zander Meiring
Join Date: Jul 2018
Posts: 125
Rep Power: 8
yambanshee is on a distinguished road
It would be helpful if you can include at what conditions you are testing. See this sticky post on the forum.



Based on the coefficient function attached, I would assume that your inlet velocity is 250 m/s and that your blade chord length 1 m. Is this correct?
Are you running a 3d case; and in which case, what is the thickness of the domain?

What is your viscosity?
What is your mesh like?
What is the rough dimensions of your domain?
How many iterations have you done (and how converged is your flow field
yambanshee 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
How to calculate lift, drag and lift distribution in Star CCM+? israelcasillas94 STAR-CCM+ 4 November 6, 2020 09:35
Lift and drag force for 2D flow over cylinder model Haonan Uwin FLUENT 0 May 11, 2017 01:29
Induced drag, pressure drag, viscous drag. aleix.de.toro FLUENT 2 August 24, 2015 19:00
LBM lift and drag Puigar Main CFD Forum 0 July 17, 2012 07:56
[ANSYS Meshing] Lift & Drag Meshing Techniques tylerplowright ANSYS Meshing & Geometry 6 May 3, 2012 00:53


All times are GMT -4. The time now is 21:14.