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

Lift & Drag calculation help

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 27, 2018, 10:19
Default Lift & Drag calculation help
  #1
New Member
 
kevin
Join Date: Oct 2018
Posts: 6
Rep Power: 7
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, 03:04
Default
  #2
Senior Member
 
Zander Meiring
Join Date: Jul 2018
Posts: 125
Rep Power: 7
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, 09:59
Default
  #3
New Member
 
kevin
Join Date: Oct 2018
Posts: 6
Rep Power: 7
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, 01:40
Default
  #4
Senior Member
 
Zander Meiring
Join Date: Jul 2018
Posts: 125
Rep Power: 7
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 08:35
Lift and drag force for 2D flow over cylinder model Haonan Uwin FLUENT 0 May 11, 2017 00:29
Induced drag, pressure drag, viscous drag. aleix.de.toro FLUENT 2 August 24, 2015 18:00
LBM lift and drag Puigar Main CFD Forum 0 July 17, 2012 06:56
[ANSYS Meshing] Lift & Drag Meshing Techniques tylerplowright ANSYS Meshing & Geometry 6 May 2, 2012 23:53


All times are GMT -4. The time now is 13:06.