|
[Sponsors] |
lift, drag, moment coefficients using forceCoeffs |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Join Date: Mar 2016
Posts: 15
Rep Power: 6 ![]() |
Hello everyone,
I am simulating the aerodynamic behavior of a 2D airfoil and trying to find the lift, drag and moment coefficients using forceCoeffs. I found a relevant code online as follows: functions { forces { type forceCoeffs; functionObjectLibs ( "libforces.so" ); outputControl timeStep; outputInterval 1; patches ( wing ); pName p; UName U; rhoName rhoInf; log true; rhoInf 1; CofR ( 0 0 0 ); liftDir ( 0.087 0.996 0 ); dragDir ( -0.996 0.087 0 ); pitchAxis ( 0 0 1 ); magUInf 75.00; lRef 1; Aref 1; } } I had some questions about this code: 1- what is CofR (0 0 0) ? is this the origin of the coordinate system of the whole domain (global coordinate system)? or is it the center of mass of the airfoil !? 2- I know liftDir and dragDir are the direction of the lift and drag forces. How about pitchAxis ( 0 0 1 )? is it the direction of the pitch axis? or is it the position of the pitch axis (if this the position, should I use the global coordinate system)? 3- can anyone please explain lRef 1; and Aref 1; lines for me? what are these lines for? and what should be the value of them? can I leave them as 1? Thank you all and really need your help! |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 14 ![]() |
Hi
when using this with vehicles your Aref is the reference surface of the car, so the frontal surface. lref is important to calculate rear and front lift of the car and it is the wheel base, so the length between the two axis. You are right concerning lift and drag direction. The pitch axis is only the normal vector of the axis. The position of the axis is the CofR, so the center of reference. This could be the center of mass or for cars the half distance between the two axis. Hope this helps Cheers Fabian |
|
![]() |
![]() |
![]() |
![]() |
#3 | |
New Member
Join Date: Mar 2016
Posts: 15
Rep Power: 6 ![]() |
Quote:
Thank you. |
||
![]() |
![]() |
![]() |
Tags |
2d airfoil, drag, lift, moment |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calculate Lift and Drag Coefficients CL and CD | sven | OpenFOAM | 12 | May 20, 2020 23:54 |
wrong SU2 calculation for lift and drag coefficient for NAC4421 | mechy | SU2 | 7 | January 9, 2017 06:18 |
Can fluent get the lift and drag coefficients of the two walls (in different directio | yuyuxuan | FLUENT | 8 | January 10, 2014 21:13 |
Great lift coefficients but negative drag coefficient?! | nez | FLUENT | 0 | November 28, 2011 14:57 |
Lift and Drag Coefficients Reliability | Luis | FLUENT | 2 | December 27, 2005 15:45 |